@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.
@@ -1807,7 +1807,7 @@ function useTypographyDefaultColor() {
1807
1807
  return useContext(TypographyDefaultColorContext);
1808
1808
  }
1809
1809
  function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
1810
- return breakpointName === 'base' || breakpointName === 'small' ? 'baseAndSmall' : 'mediumAndWide';
1810
+ return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
1811
1811
  }
1812
1812
 
1813
1813
  // TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
@@ -2462,7 +2462,7 @@ function ActionsButton(_ref) {
2462
2462
  }, props));
2463
2463
  }
2464
2464
 
2465
- var _excluded$E = ["children", "layout"];
2465
+ var _excluded$E = ["children", "layout", "reversed"];
2466
2466
  function getCurrentLayout(layout) {
2467
2467
  if (!layout) return {
2468
2468
  base: 'stretch',
@@ -2490,6 +2490,7 @@ function getCurrentAlignSelf(layout) {
2490
2490
  function Actions(_ref) {
2491
2491
  var children = _ref.children,
2492
2492
  layout = _ref.layout,
2493
+ reversed = _ref.reversed,
2493
2494
  props = _objectWithoutProperties(_ref, _excluded$E);
2494
2495
  var currentAlignItems = getCurrentLayout(layout);
2495
2496
  var currentDirection = getCurrentDirection(layout);
@@ -2498,7 +2499,8 @@ function Actions(_ref) {
2498
2499
  alignItems: currentAlignItems,
2499
2500
  alignSelf: currentAlignSelf,
2500
2501
  direction: currentDirection,
2501
- flexGrow: 1
2502
+ flexGrow: 1,
2503
+ reversed: !!createResponsiveStyleFromProp(reversed, true, false)
2502
2504
  }, props), {}, {
2503
2505
  space: "kitt.3",
2504
2506
  children: children
@@ -5425,7 +5427,7 @@ function RadioButton(_ref) {
5425
5427
  accessibilityState: {
5426
5428
  checked: selected
5427
5429
  },
5428
- flex: stretch ? 1 : undefined,
5430
+ flex: createResponsiveStyleFromProp(stretch, 1, undefined),
5429
5431
  disabled: disabled,
5430
5432
  onPress: function handlePress(e) {
5431
5433
  if (onFocus) onFocus(e);