@ornikar/kitt-universal 25.51.1-canary.d67b65db8008c1a8549aa9a6ef5ca833bbea3980.0 → 25.52.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.
@@ -5154,6 +5154,7 @@ function AutocompleteItemsListContainer({
5154
5154
 
5155
5155
  function AutocompleteOption({
5156
5156
  children,
5157
+ testID = 'kitt.Autocomplete.option',
5157
5158
  ...props
5158
5159
  }) {
5159
5160
  return /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -5162,6 +5163,7 @@ function AutocompleteOption({
5162
5163
  small: 'kitt.4'
5163
5164
  },
5164
5165
  paddingY: "kitt.forms.autocomplete.option.verticalPadding",
5166
+ testID: testID,
5165
5167
  ...props,
5166
5168
  children: children
5167
5169
  });
@@ -6826,6 +6828,7 @@ function InputAddressOption({
6826
6828
  };
6827
6829
  return /*#__PURE__*/jsxRuntime.jsx(Autocomplete.Option, {
6828
6830
  item: item,
6831
+ testID: "kitt.InputAddressOption.item",
6829
6832
  children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
6830
6833
  space: "kitt.2",
6831
6834
  children: [/*#__PURE__*/jsxRuntime.jsx(View, {
@@ -7781,8 +7784,6 @@ function FullscreenModalBody({
7781
7784
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7782
7785
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7783
7786
  return /*#__PURE__*/jsxRuntime.jsx(View, {
7784
- flexGrow: 1,
7785
- flexShrink: 1,
7786
7787
  ...props,
7787
7788
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7788
7789
  paddingTop: paddingTop,
@@ -8060,31 +8061,28 @@ function FullscreenModalHeader({
8060
8061
  }
8061
8062
 
8062
8063
  function FullscreenModal({
8063
- children,
8064
8064
  body,
8065
8065
  header,
8066
8066
  footer,
8067
8067
  backgroundColor
8068
8068
  }) {
8069
- return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
8069
+ return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
8070
8070
  backgroundColor: backgroundColor,
8071
- children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
8072
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
8073
- children: header
8074
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
8075
- flexGrow: 1,
8076
- flexShrink: 1,
8077
- justifyContent: "space-between",
8078
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
8079
- bounces: false,
8080
- contentContainerStyle: {
8081
- flexGrow: 1,
8082
- position: 'relative'
8083
- },
8084
- children: body
8085
- }), footer || null]
8086
- })]
8087
- })
8071
+ children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
8072
+ children: header
8073
+ }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
8074
+ flexGrow: 1,
8075
+ flexShrink: 1,
8076
+ justifyContent: "space-between",
8077
+ children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
8078
+ bounces: false,
8079
+ contentContainerStyle: {
8080
+ flexGrow: 1,
8081
+ position: 'relative'
8082
+ },
8083
+ children: body
8084
+ }), footer || null]
8085
+ })]
8088
8086
  });
8089
8087
  }
8090
8088
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11514,17 +11512,13 @@ function NavigationModal({
11514
11512
  body,
11515
11513
  backgroundColor,
11516
11514
  footer,
11517
- header,
11518
- children
11515
+ header
11519
11516
  }) {
11520
11517
  const Component = useBreakpointValue({
11521
11518
  base: FullscreenModal,
11522
11519
  small: CardModal
11523
11520
  });
11524
- return children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
11525
- backgroundColor: backgroundColor,
11526
- children: children
11527
- }) : /*#__PURE__*/jsxRuntime.jsx(Component, {
11521
+ return /*#__PURE__*/jsxRuntime.jsx(Component, {
11528
11522
  body: body,
11529
11523
  backgroundColor: backgroundColor,
11530
11524
  footer: footer,