@ornikar/kitt-universal 16.3.0 → 16.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/Actions/Actions.d.ts +4 -2
- package/dist/definitions/Actions/Actions.d.ts.map +1 -1
- package/dist/definitions/forms/RadioButtonGroup/RadioButton.d.ts +2 -1
- package/dist/definitions/forms/RadioButtonGroup/RadioButton.d.ts.map +1 -1
- package/dist/definitions/forms/RadioButtonGroup/RadioButtonGroup.d.ts +2 -1
- package/dist/definitions/forms/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +6 -4
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +6 -4
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +6 -4
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +6 -4
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +4 -2
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +4 -2
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1808,7 +1808,7 @@ function useTypographyDefaultColor() {
|
|
|
1808
1808
|
return React.useContext(TypographyDefaultColorContext);
|
|
1809
1809
|
}
|
|
1810
1810
|
function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
|
|
1811
|
-
return breakpointName ===
|
|
1811
|
+
return breakpointName === exports.KittBreakpointNameEnum.BASE || breakpointName === exports.KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
|
|
1812
1812
|
}
|
|
1813
1813
|
|
|
1814
1814
|
// TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
|
|
@@ -2487,6 +2487,7 @@ function getCurrentAlignSelf(layout) {
|
|
|
2487
2487
|
function Actions({
|
|
2488
2488
|
children,
|
|
2489
2489
|
layout,
|
|
2490
|
+
reversed,
|
|
2490
2491
|
...props
|
|
2491
2492
|
}) {
|
|
2492
2493
|
const currentAlignItems = getCurrentLayout(layout);
|
|
@@ -2497,6 +2498,7 @@ function Actions({
|
|
|
2497
2498
|
alignSelf: currentAlignSelf,
|
|
2498
2499
|
direction: currentDirection,
|
|
2499
2500
|
flexGrow: 1,
|
|
2501
|
+
reversed: !!createResponsiveStyleFromProp(reversed, true, false),
|
|
2500
2502
|
...props,
|
|
2501
2503
|
space: "kitt.3",
|
|
2502
2504
|
children: children
|
|
@@ -5378,7 +5380,7 @@ function RadioButton({
|
|
|
5378
5380
|
accessibilityState: {
|
|
5379
5381
|
checked: selected
|
|
5380
5382
|
},
|
|
5381
|
-
flex: stretch
|
|
5383
|
+
flex: createResponsiveStyleFromProp(stretch, 1, undefined),
|
|
5382
5384
|
disabled: disabled,
|
|
5383
5385
|
onPress: e => {
|
|
5384
5386
|
if (onFocus) onFocus(e);
|