@tempoxyz/ds 0.3.14 → 0.3.16

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 (209) hide show
  1. package/dist/docs/AGENTS.md +75 -10
  2. package/dist/docs/arsenal.md +44 -0
  3. package/dist/docs/{marketing/introduction/getting-started.md → marketing.md} +32 -24
  4. package/dist/docs/product/components/actions.md +2110 -0
  5. package/dist/docs/product/components/blockchain.md +3969 -0
  6. package/dist/docs/product/components/data-display.md +5901 -0
  7. package/dist/docs/product/components/feedback-and-status.md +4138 -0
  8. package/dist/docs/product/components/forms-and-inputs.md +10543 -0
  9. package/dist/docs/product/components/layout.md +3339 -0
  10. package/dist/docs/product/components/navigation.md +2914 -0
  11. package/dist/docs/product/components/overlays.md +4917 -0
  12. package/dist/docs/product/components.md +125 -125
  13. package/dist/docs/product/foundations.md +4597 -0
  14. package/dist/docs/product/patterns.md +10110 -0
  15. package/dist/marketing/index.js.zyzz.json +1 -1
  16. package/dist/marketing/vars.d.ts +618 -758
  17. package/dist/marketing/vars.d.ts.map +1 -1
  18. package/dist/marketing/vars.js +8 -5
  19. package/dist/marketing/vars.js.map +1 -1
  20. package/dist/marketing/vars.js.zyzz.json +1 -1
  21. package/dist/marketing/zyzz.config.d.ts +3042 -3757
  22. package/dist/marketing/zyzz.config.d.ts.map +1 -1
  23. package/dist/marketing/zyzz.config.js +1 -1
  24. package/dist/marketing/zyzz.config.js.map +1 -1
  25. package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
  26. package/dist/mobile/components/Button.d.ts +115 -15
  27. package/dist/mobile/components/Button.d.ts.map +1 -1
  28. package/dist/mobile/components/Button.js +85 -14
  29. package/dist/mobile/components/Button.js.map +1 -1
  30. package/dist/mobile/components/IconButton.d.ts +129 -40
  31. package/dist/mobile/components/IconButton.d.ts.map +1 -1
  32. package/dist/mobile/components/IconButton.js +97 -28
  33. package/dist/mobile/components/IconButton.js.map +1 -1
  34. package/dist/mobile/components/TextInput.d.ts +132 -11
  35. package/dist/mobile/components/TextInput.d.ts.map +1 -1
  36. package/dist/mobile/components/TextInput.js +115 -14
  37. package/dist/mobile/components/TextInput.js.map +1 -1
  38. package/dist/mobile/index.d.ts +1 -0
  39. package/dist/mobile/index.d.ts.map +1 -1
  40. package/dist/mobile/index.js +1 -0
  41. package/dist/mobile/index.js.map +1 -1
  42. package/dist/mobile/vars.d.ts +103 -0
  43. package/dist/mobile/vars.d.ts.map +1 -1
  44. package/dist/mobile/vars.js +74 -0
  45. package/dist/mobile/vars.js.map +1 -1
  46. package/dist/mobile/zyzz.config.d.ts +408 -0
  47. package/dist/mobile/zyzz.config.d.ts.map +1 -1
  48. package/dist/web/components/AddressCard.js.zyzz.json +1 -1
  49. package/dist/web/components/Amount.css +1 -1
  50. package/dist/web/components/Amount.d.ts +9 -0
  51. package/dist/web/components/Amount.d.ts.map +1 -1
  52. package/dist/web/components/Amount.js +8 -5
  53. package/dist/web/components/Amount.js.map +1 -1
  54. package/dist/web/components/Amount.js.zyzz.json +1 -1
  55. package/dist/web/components/CopyButton.d.ts +6 -0
  56. package/dist/web/components/CopyButton.d.ts.map +1 -1
  57. package/dist/web/components/CopyButton.js +4 -1
  58. package/dist/web/components/CopyButton.js.map +1 -1
  59. package/dist/web/components/CopyButton.js.zyzz.json +1 -1
  60. package/dist/web/components/Hex.css +1 -1
  61. package/dist/web/components/Hex.d.ts +84 -3
  62. package/dist/web/components/Hex.d.ts.map +1 -1
  63. package/dist/web/components/Hex.js +20 -13
  64. package/dist/web/components/Hex.js.map +1 -1
  65. package/dist/web/components/Hex.js.zyzz.json +1 -1
  66. package/dist/web/components/Progress.css +1 -1
  67. package/dist/web/components/Progress.d.ts +12 -2
  68. package/dist/web/components/Progress.d.ts.map +1 -1
  69. package/dist/web/components/Progress.js +9 -5
  70. package/dist/web/components/Progress.js.map +1 -1
  71. package/dist/web/components/Progress.js.zyzz.json +1 -1
  72. package/dist/web/components/SecretValue.js.zyzz.json +1 -1
  73. package/dist/web/components/SidebarMenu.d.ts +4 -4
  74. package/dist/web/components/SidebarMenu.js +6 -6
  75. package/dist/web/components/SidebarMenu.js.map +1 -1
  76. package/dist/web/components/Snippet.js.zyzz.json +1 -1
  77. package/dist/web/index.js.zyzz.json +1 -1
  78. package/package.json +1 -1
  79. package/src/marketing/README.md +1 -1
  80. package/src/marketing/vars.ts +526 -604
  81. package/src/marketing/zyzz.config.ts +5 -4
  82. package/src/mobile/README.md +19 -6
  83. package/src/mobile/components/Button.tsx +94 -17
  84. package/src/mobile/components/IconButton.tsx +122 -30
  85. package/src/mobile/components/TextInput.tsx +139 -24
  86. package/src/mobile/index.ts +1 -0
  87. package/src/mobile/vars.ts +74 -0
  88. package/src/web/components/Amount.tsx +37 -3
  89. package/src/web/components/CopyButton.tsx +8 -0
  90. package/src/web/components/Hex.tsx +79 -13
  91. package/src/web/components/Progress.tsx +8 -2
  92. package/src/web/components/SidebarMenu.tsx +6 -6
  93. package/dist/docs/index.md +0 -145
  94. package/dist/docs/product/components/accordion.md +0 -489
  95. package/dist/docs/product/components/address-card.md +0 -147
  96. package/dist/docs/product/components/agent-logo.md +0 -194
  97. package/dist/docs/product/components/alert-dialog.md +0 -631
  98. package/dist/docs/product/components/alert.md +0 -448
  99. package/dist/docs/product/components/amount-input.md +0 -305
  100. package/dist/docs/product/components/amount.md +0 -794
  101. package/dist/docs/product/components/app-shell.md +0 -559
  102. package/dist/docs/product/components/asset-chip.md +0 -294
  103. package/dist/docs/product/components/autocomplete.md +0 -620
  104. package/dist/docs/product/components/avatar.md +0 -321
  105. package/dist/docs/product/components/badge.md +0 -339
  106. package/dist/docs/product/components/badged-logo.md +0 -116
  107. package/dist/docs/product/components/banner.md +0 -379
  108. package/dist/docs/product/components/bar-chart.md +0 -208
  109. package/dist/docs/product/components/breadcrumbs.md +0 -380
  110. package/dist/docs/product/components/button-group.md +0 -286
  111. package/dist/docs/product/components/button.md +0 -650
  112. package/dist/docs/product/components/calendar.md +0 -375
  113. package/dist/docs/product/components/callout.md +0 -96
  114. package/dist/docs/product/components/checkbox-group.md +0 -521
  115. package/dist/docs/product/components/checkbox.md +0 -467
  116. package/dist/docs/product/components/choice-group.md +0 -516
  117. package/dist/docs/product/components/choicebox.md +0 -641
  118. package/dist/docs/product/components/code.md +0 -100
  119. package/dist/docs/product/components/combobox.md +0 -939
  120. package/dist/docs/product/components/container.md +0 -257
  121. package/dist/docs/product/components/copy-button.md +0 -642
  122. package/dist/docs/product/components/date-picker.md +0 -514
  123. package/dist/docs/product/components/dialog.md +0 -1332
  124. package/dist/docs/product/components/drawer.md +0 -966
  125. package/dist/docs/product/components/empty.md +0 -340
  126. package/dist/docs/product/components/field.md +0 -570
  127. package/dist/docs/product/components/fieldset.md +0 -398
  128. package/dist/docs/product/components/frame.md +0 -434
  129. package/dist/docs/product/components/gauge.md +0 -299
  130. package/dist/docs/product/components/get-started-visual.md +0 -117
  131. package/dist/docs/product/components/grid.md +0 -288
  132. package/dist/docs/product/components/hero-visual.md +0 -155
  133. package/dist/docs/product/components/hex.md +0 -487
  134. package/dist/docs/product/components/icon-tile.md +0 -292
  135. package/dist/docs/product/components/identicon.md +0 -371
  136. package/dist/docs/product/components/inline.md +0 -233
  137. package/dist/docs/product/components/inset.md +0 -225
  138. package/dist/docs/product/components/kbd.md +0 -423
  139. package/dist/docs/product/components/list-group.md +0 -981
  140. package/dist/docs/product/components/loading-dots.md +0 -237
  141. package/dist/docs/product/components/menu.md +0 -934
  142. package/dist/docs/product/components/native-select.md +0 -204
  143. package/dist/docs/product/components/network-logo.md +0 -248
  144. package/dist/docs/product/components/number-field.md +0 -543
  145. package/dist/docs/product/components/otp-field.md +0 -616
  146. package/dist/docs/product/components/pagination.md +0 -516
  147. package/dist/docs/product/components/popover.md +0 -544
  148. package/dist/docs/product/components/progress.md +0 -388
  149. package/dist/docs/product/components/qr.md +0 -314
  150. package/dist/docs/product/components/radio-group.md +0 -528
  151. package/dist/docs/product/components/secret-value.md +0 -406
  152. package/dist/docs/product/components/select.md +0 -751
  153. package/dist/docs/product/components/separator.md +0 -379
  154. package/dist/docs/product/components/sidebar-menu.md +0 -922
  155. package/dist/docs/product/components/skeleton.md +0 -517
  156. package/dist/docs/product/components/slider.md +0 -539
  157. package/dist/docs/product/components/snippet.md +0 -424
  158. package/dist/docs/product/components/spinner.md +0 -216
  159. package/dist/docs/product/components/split-bar.md +0 -139
  160. package/dist/docs/product/components/split-button.md +0 -464
  161. package/dist/docs/product/components/stack.md +0 -299
  162. package/dist/docs/product/components/status-chip.md +0 -226
  163. package/dist/docs/product/components/status-indicator.md +0 -119
  164. package/dist/docs/product/components/status-row.md +0 -174
  165. package/dist/docs/product/components/stepper.md +0 -451
  166. package/dist/docs/product/components/success-hero.md +0 -157
  167. package/dist/docs/product/components/surface.md +0 -639
  168. package/dist/docs/product/components/switch.md +0 -472
  169. package/dist/docs/product/components/table.md +0 -968
  170. package/dist/docs/product/components/tabs.md +0 -627
  171. package/dist/docs/product/components/tempo-logo.md +0 -185
  172. package/dist/docs/product/components/text-input.md +0 -624
  173. package/dist/docs/product/components/textarea.md +0 -352
  174. package/dist/docs/product/components/toast.md +0 -535
  175. package/dist/docs/product/components/token-logo.md +0 -371
  176. package/dist/docs/product/components/token.md +0 -247
  177. package/dist/docs/product/components/tooltip.md +0 -490
  178. package/dist/docs/product/components/verification-code.md +0 -116
  179. package/dist/docs/product/components/visual.md +0 -249
  180. package/dist/docs/product/foundations/accessibility.md +0 -377
  181. package/dist/docs/product/foundations/agents.md +0 -159
  182. package/dist/docs/product/foundations/color.md +0 -522
  183. package/dist/docs/product/foundations/content/tone.md +0 -194
  184. package/dist/docs/product/foundations/content/voice.md +0 -194
  185. package/dist/docs/product/foundations/content/writing-style.md +0 -406
  186. package/dist/docs/product/foundations/iconography.md +0 -282
  187. package/dist/docs/product/foundations/intent.md +0 -360
  188. package/dist/docs/product/foundations/layout.md +0 -508
  189. package/dist/docs/product/foundations/linter.md +0 -523
  190. package/dist/docs/product/foundations/motion.md +0 -151
  191. package/dist/docs/product/foundations/radius-and-padding.md +0 -86
  192. package/dist/docs/product/foundations/typography.md +0 -331
  193. package/dist/docs/product/introduction/faq.md +0 -133
  194. package/dist/docs/product/introduction/getting-started.md +0 -377
  195. package/dist/docs/product/patterns/blockchain-values.md +0 -709
  196. package/dist/docs/product/patterns/dashboards.md +0 -638
  197. package/dist/docs/product/patterns/destructive-actions.md +0 -626
  198. package/dist/docs/product/patterns/empty-states.md +0 -612
  199. package/dist/docs/product/patterns/errors-and-validation.md +0 -808
  200. package/dist/docs/product/patterns/feedback-and-status.md +0 -518
  201. package/dist/docs/product/patterns/forms.md +0 -679
  202. package/dist/docs/product/patterns/loading.md +0 -630
  203. package/dist/docs/product/patterns/navigation.md +0 -397
  204. package/dist/docs/product/patterns/payments.md +0 -765
  205. package/dist/docs/product/patterns/responsive-layout.md +0 -997
  206. package/dist/docs/product/patterns/tables-and-lists.md +0 -1170
  207. package/dist/docs/product/products/tempo-console.md +0 -671
  208. package/dist/docs/product/products/tempo-performance.md +0 -435
  209. package/dist/docs/product/products/tempo-wallet.md +0 -438
