@ornikar/kitt-universal 25.51.1-canary.f795a58d6b1d7afa1371e143a23a37803d7590e5.0 → 25.53.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +9 -5
  2. package/dist/definitions/CardModal/CardModal.d.ts +0 -3
  3. package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
  4. package/dist/definitions/FullscreenModal/Body.d.ts.map +1 -1
  5. package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +3 -18
  6. package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
  7. package/dist/definitions/IconButton/IconButton.d.ts +3 -1
  8. package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
  9. package/dist/definitions/NavigationModal/NavigationModal.d.ts +3 -2
  10. package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -1
  11. package/dist/definitions/forms/Autocomplete/AutocompleteOption.d.ts +1 -1
  12. package/dist/definitions/forms/Autocomplete/AutocompleteOption.d.ts.map +1 -1
  13. package/dist/index-metro.es.android.js +72 -48
  14. package/dist/index-metro.es.android.js.map +1 -1
  15. package/dist/index-metro.es.ios.js +72 -48
  16. package/dist/index-metro.es.ios.js.map +1 -1
  17. package/dist/index-node-20.10.cjs.js +68 -43
  18. package/dist/index-node-20.10.cjs.js.map +1 -1
  19. package/dist/index-node-20.10.cjs.web.js +68 -43
  20. package/dist/index-node-20.10.cjs.web.js.map +1 -1
  21. package/dist/index-node-20.10.es.mjs +68 -43
  22. package/dist/index-node-20.10.es.mjs.map +1 -1
  23. package/dist/index-node-20.10.es.web.mjs +68 -43
  24. package/dist/index-node-20.10.es.web.mjs.map +1 -1
  25. package/dist/index.es.js +73 -48
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/index.es.web.js +73 -48
  28. package/dist/index.es.web.js.map +1 -1
  29. package/dist/tsbuildinfo +1 -1
  30. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,18 +3,22 @@
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.51.1-canary.f795a58d6b1d7afa1371e143a23a37803d7590e5.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.51.0...@ornikar/kitt-universal@25.51.1-canary.f795a58d6b1d7afa1371e143a23a37803d7590e5.0) (2025-05-15)
6
+ ## [25.53.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.52.0...@ornikar/kitt-universal@25.53.0) (2025-05-19)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
- * **icon:** add bell ringing icon - OSE-17155 ([#2590](https://github.com/ornikar/kitt/issues/2590)) ([2efc2f7](https://github.com/ornikar/kitt/commit/2efc2f77486d44594e3b58018da9c558e2f786b4))
12
- * **modals:** compound components ([c8b2466](https://github.com/ornikar/kitt/commit/c8b24663874514be0a209f4d414962a96392af7a))
11
+ * add badge prop for IconButton - OSE-17330 ([#2592](https://github.com/ornikar/kitt/issues/2592)) ([df370d6](https://github.com/ornikar/kitt/commit/df370d68e657b60ace721b7039beed99ef00b40e))
13
12
 
14
13
 
15
- ### Bug Fixes
16
14
 
17
- * flex ([427696d](https://github.com/ornikar/kitt/commit/427696dd8248d16f2c97e32bf5ecd8b243266d69))
15
+ ## [25.52.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.51.0...@ornikar/kitt-universal@25.52.0) (2025-05-15)
16
+
17
+
18
+ ### Features
19
+
20
+ * **icon:** add bell ringing icon - OSE-17155 ([#2590](https://github.com/ornikar/kitt/issues/2590)) ([2efc2f7](https://github.com/ornikar/kitt/commit/2efc2f77486d44594e3b58018da9c558e2f786b4))
21
+ * **kitt-universal:** add test IDs [no issue] ([#2591](https://github.com/ornikar/kitt/issues/2591)) ([53630c8](https://github.com/ornikar/kitt/commit/53630c86d8dfd18e5df1339cc31d1856e9f2efd0))
18
22
 
19
23
 
20
24
 
@@ -16,11 +16,8 @@ interface CardModalWithChildren extends BaseCardModalProps {
16
16
  }
17
17
  interface CardModalWithoutChildren extends BaseCardModalProps {
18
18
  children?: never;
19
- /** @deprecated use `FullscreenModal.Header` as `children` instead */
20
19
  header?: ReactNode;
21
- /** @deprecated use `FullscreenModal.Footer` as `children` instead */
22
20
  footer?: ReactNode;
23
- /** @deprecated use `FullscreenModal.Body` as `children` instead */
24
21
  body: ReactNode;
25
22
  }
26
23
  export type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;
@@ -1 +1 @@
1
- {"version":3,"file":"CardModal.d.ts","sourceRoot":"","sources":["../../../src/CardModal/CardModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,kBAAmB,SAAQ,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,qBAAsB,SAAQ,kBAAkB;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED,UAAU,wBAAyB,SAAQ,kBAAkB;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,qEAAqE;IACrE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,qEAAqE;IACrE,MAAM,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jB;AAED,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,wBAAwB,CAAC;AAE9E,wBAAgB,SAAS,CAAC,EACxB,eAA0C,EAC1C,QAAoC,EACpC,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,MAAM,EACN,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,SAAS,CAsB5B;yBA/Be,SAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,uBAAuB,EACvB,KAAK,EACL,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,wBAAwB,GAAG,SAAS,CAyBtC"}
1
+ {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,uBAAuB,EACvB,KAAK,EACL,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,wBAAwB,GAAG,SAAS,CAuBtC"}
@@ -4,32 +4,17 @@ import { FullscreenModalBody } from './Body';
4
4
  import { FullscreenModalFooter } from './Footer';
5
5
  import { FullscreenModalBehaviour } from './FullscreenModalBehaviour';
6
6
  import { FullscreenModalHeader } from './Header';
7
- export interface BaseFullscreenModalProps {
8
- backgroundColor?: ViewProps['backgroundColor'];
9
- }
10
- interface BaseFullscreenModalPropsWithChildren extends BaseFullscreenModalProps {
11
- children: ReactNode;
12
- contentContainer?: never;
13
- header?: never;
14
- footer?: never;
15
- body?: never;
16
- }
17
- interface BaseFullscreenModalPropsWithoutChildren extends BaseFullscreenModalProps {
18
- children?: never;
19
- /** @deprecated use `FullscreenModal.Header` as `children` instead */
7
+ export interface FullscreenModalProps {
20
8
  header?: ReactNode;
21
- /** @deprecated use `FullscreenModal.Footer` as `children` instead */
22
9
  footer?: ReactNode;
23
- /** @deprecated use `FullscreenModal.Body` as `children` instead */
24
10
  body: ReactNode;
11
+ backgroundColor?: ViewProps['backgroundColor'];
25
12
  }
26
- export type FullscreenModalProps = BaseFullscreenModalPropsWithChildren | BaseFullscreenModalPropsWithoutChildren;
27
- export declare function FullscreenModal({ children, body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
13
+ export declare function FullscreenModal({ body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
28
14
  export declare namespace FullscreenModal {
29
15
  var Header: typeof FullscreenModalHeader;
30
16
  var Footer: typeof FullscreenModalFooter;
31
17
  var Body: typeof FullscreenModalBody;
32
18
  var ModalBehaviour: typeof FullscreenModalBehaviour;
33
19
  }
34
- export {};
35
20
  //# sourceMappingURL=FullscreenModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FullscreenModal.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAA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E,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAChD;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAY1G;yBAZe,eAAe"}
@@ -9,6 +9,8 @@ export interface IconButtonProps {
9
9
  testID?: string;
10
10
  ariaLabel?: PressableProps['aria-label'];
11
11
  accessibilityRole?: PressableProps['accessibilityRole'];
12
+ withBadge?: boolean;
13
+ bagdeCount?: number;
12
14
  /** @internal for story purpose */
13
15
  isHoveredInternal?: boolean;
14
16
  /** @internal for story purpose */
@@ -17,6 +19,6 @@ export interface IconButtonProps {
17
19
  isFocusedInternal?: boolean;
18
20
  onPress?: () => void;
19
21
  }
20
- export declare function IconButton({ icon, color, disabled, testID, ariaLabel, accessibilityRole, isHoveredInternal, isPressedInternal, isFocusedInternal, onPress, }: IconButtonProps): ReactNode;
22
+ export declare function IconButton({ icon, color, disabled, testID, ariaLabel, accessibilityRole, withBadge, bagdeCount, isHoveredInternal, isPressedInternal, isFocusedInternal, onPress, }: IconButtonProps): ReactNode;
21
23
  export declare function CloseIconButton(props: Except<IconButtonProps, 'icon'>): ReactNode;
22
24
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/IconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC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MAAM,2BAA2B,CAAC;AAWhE,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,eAAe,GAAG,WAAW,CAAC;AAE5F,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAe,EACf,QAAQ,EACR,MAAM,EACN,SAAS,EACT,iBAA4B,EAC5B,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,GACR,EAAE,eAAe,GAAG,SAAS,CAsF7B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG,SAAS,CAEjF"}
@@ -7,8 +7,9 @@ import type { FullscreenModalFooterProps } from '../FullscreenModal/Footer';
7
7
  import type { FullscreenModalProps } from '../FullscreenModal/FullscreenModal';
8
8
  import type { FullscreenModalHeaderProps } from '../FullscreenModal/Header';
9
9
  import { NavigationModalBehaviour } from './NavigationModalBehaviour';
10
- export type NavigationModalProps = FullscreenModalProps;
11
- export declare function NavigationModal({ body, backgroundColor, footer, header, children }: NavigationModalProps): ReactNode;
10
+ export interface NavigationModalProps extends FullscreenModalProps {
11
+ }
12
+ export declare function NavigationModal({ body, backgroundColor, footer, header }: NavigationModalProps): ReactNode;
12
13
  export declare namespace NavigationModal {
13
14
  var Header: (props: HeaderProps) => ReactNode;
14
15
  var Body: (props: BodyProps) => ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationModal.d.ts","sourceRoot":"","sources":["../../../src/NavigationModal/NavigationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAExD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAWpH;yBAXe,eAAe;;;;;;AAa/B,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC;AAUrE,KAAK,SAAS,GAAG,kBAAkB,GAAG,wBAAwB,CAAC;AAU/D,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC"}
1
+ {"version":3,"file":"NavigationModal.d.ts","sourceRoot":"","sources":["../../../src/NavigationModal/NavigationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG;AAErE,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAO1G;yBAPe,eAAe;;;;;;AAS/B,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC;AAUrE,KAAK,SAAS,GAAG,kBAAkB,GAAG,wBAAwB,CAAC;AAU/D,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC"}
@@ -4,5 +4,5 @@ export interface AutocompleteOptionProps extends ViewProps {
4
4
  item: unknown;
5
5
  children: ReactNode;
6
6
  }
7
- export declare function AutocompleteOption({ children, ...props }: AutocompleteOptionProps): ReactNode;
7
+ export declare function AutocompleteOption({ children, testID, ...props }: AutocompleteOptionProps): ReactNode;
8
8
  //# sourceMappingURL=AutocompleteOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutocompleteOption.d.ts","sourceRoot":"","sources":["../../../../src/forms/Autocomplete/AutocompleteOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAG9D,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG,SAAS,CAU7F"}
1
+ {"version":3,"file":"AutocompleteOption.d.ts","sourceRoot":"","sources":["../../../../src/forms/Autocomplete/AutocompleteOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAG9D,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,MAAmC,EACnC,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,SAAS,CAWrC"}
@@ -5137,10 +5137,11 @@ function AutocompleteItemsListContainer({
5137
5137
  });
5138
5138
  }
5139
5139
 
5140
- const _excluded$A = ["children"];
5140
+ const _excluded$A = ["children", "testID"];
5141
5141
  function AutocompleteOption(_ref) {
5142
5142
  let {
5143
- children
5143
+ children,
5144
+ testID = 'kitt.Autocomplete.option'
5144
5145
  } = _ref,
5145
5146
  props = _objectWithoutProperties(_ref, _excluded$A);
5146
5147
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
@@ -5148,7 +5149,8 @@ function AutocompleteOption(_ref) {
5148
5149
  base: 'kitt.2',
5149
5150
  small: 'kitt.4'
5150
5151
  },
5151
- paddingY: "kitt.forms.autocomplete.option.verticalPadding"
5152
+ paddingY: "kitt.forms.autocomplete.option.verticalPadding",
5153
+ testID: testID
5152
5154
  }, props), {}, {
5153
5155
  children: children
5154
5156
  }));
@@ -6818,6 +6820,7 @@ function InputAddressOption({
6818
6820
  };
6819
6821
  return /*#__PURE__*/jsx(Autocomplete.Option, {
6820
6822
  item: item,
6823
+ testID: "kitt.InputAddressOption.item",
6821
6824
  children: /*#__PURE__*/jsxs(HStack, {
6822
6825
  space: "kitt.2",
6823
6826
  children: [/*#__PURE__*/jsx(View, {
@@ -7781,10 +7784,7 @@ function FullscreenModalBody(_ref) {
7781
7784
  } = useTheme();
7782
7785
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7783
7786
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7784
- return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7785
- flexGrow: 1,
7786
- flexShrink: 1
7787
- }, props), {}, {
7787
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
7788
7788
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7789
7789
  paddingTop: paddingTop,
7790
7790
  paddingBottom: paddingBottom,
@@ -8066,31 +8066,28 @@ function FullscreenModalHeader(_ref) {
8066
8066
  }
8067
8067
 
8068
8068
  function FullscreenModal({
8069
- children,
8070
8069
  body,
8071
8070
  header,
8072
8071
  footer,
8073
8072
  backgroundColor
8074
8073
  }) {
8075
- return /*#__PURE__*/jsx(FullscreenModalContainer, {
8074
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
8076
8075
  backgroundColor: backgroundColor,
8077
- children: children || /*#__PURE__*/jsxs(Fragment, {
8078
- children: [header ? /*#__PURE__*/jsx(View, {
8079
- children: header
8080
- }) : null, /*#__PURE__*/jsxs(View, {
8081
- flexGrow: 1,
8082
- flexShrink: 1,
8083
- justifyContent: "space-between",
8084
- children: [/*#__PURE__*/jsx(ScrollView$2, {
8085
- bounces: false,
8086
- contentContainerStyle: {
8087
- flexGrow: 1,
8088
- position: 'relative'
8089
- },
8090
- children: body
8091
- }), footer || null]
8092
- })]
8093
- })
8076
+ children: [header ? /*#__PURE__*/jsx(View, {
8077
+ children: header
8078
+ }) : null, /*#__PURE__*/jsxs(View, {
8079
+ flexGrow: 1,
8080
+ flexShrink: 1,
8081
+ justifyContent: "space-between",
8082
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
8083
+ bounces: false,
8084
+ contentContainerStyle: {
8085
+ flexGrow: 1,
8086
+ position: 'relative'
8087
+ },
8088
+ children: body
8089
+ }), footer || null]
8090
+ })]
8094
8091
  });
8095
8092
  }
8096
8093
  FullscreenModal.Header = FullscreenModalHeader;
@@ -8497,6 +8494,8 @@ function IconButton({
8497
8494
  testID,
8498
8495
  ariaLabel,
8499
8496
  accessibilityRole = 'button',
8497
+ withBadge,
8498
+ bagdeCount,
8500
8499
  isHoveredInternal,
8501
8500
  isPressedInternal,
8502
8501
  isFocusedInternal,
@@ -8538,26 +8537,55 @@ function IconButton({
8538
8537
  }) => {
8539
8538
  const isCurrentHovered = isHovered || isHoveredInternal;
8540
8539
  const isCurrentPressed = isPressed || isPressedInternal;
8541
- return /*#__PURE__*/jsxs(AnimatedScale, {
8542
- isDisabled: disabled,
8543
- isHovered: isCurrentHovered,
8544
- isPressed: isCurrentPressed,
8545
- scaleStyles: scaleStyles,
8546
- children: [/*#__PURE__*/jsx(AnimatedBackground, {
8547
- color: color,
8540
+ return /*#__PURE__*/jsxs(Fragment, {
8541
+ children: [/*#__PURE__*/jsxs(AnimatedScale, {
8548
8542
  isDisabled: disabled,
8549
8543
  isHovered: isCurrentHovered,
8550
8544
  isPressed: isCurrentPressed,
8551
- isFocused: isFocused || isFocusedInternal,
8552
- opacityStyles: opacityStyles
8553
- }), /*#__PURE__*/jsx(View, {
8554
- alignItems: "center",
8555
- justifyContent: "center",
8556
- children: /*#__PURE__*/jsx(TypographyIcon, {
8557
- color: getIconButtonTextColorByColor(color, disabled),
8558
- icon: icon
8545
+ scaleStyles: scaleStyles,
8546
+ children: [/*#__PURE__*/jsx(AnimatedBackground, {
8547
+ color: color,
8548
+ isDisabled: disabled,
8549
+ isHovered: isCurrentHovered,
8550
+ isPressed: isCurrentPressed,
8551
+ isFocused: isFocused || isFocusedInternal,
8552
+ opacityStyles: opacityStyles
8553
+ }), /*#__PURE__*/jsx(View, {
8554
+ alignItems: "center",
8555
+ justifyContent: "center",
8556
+ children: /*#__PURE__*/jsx(TypographyIcon, {
8557
+ color: getIconButtonTextColorByColor(color, disabled),
8558
+ icon: icon
8559
+ })
8560
+ })]
8561
+ }), withBadge ? /*#__PURE__*/jsx(View, {
8562
+ height: "10px",
8563
+ width: "10px",
8564
+ backgroundColor: lateOceanColorPalette['coral.10'],
8565
+ borderRadius: "kitt.iconButton.borderRadius",
8566
+ position: "absolute",
8567
+ top: "1px",
8568
+ right: "1px"
8569
+ }) : null, !withBadge && bagdeCount && bagdeCount > 0 ? /*#__PURE__*/jsx(View, {
8570
+ height: "20px",
8571
+ width: "20px",
8572
+ backgroundColor: lateOceanColorPalette['coral.10'],
8573
+ borderRadius: "kitt.iconButton.borderRadius",
8574
+ position: "absolute",
8575
+ top: "-6px",
8576
+ right: "-6px",
8577
+ children: /*#__PURE__*/jsx(View, {
8578
+ alignItems: "center",
8579
+ justifyContent: "center",
8580
+ marginTop: "2px",
8581
+ children: /*#__PURE__*/jsx(Typography.Text, {
8582
+ base: "body-xs",
8583
+ variant: "bold",
8584
+ color: "white",
8585
+ children: bagdeCount > 5 ? '+5' : bagdeCount
8586
+ })
8559
8587
  })
8560
- })]
8588
+ }) : null]
8561
8589
  });
8562
8590
  }
8563
8591
  });
@@ -11511,17 +11539,13 @@ function NavigationModal({
11511
11539
  body,
11512
11540
  backgroundColor,
11513
11541
  footer,
11514
- header,
11515
- children
11542
+ header
11516
11543
  }) {
11517
11544
  const Component = useBreakpointValue({
11518
11545
  base: FullscreenModal,
11519
11546
  small: CardModal
11520
11547
  });
11521
- return children ? /*#__PURE__*/jsx(Component, {
11522
- backgroundColor: backgroundColor,
11523
- children: children
11524
- }) : /*#__PURE__*/jsx(Component, {
11548
+ return /*#__PURE__*/jsx(Component, {
11525
11549
  body: body,
11526
11550
  backgroundColor: backgroundColor,
11527
11551
  footer: footer,