@yahoo/uds-mobile 2.19.0 → 2.20.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 (79) hide show
  1. package/dist/components/Modal/Modal.cjs +396 -0
  2. package/dist/components/Modal/Modal.d.cts +9 -0
  3. package/dist/components/Modal/Modal.d.cts.map +1 -0
  4. package/dist/components/Modal/Modal.d.ts +9 -0
  5. package/dist/components/Modal/Modal.d.ts.map +1 -0
  6. package/dist/components/Modal/Modal.js +395 -0
  7. package/dist/components/Modal/Modal.js.map +1 -0
  8. package/dist/components/Modal/ModalActions.cjs +47 -0
  9. package/dist/components/Modal/ModalActions.d.cts +9 -0
  10. package/dist/components/Modal/ModalActions.d.cts.map +1 -0
  11. package/dist/components/Modal/ModalActions.d.ts +9 -0
  12. package/dist/components/Modal/ModalActions.d.ts.map +1 -0
  13. package/dist/components/Modal/ModalActions.js +47 -0
  14. package/dist/components/Modal/ModalActions.js.map +1 -0
  15. package/dist/components/Modal/ModalContent.cjs +41 -0
  16. package/dist/components/Modal/ModalContent.d.cts +9 -0
  17. package/dist/components/Modal/ModalContent.d.cts.map +1 -0
  18. package/dist/components/Modal/ModalContent.d.ts +9 -0
  19. package/dist/components/Modal/ModalContent.d.ts.map +1 -0
  20. package/dist/components/Modal/ModalContent.js +41 -0
  21. package/dist/components/Modal/ModalContent.js.map +1 -0
  22. package/dist/components/Modal/ModalContext.cjs +14 -0
  23. package/dist/components/Modal/ModalContext.d.cts +10 -0
  24. package/dist/components/Modal/ModalContext.d.cts.map +1 -0
  25. package/dist/components/Modal/ModalContext.d.ts +10 -0
  26. package/dist/components/Modal/ModalContext.d.ts.map +1 -0
  27. package/dist/components/Modal/ModalContext.js +13 -0
  28. package/dist/components/Modal/ModalContext.js.map +1 -0
  29. package/dist/components/Modal/ModalDescription.cjs +21 -0
  30. package/dist/components/Modal/ModalDescription.d.cts +9 -0
  31. package/dist/components/Modal/ModalDescription.d.cts.map +1 -0
  32. package/dist/components/Modal/ModalDescription.d.ts +9 -0
  33. package/dist/components/Modal/ModalDescription.d.ts.map +1 -0
  34. package/dist/components/Modal/ModalDescription.js +21 -0
  35. package/dist/components/Modal/ModalDescription.js.map +1 -0
  36. package/dist/components/Modal/ModalTitle.cjs +22 -0
  37. package/dist/components/Modal/ModalTitle.d.cts +9 -0
  38. package/dist/components/Modal/ModalTitle.d.cts.map +1 -0
  39. package/dist/components/Modal/ModalTitle.d.ts +9 -0
  40. package/dist/components/Modal/ModalTitle.d.ts.map +1 -0
  41. package/dist/components/Modal/ModalTitle.js +22 -0
  42. package/dist/components/Modal/ModalTitle.js.map +1 -0
  43. package/dist/components/Modal/index.cjs +12 -0
  44. package/dist/components/Modal/index.d.cts +8 -0
  45. package/dist/components/Modal/index.d.ts +8 -0
  46. package/dist/components/Modal/index.js +7 -0
  47. package/dist/components/Modal/types.cjs +1 -0
  48. package/dist/components/Modal/types.d.cts +111 -0
  49. package/dist/components/Modal/types.d.cts.map +1 -0
  50. package/dist/components/Modal/types.d.ts +111 -0
  51. package/dist/components/Modal/types.d.ts.map +1 -0
  52. package/dist/components/Modal/types.js +1 -0
  53. package/dist/components/Modal/utils.cjs +59 -0
  54. package/dist/components/Modal/utils.d.cts +28 -0
  55. package/dist/components/Modal/utils.d.cts.map +1 -0
  56. package/dist/components/Modal/utils.d.ts +28 -0
  57. package/dist/components/Modal/utils.d.ts.map +1 -0
  58. package/dist/components/Modal/utils.js +56 -0
  59. package/dist/components/Modal/utils.js.map +1 -0
  60. package/dist/jest/mocks/gesture-handler.cjs +29 -0
  61. package/dist/jest/mocks/gesture-handler.d.cts +27 -2
  62. package/dist/jest/mocks/gesture-handler.d.cts.map +1 -1
  63. package/dist/jest/mocks/gesture-handler.d.ts +27 -2
  64. package/dist/jest/mocks/gesture-handler.d.ts.map +1 -1
  65. package/dist/jest/mocks/gesture-handler.js +22 -1
  66. package/dist/jest/mocks/gesture-handler.js.map +1 -1
  67. package/dist/jest/mocks/styles.cjs +39 -0
  68. package/dist/jest/mocks/styles.d.cts +3 -2
  69. package/dist/jest/mocks/styles.d.cts.map +1 -1
  70. package/dist/jest/mocks/styles.d.ts +3 -2
  71. package/dist/jest/mocks/styles.d.ts.map +1 -1
  72. package/dist/jest/mocks/styles.js +39 -1
  73. package/dist/jest/mocks/styles.js.map +1 -1
  74. package/dist/jest/setup.cjs +8 -28
  75. package/dist/jest/setup.d.cts.map +1 -1
  76. package/dist/jest/setup.d.ts.map +1 -1
  77. package/dist/jest/setup.js +8 -28
  78. package/dist/jest/setup.js.map +1 -1
  79. package/package.json +11 -1
