@ornikar/kitt-universal 25.44.4 → 25.45.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [25.45.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.44.4...@ornikar/kitt-universal@25.45.0) (2025-03-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **kitt-icons:** add Signpost icon OSE-16303 ([#2566](https://github.com/ornikar/kitt/issues/2566)) ([ff21785](https://github.com/ornikar/kitt/commit/ff21785f95aedd07a412c4f83498332b174df824))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **kitt-universal/Actions:** fix `reversed` property on `Actions` component [no issue] ([#2563](https://github.com/ornikar/kitt/issues/2563)) ([34880c4](https://github.com/ornikar/kitt/commit/34880c475abaf1e401abae806ba1afa995f16a97))
17
+
18
+
19
+
6
20
  ## [25.44.4](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.44.3...@ornikar/kitt-universal@25.44.4) (2025-03-04)
7
21
 
8
22
 
@@ -6,7 +6,7 @@ import { ActionsButton } from './ActionsButton';
6
6
  type ActionsLayout = 'column' | 'row';
7
7
  export interface ActionsProps extends Except<StackProps, 'space' | 'reversed'> {
8
8
  layout?: ActionsLayout;
9
- reversed?: ResponsiveValue<boolean | undefined>;
9
+ reversed?: ResponsiveValue<boolean>;
10
10
  }
11
11
  export declare function Actions({ children, layout, reversed, ...props }: ActionsProps): ReactNode;
12
12
  export declare namespace Actions {
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/Actions/Actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,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E,EAAE,YAAY,GAAG,SAAS,CAmB3G;yBAnBe,OAAO"}
@@ -1,7 +1,7 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import React, { useContext, createContext, forwardRef, cloneElement, useRef, useEffect, useState, useMemo, Children, useReducer, Fragment as Fragment$1, useCallback } from 'react';
4
- import { View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, useSx, Text, Input, useBreakpointValue as useBreakpointValue$1, NativeBaseProvider, extendTheme, useMediaQuery } from 'native-base';
4
+ import { View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, useBreakpointValue as useBreakpointValue$1, useSx, Text, Input, NativeBaseProvider, extendTheme, useMediaQuery } from 'native-base';
5
5
  export { useClipboard, useContrastText, useMediaQuery, useSx, useToken } from 'native-base';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
@@ -2689,6 +2689,9 @@ const VStack = VStack$1;
2689
2689
  const HStack = HStack$1;
2690
2690
  const Center = Center$1;
2691
2691
 
2692
+ // eslint-disable-next-line no-restricted-imports
2693
+ const useBreakpointValue = useBreakpointValue$1;
2694
+
2692
2695
  function createResponsiveStyleFromProp(responsiveBooleanValue, valueIfTrue, valueIfFalse) {
2693
2696
  // Handles simple boolean values
2694
2697
  if (!responsiveBooleanValue) return valueIfFalse;
@@ -3559,18 +3562,21 @@ function Actions(_ref) {
3559
3562
  let {
3560
3563
  children,
3561
3564
  layout,
3562
- reversed
3565
+ reversed = {
3566
+ base: false
3567
+ }
3563
3568
  } = _ref,
3564
3569
  props = _objectWithoutProperties(_ref, _excluded$O);
3565
3570
  const currentAlignItems = getCurrentLayout(layout);
3566
3571
  const currentDirection = getCurrentDirection(layout);
3567
3572
  const currentAlignSelf = getCurrentAlignSelf(layout);
3573
+ const reversedBoolean = useBreakpointValue(reversed);
3568
3574
  return /*#__PURE__*/jsx(Stack, _objectSpread(_objectSpread({
3569
3575
  alignItems: currentAlignItems,
3570
3576
  alignSelf: currentAlignSelf,
3571
3577
  direction: currentDirection,
3572
3578
  flexGrow: 1,
3573
- reversed: !!createResponsiveStyleFromProp(reversed, true, false)
3579
+ reversed: reversedBoolean
3574
3580
  }, props), {}, {
3575
3581
  space: "kitt.3",
3576
3582
  children: children
@@ -8254,9 +8260,6 @@ function Highlight({
8254
8260
  });
8255
8261
  }
8256
8262
 
8257
- // eslint-disable-next-line no-restricted-imports
8258
- const useBreakpointValue = useBreakpointValue$1;
8259
-
8260
8263
  const _excluded$c = ["color", "isDisabled"];
8261
8264
  function getBackgroundColor$1(color, isDisabled) {
8262
8265
  if (isDisabled) {