@@ -1,11 +1,15 @@
1
- import type { ComponentPropsWithRef } from 'react';
1
+ /** Native text entry and validation styles for the Mobile App input family. @module */
2
+ import { type ComponentPropsWithRef } from 'react';
2
3
  import { TextInput as NativeTextInput } from 'react-native';
3
4
  import type * as zyzz from 'zyzz';
4
5
  /**
5
6
  * A native text input with an optional `label` and `secondaryLabel` above it and `helper` text
6
7
  * below. `extended` makes the input multiline and 80 points tall. Defaults to
7
8
  * `appearance="primary"`. `ref`, `style` and other native props reach the inner input, and the
8
- * wrapper stretches to its parent.
9
+ * wrapper stretches to its parent. `invalid` marks an error. `editable={false}` or `readOnly`
10
+ * applies the disabled design and prevents editing. Controlled and uncontrolled values remain native.
11
+ *
12
+ * Base UI Input renders a DOM input, so this surface uses React Native TextInput instead.
9
13
  *
10
14
  * - Pass `accessibilityLabel` when you omit the visible `label`.
11
15
  * - Set `keyboardType`, `textContentType` and `autoComplete` for the expected value.
@@ -27,13 +31,16 @@ import type * as zyzz from 'zyzz';
27
31
  * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html | WCAG 2.2 Identify Input Purpose}
28
32
  */