@@ -0,0 +1,28 @@
1
+
2
+ import { ModalDimension } from "./types.cjs";
3
+ import { ReactNode } from "react";
4
+ import { DimensionValue, GestureResponderEvent } from "react-native";
5
+
6
+ //#region src/components/Modal/utils.d.ts
7
+ interface Point {
8
+ x: number;
9
+ y: number;
10
+ }
11
+ interface Rect {
12
+ height: number;
13
+ width: number;
14
+ x: number;
15
+ y: number;
16
+ }
17
+ declare function separateChildren(children: ReactNode): {
18
+ title: ReactNode | null;
19
+ description: ReactNode | null;
20
+ content: ReactNode | null;
21
+ actions: ReactNode | null;
22
+ };
23
+ declare function resolveModalDimension(value: ModalDimension | undefined): DimensionValue | undefined;
24
+ declare function getEventPagePoint(event?: GestureResponderEvent): Point | null;
25
+ declare function shouldDismissModalRelease(point: Point, surfaceRect: Rect): boolean;
26
+ //#endregion
27
+ export { type Point, type Rect, getEventPagePoint, resolveModalDimension, separateChildren, shouldDismissModalRelease };
28
+ //# sourceMappingURL=utils.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.cts","names":[],"sources":["../../../src/components/Modal/utils.ts"],"mappings":";;;;;;UAMU,KAAA;EACR,CAAA;EACA,CAAA;AAAA;AAAA,UAGQ,IAAA;EACR,MAAA;EACA,KAAA;EACA,CAAA;EACA,CAAA;AAAA;AAAA,iBAYO,gBAAA,CAAiB,QAAA,EAAU,SAAA;EAClC,KAAA,EAAO,SAAA;EACP,WAAA,EAAa,SAAA;EACb,OAAA,EAAS,SAAA;EACT,OAAA,EAAS,SAAA;AAAA;AAAA,iBA4BF,qBAAA,CAAsB,KAAA,EAAO,cAAA,eAA6B,cAAA;AAAA,iBAa1D,iBAAA,CAAkB,KAAA,GAAQ,qBAAA,GAAwB,KAAA;AAAA,iBAsBlD,yBAAA,CAA0B,KAAA,EAAO,KAAA,EAAO,WAAA,EAAa,IAAA"}
@@ -0,0 +1,28 @@
1
+
2
+ import { ModalDimension } from "./types.js";
3
+ import { ReactNode } from "react";
4
+ import { DimensionValue, GestureResponderEvent } from "react-native";
5
+
6
+ //#region src/components/Modal/utils.d.ts
7
+ interface Point {
8
+ x: number;
9
+ y: number;
10
+ }
11
+ interface Rect {
12
+ height: number;
13
+ width: number;
14
+ x: number;
15
+ y: number;
16
+ }
17
+ declare function separateChildren(children: ReactNode): {
18
+ title: ReactNode | null;
19
+ description: ReactNode | null;
20
+ content: ReactNode | null;
21
+ actions: ReactNode | null;
22
+ };
23
+ declare function resolveModalDimension(value: ModalDimension | undefined): DimensionValue | undefined;
24
+ declare function getEventPagePoint(event?: GestureResponderEvent): Point | null;
25
+ declare function shouldDismissModalRelease(point: Point, surfaceRect: Rect): boolean;
26
+ //#endregion
27
+ export { type Point, type Rect, getEventPagePoint, resolveModalDimension, separateChildren, shouldDismissModalRelease };
28
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/components/Modal/utils.ts"],"mappings":";;;;;;UAMU,KAAA;EACR,CAAA;EACA,CAAA;AAAA;AAAA,UAGQ,IAAA;EACR,MAAA;EACA,KAAA;EACA,CAAA;EACA,CAAA;AAAA;AAAA,iBAYO,gBAAA,CAAiB,QAAA,EAAU,SAAA;EAClC,KAAA,EAAO,SAAA;EACP,WAAA,EAAa,SAAA;EACb,OAAA,EAAS,SAAA;EACT,OAAA,EAAS,SAAA;AAAA;AAAA,iBA4BF,qBAAA,CAAsB,KAAA,EAAO,cAAA,eAA6B,cAAA;AAAA,iBAa1D,iBAAA,CAAkB,KAAA,GAAQ,qBAAA,GAAwB,KAAA;AAAA,iBAsBlD,yBAAA,CAA0B,KAAA,EAAO,KAAA,EAAO,WAAA,EAAa,IAAA"}
@@ -0,0 +1,56 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
+ import { Children, isValidElement } from "react";
3
+ //#region src/components/Modal/utils.ts
4
+ function getModalSlot(child) {
5
+ if (!isValidElement(child)) return null;
6
+ return child.type.__modalSlot ?? null;
7
+ }
8
+ function separateChildren(children) {
9
+ let title = null;
10
+ let description = null;
11
+ let content = null;
12
+ let actions = null;
13
+ Children.forEach(children, (child) => {
14
+ if (child == null || child === false || child === true || child === "") return;
15
+ const slot = getModalSlot(child);
16
+ if (slot === "title") title = child;
17
+ else if (slot === "description") description = child;
18
+ else if (slot === "content") content = child;
19
+ else if (slot === "actions") actions = child;
20
+ });
21
+ return {
22
+ title,
23
+ description,
24
+ content,
25
+ actions
26
+ };
27
+ }
28
+ function resolveModalDimension(value) {
29
+ if (value === void 0 || value === null || value === "auto") return;
30
+ if (typeof value === "string" && value.endsWith("px")) {
31
+ const parsed = Number.parseFloat(value);
32
+ return Number.isFinite(parsed) ? parsed : void 0;
33
+ }
34
+ return value;
35
+ }
36
+ function getEventPagePoint(event) {
37
+ const nativeEvent = event?.nativeEvent;
38
+ const changedTouch = nativeEvent?.changedTouches?.[0];
39
+ const pageX = typeof nativeEvent?.pageX === "number" ? nativeEvent.pageX : changedTouch?.pageX;
40
+ const pageY = typeof nativeEvent?.pageY === "number" ? nativeEvent.pageY : changedTouch?.pageY;
41
+ if (typeof pageX !== "number" || typeof pageY !== "number") return null;
42
+ return {
43
+ x: pageX,
44
+ y: pageY
45
+ };
46
+ }
47
+ function isPointInRect(point, rect) {
48
+ return point.x >= rect.x && point.x <= rect.x + rect.width && point.y >= rect.y && point.y <= rect.y + rect.height;
49
+ }
50
+ function shouldDismissModalRelease(point, surfaceRect) {
51
+ return !isPointInRect(point, surfaceRect);
52
+ }
53
+ //#endregion
54
+ export { getEventPagePoint, resolveModalDimension, separateChildren, shouldDismissModalRelease };
55
+
56
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/Modal/utils.ts"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { Children, isValidElement } from 'react';\nimport type { DimensionValue, GestureResponderEvent } from 'react-native';\n\nimport type { ModalDimension, ModalSlot, ModalSlotComponent } from './types';\n\ninterface Point {\n x: number;\n y: number;\n}\n\ninterface Rect {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\nfunction getModalSlot(child: ReactNode): ModalSlot | null {\n if (!isValidElement(child)) {\n return null;\n }\n\n const type = child.type as ModalSlotComponent;\n return type.__modalSlot ?? null;\n}\n\nfunction separateChildren(children: ReactNode): {\n title: ReactNode | null;\n description: ReactNode | null;\n content: ReactNode | null;\n actions: ReactNode | null;\n} {\n let title: ReactNode | null = null;\n let description: ReactNode | null = null;\n let content: ReactNode | null = null;\n let actions: ReactNode | null = null;\n\n Children.forEach(children, (child) => {\n if (child == null || child === false || child === true || child === '') {\n return;\n }\n\n const slot = getModalSlot(child);\n\n if (slot === 'title') {\n title = child;\n } else if (slot === 'description') {\n description = child;\n } else if (slot === 'content') {\n content = child;\n } else if (slot === 'actions') {\n actions = child;\n }\n });\n\n return { title, description, content, actions };\n}\n\nfunction resolveModalDimension(value: ModalDimension | undefined): DimensionValue | undefined {\n if (value === undefined || value === null || value === 'auto') {\n return undefined;\n }\n\n if (typeof value === 'string' && value.endsWith('px')) {\n const parsed = Number.parseFloat(value);\n return Number.isFinite(parsed) ? parsed : undefined;\n }\n\n return value as DimensionValue;\n}\n\nfunction getEventPagePoint(event?: GestureResponderEvent): Point | null {\n const nativeEvent = event?.nativeEvent;\n const changedTouch = nativeEvent?.changedTouches?.[0];\n const pageX = typeof nativeEvent?.pageX === 'number' ? nativeEvent.pageX : changedTouch?.pageX;\n const pageY = typeof nativeEvent?.pageY === 'number' ? nativeEvent.pageY : changedTouch?.pageY;\n\n if (typeof pageX !== 'number' || typeof pageY !== 'number') {\n return null;\n }\n\n return { x: pageX, y: pageY };\n}\n\nfunction isPointInRect(point: Point, rect: Rect): boolean {\n return (\n point.x >= rect.x &&\n point.x <= rect.x + rect.width &&\n point.y >= rect.y &&\n point.y <= rect.y + rect.height\n );\n}\n\nfunction shouldDismissModalRelease(point: Point, surfaceRect: Rect): boolean {\n return !isPointInRect(point, surfaceRect);\n}\n\nexport { getEventPagePoint, resolveModalDimension, separateChildren, shouldDismissModalRelease };\nexport type { Point, Rect };\n"],"mappings":";;;AAkBA,SAAS,aAAa,OAAoC;CACxD,IAAI,CAAC,eAAe,MAAM,EACxB,OAAO;CAIT,OADa,MAAM,KACP,eAAe;;AAG7B,SAAS,iBAAiB,UAKxB;CACA,IAAI,QAA0B;CAC9B,IAAI,cAAgC;CACpC,IAAI,UAA4B;CAChC,IAAI,UAA4B;CAEhC,SAAS,QAAQ,WAAW,UAAU;EACpC,IAAI,SAAS,QAAQ,UAAU,SAAS,UAAU,QAAQ,UAAU,IAClE;EAGF,MAAM,OAAO,aAAa,MAAM;EAEhC,IAAI,SAAS,SACX,QAAQ;OACH,IAAI,SAAS,eAClB,cAAc;OACT,IAAI,SAAS,WAClB,UAAU;OACL,IAAI,SAAS,WAClB,UAAU;GAEZ;CAEF,OAAO;EAAE;EAAO;EAAa;EAAS;EAAS;;AAGjD,SAAS,sBAAsB,OAA+D;CAC5F,IAAI,UAAU,KAAA,KAAa,UAAU,QAAQ,UAAU,QACrD;CAGF,IAAI,OAAO,UAAU,YAAY,MAAM,SAAS,KAAK,EAAE;EACrD,MAAM,SAAS,OAAO,WAAW,MAAM;EACvC,OAAO,OAAO,SAAS,OAAO,GAAG,SAAS,KAAA;;CAG5C,OAAO;;AAGT,SAAS,kBAAkB,OAA6C;CACtE,MAAM,cAAc,OAAO;CAC3B,MAAM,eAAe,aAAa,iBAAiB;CACnD,MAAM,QAAQ,OAAO,aAAa,UAAU,WAAW,YAAY,QAAQ,cAAc;CACzF,MAAM,QAAQ,OAAO,aAAa,UAAU,WAAW,YAAY,QAAQ,cAAc;CAEzF,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,UAChD,OAAO;CAGT,OAAO;EAAE,GAAG;EAAO,GAAG;EAAO;;AAG/B,SAAS,cAAc,OAAc,MAAqB;CACxD,OACE,MAAM,KAAK,KAAK,KAChB,MAAM,KAAK,KAAK,IAAI,KAAK,SACzB,MAAM,KAAK,KAAK,KAChB,MAAM,KAAK,KAAK,IAAI,KAAK;;AAI7B,SAAS,0BAA0B,OAAc,aAA4B;CAC3E,OAAO,CAAC,cAAc,OAAO,YAAY"}
@@ -1,6 +1,15 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
4
+ let react = require("react");
5
+ react = require_runtime.__toESM(react);
3
6
  //#region src/jest/mocks/gesture-handler.tsx
