Releases: componentskit/ComponentsKit
Releases · componentskit/ComponentsKit
1.5.4
1.5.3
Fixes:
- Re-enable animations inside modal presentation modifiers
- Improve Card hit-testing and border rendering in SUCard
- Replaced
.strokewith.strokeBorderfor borders
1.5.2
Improvements
- Added
imageRenderingModeparameter toButtonVM - Adjusted button padding when there is no title and loader
Fixes
- Resolved issues where
SUButtonwas not interactable in some cases - Properly handled
dismissfromEnvironmentinbottomModalandcenterModal - Added missing
onDismissparameters in somebottomModalandcenterModalAPI variants.
1.5.1
Improvements
- Added new params in
CardVM:borderColorisTappableanimationScale
- Added new params in
ButtonVM:isLoadingloadingVMimgSrcimageLocationcontentSpacing
- Added new params in
InputFieldVM:captioncaptionFontstyle(light,bordered,faded)titleFonttitlePosition(inside,outside)
- Added new param in
TextInputVM:style(light,bordered,faded)
- Added new
minimalcase inButtonStyle - Added inits without
focusinSUTextInputandSUInputField
Bug Fixes
- Fixed a bug when the
SUTextInputcould go beyond the bounds - Fixed an issue with
SUButtonnot animating when tapped on a transparent background. - Fixed an issue with full-width components not updating their size on device rotation.
Changes
- Checkbox:
- changed checkbox size
- changed checkmark size
- changed checkmark line width
- Set a default value of
backgroundColortobackgroundinCardVM
1.5.0
New Components:
- Circular Progress
API Changes:
- Made
UKCardgeneric over its content. - Deprecated
currentValueinSUProgressBarandUKProgressBar; added it toProgressBarVMinstead. - Introduced a new API to present
SUAlertwith an item. - Exposed all
ComponentColorsubcolors viaUniversalColorextensions. - Renamed
ComponentsKitConfigtoTheme. - Corrected a typo in
BottomModalVMparameter name: renamedhidesOnSwaptohidesOnSwipe.
New Features:
- Added helper methods and a notification system for observing theme changes.
Improvements:
- Enhanced
UKTextInput:- Improved corner radius calculation
- Height recalculation on device rotation
- Compression resistance for better layout handling
- Adjusted font size for the large headline from
28to24. - Improved documentation for multiple components.
Bug Fixes:
- Fixed modal not presenting on app launch.
- Prevented
UKSegmentedControlfrom updating the selected ID when the item is disabled. - Fixed layout issues in modals.
1.4.0
1.3.2
- Fix layout issue in the
Countdowncomponent - Update README
- Add package to demos app as a reference instead of dependency
1.3.1
- Add LICENSE
- Update README
1.3.0
New components:
- Alert
- Card
- Countdown
- Modal (Bottom)
- Modal (Center)
Updates:
- New button style
light
Config changes:
- Instead of 3 font size, the library now supports 4 semantic font sets, each with 3 sizes: headline, body, button and caption
- Added new colors to the
Palette:content1,content2,content3,content4. - Removed the
Secondarycomponent color. - Added a new
backgroundColorparameter to theComponentColorstruct, that can be utilized for components with alightstyle.
Infrastructure:
- Removed SwiftLint plugin
- Added GitHub actions
1.2.0
Added new components: TextInput, Divider, RadioGroup