@oxyhq/bloom 0.19.1 → 0.21.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 (188) hide show
  1. package/lib/commonjs/benefit-list/index.js +119 -0
  2. package/lib/commonjs/benefit-list/index.js.map +1 -0
  3. package/lib/commonjs/benefit-list/types.js +6 -0
  4. package/lib/commonjs/benefit-list/types.js.map +1 -0
  5. package/lib/commonjs/connection-dots/ConnectionDots.js +112 -0
  6. package/lib/commonjs/connection-dots/ConnectionDots.js.map +1 -0
  7. package/lib/commonjs/connection-dots/ConnectionDots.web.js +116 -0
  8. package/lib/commonjs/connection-dots/ConnectionDots.web.js.map +1 -0
  9. package/lib/commonjs/connection-dots/ConnectionDotsBase.js +55 -0
  10. package/lib/commonjs/connection-dots/ConnectionDotsBase.js.map +1 -0
  11. package/lib/commonjs/connection-dots/index.js +13 -0
  12. package/lib/commonjs/connection-dots/index.js.map +1 -0
  13. package/lib/commonjs/connection-dots/index.web.js +13 -0
  14. package/lib/commonjs/connection-dots/index.web.js.map +1 -0
  15. package/lib/commonjs/connection-dots/types.js +6 -0
  16. package/lib/commonjs/connection-dots/types.js.map +1 -0
  17. package/lib/commonjs/content-panel/index.js +64 -0
  18. package/lib/commonjs/content-panel/index.js.map +1 -0
  19. package/lib/commonjs/content-panel/index.web.js +99 -0
  20. package/lib/commonjs/content-panel/index.web.js.map +1 -0
  21. package/lib/commonjs/design-tokens/color-roles.js +112 -0
  22. package/lib/commonjs/design-tokens/color-roles.js.map +1 -0
  23. package/lib/commonjs/design-tokens/index.js +89 -0
  24. package/lib/commonjs/design-tokens/index.js.map +1 -0
  25. package/lib/commonjs/design-tokens/scales.js +168 -0
  26. package/lib/commonjs/design-tokens/scales.js.map +1 -0
  27. package/lib/commonjs/design-tokens/shadows.js +48 -0
  28. package/lib/commonjs/design-tokens/shadows.js.map +1 -0
  29. package/lib/commonjs/design-tokens/shadows.native.js +53 -0
  30. package/lib/commonjs/design-tokens/shadows.native.js.map +1 -0
  31. package/lib/commonjs/design-tokens/tailwind-preset.js +139 -0
  32. package/lib/commonjs/design-tokens/tailwind-preset.js.map +1 -0
  33. package/lib/commonjs/design-tokens/theme-css.js +98 -0
  34. package/lib/commonjs/design-tokens/theme-css.js.map +1 -0
  35. package/lib/commonjs/index.js +208 -93
  36. package/lib/commonjs/index.js.map +1 -1
  37. package/lib/commonjs/index.web.js +223 -108
  38. package/lib/commonjs/index.web.js.map +1 -1
  39. package/lib/commonjs/text-field/index.js +156 -0
  40. package/lib/commonjs/text-field/index.js.map +1 -1
  41. package/lib/module/benefit-list/index.js +114 -0
  42. package/lib/module/benefit-list/index.js.map +1 -0
  43. package/lib/module/benefit-list/types.js +4 -0
  44. package/lib/module/benefit-list/types.js.map +1 -0
  45. package/lib/module/connection-dots/ConnectionDots.js +107 -0
  46. package/lib/module/connection-dots/ConnectionDots.js.map +1 -0
  47. package/lib/module/connection-dots/ConnectionDots.web.js +111 -0
  48. package/lib/module/connection-dots/ConnectionDots.web.js.map +1 -0
  49. package/lib/module/connection-dots/ConnectionDotsBase.js +50 -0
  50. package/lib/module/connection-dots/ConnectionDotsBase.js.map +1 -0
  51. package/lib/module/connection-dots/index.js +4 -0
  52. package/lib/module/connection-dots/index.js.map +1 -0
  53. package/lib/module/connection-dots/index.web.js +4 -0
  54. package/lib/module/connection-dots/index.web.js.map +1 -0
  55. package/lib/module/connection-dots/types.js +4 -0
  56. package/lib/module/connection-dots/types.js.map +1 -0
  57. package/lib/module/content-panel/index.js +59 -0
  58. package/lib/module/content-panel/index.js.map +1 -0
  59. package/lib/module/content-panel/index.web.js +94 -0
  60. package/lib/module/content-panel/index.web.js.map +1 -0
  61. package/lib/module/design-tokens/color-roles.js +108 -0
  62. package/lib/module/design-tokens/color-roles.js.map +1 -0
  63. package/lib/module/design-tokens/index.js +27 -0
  64. package/lib/module/design-tokens/index.js.map +1 -0
  65. package/lib/module/design-tokens/scales.js +164 -0
  66. package/lib/module/design-tokens/scales.js.map +1 -0
  67. package/lib/module/design-tokens/shadows.js +43 -0
  68. package/lib/module/design-tokens/shadows.js.map +1 -0
  69. package/lib/module/design-tokens/shadows.native.js +48 -0
  70. package/lib/module/design-tokens/shadows.native.js.map +1 -0
  71. package/lib/module/design-tokens/tailwind-preset.js +136 -0
  72. package/lib/module/design-tokens/tailwind-preset.js.map +1 -0
  73. package/lib/module/design-tokens/theme-css.js +94 -0
  74. package/lib/module/design-tokens/theme-css.js.map +1 -0
  75. package/lib/module/index.js +6 -1
  76. package/lib/module/index.js.map +1 -1
  77. package/lib/module/index.web.js +6 -1
  78. package/lib/module/index.web.js.map +1 -1
  79. package/lib/module/text-field/index.js +158 -2
  80. package/lib/module/text-field/index.js.map +1 -1
  81. package/lib/typescript/commonjs/benefit-list/index.d.ts +6 -0
  82. package/lib/typescript/commonjs/benefit-list/index.d.ts.map +1 -0
  83. package/lib/typescript/commonjs/benefit-list/types.d.ts +35 -0
  84. package/lib/typescript/commonjs/benefit-list/types.d.ts.map +1 -0
  85. package/lib/typescript/commonjs/connection-dots/ConnectionDots.d.ts +4 -0
  86. package/lib/typescript/commonjs/connection-dots/ConnectionDots.d.ts.map +1 -0
  87. package/lib/typescript/commonjs/connection-dots/ConnectionDots.web.d.ts +14 -0
  88. package/lib/typescript/commonjs/connection-dots/ConnectionDots.web.d.ts.map +1 -0
  89. package/lib/typescript/commonjs/connection-dots/ConnectionDotsBase.d.ts +18 -0
  90. package/lib/typescript/commonjs/connection-dots/ConnectionDotsBase.d.ts.map +1 -0
  91. package/lib/typescript/commonjs/connection-dots/index.d.ts +3 -0
  92. package/lib/typescript/commonjs/connection-dots/index.d.ts.map +1 -0
  93. package/lib/typescript/commonjs/connection-dots/index.web.d.ts +3 -0
  94. package/lib/typescript/commonjs/connection-dots/index.web.d.ts.map +1 -0
  95. package/lib/typescript/commonjs/connection-dots/types.d.ts +41 -0
  96. package/lib/typescript/commonjs/connection-dots/types.d.ts.map +1 -0
  97. package/lib/typescript/commonjs/content-panel/index.d.ts +54 -0
  98. package/lib/typescript/commonjs/content-panel/index.d.ts.map +1 -0
  99. package/lib/typescript/commonjs/content-panel/index.web.d.ts +59 -0
  100. package/lib/typescript/commonjs/content-panel/index.web.d.ts.map +1 -0
  101. package/lib/typescript/commonjs/design-tokens/color-roles.d.ts +102 -0
  102. package/lib/typescript/commonjs/design-tokens/color-roles.d.ts.map +1 -0
  103. package/lib/typescript/commonjs/design-tokens/index.d.ts +28 -0
  104. package/lib/typescript/commonjs/design-tokens/index.d.ts.map +1 -0
  105. package/lib/typescript/commonjs/design-tokens/scales.d.ts +152 -0
  106. package/lib/typescript/commonjs/design-tokens/scales.d.ts.map +1 -0
  107. package/lib/typescript/commonjs/design-tokens/shadows.d.ts +34 -0
  108. package/lib/typescript/commonjs/design-tokens/shadows.d.ts.map +1 -0
  109. package/lib/typescript/commonjs/design-tokens/shadows.native.d.ts +19 -0
  110. package/lib/typescript/commonjs/design-tokens/shadows.native.d.ts.map +1 -0
  111. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts +59 -0
  112. package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts.map +1 -0
  113. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts +39 -0
  114. package/lib/typescript/commonjs/design-tokens/theme-css.d.ts.map +1 -0
  115. package/lib/typescript/commonjs/index.d.ts +6 -0
  116. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/index.web.d.ts +6 -0
  118. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/text-field/index.d.ts +14 -1
  120. package/lib/typescript/commonjs/text-field/index.d.ts.map +1 -1
  121. package/lib/typescript/module/benefit-list/index.d.ts +6 -0
  122. package/lib/typescript/module/benefit-list/index.d.ts.map +1 -0
  123. package/lib/typescript/module/benefit-list/types.d.ts +35 -0
  124. package/lib/typescript/module/benefit-list/types.d.ts.map +1 -0
  125. package/lib/typescript/module/connection-dots/ConnectionDots.d.ts +4 -0
  126. package/lib/typescript/module/connection-dots/ConnectionDots.d.ts.map +1 -0
  127. package/lib/typescript/module/connection-dots/ConnectionDots.web.d.ts +14 -0
  128. package/lib/typescript/module/connection-dots/ConnectionDots.web.d.ts.map +1 -0
  129. package/lib/typescript/module/connection-dots/ConnectionDotsBase.d.ts +18 -0
  130. package/lib/typescript/module/connection-dots/ConnectionDotsBase.d.ts.map +1 -0
  131. package/lib/typescript/module/connection-dots/index.d.ts +3 -0
  132. package/lib/typescript/module/connection-dots/index.d.ts.map +1 -0
  133. package/lib/typescript/module/connection-dots/index.web.d.ts +3 -0
  134. package/lib/typescript/module/connection-dots/index.web.d.ts.map +1 -0
  135. package/lib/typescript/module/connection-dots/types.d.ts +41 -0
  136. package/lib/typescript/module/connection-dots/types.d.ts.map +1 -0
  137. package/lib/typescript/module/content-panel/index.d.ts +54 -0
  138. package/lib/typescript/module/content-panel/index.d.ts.map +1 -0
  139. package/lib/typescript/module/content-panel/index.web.d.ts +59 -0
  140. package/lib/typescript/module/content-panel/index.web.d.ts.map +1 -0
  141. package/lib/typescript/module/design-tokens/color-roles.d.ts +102 -0
  142. package/lib/typescript/module/design-tokens/color-roles.d.ts.map +1 -0
  143. package/lib/typescript/module/design-tokens/index.d.ts +28 -0
  144. package/lib/typescript/module/design-tokens/index.d.ts.map +1 -0
  145. package/lib/typescript/module/design-tokens/scales.d.ts +152 -0
  146. package/lib/typescript/module/design-tokens/scales.d.ts.map +1 -0
  147. package/lib/typescript/module/design-tokens/shadows.d.ts +34 -0
  148. package/lib/typescript/module/design-tokens/shadows.d.ts.map +1 -0
  149. package/lib/typescript/module/design-tokens/shadows.native.d.ts +19 -0
  150. package/lib/typescript/module/design-tokens/shadows.native.d.ts.map +1 -0
  151. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts +59 -0
  152. package/lib/typescript/module/design-tokens/tailwind-preset.d.ts.map +1 -0
  153. package/lib/typescript/module/design-tokens/theme-css.d.ts +39 -0
  154. package/lib/typescript/module/design-tokens/theme-css.d.ts.map +1 -0
  155. package/lib/typescript/module/index.d.ts +6 -0
  156. package/lib/typescript/module/index.d.ts.map +1 -1
  157. package/lib/typescript/module/index.web.d.ts +6 -0
  158. package/lib/typescript/module/index.web.d.ts.map +1 -1
  159. package/lib/typescript/module/text-field/index.d.ts +14 -1
  160. package/lib/typescript/module/text-field/index.d.ts.map +1 -1
  161. package/package.json +66 -1
  162. package/src/__tests__/BenefitList.test.tsx +108 -0
  163. package/src/__tests__/ConnectionDots.test.tsx +86 -0
  164. package/src/__tests__/TextFieldFloatingLabel.test.tsx +93 -0
  165. package/src/__tests__/design-tokens.test.ts +169 -0
  166. package/src/benefit-list/BenefitList.stories.tsx +50 -0
  167. package/src/benefit-list/index.tsx +133 -0
  168. package/src/benefit-list/types.ts +36 -0
  169. package/src/connection-dots/ConnectionDots.stories.tsx +54 -0
  170. package/src/connection-dots/ConnectionDots.tsx +139 -0
  171. package/src/connection-dots/ConnectionDots.web.tsx +122 -0
  172. package/src/connection-dots/ConnectionDotsBase.tsx +62 -0
  173. package/src/connection-dots/index.ts +2 -0
  174. package/src/connection-dots/index.web.ts +2 -0
  175. package/src/connection-dots/types.ts +41 -0
  176. package/src/content-panel/index.tsx +87 -0
  177. package/src/content-panel/index.web.tsx +134 -0
  178. package/src/design-tokens/color-roles.ts +110 -0
  179. package/src/design-tokens/index.ts +45 -0
  180. package/src/design-tokens/scales.ts +134 -0
  181. package/src/design-tokens/shadows.native.ts +44 -0
  182. package/src/design-tokens/shadows.ts +42 -0
  183. package/src/design-tokens/tailwind-preset.ts +139 -0
  184. package/src/design-tokens/theme-css.ts +99 -0
  185. package/src/index.ts +33 -0
  186. package/src/index.web.ts +33 -0
  187. package/src/text-field/TextField.stories.tsx +46 -0
  188. package/src/text-field/index.tsx +212 -1
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BenefitRow = exports.BenefitList = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _useTheme = require("../theme/use-theme.js");
10
+ var _index = require("../styles/index.js");
11
+ var _shadows = require("../design-tokens/shadows");
12
+ var _scales = require("../design-tokens/scales.js");
13
+ var _index2 = require("../typography/index.js");
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
16
+ /** Side of the rounded `fill-secondary` icon square. */
17
+ const ICON_SQUARE_SIZE = 36;
18
+
19
+ /**
20
+ * `BenefitRow` — an icon in a rounded `fill-secondary` square paired with a
21
+ * `text-secondary` caption (the `caption` type role). The building block of
22
+ * {@link BenefitList} (the "icon + caption row" of the consent reference), but
23
+ * usable standalone.
24
+ *
25
+ * Token roles → runtime theme colors:
26
+ * - icon square bg → `fill-secondary` (`--muted`) → `theme.colors.backgroundTertiary`
27
+ * - caption color → `text-secondary` (`--muted-foreground`) → `theme.colors.textSecondary`
28
+ * - caption type → `caption` role (size 11 / line-height 14)
29
+ */
30
+ const BenefitRowComponent = ({
31
+ icon,
32
+ label,
33
+ children,
34
+ accessibilityLabel,
35
+ className,
36
+ style,
37
+ textStyle
38
+ }) => {
39
+ const theme = (0, _useTheme.useTheme)();
40
+ const content = children ?? label;
41
+ const a11y = accessibilityLabel ?? (typeof content === 'string' ? content : undefined);
42
+ const rowStyle = [_index.atoms.flex_row, _index.atoms.align_center, {
43
+ gap: _scales.SPACING['space-12']
44
+ }, style];
45
+ const squareStyle = {
46
+ width: ICON_SQUARE_SIZE,
47
+ height: ICON_SQUARE_SIZE,
48
+ borderRadius: _scales.RADIUS['radius-12'],
49
+ alignItems: 'center',
50
+ justifyContent: 'center',
51
+ backgroundColor: theme.colors.backgroundTertiary
52
+ };
53
+ const captionStyle = [{
54
+ fontSize: _scales.TYPOGRAPHY.caption.size,
55
+ lineHeight: _scales.TYPOGRAPHY.caption.lineHeight,
56
+ fontWeight: _scales.TYPOGRAPHY.caption.weight,
57
+ color: theme.colors.textSecondary
58
+ }, _index.atoms.flex_1, textStyle];
59
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
60
+ ...(className ? {
61
+ className
62
+ } : {}),
63
+ style: rowStyle,
64
+ accessibilityLabel: a11y,
65
+ ...(a11y ? {
66
+ accessibilityRole: 'text'
67
+ } : {}),
68
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
69
+ style: squareStyle,
70
+ accessibilityElementsHidden: true,
71
+ "aria-hidden": true,
72
+ children: icon
73
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
74
+ style: captionStyle,
75
+ children: content
76
+ })]
77
+ });
78
+ };
79
+ const BenefitRow = exports.BenefitRow = /*#__PURE__*/(0, _react.memo)(BenefitRowComponent);
80
+ BenefitRow.displayName = 'BenefitRow';
81
+
82
+ /**
83
+ * `BenefitList` — a bordered card that stacks {@link BenefitRow}s with consistent
84
+ * spacing. The "3 icon + caption rows in a card" from the consent reference.
85
+ *
86
+ * Token roles → runtime values:
87
+ * - card bg → `fill` role (`--card`) → `theme.colors.card`
88
+ * - hairline → `border-image` role (`--border`) → `theme.colors.border` at
89
+ * the `border-hairline` (0.5px) width
90
+ * - radius → `radius-20`
91
+ * - elevation → `shadow-s` (platform-correct via `bloomShadowStyle`)
92
+ */
93
+ const BenefitListComponent = ({
94
+ children,
95
+ accessibilityLabel,
96
+ className,
97
+ style
98
+ }) => {
99
+ const theme = (0, _useTheme.useTheme)();
100
+ const cardStyle = [{
101
+ backgroundColor: theme.colors.card,
102
+ borderRadius: _scales.RADIUS['radius-20'],
103
+ borderWidth: _scales.BORDER_WIDTH.hairline,
104
+ borderColor: theme.colors.border,
105
+ padding: _scales.SPACING['space-16'],
106
+ gap: _scales.SPACING['space-16']
107
+ }, (0, _shadows.bloomShadowStyle)('s'), style];
108
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
109
+ ...(className ? {
110
+ className
111
+ } : {}),
112
+ style: cardStyle,
113
+ accessibilityLabel: accessibilityLabel,
114
+ children: children
115
+ });
116
+ };
117
+ const BenefitList = exports.BenefitList = /*#__PURE__*/(0, _react.memo)(BenefitListComponent);
118
+ BenefitList.displayName = 'BenefitList';
119
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useTheme","_index","_shadows","_scales","_index2","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ICON_SQUARE_SIZE","BenefitRowComponent","icon","label","children","accessibilityLabel","className","style","textStyle","theme","useTheme","content","a11y","undefined","rowStyle","a","flex_row","align_center","gap","SPACING","squareStyle","width","height","borderRadius","RADIUS","alignItems","justifyContent","backgroundColor","colors","backgroundTertiary","captionStyle","fontSize","TYPOGRAPHY","caption","size","lineHeight","fontWeight","weight","color","textSecondary","flex_1","jsxs","View","accessibilityRole","jsx","accessibilityElementsHidden","Text","BenefitRow","exports","memo","displayName","BenefitListComponent","cardStyle","card","borderWidth","BORDER_WIDTH","hairline","borderColor","border","padding","bloomShadowStyle","BenefitList"],"sourceRoot":"../../../src","sources":["benefit-list/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAA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IACjB/C,kBAAkB,EAAEA,kBAAmB;IAAAD,QAAA,EACtCA;EAAQ,CACL,CAAC;AAEX,CAAC;AAEM,MAAMyD,WAAW,GAAAb,OAAA,CAAAa,WAAA,gBAAG,IAAAZ,WAAI,EAACE,oBAAoB,CAAC;AACrDU,WAAW,CAACX,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["benefit-list/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ConnectionDots = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
9
+ var _useTheme = require("../theme/use-theme.js");
10
+ var _ConnectionDotsBase = require("./ConnectionDotsBase.js");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
+ const DEFAULT_DOT_COUNT = 6;
14
+ const DEFAULT_DOT_SIZE = 6;
15
+ const WAVE_DURATION = 1400;
16
+ /** Opacity floor of a dot at the trough of the wave. */
17
+ const DOT_DIM = 0.25;
18
+ /**
19
+ * One dot. Its opacity is the shared driver phase-shifted by `phase`, mapped
20
+ * through a triangle wave so the bright crest sweeps left→right across the row
21
+ * (the "ellipsis shimmer").
22
+ */
23
+ const ShimmerDot = ({
24
+ phase,
25
+ color,
26
+ size,
27
+ driver
28
+ }) => {
29
+ const opacity = (0, _reactNativeReanimated.useDerivedValue)(() => {
30
+ // wrap into 0..1 then fold into a 0→1→0 triangle so the crest is a moving band
31
+ const t = (driver.value + phase) % 1;
32
+ const wave = 1 - Math.abs(t * 2 - 1);
33
+ return (0, _reactNativeReanimated.interpolate)(wave, [0, 1], [DOT_DIM, 1]);
34
+ });
35
+ const animatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
36
+ opacity: opacity.value
37
+ }));
38
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
39
+ style: [{
40
+ width: size,
41
+ height: size,
42
+ borderRadius: size / 2,
43
+ backgroundColor: color
44
+ }, animatedStyle]
45
+ });
46
+ };
47
+
48
+ /**
49
+ * Native `ConnectionDots` — a consent/linking header rendering
50
+ * `left · (animated ellipsis dots) · right`. The dots run a looping opacity wave
51
+ * in the brand color (`fill-brand` → `theme.colors.primary`). Reduced-motion
52
+ * (Reanimated's `useReducedMotion`, or the `reducedMotion` prop) renders the
53
+ * dots static at full opacity.
54
+ */
55
+ const ConnectionDotsComponent = ({
56
+ left,
57
+ right,
58
+ dotCount = DEFAULT_DOT_COUNT,
59
+ dotSize = DEFAULT_DOT_SIZE,
60
+ accessibilityLabel,
61
+ className,
62
+ style,
63
+ reducedMotion
64
+ }) => {
65
+ const theme = (0, _useTheme.useTheme)();
66
+ const systemReduceMotion = (0, _reactNativeReanimated.useReducedMotion)();
67
+ const reduce = reducedMotion ?? systemReduceMotion;
68
+ const color = theme.colors.primary;
69
+ const driver = (0, _reactNativeReanimated.useSharedValue)(0);
70
+ (0, _react.useEffect)(() => {
71
+ if (reduce) {
72
+ driver.value = 0;
73
+ return;
74
+ }
75
+ driver.value = (0, _reactNativeReanimated.withRepeat)((0, _reactNativeReanimated.withTiming)(1, {
76
+ duration: WAVE_DURATION,
77
+ easing: _reactNativeReanimated.Easing.linear
78
+ }), -1, false);
79
+ // driver is a stable shared-value ref; withRepeat/withTiming/Easing are
80
+ // module-level constants from a static import.
81
+ // eslint-disable-next-line react-hooks/exhaustive-deps
82
+ }, [reduce]);
83
+ const count = Math.max(1, Math.floor(dotCount));
84
+ const dots = reduce ? Array.from({
85
+ length: count
86
+ }, (_, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
87
+ style: {
88
+ width: dotSize,
89
+ height: dotSize,
90
+ borderRadius: dotSize / 2,
91
+ backgroundColor: color
92
+ }
93
+ }, i)) : Array.from({
94
+ length: count
95
+ }, (_, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(ShimmerDot, {
96
+ phase: i / count,
97
+ color: color,
98
+ size: dotSize,
99
+ driver: driver
100
+ }, i));
101
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ConnectionDotsBase.ConnectionDotsBase, {
102
+ left: left,
103
+ right: right,
104
+ dots: dots,
105
+ accessibilityLabel: accessibilityLabel,
106
+ className: className,
107
+ style: style
108
+ });
109
+ };
110
+ const ConnectionDots = exports.ConnectionDots = /*#__PURE__*/(0, _react.memo)(ConnectionDotsComponent);
111
+ ConnectionDots.displayName = 'ConnectionDots';
112
+ //# sourceMappingURL=ConnectionDots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeReanimated","_useTheme","_ConnectionDotsBase","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DEFAULT_DOT_COUNT","DEFAULT_DOT_SIZE","WAVE_DURATION","DOT_DIM","ShimmerDot","phase","color","size","driver","opacity","useDerivedValue","value","wave","Math","abs","interpolate","animatedStyle","useAnimatedStyle","jsx","View","style","width","height","borderRadius","backgroundColor","ConnectionDotsComponent","left","right","dotCount","dotSize","accessibilityLabel","className","reducedMotion","theme","useTheme","systemReduceMotion","useReducedMotion","reduce","colors","primary","useSharedValue","useEffect","withRepeat","withTiming","duration","easing","Easing","linear","count","max","floor","dots","Array","from","length","_","ConnectionDotsBase","ConnectionDots","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["connection-dots/ConnectionDots.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAF,uBAAA,CAAAC,OAAA;AAYA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAA0D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,C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G,CAAC;MACzBL,eAAe,EAAElB;IACnB;EAAE,GANGlB,CAON,CACF,CAAC,GACFgE,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEN;EAAM,CAAC,EAAE,CAACO,CAAC,EAAEnE,CAAC,kBACjC,IAAAR,WAAA,CAAAsC,GAAA,EAACd,UAAU;IAETC,KAAK,EAAEjB,CAAC,GAAG4D,KAAM;IACjB1C,KAAK,EAAEA,KAAM;IACbC,IAAI,EAAEsB,OAAQ;IACdrB,MAAM,EAAEA;EAAO,GAJVpB,CAKN,CACF,CAAC;EAEN,oBACE,IAAAR,WAAA,CAAAsC,GAAA,EAACvC,mBAAA,CAAA6E,kBAAkB;IACjB9B,IAAI,EAAEA,IAAK;IACXC,KAAK,EAAEA,KAAM;IACbwB,IAAI,EAAEA,IAAK;IACXrB,kBAAkB,EAAEA,kBAAmB;IACvCC,SAAS,EAAEA,SAAU;IACrBX,KAAK,EAAEA;EAAM,CACd,CAAC;AAEN,CAAC;AAEM,MAAMqC,cAAc,GAAAC,OAAA,CAAAD,cAAA,gBAAG,IAAAE,WAAI,EAAClC,uBAAuB,CAAC;AAC3DgC,cAAc,CAACG,WAAW,GAAG,gBAAgB","ignoreList":[]}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ConnectionDots = exports.BLOOM_CONNECTION_DOTS_CSS = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _useTheme = require("../theme/use-theme.js");
10
+ var _ConnectionDotsBase = require("./ConnectionDotsBase.js");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
+ const DEFAULT_DOT_COUNT = 6;
14
+ const DEFAULT_DOT_SIZE = 6;
15
+ const WAVE_DURATION_MS = 1400;
16
+ const KEYFRAMES_ID = 'bloom-connection-dots-keyframes';
17
+ const WAVE_ANIMATION_NAME = 'bloomConnectionDotsWave';
18
+
19
+ /**
20
+ * CSS keyframes powering the ellipsis shimmer. Mirrors the native Reanimated
21
+ * triangle wave: each dot's opacity rises to 1 and falls back to a dim floor,
22
+ * with a per-dot `animation-delay` sweeping the bright crest left→right.
23
+ *
24
+ * A `prefers-reduced-motion: reduce` media query pins every dot to full opacity,
25
+ * matching the native `useReducedMotion` branch — defence-in-depth alongside the
26
+ * JS `matchMedia` gate below (which also stops emitting the `animation` prop).
27
+ */
28
+ const BLOOM_CONNECTION_DOTS_CSS = exports.BLOOM_CONNECTION_DOTS_CSS = `
29
+ @keyframes ${WAVE_ANIMATION_NAME} { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
30
+ @media (prefers-reduced-motion: reduce) {
31
+ [data-bloom-connection-dot] { animation: none !important; opacity: 1 !important; }
32
+ }
33
+ `;
34
+ function useKeyframes() {
35
+ (0, _react.useEffect)(() => {
36
+ if (typeof document === 'undefined') return;
37
+ if (document.getElementById(KEYFRAMES_ID)) return;
38
+ const style = document.createElement('style');
39
+ style.id = KEYFRAMES_ID;
40
+ style.textContent = BLOOM_CONNECTION_DOTS_CSS;
41
+ document.head.appendChild(style);
42
+ }, []);
43
+ }
44
+
45
+ /** Read the OS `prefers-reduced-motion` preference reactively. */
46
+ function usePrefersReducedMotion() {
47
+ const [reduced, setReduced] = (0, _react.useState)(false);
48
+ (0, _react.useEffect)(() => {
49
+ if (typeof window === 'undefined' || !window.matchMedia) return;
50
+ const mq = window.matchMedia('(prefers-reduced-motion: reduce)');
51
+ setReduced(mq.matches);
52
+ const onChange = e => setReduced(e.matches);
53
+ mq.addEventListener('change', onChange);
54
+ return () => mq.removeEventListener('change', onChange);
55
+ }, []);
56
+ return reduced;
57
+ }
58
+
59
+ /**
60
+ * Web fork of `./ConnectionDots`. The native variant runs the opacity wave with
61
+ * `react-native-reanimated`, which cannot ship to a web bundle. This fork drives
62
+ * the same motion with a CSS `@keyframes` animation (injected once into
63
+ * `<head>`) and a per-dot `animation-delay`. Brand color comes from the
64
+ * `fill-brand` role (`theme.colors.primary`). Reduced-motion (the `reducedMotion`
65
+ * prop, the JS `matchMedia` gate, or the CSS media query) renders static dots.
66
+ */
67
+ const ConnectionDotsComponent = ({
68
+ left,
69
+ right,
70
+ dotCount = DEFAULT_DOT_COUNT,
71
+ dotSize = DEFAULT_DOT_SIZE,
72
+ accessibilityLabel,
73
+ className,
74
+ style,
75
+ reducedMotion
76
+ }) => {
77
+ const theme = (0, _useTheme.useTheme)();
78
+ useKeyframes();
79
+ const systemReduceMotion = usePrefersReducedMotion();
80
+ const reduce = reducedMotion ?? systemReduceMotion;
81
+ const color = theme.colors.primary;
82
+ const count = Math.max(1, Math.floor(dotCount));
83
+ const dots = Array.from({
84
+ length: count
85
+ }, (_, i) => {
86
+ const base = {
87
+ width: dotSize,
88
+ height: dotSize,
89
+ borderRadius: dotSize / 2,
90
+ backgroundColor: color
91
+ };
92
+ const animated = reduce ? {
93
+ opacity: 1
94
+ } : {
95
+ // `animation` / `animationDelay` are real CSS props on web;
96
+ // react-native-web passes them through to the DOM node.
97
+ animation: `${WAVE_ANIMATION_NAME} ${WAVE_DURATION_MS}ms linear infinite`,
98
+ animationDelay: `${i / count * WAVE_DURATION_MS}ms`
99
+ };
100
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
101
+ 'data-bloom-connection-dot': '',
102
+ style: [base, animated]
103
+ }, i);
104
+ });
105
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ConnectionDotsBase.ConnectionDotsBase, {
106
+ left: left,
107
+ right: right,
108
+ dots: dots,
109
+ accessibilityLabel: accessibilityLabel,
110
+ className: className,
111
+ style: style
112
+ });
113
+ };
114
+ const ConnectionDots = exports.ConnectionDots = /*#__PURE__*/(0, _react.memo)(ConnectionDotsComponent);
115
+ ConnectionDots.displayName = 'ConnectionDots';
116
+ //# sourceMappingURL=ConnectionDots.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useTheme","_ConnectionDotsBase","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DEFAULT_DOT_COUNT","DEFAULT_DOT_SIZE","WAVE_DURATION_MS","KEYFRAMES_ID","WAVE_ANIMATION_NAME","BLOOM_CONNECTION_DOTS_CSS","exports","useKeyframes","useEffect","document","getElementById","style","createElement","id","textContent","head","appendChild","usePrefersReducedMotion","reduced","setReduced","useState","window","matchMedia","mq","matches","onChange","addEventListener","removeEventListener","ConnectionDotsComponent","left","right","dotCount","dotSize","accessibilityLabel","className","reducedMotion","theme","useTheme","systemReduceMotion","reduce","color","colors","primary","count","Math","max","floor","dots","Array","from","length","_","base","width","height","borderRadius","backgroundColor","animated","opacity","animation","animationDelay","jsx","View","ConnectionDotsBase","ConnectionDots","memo","displayName"],"sourceRoot":"../../../src","sources":["connection-dots/ConnectionDots.web.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAA0D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YA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EN,CAAC;AAEM,MAAMqD,cAAc,GAAA1D,OAAA,CAAA0D,cAAA,gBAAG,IAAAC,WAAI,EAACrC,uBAAuB,CAAC;AAC3DoC,cAAc,CAACE,WAAW,GAAG,gBAAgB","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ConnectionDotsBase = ConnectionDotsBase;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../styles/index.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ /**
13
+ * Shared layout + accessibility chrome for {@link ConnectionDots}:
14
+ *
15
+ * leftSlot · (animated ellipsis dots) · rightSlot
16
+ *
17
+ * The dots themselves are supplied by the platform fork (`ConnectionDots.tsx`
18
+ * native / `ConnectionDots.web.tsx` web) because the shimmer animation impl
19
+ * differs (Reanimated vs CSS). This base owns the row layout, the slot wrappers,
20
+ * and the single accessibility label that stands in for the decorative dots.
21
+ */
22
+ function ConnectionDotsBase({
23
+ left,
24
+ right,
25
+ dots,
26
+ accessibilityLabel = 'Connecting',
27
+ className,
28
+ style
29
+ }) {
30
+ const rowStyle = [_index.atoms.flex_row, _index.atoms.align_center, _index.atoms.justify_center, {
31
+ gap: _index.tokens.space.md
32
+ }, style];
33
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
34
+ ...(className ? {
35
+ className
36
+ } : {}),
37
+ style: rowStyle,
38
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
39
+ style: [_index.atoms.align_center, _index.atoms.justify_center],
40
+ children: left
41
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
42
+ accessibilityRole: "image",
43
+ accessibilityLabel: accessibilityLabel,
44
+ "aria-label": accessibilityLabel,
45
+ style: [_index.atoms.flex_row, _index.atoms.align_center, {
46
+ gap: _index.tokens.space.xs
47
+ }],
48
+ children: dots
49
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
50
+ style: [_index.atoms.align_center, _index.atoms.justify_center],
51
+ children: right
52
+ })]
53
+ });
54
+ }
55
+ //# sourceMappingURL=ConnectionDotsBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_index","_jsxRuntime","e","__esModule","default","ConnectionDotsBase","left","right","dots","accessibilityLabel","className","style","rowStyle","a","flex_row","align_center","justify_center","gap","tokens","space","md","jsxs","View","children","jsx","accessibilityRole","xs"],"sourceRoot":"../../../src","sources":["connection-dots/ConnectionDotsBase.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAA+C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAY/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASG,kBAAkBA,CAAC;EACjCC,IAAI;EACJC,KAAK;EACLC,IAAI;EACJC,kBAAkB,GAAG,YAAY;EACjCC,SAAS;EACTC;AACuB,CAAC,EAAE;EAC1B,MAAMC,QAA8B,GAAG,CACrCC,YAAC,CAACC,QAAQ,EACVD,YAAC,CAACE,YAAY,EACdF,YAAC,CAACG,cAAc,EAChB;IAAEC,GAAG,EAAEC,aAAM,CAACC,KAAK,CAACC;EAAG,CAAC,EACxBT,KAAK,CACN;EAED,oBACE,IAAAV,WAAA,CAAAoB,IAAA,EAACtB,YAAA,CAAAuB,IAAI;IAAA,IACEZ,SAAS,GAAI;MAAEA;IAAU,CAAC,GAA8B,CAAC,CAAC;IAC/DC,KAAK,EAAEC,QAAS;IAAAW,QAAA,gBAChB,IAAAtB,WAAA,CAAAuB,GAAA,EAACzB,YAAA,CAAAuB,IAAI;MAACX,KAAK,EAAE,CAACE,YAAC,CAACE,YAAY,EAAEF,YAAC,CAACG,cAAc,CAAE;MAAAO,QAAA,EAAEjB;IAAI,CAAO,CAAC,eAK9D,IAAAL,WAAA,CAAAuB,GAAA,EAACzB,YAAA,CAAAuB,IAAI;MACHG,iBAAiB,EAAC,OAAO;MACzBhB,kBAAkB,EAAEA,kBAAmB;MACvC,cAAYA,kBAAmB;MAC/BE,KAAK,EAAE,CAACE,YAAC,CAACC,QAAQ,EAAED,YAAC,CAACE,YAAY,EAAE;QAAEE,GAAG,EAAEC,aAAM,CAACC,KAAK,CAACO;MAAG,CAAC,CAAE;MAAAH,QAAA,EAC7Df;IAAI,CACD,CAAC,eAEP,IAAAP,WAAA,CAAAuB,GAAA,EAACzB,YAAA,CAAAuB,IAAI;MAACX,KAAK,EAAE,CAACE,YAAC,CAACE,YAAY,EAAEF,YAAC,CAACG,cAAc,CAAE;MAAAO,QAAA,EAAEhB;IAAK,CAAO,CAAC;EAAA,CAC3D,CAAC;AAEX","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ConnectionDots", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ConnectionDots.ConnectionDots;
10
+ }
11
+ });
12
+ var _ConnectionDots = require("./ConnectionDots");
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ConnectionDots","require"],"sourceRoot":"../../../src","sources":["connection-dots/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ConnectionDots", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ConnectionDotsWeb.ConnectionDots;
10
+ }
11
+ });
12
+ var _ConnectionDotsWeb = require("./ConnectionDots.web.js");
13
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ConnectionDotsWeb","require"],"sourceRoot":"../../../src","sources":["connection-dots/index.web.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["connection-dots/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PANEL_TOP_INSET = exports.PANEL_BOTTOM_INSET = exports.GUTTER_MASK_SPREAD = exports.ContentPanel = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ /**
12
+ * Native variant of `ContentPanel` — the framed app-content surface.
13
+ *
14
+ * `ContentPanel` is the rounded, bordered panel that holds an app's routed
15
+ * content. On WEB it adds two sticky overlays (a gutter "bleed-mask" box-shadow
16
+ * ring and a continuous rounded border frame) so feed content that bleeds into
17
+ * the rounded corners / lateral gutters is masked while a single seamless border
18
+ * is drawn around the panel — see `index.web.tsx`.
19
+ *
20
+ * On NATIVE none of that applies: there is no document scroll, no sticky
21
+ * positioning, and no bleed to mask, so the panel is simply a rounded, bordered
22
+ * surface wrapping its content. The `framed` and `showStickyFrame` props are
23
+ * accepted for cross-platform API parity but are intentionally no-ops here
24
+ * (mirroring the no-op native fork of `../scroll`).
25
+ *
26
+ * Web bundlers select `./index.web` via the `"browser"` export condition in
27
+ * `package.json`; native bundlers fall through to this file.
28
+ *
29
+ * Styling is NativeWind-className-first; the literal class strings below must
30
+ * stay literal so a consumer's Tailwind content-scan over `lib/**` (and the
31
+ * native `src/**`) picks them up.
32
+ */
33
+
34
+ /**
35
+ * Width (in px) of the WEB sticky gutter-mask box-shadow ring. Exported for
36
+ * cross-platform API parity (it has no effect on native).
37
+ */
38
+ const GUTTER_MASK_SPREAD = exports.GUTTER_MASK_SPREAD = 40;
39
+ /** Top sticky inset (px) of the framed panel chrome. */
40
+ const PANEL_TOP_INSET = exports.PANEL_TOP_INSET = 8;
41
+ /** Bottom sticky inset (px) of the framed panel chrome. */
42
+ const PANEL_BOTTOM_INSET = exports.PANEL_BOTTOM_INSET = 8;
43
+ const ContentPanelComponent = ({
44
+ children,
45
+ surfaceClassName,
46
+ surfaceStyle,
47
+ contentClassName,
48
+ contentStyle
49
+ }) => {
50
+ const surfaceClass = ['flex-1', 'rounded-radius-28', 'overflow-hidden border border-border', surfaceClassName ?? 'bg-card'].join(' ');
51
+ const contentClass = ['flex-1', contentClassName].filter(Boolean).join(' ');
52
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
53
+ className: surfaceClass,
54
+ style: surfaceStyle,
55
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
56
+ className: contentClass,
57
+ style: contentStyle,
58
+ children: children
59
+ })
60
+ });
61
+ };
62
+ const ContentPanel = exports.ContentPanel = /*#__PURE__*/(0, _react.memo)(ContentPanelComponent);
63
+ ContentPanel.displayName = 'ContentPanel';
64
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","GUTTER_MASK_SPREAD","exports","PANEL_TOP_INSET","PANEL_BOTTOM_INSET","ContentPanelComponent","children","surfaceClassName","surfaceStyle","contentClassName","contentStyle","surfaceClass","join","contentClass","filter","Boolean","jsx","View","className","style","ContentPanel","memo","displayName"],"sourceRoot":"../../../src","sources":["content-panel/index.tsx"],"mappings":";;;;;;AAsBA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAoE,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM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