7
+ var gesture_handler_exports = /* @__PURE__ */ require_runtime.__exportAll({
8
+ Gesture: () => Gesture,
9
+ GestureDetector: () => GestureDetector,
10
+ GestureHandlerRootView: () => GestureHandlerRootView,
11
+ Pressable: () => Pressable
12
+ });
4
13
  function GestureDetector({ children }) {
5
14
  return children;
6
15
  }
@@ -10,6 +19,7 @@ function createMockGesture() {
10
19
  gesture.enabled = jest.fn(() => gesture);
11
20
  gesture.failOffsetX = jest.fn(() => gesture);
12
21
  gesture.manualActivation = jest.fn(() => gesture);
22
+ gesture.minDistance = jest.fn(() => gesture);
13
23
  gesture.onBegin = jest.fn(() => gesture);
14
24
  gesture.onChange = jest.fn(() => gesture);
15
25
  gesture.onEnd = jest.fn(() => gesture);
@@ -18,6 +28,7 @@ function createMockGesture() {
18
28
  gesture.onTouchesDown = jest.fn(() => gesture);
19
29
  gesture.onTouchesMove = jest.fn(() => gesture);
20
30
  gesture.onUpdate = jest.fn(() => gesture);
31
+ gesture.runOnJS = jest.fn(() => gesture);
21
32
  gesture.simultaneousWithExternalGesture = jest.fn(() => gesture);
22
33
  gesture.withRef = jest.fn(() => gesture);
23
34
  return gesture;
@@ -32,7 +43,25 @@ const Gesture = {
32
43
  function GestureHandlerRootView({ children }) {
33
44
  return children;
34
45
  }
46
+ function Pressable({ children, style, ref, ...props }) {
47
+ const pressableState = { pressed: false };
48
+ const renderedChildren = typeof children === "function" ? children(pressableState) : children;
49
+ const resolvedStyle = typeof style === "function" ? style(pressableState) : style;
50
+ return react.default.createElement("Pressable", {
51
+ ...props,
52
+ ref,
53
+ style: resolvedStyle
54
+ }, renderedChildren);
55
+ }
56
+ Pressable.displayName = "GestureHandlerPressable";
35
57
  //#endregion
36
58
  exports.Gesture = Gesture;
37
59
  exports.GestureDetector = GestureDetector;
38
60
  exports.GestureHandlerRootView = GestureHandlerRootView;
61
+ exports.Pressable = Pressable;
62
+ Object.defineProperty(exports, "gesture_handler_exports", {
63
+ enumerable: true,
64
+ get: function() {
65
+ return gesture_handler_exports;
66
+ }
67
+ });
@@ -1,16 +1,28 @@
1
1
 
2
- import { ReactNode } from "react";
2
+ import React, { ReactNode, Ref } from "react";
3
+ import { StyleProp, View, ViewStyle } from "react-native";
3
4
 
4
5
  //#region src/jest/mocks/gesture-handler.d.ts
5
6
  interface GestureDetectorProps {
6
7
  children?: ReactNode;
7
8
  }
9
+ interface PressableProps$1 {
10
+ children?: ReactNode | ((state: {
11
+ pressed: boolean;
12
+ }) => ReactNode);
13
+ ref?: Ref<View>;
14
+ style?: StyleProp<ViewStyle> | ((state: {
15
+ pressed: boolean;
16
+ }) => StyleProp<ViewStyle>);
17
+ [key: string]: unknown;
18
+ }
8
19
  type MockGestureMethod = jest.Mock<MockGesture, unknown[]>;
9
20
  interface MockGesture {
10
21
  activeOffsetY: MockGestureMethod;
11
22
  enabled: MockGestureMethod;
12
23
  failOffsetX: MockGestureMethod;
13
24
  manualActivation: MockGestureMethod;
25
+ minDistance: MockGestureMethod;
14
26
  onBegin: MockGestureMethod;
15
27
  onChange: MockGestureMethod;
16
28
  onEnd: MockGestureMethod;
@@ -19,6 +31,7 @@ interface MockGesture {
19
31
  onTouchesDown: MockGestureMethod;
20
32
  onTouchesMove: MockGestureMethod;
21
33
  onUpdate: MockGestureMethod;
34
+ runOnJS: MockGestureMethod;
22
35
  simultaneousWithExternalGesture: MockGestureMethod;
23
36
  withRef: MockGestureMethod;
24
37
  }
@@ -36,6 +49,18 @@ declare const Gesture: {
36
49
  declare function GestureHandlerRootView({
37
50
  children
38
51
  }: GestureDetectorProps): ReactNode;
52
+ declare function Pressable({
53
+ children,
54
+ style,
55
+ ref,
56
+ ...props
57
+ }: PressableProps$1): React.ReactElement<{
58
+ ref: Ref<View> | undefined;
59
+ style: StyleProp<ViewStyle>;
60
+ }, string | React.JSXElementConstructor<any>>;
61
+ declare namespace Pressable {
62
+ var displayName: string;
63
+ }
39
64
  //#endregion
40
- export { Gesture, GestureDetector, GestureHandlerRootView };
65
+ export { Gesture, GestureDetector, GestureHandlerRootView, Pressable };
41
66
  //# sourceMappingURL=gesture-handler.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gesture-handler.d.cts","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"mappings":";;;;UAIU,oBAAA;EACR,QAAA,GAAW,SAAA;AAAA;AAAA,KAGR,iBAAA,GAAoB,IAAA,CAAK,IAAA,CAAK,WAAA;AAAA,UAEzB,WAAA;EACR,aAAA,EAAe,iBAAA;EACf,OAAA,EAAS,iBAAA;EACT,WAAA,EAAa,iBAAA;EACb,gBAAA,EAAkB,iBAAA;EAClB,OAAA,EAAS,iBAAA;EACT,QAAA,EAAU,iBAAA;EACV,KAAA,EAAO,iBAAA;EACP,UAAA,EAAY,iBAAA;EACZ,OAAA,EAAS,iBAAA;EACT,aAAA,EAAe,iBAAA;EACf,aAAA,EAAe,iBAAA;EACf,QAAA,EAAU,iBAAA;EACV,+BAAA,EAAiC,iBAAA;EACjC,OAAA,EAAS,iBAAA;AAAA;AAAA,iBAGF,eAAA,CAAA;EAAkB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIlD,iBAAA,CAAA,GAAqB,WAAA;AAAA,cAqBxB,OAAA;;;;;;;iBAQG,sBAAA,CAAA;EAAyB;AAAA,GAAY,oBAAA,GAAoB,SAAA"}
1
+ {"version":3,"file":"gesture-handler.d.cts","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"mappings":";;;;;UAMU,oBAAA;EACR,QAAA,GAAW,SAAA;AAAA;AAAA,UAGH,gBAAA;EACR,QAAA,GAAW,SAAA,KAAc,KAAA;IAAS,OAAA;EAAA,MAAuB,SAAA;EACzD,GAAA,GAAM,GAAA,CAAI,IAAA;EACV,KAAA,GAAQ,SAAA,CAAU,SAAA,MAAe,KAAA;IAAS,OAAA;EAAA,MAAuB,SAAA,CAAU,SAAA;EAAA,CAC1E,GAAA;AAAA;AAAA,KAGE,iBAAA,GAAoB,IAAA,CAAK,IAAA,CAAK,WAAA;AAAA,UAEzB,WAAA;EACR,aAAA,EAAe,iBAAA;EACf,OAAA,EAAS,iBAAA;EACT,WAAA,EAAa,iBAAA;EACb,gBAAA,EAAkB,iBAAA;EAClB,WAAA,EAAa,iBAAA;EACb,OAAA,EAAS,iBAAA;EACT,QAAA,EAAU,iBAAA;EACV,KAAA,EAAO,iBAAA;EACP,UAAA,EAAY,iBAAA;EACZ,OAAA,EAAS,iBAAA;EACT,aAAA,EAAe,iBAAA;EACf,aAAA,EAAe,iBAAA;EACf,QAAA,EAAU,iBAAA;EACV,OAAA,EAAS,iBAAA;EACT,+BAAA,EAAiC,iBAAA;EACjC,OAAA,EAAS,iBAAA;AAAA;AAAA,iBAGF,eAAA,CAAA;EAAkB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIlD,iBAAA,CAAA,GAAqB,WAAA;AAAA,cAuBxB,OAAA;;;;;;;iBAQG,sBAAA,CAAA;EAAyB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIzD,SAAA,CAAA;EAAY,QAAA;EAAU,KAAA;EAAO,GAAA;EAAA,GAAQ;AAAA,GAAS,gBAAA,GAAc,KAAA,CAAA,YAAA;;;;kBAA5D,SAAA;EAAA,IAAS,WAAA;AAAA"}
@@ -1,16 +1,28 @@
1
1
 
2
- import { ReactNode } from "react";
2
+ import React, { ReactNode, Ref } from "react";
3
+ import { StyleProp, View, ViewStyle } from "react-native";
3
4
 
4
5
  //#region src/jest/mocks/gesture-handler.d.ts
5
6
  interface GestureDetectorProps {
6
7
  children?: ReactNode;
7
8
  }
9
+ interface PressableProps$1 {
10
+ children?: ReactNode | ((state: {
11
+ pressed: boolean;
12
+ }) => ReactNode);
13
+ ref?: Ref<View>;
14
+ style?: StyleProp<ViewStyle> | ((state: {
15
+ pressed: boolean;
16
+ }) => StyleProp<ViewStyle>);
17
+ [key: string]: unknown;
18
+ }
8
19
  type MockGestureMethod = jest.Mock<MockGesture, unknown[]>;
9
20
  interface MockGesture {
10
21
  activeOffsetY: MockGestureMethod;
11
22
  enabled: MockGestureMethod;
12
23
  failOffsetX: MockGestureMethod;
13
24
  manualActivation: MockGestureMethod;
25
+ minDistance: MockGestureMethod;
14
26
  onBegin: MockGestureMethod;
15
27
  onChange: MockGestureMethod;
16
28
  onEnd: MockGestureMethod;
@@ -19,6 +31,7 @@ interface MockGesture {
19
31
  onTouchesDown: MockGestureMethod;
20
32
  onTouchesMove: MockGestureMethod;
21
33
  onUpdate: MockGestureMethod;
34
+ runOnJS: MockGestureMethod;
22
35
  simultaneousWithExternalGesture: MockGestureMethod;
23
36
  withRef: MockGestureMethod;
24
37
  }
@@ -36,6 +49,18 @@ declare const Gesture: {
36
49
  declare function GestureHandlerRootView({
37
50
  children
38
51
  }: GestureDetectorProps): ReactNode;
52
+ declare function Pressable({
53
+ children,
54
+ style,
55
+ ref,
56
+ ...props
57
+ }: PressableProps$1): React.ReactElement<{
58
+ ref: Ref<View> | undefined;
59
+ style: StyleProp<ViewStyle>;
60
+ }, string | React.JSXElementConstructor<any>>;
61
+ declare namespace Pressable {
62
+ var displayName: string;
63
+ }
39
64
  //#endregion
40
- export { Gesture, GestureDetector, GestureHandlerRootView };
65
+ export { Gesture, GestureDetector, GestureHandlerRootView, Pressable };
41
66
  //# sourceMappingURL=gesture-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gesture-handler.d.ts","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"mappings":";;;;UAIU,oBAAA;EACR,QAAA,GAAW,SAAA;AAAA;AAAA,KAGR,iBAAA,GAAoB,IAAA,CAAK,IAAA,CAAK,WAAA;AAAA,UAEzB,WAAA;EACR,aAAA,EAAe,iBAAA;EACf,OAAA,EAAS,iBAAA;EACT,WAAA,EAAa,iBAAA;EACb,gBAAA,EAAkB,iBAAA;EAClB,OAAA,EAAS,iBAAA;EACT,QAAA,EAAU,iBAAA;EACV,KAAA,EAAO,iBAAA;EACP,UAAA,EAAY,iBAAA;EACZ,OAAA,EAAS,iBAAA;EACT,aAAA,EAAe,iBAAA;EACf,aAAA,EAAe,iBAAA;EACf,QAAA,EAAU,iBAAA;EACV,+BAAA,EAAiC,iBAAA;EACjC,OAAA,EAAS,iBAAA;AAAA;AAAA,iBAGF,eAAA,CAAA;EAAkB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIlD,iBAAA,CAAA,GAAqB,WAAA;AAAA,cAqBxB,OAAA;;;;;;;iBAQG,sBAAA,CAAA;EAAyB;AAAA,GAAY,oBAAA,GAAoB,SAAA"}
1
+ {"version":3,"file":"gesture-handler.d.ts","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"mappings":";;;;;UAMU,oBAAA;EACR,QAAA,GAAW,SAAA;AAAA;AAAA,UAGH,gBAAA;EACR,QAAA,GAAW,SAAA,KAAc,KAAA;IAAS,OAAA;EAAA,MAAuB,SAAA;EACzD,GAAA,GAAM,GAAA,CAAI,IAAA;EACV,KAAA,GAAQ,SAAA,CAAU,SAAA,MAAe,KAAA;IAAS,OAAA;EAAA,MAAuB,SAAA,CAAU,SAAA;EAAA,CAC1E,GAAA;AAAA;AAAA,KAGE,iBAAA,GAAoB,IAAA,CAAK,IAAA,CAAK,WAAA;AAAA,UAEzB,WAAA;EACR,aAAA,EAAe,iBAAA;EACf,OAAA,EAAS,iBAAA;EACT,WAAA,EAAa,iBAAA;EACb,gBAAA,EAAkB,iBAAA;EAClB,WAAA,EAAa,iBAAA;EACb,OAAA,EAAS,iBAAA;EACT,QAAA,EAAU,iBAAA;EACV,KAAA,EAAO,iBAAA;EACP,UAAA,EAAY,iBAAA;EACZ,OAAA,EAAS,iBAAA;EACT,aAAA,EAAe,iBAAA;EACf,aAAA,EAAe,iBAAA;EACf,QAAA,EAAU,iBAAA;EACV,OAAA,EAAS,iBAAA;EACT,+BAAA,EAAiC,iBAAA;EACjC,OAAA,EAAS,iBAAA;AAAA;AAAA,iBAGF,eAAA,CAAA;EAAkB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIlD,iBAAA,CAAA,GAAqB,WAAA;AAAA,cAuBxB,OAAA;;;;;;;iBAQG,sBAAA,CAAA;EAAyB;AAAA,GAAY,oBAAA,GAAoB,SAAA;AAAA,iBAIzD,SAAA,CAAA;EAAY,QAAA;EAAU,KAAA;EAAO,GAAA;EAAA,GAAQ;AAAA,GAAS,gBAAA,GAAc,KAAA,CAAA,YAAA;;;;kBAA5D,SAAA;EAAA,IAAS,WAAA;AAAA"}
@@ -1,5 +1,13 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
+ import React from "react";
2
4
  //#region src/jest/mocks/gesture-handler.tsx
5
+ var gesture_handler_exports = /* @__PURE__ */ __exportAll({
6
+ Gesture: () => Gesture,
7
+ GestureDetector: () => GestureDetector,
8
+ GestureHandlerRootView: () => GestureHandlerRootView,
9
+ Pressable: () => Pressable
10
+ });
3
11
  function GestureDetector({ children }) {
4
12
  return children;
5
13
  }
@@ -9,6 +17,7 @@ function createMockGesture() {
9
17
  gesture.enabled = jest.fn(() => gesture);
10
18
  gesture.failOffsetX = jest.fn(() => gesture);
11
19
  gesture.manualActivation = jest.fn(() => gesture);
20
+ gesture.minDistance = jest.fn(() => gesture);
12
21
  gesture.onBegin = jest.fn(() => gesture);
13
22
  gesture.onChange = jest.fn(() => gesture);
14
23
  gesture.onEnd = jest.fn(() => gesture);
@@ -17,6 +26,7 @@ function createMockGesture() {
17
26
  gesture.onTouchesDown = jest.fn(() => gesture);
18
27
  gesture.onTouchesMove = jest.fn(() => gesture);
19
28
  gesture.onUpdate = jest.fn(() => gesture);
29
+ gesture.runOnJS = jest.fn(() => gesture);
20
30
  gesture.simultaneousWithExternalGesture = jest.fn(() => gesture);
21
31
  gesture.withRef = jest.fn(() => gesture);
22
32
  return gesture;
@@ -31,7 +41,18 @@ const Gesture = {
31
41
  function GestureHandlerRootView({ children }) {
32
42
  return children;
33
43
  }
44
+ function Pressable({ children, style, ref, ...props }) {
45
+ const pressableState = { pressed: false };
46
+ const renderedChildren = typeof children === "function" ? children(pressableState) : children;
47
+ const resolvedStyle = typeof style === "function" ? style(pressableState) : style;
48
+ return React.createElement("Pressable", {
49
+ ...props,
50
+ ref,
51
+ style: resolvedStyle
52
+ }, renderedChildren);
53
+ }
54
+ Pressable.displayName = "GestureHandlerPressable";
34
55
  //#endregion
35
- export { Gesture, GestureDetector, GestureHandlerRootView };
56
+ export { Gesture, GestureDetector, GestureHandlerRootView, Pressable, gesture_handler_exports };
36
57
 
37
58
  //# sourceMappingURL=gesture-handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gesture-handler.js","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"sourcesContent":["/// <reference types=\"jest\" />\n\nimport type { ReactNode } from 'react';\n\ninterface GestureDetectorProps {\n children?: ReactNode;\n}\n\ntype MockGestureMethod = jest.Mock<MockGesture, unknown[]>;\n\ninterface MockGesture {\n activeOffsetY: MockGestureMethod;\n enabled: MockGestureMethod;\n failOffsetX: MockGestureMethod;\n manualActivation: MockGestureMethod;\n onBegin: MockGestureMethod;\n onChange: MockGestureMethod;\n onEnd: MockGestureMethod;\n onFinalize: MockGestureMethod;\n onStart: MockGestureMethod;\n onTouchesDown: MockGestureMethod;\n onTouchesMove: MockGestureMethod;\n onUpdate: MockGestureMethod;\n simultaneousWithExternalGesture: MockGestureMethod;\n withRef: MockGestureMethod;\n}\n\nfunction GestureDetector({ children }: GestureDetectorProps) {\n return children;\n}\n\nfunction createMockGesture(): MockGesture {\n const gesture = {} as MockGesture;\n\n gesture.activeOffsetY = jest.fn(() => gesture);\n gesture.enabled = jest.fn(() => gesture);\n gesture.failOffsetX = jest.fn(() => gesture);\n gesture.manualActivation = jest.fn(() => gesture);\n gesture.onBegin = jest.fn(() => gesture);\n gesture.onChange = jest.fn(() => gesture);\n gesture.onEnd = jest.fn(() => gesture);\n gesture.onFinalize = jest.fn(() => gesture);\n gesture.onStart = jest.fn(() => gesture);\n gesture.onTouchesDown = jest.fn(() => gesture);\n gesture.onTouchesMove = jest.fn(() => gesture);\n gesture.onUpdate = jest.fn(() => gesture);\n gesture.simultaneousWithExternalGesture = jest.fn(() => gesture);\n gesture.withRef = jest.fn(() => gesture);\n\n return gesture;\n}\n\nconst Gesture = {\n Native: createMockGesture,\n Pan: createMockGesture,\n Race: jest.fn((..._gestures: unknown[]) => createMockGesture()),\n Simultaneous: jest.fn((..._gestures: unknown[]) => createMockGesture()),\n Tap: createMockGesture,\n};\n\nfunction GestureHandlerRootView({ children }: GestureDetectorProps) {\n return children;\n}\n\nexport { Gesture, GestureDetector, GestureHandlerRootView };\n"],"mappings":";;AA2BA,SAAS,gBAAgB,EAAE,YAAkC;CAC3D,OAAO;;AAGT,SAAS,oBAAiC;CACxC,MAAM,UAAU,EAAE;CAElB,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,cAAc,KAAK,SAAS,QAAQ;CAC5C,QAAQ,mBAAmB,KAAK,SAAS,QAAQ;CACjD,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,WAAW,KAAK,SAAS,QAAQ;CACzC,QAAQ,QAAQ,KAAK,SAAS,QAAQ;CACtC,QAAQ,aAAa,KAAK,SAAS,QAAQ;CAC3C,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,WAAW,KAAK,SAAS,QAAQ;CACzC,QAAQ,kCAAkC,KAAK,SAAS,QAAQ;CAChE,QAAQ,UAAU,KAAK,SAAS,QAAQ;CAExC,OAAO;;AAGT,MAAM,UAAU;CACd,QAAQ;CACR,KAAK;CACL,MAAM,KAAK,IAAI,GAAG,cAAyB,mBAAmB,CAAC;CAC/D,cAAc,KAAK,IAAI,GAAG,cAAyB,mBAAmB,CAAC;CACvE,KAAK;CACN;AAED,SAAS,uBAAuB,EAAE,YAAkC;CAClE,OAAO"}
1
+ {"version":3,"file":"gesture-handler.js","names":[],"sources":["../../../src/jest/mocks/gesture-handler.tsx"],"sourcesContent":["/// <reference types=\"jest\" />\n\nimport type { ReactNode, Ref } from 'react';\nimport React from 'react';\nimport type { StyleProp, View, ViewStyle } from 'react-native';\n\ninterface GestureDetectorProps {\n children?: ReactNode;\n}\n\ninterface PressableProps {\n children?: ReactNode | ((state: { pressed: boolean }) => ReactNode);\n ref?: Ref<View>;\n style?: StyleProp<ViewStyle> | ((state: { pressed: boolean }) => StyleProp<ViewStyle>);\n [key: string]: unknown;\n}\n\ntype MockGestureMethod = jest.Mock<MockGesture, unknown[]>;\n\ninterface MockGesture {\n activeOffsetY: MockGestureMethod;\n enabled: MockGestureMethod;\n failOffsetX: MockGestureMethod;\n manualActivation: MockGestureMethod;\n minDistance: MockGestureMethod;\n onBegin: MockGestureMethod;\n onChange: MockGestureMethod;\n onEnd: MockGestureMethod;\n onFinalize: MockGestureMethod;\n onStart: MockGestureMethod;\n onTouchesDown: MockGestureMethod;\n onTouchesMove: MockGestureMethod;\n onUpdate: MockGestureMethod;\n runOnJS: MockGestureMethod;\n simultaneousWithExternalGesture: MockGestureMethod;\n withRef: MockGestureMethod;\n}\n\nfunction GestureDetector({ children }: GestureDetectorProps) {\n return children;\n}\n\nfunction createMockGesture(): MockGesture {\n const gesture = {} as MockGesture;\n\n gesture.activeOffsetY = jest.fn(() => gesture);\n gesture.enabled = jest.fn(() => gesture);\n gesture.failOffsetX = jest.fn(() => gesture);\n gesture.manualActivation = jest.fn(() => gesture);\n gesture.minDistance = jest.fn(() => gesture);\n gesture.onBegin = jest.fn(() => gesture);\n gesture.onChange = jest.fn(() => gesture);\n gesture.onEnd = jest.fn(() => gesture);\n gesture.onFinalize = jest.fn(() => gesture);\n gesture.onStart = jest.fn(() => gesture);\n gesture.onTouchesDown = jest.fn(() => gesture);\n gesture.onTouchesMove = jest.fn(() => gesture);\n gesture.onUpdate = jest.fn(() => gesture);\n gesture.runOnJS = jest.fn(() => gesture);\n gesture.simultaneousWithExternalGesture = jest.fn(() => gesture);\n gesture.withRef = jest.fn(() => gesture);\n\n return gesture;\n}\n\nconst Gesture = {\n Native: createMockGesture,\n Pan: createMockGesture,\n Race: jest.fn((..._gestures: unknown[]) => createMockGesture()),\n Simultaneous: jest.fn((..._gestures: unknown[]) => createMockGesture()),\n Tap: createMockGesture,\n};\n\nfunction GestureHandlerRootView({ children }: GestureDetectorProps) {\n return children;\n}\n\nfunction Pressable({ children, style, ref, ...props }: PressableProps) {\n const pressableState = { pressed: false };\n const renderedChildren = typeof children === 'function' ? children(pressableState) : children;\n const resolvedStyle = typeof style === 'function' ? style(pressableState) : style;\n\n return React.createElement(\n 'Pressable',\n { ...props, ref, style: resolvedStyle },\n renderedChildren,\n );\n}\n\nPressable.displayName = 'GestureHandlerPressable';\n\nexport { Gesture, GestureDetector, GestureHandlerRootView, Pressable };\n"],"mappings":";;;;;;;;;;AAsCA,SAAS,gBAAgB,EAAE,YAAkC;CAC3D,OAAO;;AAGT,SAAS,oBAAiC;CACxC,MAAM,UAAU,EAAE;CAElB,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,cAAc,KAAK,SAAS,QAAQ;CAC5C,QAAQ,mBAAmB,KAAK,SAAS,QAAQ;CACjD,QAAQ,cAAc,KAAK,SAAS,QAAQ;CAC5C,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,WAAW,KAAK,SAAS,QAAQ;CACzC,QAAQ,QAAQ,KAAK,SAAS,QAAQ;CACtC,QAAQ,aAAa,KAAK,SAAS,QAAQ;CAC3C,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,gBAAgB,KAAK,SAAS,QAAQ;CAC9C,QAAQ,WAAW,KAAK,SAAS,QAAQ;CACzC,QAAQ,UAAU,KAAK,SAAS,QAAQ;CACxC,QAAQ,kCAAkC,KAAK,SAAS,QAAQ;CAChE,QAAQ,UAAU,KAAK,SAAS,QAAQ;CAExC,OAAO;;AAGT,MAAM,UAAU;CACd,QAAQ;CACR,KAAK;CACL,MAAM,KAAK,IAAI,GAAG,cAAyB,mBAAmB,CAAC;CAC/D,cAAc,KAAK,IAAI,GAAG,cAAyB,mBAAmB,CAAC;CACvE,KAAK;CACN;AAED,SAAS,uBAAuB,EAAE,YAAkC;CAClE,OAAO;;AAGT,SAAS,UAAU,EAAE,UAAU,OAAO,KAAK,GAAG,SAAyB;CACrE,MAAM,iBAAiB,EAAE,SAAS,OAAO;CACzC,MAAM,mBAAmB,OAAO,aAAa,aAAa,SAAS,eAAe,GAAG;CACrF,MAAM,gBAAgB,OAAO,UAAU,aAAa,MAAM,eAAe,GAAG;CAE5E,OAAO,MAAM,cACX,aACA;EAAE,GAAG;EAAO;EAAK,OAAO;EAAe,EACvC,iBACD;;AAGH,UAAU,cAAc"}
@@ -12,6 +12,7 @@ var styles_exports = /* @__PURE__ */ require("../../_virtual/_rolldown/runtime.c
12
12
  iconButtonStyles: () => iconButtonStyles,
13
13
  inputStyles: () => inputStyles,
14
14
  linkStyles: () => linkStyles,
15
+ modalStyles: () => modalStyles,
15
16
  paginationStyles: () => paginationStyles,
16
17
  popoverStyles: () => popoverStyles,
17
18
  radioStyles: () => radioStyles,
@@ -438,6 +439,43 @@ const toastStyles = createComponentStyles({
438
439
  lineHeight: 20
439
440
  }
440
441
  });
442
+ const modalStyles = createComponentStyles({
443
+ root: {
444
+ backgroundBlurColor: "rgba(255, 255, 255, 0.9)",
445
+ backgroundBlurRadius: 0,
446
+ backgroundColor: "#FFFFFF",
447
+ borderColor: "#E0E0E0",
448
+ borderRadius: 16,
449
+ borderWidth: 1,
450
+ boxShadow: "",
451
+ paddingVertical: 32
452
+ },
453
+ actions: { gap: 12 },
454
+ closeIcon: {
455
+ color: "#000000",
456
+ fontSize: 24,
457
+ iconSizeToken: "md",
458
+ lineHeight: 24
459
+ },
460
+ closeIconContainer: { padding: 8 },
461
+ description: {
462
+ color: "#000000",
463
+ fontFamily: "YahooProductSans-Regular",
464
+ fontSize: 18,
465
+ letterSpacing: 0,
466
+ lineHeight: 28
467
+ },
468
+ scrim: { padding: 32 },
469
+ spacingHorizontal: { paddingHorizontal: 32 },
470
+ title: {
471
+ color: "#000000",
472
+ fontFamily: "YahooProductSans-Medium",
473
+ fontSize: 28,
474
+ letterSpacing: 0,
475
+ lineHeight: 36
476
+ },
477
+ titleDescriptionWrapper: { gap: 8 }
478
+ });
441
479
  //#endregion
442
480
  exports.avatarStyles = avatarStyles;
443
481
  exports.badgeStyles = badgeStyles;
@@ -449,6 +487,7 @@ exports.dividerStyles = dividerStyles;
449
487
  exports.iconButtonStyles = iconButtonStyles;
450
488
  exports.inputStyles = inputStyles;
451
489
  exports.linkStyles = linkStyles;
490
+ exports.modalStyles = modalStyles;
452
491
  exports.paginationStyles = paginationStyles;
453
492
  exports.popoverStyles = popoverStyles;
454
493
  exports.radioStyles = radioStyles;
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare namespace styles_d_exports {
3
- export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, switchStyles, tabsStyles, textStyles, toastStyles };
3
+ export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, modalStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, switchStyles, tabsStyles, textStyles, toastStyles };
4
4
  }
5
5
  /**
6
6
  * Jest mock for generated/styles.
@@ -27,6 +27,7 @@ declare const popoverStyles: Record<string, unknown>;
27
27
  declare const tabsStyles: Record<string, unknown>;
28
28
  declare const paginationStyles: Record<string, unknown>;
29
29
  declare const toastStyles: Record<string, unknown>;
30
+ declare const modalStyles: Record<string, unknown>;
30
31
  interface StyleProps {
31
32
  color?: string;
32
33
  backgroundColor?: string;
@@ -36,5 +37,5 @@ interface StyleProps {
36
37
  [key: string]: unknown;
37
38
  }
38
39
  //#endregion
39
- export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_d_exports, switchStyles, tabsStyles, textStyles, toastStyles };
40
+ export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, modalStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_d_exports, switchStyles, tabsStyles, textStyles, toastStyles };
40
41
  //# sourceMappingURL=styles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.cts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,aAAA,EAAa,MAAA;AAAA,cAiBb,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,cAehB,iBAAA,EAAiB,MAAA;AAAA,cA0BjB,WAAA,EAAW,MAAA;AAAA,cASX,aAAA,EAAa,MAAA;AAAA,cAmCb,UAAA,EAAU,MAAA;AAAA,cASV,gBAAA,EAAgB,MAAA;AAAA,cAuBhB,WAAA,EAAW,MAAA;AAAA,UAuCP,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
1
+ {"version":3,"file":"styles.d.cts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,aAAA,EAAa,MAAA;AAAA,cAiBb,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,cAehB,iBAAA,EAAiB,MAAA;AAAA,cA0BjB,WAAA,EAAW,MAAA;AAAA,cASX,aAAA,EAAa,MAAA;AAAA,cAmCb,UAAA,EAAU,MAAA;AAAA,cASV,gBAAA,EAAgB,MAAA;AAAA,cAuBhB,WAAA,EAAW,MAAA;AAAA,cAuCX,WAAA,EAAW,MAAA;AAAA,UAiDP,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare namespace styles_d_exports {
3
- export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, switchStyles, tabsStyles, textStyles, toastStyles };
3
+ export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, modalStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, switchStyles, tabsStyles, textStyles, toastStyles };
4
4
  }
5
5
  /**
6
6
  * Jest mock for generated/styles.
@@ -27,6 +27,7 @@ declare const popoverStyles: Record<string, unknown>;
27
27
  declare const tabsStyles: Record<string, unknown>;
28
28
  declare const paginationStyles: Record<string, unknown>;
29
29
  declare const toastStyles: Record<string, unknown>;
30
+ declare const modalStyles: Record<string, unknown>;
30
31
  interface StyleProps {
31
32
  color?: string;
32
33
  backgroundColor?: string;
@@ -36,5 +37,5 @@ interface StyleProps {
36
37
  [key: string]: unknown;
37
38
  }
38
39
  //#endregion
39
- export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_d_exports, switchStyles, tabsStyles, textStyles, toastStyles };
40
+ export { StyleProps, avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, modalStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_d_exports, switchStyles, tabsStyles, textStyles, toastStyles };
40
41
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,aAAA,EAAa,MAAA;AAAA,cAiBb,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,cAehB,iBAAA,EAAiB,MAAA;AAAA,cA0BjB,WAAA,EAAW,MAAA;AAAA,cASX,aAAA,EAAa,MAAA;AAAA,cAmCb,UAAA,EAAU,MAAA;AAAA,cASV,gBAAA,EAAgB,MAAA;AAAA,cAuBhB,WAAA,EAAW,MAAA;AAAA,UAuCP,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
1
+ {"version":3,"file":"styles.d.ts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,aAAA,EAAa,MAAA;AAAA,cAiBb,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,cAehB,iBAAA,EAAiB,MAAA;AAAA,cA0BjB,WAAA,EAAW,MAAA;AAAA,cASX,aAAA,EAAa,MAAA;AAAA,cAmCb,UAAA,EAAU,MAAA;AAAA,cASV,gBAAA,EAAgB,MAAA;AAAA,cAuBhB,WAAA,EAAW,MAAA;AAAA,cAuCX,WAAA,EAAW,MAAA;AAAA,UAiDP,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
@@ -12,6 +12,7 @@ var styles_exports = /* @__PURE__ */ __exportAll({
12
12
  iconButtonStyles: () => iconButtonStyles,
13
13
  inputStyles: () => inputStyles,
14
14
  linkStyles: () => linkStyles,
15
+ modalStyles: () => modalStyles,
15
16
  paginationStyles: () => paginationStyles,
16
17
  popoverStyles: () => popoverStyles,
17
18
  radioStyles: () => radioStyles,
@@ -438,7 +439,44 @@ const toastStyles = createComponentStyles({
438
439
  lineHeight: 20
439
440
  }
440
441
  });
442
+ const modalStyles = createComponentStyles({
443
+ root: {
444
+ backgroundBlurColor: "rgba(255, 255, 255, 0.9)",
445
+ backgroundBlurRadius: 0,
446
+ backgroundColor: "#FFFFFF",
447
+ borderColor: "#E0E0E0",
448
+ borderRadius: 16,
449
+ borderWidth: 1,
450
+ boxShadow: "",
451
+ paddingVertical: 32
452
+ },
453
+ actions: { gap: 12 },
454
+ closeIcon: {
455
+ color: "#000000",
456
+ fontSize: 24,
457
+ iconSizeToken: "md",
458
+ lineHeight: 24
459
+ },
460
+ closeIconContainer: { padding: 8 },
461
+ description: {
462
+ color: "#000000",
463
+ fontFamily: "YahooProductSans-Regular",
464
+ fontSize: 18,
465
+ letterSpacing: 0,
466
+ lineHeight: 28
467
+ },
468
+ scrim: { padding: 32 },
469
+ spacingHorizontal: { paddingHorizontal: 32 },
470
+ title: {
471
+ color: "#000000",
472
+ fontFamily: "YahooProductSans-Medium",
473
+ fontSize: 28,
474
+ letterSpacing: 0,
475
+ lineHeight: 36
476
+ },
477
+ titleDescriptionWrapper: { gap: 8 }
478
+ });
441
479
  //#endregion
442
- export { avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_exports, switchStyles, tabsStyles, textStyles, toastStyles };
480
+ export { avatarStyles, badgeStyles, bottomSheetStyles, buttonStyles, checkboxStyles, chipStyles, dividerStyles, iconButtonStyles, inputStyles, linkStyles, modalStyles, paginationStyles, popoverStyles, radioStyles, scrimStyles, styles, styles_exports, switchStyles, tabsStyles, textStyles, toastStyles };
443
481
 
444
482
  //# sourceMappingURL=styles.js.map