29
33
  export declare function TextInput(props: TextInput.Props): import("react").JSX.Element;
34
+ /** Native input props and the supported design axes. */
30
35
  export declare namespace TextInput {
31
- type Props = Omit<ComponentPropsWithRef<typeof NativeTextInput>, 'multiline'> & zyzz.Props.Variants<typeof styles.input> & {
36
+ /** Native text input attributes, excluding multiline, which extended controls. */
37
+ type Props = Omit<ComponentPropsWithRef<typeof NativeTextInput>, 'multiline'> & Omit<zyzz.Props.Variants<typeof styles.input>, 'state'> & {
32
38
  /**
33
- * Text below the input, also used as its accessibility hint. The placeholder shares its
34
- * color.
39
+ * Text below the input, also used as its accessibility hint. Errors use the negative color.
35
40
  */
36
41
  helper?: string | undefined;
42
+ /** Marks the value invalid and announces the helper as an error. Defaults to false. */
43
+ invalid?: boolean | undefined;
37
44
  /** Visible label above the input, also used as its accessibility label. */
38
45
  label?: string | undefined;
39
46
  /**
@@ -43,20 +50,46 @@ export declare namespace TextInput {
43
50
  secondaryLabel?: string | undefined;
44
51
  };
45
52
  }
53
+ /** Compiled native recipes for the verified input family. */
46
54
  export declare namespace styles {
47
- const helper: zyzz.style.ReturnType<"react">;
55
+ /** Native caret color, shared by both appearances. */
56
+ const caret: zyzz.style.ReturnType<"react">;
57
+ /** Optional message beneath the field. */
58
+ const helper: zyzz.variants.ReturnType<{
59
+ readonly base: {
60
+ readonly color: "component.control.content.tertiary";
61
+ readonly paddingTop: "12";
62
+ readonly typography: "control.label";
63
+ };
64
+ readonly variants: {
65
+ readonly disabled: {
66
+ readonly false: {};
67
+ readonly true: {
68
+ readonly color: "rgb(0 0 0 / 1) !custom";
69
+ };
70
+ };
71
+ readonly invalid: {
72
+ readonly false: {};
73
+ readonly true: {
74
+ readonly color: "content.negative";
75
+ };
76
+ };
77
+ };
78
+ }, "react">;
79
+ /** Field geometry and the native interaction states, with disabled taking precedence. */
48
80
  const input: zyzz.variants.ReturnType<{
49
81
  readonly base: {
50
82
  readonly borderRadius: "xs";
51
83
  readonly color: "content.primary";
52
84
  readonly height: "48";
53
- readonly paddingHorizontal: "20";
54
- readonly paddingVertical: "16";
55
- readonly typography: "body.b2";
85
+ readonly paddingHorizontal: "16";
86
+ readonly paddingVertical: "12";
87
+ readonly typography: "control.label";
56
88
  };
57
89
  readonly defaultVariants: {
58
90
  readonly appearance: "primary";
59
91
  readonly extended: false;
92
+ readonly state: "default";
60
93
  };
61
94
  readonly variants: {
62
95
  readonly appearance: {
@@ -72,13 +105,101 @@ export declare namespace styles {
72
105
  readonly false: {};
73
106
  readonly true: {
74
107
  readonly height: "80px !custom";
108
+ readonly paddingVertical: "16";
109
+ };
110
+ };
111
+ readonly state: {
112
+ readonly default: {};
113
+ readonly disabled: {
114
+ readonly color: "rgb(0 0 0 / 1) !custom";
115
+ };
116
+ readonly error: {
117
+ readonly backgroundColor: "container.negative";
118
+ readonly borderColor: "border.negative";
119
+ readonly borderWidth: "regular";
120
+ };
121
+ readonly focused: {};
122
+ };
123
+ };
124
+ readonly compoundVariants: readonly [{
125
+ readonly when: {
126
+ readonly appearance: "primary";
127
+ readonly state: "disabled";
128
+ };
129
+ readonly style: {
130
+ readonly backgroundColor: "container.subtle";
131
+ };
132
+ }, {
133
+ readonly when: {
134
+ readonly appearance: "secondary";
135
+ readonly state: "disabled";
136
+ };
137
+ readonly style: {
138
+ readonly borderColor: "line.secondary";
139
+ };
140
+ }, {
141
+ readonly when: {
142
+ readonly appearance: "secondary";
143
+ readonly state: "focused";
144
+ };
145
+ readonly style: {
146
+ readonly borderColor: "border.focus";
147
+ };
148
+ }];
149
+ }, "react">;
150
+ /** Primary label, dimmed only while editing is disabled. */
151
+ const label: zyzz.variants.ReturnType<{
152
+ readonly base: {
153
+ readonly color: "content.primary";
154
+ readonly typography: "control.label";
155
+ };
156
+ readonly variants: {
157
+ readonly disabled: {
158
+ readonly false: {};
159
+ readonly true: {
160
+ readonly color: "component.control.content.tertiary";
75
161
  };
76
162
  };
77
163
  };
78
164
  }, "react">;
79
- const label: zyzz.style.ReturnType<"react">;
165
+ /** Label row spacing above the field. */
80
166
  const labels: zyzz.style.ReturnType<"react">;
81
- const secondaryLabel: zyzz.style.ReturnType<"react">;
167
+ /** Placeholder paint remains distinct from the native input's actual value. */
168
+ const placeholder: zyzz.variants.ReturnType<{
169
+ readonly base: {
170
+ readonly color: "component.control.content.tertiary";
171
+ };
172
+ readonly variants: {
173
+ readonly state: {
174
+ readonly default: {};
175
+ readonly disabled: {
176
+ readonly color: "rgb(0 0 0 / 1) !custom";
177
+ };
178
+ readonly error: {
179
+ readonly color: "content.primary";
180
+ };
181
+ readonly focused: {
182
+ readonly color: "content.primary";
183
+ };
184
+ };
185
+ };
186
+ }, "react">;
187
+ /** Secondary label beside the primary label. */
188
+ const secondaryLabel: zyzz.variants.ReturnType<{
189
+ readonly base: {
190
+ readonly color: "component.control.content.secondary";
191
+ readonly typography: "control.label";
192
+ };
193
+ readonly variants: {
194
+ readonly disabled: {
195
+ readonly false: {};
196
+ readonly true: {
197
+ readonly color: "component.control.content.tertiary";
198
+ };
199
+ };
200
+ };
201
+ }, "react">;
202
+ /** Stretch to the consumer's available width without fixing Figma's sample width. */
82
203
  const textInput: zyzz.style.ReturnType<"react">;
83
204
  }
84
205
  //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/mobile/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,SAAS,IAAI,eAAe,EAAc,MAAM,cAAc,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAIjC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,SAAS,CAAC,KAAK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AAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,GAAG;QACxD;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC3B,uFAAuF;QACvF,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;QAC7B,2EAA2E;QAC3E,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC1B;;;WAGG;QACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KACpC,CAAA;CACJ;AAED,6DAA6D;AAC7D,yBAAiB,MAAM,CAAC;IACtB,sDAAsD;IAC/C,MAAM,KAAK,gCAA6E,CAAA;IAE/F,0CAA0C;IACnC,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;eAclB,CAAA;IAED,yFAAyF;IAClF,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA6CjB,CAAA;IAED,4DAA4D;IACrD,MAAM,KAAK;;;;;;;;;;;;;eAMjB,CAAA;IAED,yCAAyC;IAClC,MAAM,MAAM,gCAGlB,CAAA;IAED,+EAA+E;IACxE,MAAM,WAAW;;;;;;;;;;;;;;;;;;eAavB,CAAA;IAED,gDAAgD;IACzC,MAAM,cAAc;;;;;;;;;;;;;eAM1B,CAAA;IAED,qFAAqF;IAC9E,MAAM,SAAS,gCAAmE,CAAA;CAC1F"}
@@ -1,12 +1,17 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { TextInput as NativeTextInput, Text, View } from 'react-native';
2
+ /** Native text entry and validation styles for the Mobile App input family. @module */
3
+ import { useState } from 'react';
4
+ import { TextInput as NativeTextInput, Platform, Text, View } from 'react-native';
3
5
  import { useColor } from '../useColor.js';
4
6
  import { style, variants } from '../zyzz.config.js';
5
7
  /**
6
8
  * A native text input with an optional `label` and `secondaryLabel` above it and `helper` text
7
9
  * below. `extended` makes the input multiline and 80 points tall. Defaults to
8
10
  * `appearance="primary"`. `ref`, `style` and other native props reach the inner input, and the
9
- * wrapper stretches to its parent.
11
+ * wrapper stretches to its parent. `invalid` marks an error. `editable={false}` or `readOnly`
12
+ * applies the disabled design and prevents editing. Controlled and uncontrolled values remain native.
13
+ *
14
+ * Base UI Input renders a DOM input, so this surface uses React Native TextInput instead.
10
15
  *
11
16
  * - Pass `accessibilityLabel` when you omit the visible `label`.
12
17
  * - Set `keyboardType`, `textContentType` and `autoComplete` for the expected value.
@@ -28,38 +33,134 @@ import { style, variants } from '../zyzz.config.js';
28
33
  * @see {@link https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html | WCAG 2.2 Identify Input Purpose}
29
34
  */
30
35
  export function TextInput(props) {
31
- const { appearance, extended, helper, label, secondaryLabel, ...inputProps } = props;
32
- const placeholder = useColor(styles.helper().style);
33
- return (_jsxs(View, { style: styles.textInput().style, children: [label !== undefined && (_jsxs(View, { style: styles.labels().style, children: [_jsx(Text, { style: styles.label().style, children: label }), secondaryLabel !== undefined && (_jsx(Text, { style: styles.secondaryLabel().style, children: secondaryLabel }))] })), _jsx(NativeTextInput, { accessibilityHint: helper, accessibilityLabel: label, multiline: extended === true, placeholderTextColor: placeholder,
36
+ const { appearance, extended, helper, invalid, label, secondaryLabel, ...inputProps } = props;
37
+ const [focused, setFocused] = useState(false);
38
+ const disabled = props.editable === false || props.readOnly === true;
39
+ const state = (() => {
40
+ if (disabled)
41
+ return 'disabled';
42
+ if (invalid)
43
+ return 'error';
44
+ if (focused)
45
+ return 'focused';
46
+ return 'default';
47
+ })();
48
+ const caret = useColor(styles.caret().style);
49
+ const placeholder = useColor(styles.placeholder({ state }).style);
50
+ return (_jsxs(View, { style: styles.textInput().style, children: [label !== undefined && (_jsxs(View, { style: styles.labels().style, children: [_jsx(Text, { style: styles.label({ disabled }).style, children: label }), secondaryLabel !== undefined && (_jsx(Text, { style: styles.secondaryLabel({ disabled }).style, children: secondaryLabel }))] })), _jsx(NativeTextInput
51
+ // React Native has no invalid accessibilityState. Announce the error through its hint.
52
+ , {
53
+ // React Native has no invalid accessibilityState. Announce the error through its hint.
54
+ accessibilityHint: invalid ? `Error: ${helper ?? 'Invalid value'}` : helper, accessibilityLabel: label, cursorColor: caret, multiline: extended === true, placeholderTextColor: placeholder,
55
+ // Android selectionColor paints an opaque highlight, not just the caret.
56
+ selectionColor: Platform.OS === 'ios' ? caret : undefined,
34
57
  // Android centers multiline text unless the input aligns it to the top.
35
58
  textAlignVertical: extended === true ? 'top' : undefined,
36
59
  // Android otherwise draws its platform underline over the Figma border and fill.
37
- underlineColorAndroid: "transparent", ...inputProps, style: [styles.input({ appearance, extended }).style, props.style] }), helper !== undefined && _jsx(Text, { style: styles.helper().style, children: helper })] }));
60
+ underlineColorAndroid: "transparent", ...inputProps, accessibilityState: {
61
+ ...props.accessibilityState,
62
+ disabled: disabled || props.accessibilityState?.disabled,
63
+ }, "aria-disabled": disabled || props['aria-disabled'], editable: disabled ? false : props.editable, onBlur: (event) => {
64
+ setFocused(false);
65
+ props.onBlur?.(event);
66
+ }, onFocus: (event) => {
67
+ setFocused(true);
68
+ props.onFocus?.(event);
69
+ }, readOnly: disabled ? true : props.readOnly,
70
+ // Zyzz's native subset does not yet accept this iOS-only React Native property.
71
+ style: [
72
+ { borderCurve: 'continuous' },
73
+ styles.input({ appearance, extended, state }).style,
74
+ props.style,
75
+ ] }), helper !== undefined && (_jsx(Text, { accessibilityLiveRegion: invalid && !disabled ? 'polite' : undefined, style: styles.helper({ disabled, invalid: Boolean(invalid) && !disabled }).style, children: helper }))] }));
38
76
  }
77
+ /** Compiled native recipes for the verified input family. */
39
78
  export var styles;
40
79
  (function (styles) {
41
- styles.helper = style({ color: 'content.tertiary', paddingTop: '12', typography: 'body.b2' }, { id: 'tds/mobile/text-input/helper' });
80
+ /** Native caret color, shared by both appearances. */
81
+ styles.caret = style({ color: 'content.primary' }, { id: 'tds/mobile/text-input/caret' });
82
+ /** Optional message beneath the field. */
83
+ styles.helper = variants({
84
+ base: {
85
+ color: 'component.control.content.tertiary',
86
+ paddingTop: '12',
87
+ typography: 'control.label',
88
+ },
89
+ variants: {
90
+ // Figma paints disabled Message black despite its tertiary variable binding.
91
+ disabled: { false: {}, true: { color: 'rgb(0 0 0 / 1) !custom' } },
92
+ invalid: { false: {}, true: { color: 'content.negative' } },
93
+ },
94
+ }, { id: 'tds/mobile/text-input/helper' });
95
+ /** Field geometry and the native interaction states, with disabled taking precedence. */
42
96
  styles.input = variants({
43
97
  base: {
44
98
  borderRadius: 'xs',
45
99
  color: 'content.primary',
46
100
  height: '48',
47
- paddingHorizontal: '20',
48
- paddingVertical: '16',
49
- typography: 'body.b2',
101
+ paddingHorizontal: '16',
102
+ paddingVertical: '12',
103
+ typography: 'control.label',
50
104
  },
51
- defaultVariants: { appearance: 'primary', extended: false },
105
+ defaultVariants: { appearance: 'primary', extended: false, state: 'default' },
52
106
  variants: {
53
107
  appearance: {
54
108
  primary: { backgroundColor: 'container.regular' },
55
109
  secondary: { borderColor: 'line.primary', borderWidth: 'regular' },
56
110
  },
57
- extended: { false: {}, true: { height: '80px !custom' } },
111
+ extended: { false: {}, true: { height: '80px !custom', paddingVertical: '16' } },
112
+ state: {
113
+ default: {},
114
+ // Preserve the literal black Value paint confirmed in Figma's rendered family.
115
+ disabled: { color: 'rgb(0 0 0 / 1) !custom' },
116
+ error: {
117
+ backgroundColor: 'container.negative',
118
+ borderColor: 'border.negative',
119
+ borderWidth: 'regular',
120
+ },
121
+ focused: {},
122
+ },
58
123
  },
124
+ compoundVariants: [
125
+ {
126
+ when: { appearance: 'primary', state: 'disabled' },
127
+ style: { backgroundColor: 'container.subtle' },
128
+ },
129
+ {
130
+ when: { appearance: 'secondary', state: 'disabled' },
131
+ style: { borderColor: 'line.secondary' },
132
+ },
133
+ {
134
+ when: { appearance: 'secondary', state: 'focused' },
135
+ style: { borderColor: 'border.focus' },
136
+ },
137
+ ],
59
138
  }, { id: 'tds/mobile/text-input/input' });
60
- styles.label = style({ color: 'content.primary', typography: 'body.b2' }, { id: 'tds/mobile/text-input/label' });
139
+ /** Primary label, dimmed only while editing is disabled. */
140
+ styles.label = variants({
141
+ base: { color: 'content.primary', typography: 'control.label' },
142
+ variants: { disabled: { false: {}, true: { color: 'component.control.content.tertiary' } } },
143
+ }, { id: 'tds/mobile/text-input/label' });
144
+ /** Label row spacing above the field. */
61
145
  styles.labels = style({ alignItems: 'center', flexDirection: 'row', gap: '4', paddingBottom: '12' }, { id: 'tds/mobile/text-input/labels' });
62
- styles.secondaryLabel = style({ color: 'content.secondary', typography: 'body.b2' }, { id: 'tds/mobile/text-input/secondary-label' });
146
+ /** Placeholder paint remains distinct from the native input's actual value. */
147
+ styles.placeholder = variants({
148
+ base: { color: 'component.control.content.tertiary' },
149
+ variants: {
150
+ state: {
151
+ default: {},
152
+ disabled: { color: 'rgb(0 0 0 / 1) !custom' },
153
+ error: { color: 'content.primary' },
154
+ focused: { color: 'content.primary' },
155
+ },
156
+ },
157
+ }, { id: 'tds/mobile/text-input/placeholder' });
158
+ /** Secondary label beside the primary label. */
159
+ styles.secondaryLabel = variants({
160
+ base: { color: 'component.control.content.secondary', typography: 'control.label' },
161
+ variants: { disabled: { false: {}, true: { color: 'component.control.content.tertiary' } } },
162
+ }, { id: 'tds/mobile/text-input/secondary-label' });
163
+ /** Stretch to the consumer's available width without fixing Figma's sample width. */
63
164
  styles.textInput = style({ alignSelf: 'stretch' }, { id: 'tds/mobile/text-input' });
64
165
  })(styles || (styles = {}));
65
166
  //# sourceMappingURL=TextInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../src/mobile/components/TextInput.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;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IAClE,kBAAW,GAAG,QAAQ,CACjC;QACE,IAAI,EAAE,EAAE,KAAK,EAAE,oCAAoC,EAAE;QACrD,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE;gBAC7C,KAAK,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE;gBACnC,OAAO,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE;aACtC;SACF;KACF,EACD,EAAE,EAAE,EAAE,mCAAmC,EAAE,CAC5C,CAAA;IAED,gDAAgD;IACnC,qBAAc,GAAG,QAAQ,CACpC;QACE,IAAI,EAAE,EAAE,KAAK,EAAE,qCAAqC,EAAE,UAAU,EAAE,eAAe,EAAE;QACnF,QAAQ,EAAE,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,oCAAoC,EAAE,EAAE,EAAE;KAC7F,EACD,EAAE,EAAE,EAAE,uCAAuC,EAAE,CAChD,CAAA;IAED,qFAAqF;IACxE,gBAAS,GAAG,KAAK,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,uBAAuB,EAAE,CAAC,CAAA;AAC3F,CAAC,EA/GgB,MAAM,KAAN,MAAM,QA+GtB"}
@@ -1,3 +1,4 @@
1
+ /** Native product components, variables, and styling helpers. See the mobile README for setup and alignment limits. @module */
1
2
  export { Avatar } from './components/Avatar.js';
2
3
  export { Badge } from './components/Badge.js';
3
4
  export { Button } from './components/Button.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mobile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/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AAA;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,3 +1,4 @@
1
+ /** Native product components, variables, and styling helpers. See the mobile README for setup and alignment limits. @module */
1
2
  export { Avatar } from './components/Avatar.js';
2
3
  export { Badge } from './components/Badge.js';
3
4
  export { Button } from './components/Button.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mobile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mobile/index.ts"],"names":[],"mappings":"AAAA,+HAA+H;AAC/H,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1,3 +1,4 @@
1
+ /** Mobile variables and control-scoped aliases for native product interfaces. @module */
1
2
  import { Vars } from 'zyzz';
2
3
  /**
3
4
  * The base TDS App variables: light and dark colors, border widths, radii, spacing, type sizes and
@@ -72,6 +73,10 @@ export declare const variables: Vars.Definition<{
72
73
  dark: Vars.Reference<"color", "rgb(255 255 255 / 1)">;
73
74
  };
74
75
  };
76
+ readonly primaryPressed: {
77
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.800000011920929)">;
78
+ readonly dark: Vars.Reference<"color", "rgb(255 255 255 / 0.800000011920929)">;
79
+ };
75
80
  readonly secondary: {
76
81
  readonly border: {
77
82
  light: Vars.Reference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgb(255 255 255 / 0.1599999964237213)">;
@@ -93,6 +98,30 @@ export declare const variables: Vars.Definition<{
93
98
  };
94
99
  };
95
100
  };
101
+ readonly control: {
102
+ readonly content: {
103
+ secondary: {
104
+ light: Vars.Reference<"color", "rgb(0 0 0 / 0.5600000023841858)">;
105
+ dark: Vars.Reference<"color", "rgb(255 255 255 / 0.6399999856948853)">;
106
+ };
107
+ tertiary: {
108
+ light: Vars.Reference<"color", "rgb(0 0 0 / 0.4000000059604645)">;
109
+ dark: Vars.Reference<"color", "rgb(255 255 255 / 0.5199999809265137)">;
110
+ };
111
+ };
112
+ };
113
+ readonly iconButton: {
114
+ readonly glass: {
115
+ readonly border: {
116
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.07999999821186066)">;
117
+ readonly dark: "rgba(255, 255, 255, 0.05)";
118
+ };
119
+ readonly shadow: {
120
+ light: Vars.Reference<"color", "rgb(0 0 0 / 0.11999999731779099)">;
121
+ dark: Vars.Reference<"color", "rgb(0 0 0 / 0.23999999463558197)">;
122
+ };
123
+ };
124
+ };
96
125
  readonly input: {
97
126
  readonly overlay: {
98
127
  readonly border: {
@@ -407,6 +436,29 @@ export declare const variables: Vars.Definition<{
407
436
  readonly lineHeight: "16px";
408
437
  };
409
438
  };
439
+ readonly control: {
440
+ readonly compact: {
441
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
442
+ readonly fontSize: "12px";
443
+ readonly fontWeight: 500;
444
+ readonly letterSpacing: "0px";
445
+ readonly lineHeight: "16px";
446
+ };
447
+ readonly label: {
448
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
449
+ readonly fontSize: "14px";
450
+ readonly fontWeight: 400;
451
+ readonly letterSpacing: "-0.084px";
452
+ readonly lineHeight: "20px";
453
+ };
454
+ readonly labelStrong: {
455
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
456
+ readonly fontSize: "14px";
457
+ readonly fontWeight: 500;
458
+ readonly letterSpacing: "-0.084px";
459
+ readonly lineHeight: "20px";
460
+ };
461
+ };
410
462
  readonly display: {
411
463
  d1: {
412
464
  fontFamily: Vars.Reference<"string", "HB Set v0.96">;
@@ -531,6 +583,10 @@ export declare const inverse: Vars.Definition<{
531
583
  dark: Vars.Reference<"color", "rgb(255 255 255 / 1)">;
532
584
  };
533
585
  };
586
+ readonly primaryPressed: {
587
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.800000011920929)">;
588
+ readonly dark: Vars.Reference<"color", "rgb(255 255 255 / 0.800000011920929)">;
589
+ };
534
590
  readonly secondary: {
535
591
  readonly border: {
536
592
  light: Vars.Reference<"color", "rgb(0 0 0 / 0.07999999821186066)" | "rgb(255 255 255 / 0.1599999964237213)">;
@@ -552,6 +608,30 @@ export declare const inverse: Vars.Definition<{
552
608
  };
553
609
  };
554
610
  };
611
+ readonly control: {
612
+ readonly content: {
613
+ readonly secondary: {
614
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.5600000023841858)">;
615
+ readonly dark: Vars.Reference<"color", "rgb(255 255 255 / 0.6399999856948853)">;
616
+ };
617
+ readonly tertiary: {
618
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.4000000059604645)">;
619
+ readonly dark: Vars.Reference<"color", "rgb(255 255 255 / 0.5199999809265137)">;
620
+ };
621
+ };
622
+ };
623
+ readonly iconButton: {
624
+ readonly glass: {
625
+ readonly border: {
626
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.07999999821186066)">;
627
+ readonly dark: "rgba(255, 255, 255, 0.05)";
628
+ };
629
+ readonly shadow: {
630
+ readonly light: Vars.Reference<"color", "rgb(0 0 0 / 0.11999999731779099)">;
631
+ readonly dark: Vars.Reference<"color", "rgb(0 0 0 / 0.23999999463558197)">;
632
+ };
633
+ };
634
+ };
555
635
  readonly input: {
556
636
  readonly overlay: {
557
637
  readonly border: {
@@ -866,6 +946,29 @@ export declare const inverse: Vars.Definition<{
866
946
  readonly lineHeight: "16px";
867
947
  };
868
948
  };
949
+ readonly control: {
950
+ readonly compact: {
951
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
952
+ readonly fontSize: "12px";
953
+ readonly fontWeight: 500;
954
+ readonly letterSpacing: "0px";
955
+ readonly lineHeight: "16px";
956
+ };
957
+ readonly label: {
958
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
959
+ readonly fontSize: "14px";
960
+ readonly fontWeight: 400;
961
+ readonly letterSpacing: "-0.084px";
962
+ readonly lineHeight: "20px";
963
+ };
964
+ readonly labelStrong: {
965
+ readonly fontFamily: Vars.Reference<"string", "Inter">;
966
+ readonly fontSize: "14px";
967
+ readonly fontWeight: 500;
968
+ readonly letterSpacing: "-0.084px";
969
+ readonly lineHeight: "20px";
970
+ };
971
+ };
869
972
  readonly display: {
870
973
  d1: {
871
974
  fontFamily: Vars.Reference<"string", "HB Set v0.96">;
@@ -1 +1 @@
1
- {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../src/mobile/vars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;gBAUF,KAAK;gBAA6B,IAAI;;;gBACvC,KAAK;gBAA6B,IAAI;;;gBACpC,KAAK;gBAA6B,IAAI;;;;;gBAG1C,KAAK;gBAAmC,IAAI;;;gBAEnD,KAAK;gBACL,IAAI;;;gBAGJ,KAAK;gBACL,IAAI;;;gBAGJ,KAAK;gBACL,IAAI;;;;;;;;;;;;;wBAWA,KAAK;wBACL,IAAI;;;wBAEE,KAAK;wBAA6B,IAAI;;;;;wBA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