@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.
@@ -1849,7 +1849,7 @@ function useTypographyDefaultColor() {
1849
1849
  return useContext(TypographyDefaultColorContext);
1850
1850
  }
1851
1851
  function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
1852
- return breakpointName === 'base' || breakpointName === 'small' ? 'baseAndSmall' : 'mediumAndWide';
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 ? 1 : undefined,
4599
+ flex: createResponsiveStyleFromProp(stretch, 1, undefined),
4598
4600
  disabled: disabled,
4599
4601
  onPress: function handlePress(e) {
4600
4602
  if (onFocus) onFocus(e);