@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
|
@@ -1849,7 +1849,7 @@ function useTypographyDefaultColor() {
|
|
|
1849
1849
|
return useContext(TypographyDefaultColorContext);
|
|
1850
1850
|
}
|
|
1851
1851
|
function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
|
|
1852
|
-
return breakpointName ===
|
|
1852
|
+
return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
1855
|
// TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
|
|
@@ -2419,7 +2419,7 @@ function ActionsButton(_ref) {
|
|
|
2419
2419
|
}, props));
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
2422
|
-
var _excluded$E = ["children", "layout"];
|
|
2422
|
+
var _excluded$E = ["children", "layout", "reversed"];
|
|
2423
2423
|
function getCurrentLayout(layout) {
|
|
2424
2424
|
if (!layout) return {
|
|
2425
2425
|
base: 'stretch',
|
|
@@ -2447,6 +2447,7 @@ function getCurrentAlignSelf(layout) {
|
|
|
2447
2447
|
function Actions(_ref) {
|
|
2448
2448
|
var children = _ref.children,
|
|
2449
2449
|
layout = _ref.layout,
|
|
2450
|
+
reversed = _ref.reversed,
|
|
2450
2451
|
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
2451
2452
|
var currentAlignItems = getCurrentLayout(layout);
|
|
2452
2453
|
var currentDirection = getCurrentDirection(layout);
|
|
@@ -2455,7 +2456,8 @@ function Actions(_ref) {
|
|
|
2455
2456
|
alignItems: currentAlignItems,
|
|
2456
2457
|
alignSelf: currentAlignSelf,
|
|
2457
2458
|
direction: currentDirection,
|
|
2458
|
-
flexGrow: 1
|
|
2459
|
+
flexGrow: 1,
|
|
2460
|
+
reversed: !!createResponsiveStyleFromProp(reversed, true, false)
|
|
2459
2461
|
}, props), {}, {
|
|
2460
2462
|
space: "kitt.3",
|
|
2461
2463
|
children: children
|
|
@@ -4594,7 +4596,7 @@ function RadioButton(_ref) {
|
|
|
4594
4596
|
accessibilityState: {
|
|
4595
4597
|
checked: selected
|
|
4596
4598
|
},
|
|
4597
|
-
flex: stretch
|
|
4599
|
+
flex: createResponsiveStyleFromProp(stretch, 1, undefined),
|
|
4598
4600
|
disabled: disabled,
|
|
4599
4601
|
onPress: function handlePress(e) {
|
|
4600
4602
|
if (onFocus) onFocus(e);
|