@senvenli/react 0.0.0-stage → 0.2.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 (636) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +32 -2
  3. package/dist/action/button-group.d.ts +26 -0
  4. package/dist/action/button-group.js +12 -0
  5. package/dist/action/button-group.js.map +1 -0
  6. package/dist/action/button.d.ts +42 -0
  7. package/dist/action/button.js +58 -0
  8. package/dist/action/button.js.map +1 -0
  9. package/dist/action/close-button.d.ts +12 -0
  10. package/dist/action/close-button.js +13 -0
  11. package/dist/action/close-button.js.map +1 -0
  12. package/dist/action/copy-button.d.ts +21 -0
  13. package/dist/action/copy-button.js +38 -0
  14. package/dist/action/copy-button.js.map +1 -0
  15. package/dist/action/fab.d.ts +29 -0
  16. package/dist/action/fab.js +57 -0
  17. package/dist/action/fab.js.map +1 -0
  18. package/dist/action/files.d.ts +70 -0
  19. package/dist/action/files.js +156 -0
  20. package/dist/action/files.js.map +1 -0
  21. package/dist/action/index.d.ts +23 -0
  22. package/dist/action/index.js +16 -0
  23. package/dist/action/index.js.map +1 -0
  24. package/dist/action/language-names.d.ts +19 -0
  25. package/dist/action/language-names.js +79 -0
  26. package/dist/action/language-names.js.map +1 -0
  27. package/dist/action/language-switcher.d.ts +57 -0
  28. package/dist/action/language-switcher.js +53 -0
  29. package/dist/action/language-switcher.js.map +1 -0
  30. package/dist/action/link-button.d.ts +57 -0
  31. package/dist/action/link-button.js +48 -0
  32. package/dist/action/link-button.js.map +1 -0
  33. package/dist/action/link.d.ts +24 -0
  34. package/dist/action/link.js +18 -0
  35. package/dist/action/link.js.map +1 -0
  36. package/dist/action/pressable.d.ts +40 -0
  37. package/dist/action/pressable.js +65 -0
  38. package/dist/action/pressable.js.map +1 -0
  39. package/dist/action/styles.d.ts +60 -0
  40. package/dist/action/styles.js +109 -0
  41. package/dist/action/styles.js.map +1 -0
  42. package/dist/action/theme-script.d.ts +12 -0
  43. package/dist/action/theme-script.js +23 -0
  44. package/dist/action/theme-script.js.map +1 -0
  45. package/dist/action/theme-switcher.d.ts +43 -0
  46. package/dist/action/theme-switcher.js +260 -0
  47. package/dist/action/theme-switcher.js.map +1 -0
  48. package/dist/action/theme-toggle.d.ts +43 -0
  49. package/dist/action/theme-toggle.js +259 -0
  50. package/dist/action/theme-toggle.js.map +1 -0
  51. package/dist/action/toggle.d.ts +44 -0
  52. package/dist/action/toggle.js +28 -0
  53. package/dist/action/toggle.js.map +1 -0
  54. package/dist/action/touch-target.d.ts +9 -0
  55. package/dist/action/touch-target.js +14 -0
  56. package/dist/action/touch-target.js.map +1 -0
  57. package/dist/charts/axis-width.d.ts +186 -0
  58. package/dist/charts/axis-width.js +1262 -0
  59. package/dist/charts/axis-width.js.map +1 -0
  60. package/dist/charts/bar-public.d.ts +16 -0
  61. package/dist/charts/bar-public.js +16 -0
  62. package/dist/charts/bar-public.js.map +1 -0
  63. package/dist/charts/chart-parts.d.ts +136 -0
  64. package/dist/charts/chart-parts.js +160 -0
  65. package/dist/charts/chart-parts.js.map +1 -0
  66. package/dist/charts/core-charts.d.ts +157 -0
  67. package/dist/charts/core-charts.js +505 -0
  68. package/dist/charts/core-charts.js.map +1 -0
  69. package/dist/charts/index.d.ts +12 -0
  70. package/dist/charts/index.js +8 -0
  71. package/dist/charts/index.js.map +1 -0
  72. package/dist/charts/list-charts.d.ts +124 -0
  73. package/dist/charts/list-charts.js +308 -0
  74. package/dist/charts/list-charts.js.map +1 -0
  75. package/dist/charts/more-charts.d.ts +138 -0
  76. package/dist/charts/more-charts.js +284 -0
  77. package/dist/charts/more-charts.js.map +1 -0
  78. package/dist/charts/report-charts.d.ts +138 -0
  79. package/dist/charts/report-charts.js +370 -0
  80. package/dist/charts/report-charts.js.map +1 -0
  81. package/dist/charts/value-tick.d.ts +178 -0
  82. package/dist/charts/value-tick.js +240 -0
  83. package/dist/charts/value-tick.js.map +1 -0
  84. package/dist/collection/data-table-url-hook.d.ts +34 -0
  85. package/dist/collection/data-table-url-hook.js +70 -0
  86. package/dist/collection/data-table-url-hook.js.map +1 -0
  87. package/dist/collection/data-table-url.d.ts +30 -0
  88. package/dist/collection/data-table-url.js +48 -0
  89. package/dist/collection/data-table-url.js.map +1 -0
  90. package/dist/collection/data-table.d.ts +112 -0
  91. package/dist/collection/data-table.js +188 -0
  92. package/dist/collection/data-table.js.map +1 -0
  93. package/dist/collection/grid-list-public.d.ts +18 -0
  94. package/dist/collection/grid-list-public.js +19 -0
  95. package/dist/collection/grid-list-public.js.map +1 -0
  96. package/dist/collection/grid-list.d.ts +73 -0
  97. package/dist/collection/grid-list.js +46 -0
  98. package/dist/collection/grid-list.js.map +1 -0
  99. package/dist/collection/index.d.ts +14 -0
  100. package/dist/collection/index.js +8 -0
  101. package/dist/collection/index.js.map +1 -0
  102. package/dist/collection/list.d.ts +61 -0
  103. package/dist/collection/list.js +38 -0
  104. package/dist/collection/list.js.map +1 -0
  105. package/dist/collection/selection-checkbox.d.ts +5 -0
  106. package/dist/collection/selection-checkbox.js +13 -0
  107. package/dist/collection/selection-checkbox.js.map +1 -0
  108. package/dist/collection/table.d.ts +91 -0
  109. package/dist/collection/table.js +183 -0
  110. package/dist/collection/table.js.map +1 -0
  111. package/dist/collection/tree.d.ts +31 -0
  112. package/dist/collection/tree.js +22 -0
  113. package/dist/collection/tree.js.map +1 -0
  114. package/dist/color/color.d.ts +87 -0
  115. package/dist/color/color.js +200 -0
  116. package/dist/color/color.js.map +1 -0
  117. package/dist/color/contrast.d.ts +34 -0
  118. package/dist/color/contrast.js +44 -0
  119. package/dist/color/contrast.js.map +1 -0
  120. package/dist/color/index.d.ts +4 -0
  121. package/dist/color/index.js +5 -0
  122. package/dist/color/index.js.map +1 -0
  123. package/dist/date/calendar.d.ts +71 -0
  124. package/dist/date/calendar.js +291 -0
  125. package/dist/date/calendar.js.map +1 -0
  126. package/dist/date/fields.d.ts +174 -0
  127. package/dist/date/fields.js +250 -0
  128. package/dist/date/fields.js.map +1 -0
  129. package/dist/date/index.d.ts +7 -0
  130. package/dist/date/index.js +6 -0
  131. package/dist/date/index.js.map +1 -0
  132. package/dist/date/month-grid.d.ts +31 -0
  133. package/dist/date/month-grid.js +115 -0
  134. package/dist/date/month-grid.js.map +1 -0
  135. package/dist/date/pickers.d.ts +118 -0
  136. package/dist/date/pickers.js +176 -0
  137. package/dist/date/pickers.js.map +1 -0
  138. package/dist/date/public.d.ts +25 -0
  139. package/dist/date/public.js +24 -0
  140. package/dist/date/public.js.map +1 -0
  141. package/dist/date/segments.d.ts +153 -0
  142. package/dist/date/segments.js +433 -0
  143. package/dist/date/segments.js.map +1 -0
  144. package/dist/defaults.d.ts +74 -0
  145. package/dist/defaults.js +100 -0
  146. package/dist/defaults.js.map +1 -0
  147. package/dist/density.d.ts +2 -0
  148. package/dist/density.js +2 -0
  149. package/dist/density.js.map +1 -0
  150. package/dist/display/avatar.d.ts +29 -0
  151. package/dist/display/avatar.js +71 -0
  152. package/dist/display/avatar.js.map +1 -0
  153. package/dist/display/badge.d.ts +65 -0
  154. package/dist/display/badge.js +99 -0
  155. package/dist/display/badge.js.map +1 -0
  156. package/dist/display/card.d.ts +72 -0
  157. package/dist/display/card.js +91 -0
  158. package/dist/display/card.js.map +1 -0
  159. package/dist/display/carousel.d.ts +47 -0
  160. package/dist/display/carousel.js +214 -0
  161. package/dist/display/carousel.js.map +1 -0
  162. package/dist/display/description-list.d.ts +25 -0
  163. package/dist/display/description-list.js +36 -0
  164. package/dist/display/description-list.js.map +1 -0
  165. package/dist/display/icon-aliases.d.ts +1 -0
  166. package/dist/display/icon-aliases.js +259 -0
  167. package/dist/display/icon-aliases.js.map +1 -0
  168. package/dist/display/icon-names.d.ts +4 -0
  169. package/dist/display/icon-names.js +2 -0
  170. package/dist/display/icon-names.js.map +1 -0
  171. package/dist/display/icon.d.ts +51 -0
  172. package/dist/display/icon.js +96 -0
  173. package/dist/display/icon.js.map +1 -0
  174. package/dist/display/image-crop.d.ts +106 -0
  175. package/dist/display/image-crop.js +117 -0
  176. package/dist/display/image-crop.js.map +1 -0
  177. package/dist/display/image-cropper.d.ts +68 -0
  178. package/dist/display/image-cropper.js +284 -0
  179. package/dist/display/image-cropper.js.map +1 -0
  180. package/dist/display/image-viewer.d.ts +54 -0
  181. package/dist/display/image-viewer.js +84 -0
  182. package/dist/display/image-viewer.js.map +1 -0
  183. package/dist/display/image.d.ts +26 -0
  184. package/dist/display/image.js +17 -0
  185. package/dist/display/image.js.map +1 -0
  186. package/dist/display/index.d.ts +29 -0
  187. package/dist/display/index.js +16 -0
  188. package/dist/display/index.js.map +1 -0
  189. package/dist/display/iso-chip.d.ts +19 -0
  190. package/dist/display/iso-chip.js +21 -0
  191. package/dist/display/iso-chip.js.map +1 -0
  192. package/dist/display/kbd.d.ts +11 -0
  193. package/dist/display/kbd.js +33 -0
  194. package/dist/display/kbd.js.map +1 -0
  195. package/dist/display/lozenge.d.ts +30 -0
  196. package/dist/display/lozenge.js +55 -0
  197. package/dist/display/lozenge.js.map +1 -0
  198. package/dist/display/scroll-area.d.ts +29 -0
  199. package/dist/display/scroll-area.js +95 -0
  200. package/dist/display/scroll-area.js.map +1 -0
  201. package/dist/display/separator.d.ts +13 -0
  202. package/dist/display/separator.js +24 -0
  203. package/dist/display/separator.js.map +1 -0
  204. package/dist/display/stat.d.ts +35 -0
  205. package/dist/display/stat.js +41 -0
  206. package/dist/display/stat.js.map +1 -0
  207. package/dist/display/timeline.d.ts +44 -0
  208. package/dist/display/timeline.js +111 -0
  209. package/dist/display/timeline.js.map +1 -0
  210. package/dist/display/typography.d.ts +37 -0
  211. package/dist/display/typography.js +53 -0
  212. package/dist/display/typography.js.map +1 -0
  213. package/dist/display/visually-hidden.d.ts +14 -0
  214. package/dist/display/visually-hidden.js +10 -0
  215. package/dist/display/visually-hidden.js.map +1 -0
  216. package/dist/feedback/banner.d.ts +46 -0
  217. package/dist/feedback/banner.js +157 -0
  218. package/dist/feedback/banner.js.map +1 -0
  219. package/dist/feedback/cooldown.d.ts +17 -0
  220. package/dist/feedback/cooldown.js +59 -0
  221. package/dist/feedback/cooldown.js.map +1 -0
  222. package/dist/feedback/empty-state.d.ts +35 -0
  223. package/dist/feedback/empty-state.js +39 -0
  224. package/dist/feedback/empty-state.js.map +1 -0
  225. package/dist/feedback/index.d.ts +12 -0
  226. package/dist/feedback/index.js +11 -0
  227. package/dist/feedback/index.js.map +1 -0
  228. package/dist/feedback/meter.d.ts +33 -0
  229. package/dist/feedback/meter.js +42 -0
  230. package/dist/feedback/meter.js.map +1 -0
  231. package/dist/feedback/motion.d.ts +9 -0
  232. package/dist/feedback/motion.js +57 -0
  233. package/dist/feedback/motion.js.map +1 -0
  234. package/dist/feedback/progress.d.ts +39 -0
  235. package/dist/feedback/progress.js +68 -0
  236. package/dist/feedback/progress.js.map +1 -0
  237. package/dist/feedback/skeleton.d.ts +48 -0
  238. package/dist/feedback/skeleton.js +61 -0
  239. package/dist/feedback/skeleton.js.map +1 -0
  240. package/dist/feedback/spinner.d.ts +19 -0
  241. package/dist/feedback/spinner.js +29 -0
  242. package/dist/feedback/spinner.js.map +1 -0
  243. package/dist/feedback/status-dot.d.ts +23 -0
  244. package/dist/feedback/status-dot.js +37 -0
  245. package/dist/feedback/status-dot.js.map +1 -0
  246. package/dist/form/countries.d.ts +34 -0
  247. package/dist/form/countries.js +273 -0
  248. package/dist/form/countries.js.map +1 -0
  249. package/dist/form/data-attributes.d.ts +11 -0
  250. package/dist/form/data-attributes.js +22 -0
  251. package/dist/form/data-attributes.js.map +1 -0
  252. package/dist/form/field-parts.d.ts +113 -0
  253. package/dist/form/field-parts.js +178 -0
  254. package/dist/form/field-parts.js.map +1 -0
  255. package/dist/form/field.d.ts +36 -0
  256. package/dist/form/field.js +65 -0
  257. package/dist/form/field.js.map +1 -0
  258. package/dist/form/files.d.ts +70 -0
  259. package/dist/form/files.js +156 -0
  260. package/dist/form/files.js.map +1 -0
  261. package/dist/form/form.d.ts +40 -0
  262. package/dist/form/form.js +74 -0
  263. package/dist/form/form.js.map +1 -0
  264. package/dist/form/image-crop.d.ts +106 -0
  265. package/dist/form/image-crop.js +117 -0
  266. package/dist/form/image-crop.js.map +1 -0
  267. package/dist/form/image-cropper.d.ts +68 -0
  268. package/dist/form/image-cropper.js +284 -0
  269. package/dist/form/image-cropper.js.map +1 -0
  270. package/dist/form/index.d.ts +24 -0
  271. package/dist/form/index.js +15 -0
  272. package/dist/form/index.js.map +1 -0
  273. package/dist/form/input-group.d.ts +63 -0
  274. package/dist/form/input-group.js +63 -0
  275. package/dist/form/input-group.js.map +1 -0
  276. package/dist/form/input-otp.d.ts +35 -0
  277. package/dist/form/input-otp.js +83 -0
  278. package/dist/form/input-otp.js.map +1 -0
  279. package/dist/form/input.d.ts +36 -0
  280. package/dist/form/input.js +41 -0
  281. package/dist/form/input.js.map +1 -0
  282. package/dist/form/number-field.d.ts +84 -0
  283. package/dist/form/number-field.js +81 -0
  284. package/dist/form/number-field.js.map +1 -0
  285. package/dist/form/otp-field.d.ts +37 -0
  286. package/dist/form/otp-field.js +116 -0
  287. package/dist/form/otp-field.js.map +1 -0
  288. package/dist/form/password-field.d.ts +61 -0
  289. package/dist/form/password-field.js +61 -0
  290. package/dist/form/password-field.js.map +1 -0
  291. package/dist/form/phone-field.d.ts +104 -0
  292. package/dist/form/phone-field.js +275 -0
  293. package/dist/form/phone-field.js.map +1 -0
  294. package/dist/form/phone-paste.d.ts +24 -0
  295. package/dist/form/phone-paste.js +40 -0
  296. package/dist/form/phone-paste.js.map +1 -0
  297. package/dist/form/phone.d.ts +159 -0
  298. package/dist/form/phone.js +309 -0
  299. package/dist/form/phone.js.map +1 -0
  300. package/dist/form/search-field.d.ts +29 -0
  301. package/dist/form/search-field.js +23 -0
  302. package/dist/form/search-field.js.map +1 -0
  303. package/dist/form/styles.d.ts +31 -0
  304. package/dist/form/styles.js +43 -0
  305. package/dist/form/styles.js.map +1 -0
  306. package/dist/form/text-area.d.ts +70 -0
  307. package/dist/form/text-area.js +93 -0
  308. package/dist/form/text-area.js.map +1 -0
  309. package/dist/form/text-field.d.ts +131 -0
  310. package/dist/form/text-field.js +59 -0
  311. package/dist/form/text-field.js.map +1 -0
  312. package/dist/form/validation.d.ts +145 -0
  313. package/dist/form/validation.js +136 -0
  314. package/dist/form/validation.js.map +1 -0
  315. package/dist/i18n.d.ts +438 -0
  316. package/dist/i18n.js +948 -0
  317. package/dist/i18n.js.map +1 -0
  318. package/dist/index.d.ts +9 -0
  319. package/dist/index.js +7 -0
  320. package/dist/index.js.map +1 -0
  321. package/dist/intl-locale.d.ts +30 -0
  322. package/dist/intl-locale.js +83 -0
  323. package/dist/intl-locale.js.map +1 -0
  324. package/dist/layers.d.ts +32 -0
  325. package/dist/layers.js +33 -0
  326. package/dist/layers.js.map +1 -0
  327. package/dist/layout/auth-form-layout.d.ts +71 -0
  328. package/dist/layout/auth-form-layout.js +61 -0
  329. package/dist/layout/auth-form-layout.js.map +1 -0
  330. package/dist/layout/auth-layout.d.ts +59 -0
  331. package/dist/layout/auth-layout.js +26 -0
  332. package/dist/layout/auth-layout.js.map +1 -0
  333. package/dist/layout/box.d.ts +26 -0
  334. package/dist/layout/box.js +16 -0
  335. package/dist/layout/box.js.map +1 -0
  336. package/dist/layout/grid.d.ts +27 -0
  337. package/dist/layout/grid.js +26 -0
  338. package/dist/layout/grid.js.map +1 -0
  339. package/dist/layout/index.d.ts +16 -0
  340. package/dist/layout/index.js +12 -0
  341. package/dist/layout/index.js.map +1 -0
  342. package/dist/layout/pressable.d.ts +40 -0
  343. package/dist/layout/pressable.js +65 -0
  344. package/dist/layout/pressable.js.map +1 -0
  345. package/dist/layout/reset-sent-card.d.ts +39 -0
  346. package/dist/layout/reset-sent-card.js +22 -0
  347. package/dist/layout/reset-sent-card.js.map +1 -0
  348. package/dist/layout/scroll-area.d.ts +29 -0
  349. package/dist/layout/scroll-area.js +95 -0
  350. package/dist/layout/scroll-area.js.map +1 -0
  351. package/dist/layout/section.d.ts +41 -0
  352. package/dist/layout/section.js +22 -0
  353. package/dist/layout/section.js.map +1 -0
  354. package/dist/layout/split.d.ts +50 -0
  355. package/dist/layout/split.js +35 -0
  356. package/dist/layout/split.js.map +1 -0
  357. package/dist/layout/stack.d.ts +44 -0
  358. package/dist/layout/stack.js +36 -0
  359. package/dist/layout/stack.js.map +1 -0
  360. package/dist/layout/tokens.d.ts +33 -0
  361. package/dist/layout/tokens.js +85 -0
  362. package/dist/layout/tokens.js.map +1 -0
  363. package/dist/layout/toolbar.d.ts +37 -0
  364. package/dist/layout/toolbar.js +334 -0
  365. package/dist/layout/toolbar.js.map +1 -0
  366. package/dist/navigate-context.d.ts +12 -0
  367. package/dist/navigate-context.js +13 -0
  368. package/dist/navigate-context.js.map +1 -0
  369. package/dist/navigation/accordion.d.ts +40 -0
  370. package/dist/navigation/accordion.js +33 -0
  371. package/dist/navigation/accordion.js.map +1 -0
  372. package/dist/navigation/bottom-nav.d.ts +29 -0
  373. package/dist/navigation/bottom-nav.js +48 -0
  374. package/dist/navigation/bottom-nav.js.map +1 -0
  375. package/dist/navigation/brand-link-context.d.ts +8 -0
  376. package/dist/navigation/brand-link-context.js +9 -0
  377. package/dist/navigation/brand-link-context.js.map +1 -0
  378. package/dist/navigation/breadcrumbs.d.ts +36 -0
  379. package/dist/navigation/breadcrumbs.js +51 -0
  380. package/dist/navigation/breadcrumbs.js.map +1 -0
  381. package/dist/navigation/dock.d.ts +27 -0
  382. package/dist/navigation/dock.js +47 -0
  383. package/dist/navigation/dock.js.map +1 -0
  384. package/dist/navigation/footer.d.ts +43 -0
  385. package/dist/navigation/footer.js +43 -0
  386. package/dist/navigation/footer.js.map +1 -0
  387. package/dist/navigation/index.d.ts +22 -0
  388. package/dist/navigation/index.js +17 -0
  389. package/dist/navigation/index.js.map +1 -0
  390. package/dist/navigation/language-names.d.ts +19 -0
  391. package/dist/navigation/language-names.js +79 -0
  392. package/dist/navigation/language-names.js.map +1 -0
  393. package/dist/navigation/language-switcher.d.ts +55 -0
  394. package/dist/navigation/language-switcher.js +53 -0
  395. package/dist/navigation/language-switcher.js.map +1 -0
  396. package/dist/navigation/nav-panel.d.ts +18 -0
  397. package/dist/navigation/nav-panel.js +51 -0
  398. package/dist/navigation/nav-panel.js.map +1 -0
  399. package/dist/navigation/navbar.d.ts +73 -0
  400. package/dist/navigation/navbar.js +64 -0
  401. package/dist/navigation/navbar.js.map +1 -0
  402. package/dist/navigation/page-header.d.ts +37 -0
  403. package/dist/navigation/page-header.js +50 -0
  404. package/dist/navigation/page-header.js.map +1 -0
  405. package/dist/navigation/pagination.d.ts +25 -0
  406. package/dist/navigation/pagination.js +51 -0
  407. package/dist/navigation/pagination.js.map +1 -0
  408. package/dist/navigation/panel-header.d.ts +37 -0
  409. package/dist/navigation/panel-header.js +50 -0
  410. package/dist/navigation/panel-header.js.map +1 -0
  411. package/dist/navigation/sidebar-script.d.ts +12 -0
  412. package/dist/navigation/sidebar-script.js +20 -0
  413. package/dist/navigation/sidebar-script.js.map +1 -0
  414. package/dist/navigation/sidebar.d.ts +149 -0
  415. package/dist/navigation/sidebar.js +332 -0
  416. package/dist/navigation/sidebar.js.map +1 -0
  417. package/dist/navigation/skip-link.d.ts +12 -0
  418. package/dist/navigation/skip-link.js +30 -0
  419. package/dist/navigation/skip-link.js.map +1 -0
  420. package/dist/navigation/stepper.d.ts +50 -0
  421. package/dist/navigation/stepper.js +96 -0
  422. package/dist/navigation/stepper.js.map +1 -0
  423. package/dist/navigation/tabs.d.ts +84 -0
  424. package/dist/navigation/tabs.js +118 -0
  425. package/dist/navigation/tabs.js.map +1 -0
  426. package/dist/navigation/toolbar.d.ts +37 -0
  427. package/dist/navigation/toolbar.js +334 -0
  428. package/dist/navigation/toolbar.js.map +1 -0
  429. package/dist/overlay/alert-dialog.d.ts +63 -0
  430. package/dist/overlay/alert-dialog.js +76 -0
  431. package/dist/overlay/alert-dialog.js.map +1 -0
  432. package/dist/overlay/command-palette.d.ts +53 -0
  433. package/dist/overlay/command-palette.js +130 -0
  434. package/dist/overlay/command-palette.js.map +1 -0
  435. package/dist/overlay/command.d.ts +53 -0
  436. package/dist/overlay/command.js +129 -0
  437. package/dist/overlay/command.js.map +1 -0
  438. package/dist/overlay/context-menu.d.ts +29 -0
  439. package/dist/overlay/context-menu.js +58 -0
  440. package/dist/overlay/context-menu.js.map +1 -0
  441. package/dist/overlay/dialog.d.ts +162 -0
  442. package/dist/overlay/dialog.js +174 -0
  443. package/dist/overlay/dialog.js.map +1 -0
  444. package/dist/overlay/drawer.d.ts +41 -0
  445. package/dist/overlay/drawer.js +114 -0
  446. package/dist/overlay/drawer.js.map +1 -0
  447. package/dist/overlay/floating.d.ts +142 -0
  448. package/dist/overlay/floating.js +226 -0
  449. package/dist/overlay/floating.js.map +1 -0
  450. package/dist/overlay/hover-card.d.ts +19 -0
  451. package/dist/overlay/hover-card.js +31 -0
  452. package/dist/overlay/hover-card.js.map +1 -0
  453. package/dist/overlay/index.d.ts +18 -0
  454. package/dist/overlay/index.js +12 -0
  455. package/dist/overlay/index.js.map +1 -0
  456. package/dist/overlay/overlay-base.d.ts +105 -0
  457. package/dist/overlay/overlay-base.js +250 -0
  458. package/dist/overlay/overlay-base.js.map +1 -0
  459. package/dist/overlay/overlay.d.ts +299 -0
  460. package/dist/overlay/overlay.js +558 -0
  461. package/dist/overlay/overlay.js.map +1 -0
  462. package/dist/overlay/toast.d.ts +58 -0
  463. package/dist/overlay/toast.js +145 -0
  464. package/dist/overlay/toast.js.map +1 -0
  465. package/dist/provider.d.ts +26 -0
  466. package/dist/provider.js +30 -0
  467. package/dist/provider.js.map +1 -0
  468. package/dist/selection/autocomplete.d.ts +54 -0
  469. package/dist/selection/autocomplete.js +122 -0
  470. package/dist/selection/autocomplete.js.map +1 -0
  471. package/dist/selection/checkbox.d.ts +56 -0
  472. package/dist/selection/checkbox.js +49 -0
  473. package/dist/selection/checkbox.js.map +1 -0
  474. package/dist/selection/choice-size.d.ts +26 -0
  475. package/dist/selection/choice-size.js +50 -0
  476. package/dist/selection/choice-size.js.map +1 -0
  477. package/dist/selection/choice-text.d.ts +21 -0
  478. package/dist/selection/choice-text.js +33 -0
  479. package/dist/selection/choice-text.js.map +1 -0
  480. package/dist/selection/combobox.d.ts +173 -0
  481. package/dist/selection/combobox.js +410 -0
  482. package/dist/selection/combobox.js.map +1 -0
  483. package/dist/selection/index.d.ts +20 -0
  484. package/dist/selection/index.js +13 -0
  485. package/dist/selection/index.js.map +1 -0
  486. package/dist/selection/list-box.d.ts +30 -0
  487. package/dist/selection/list-box.js +16 -0
  488. package/dist/selection/list-box.js.map +1 -0
  489. package/dist/selection/listbox.d.ts +44 -0
  490. package/dist/selection/listbox.js +49 -0
  491. package/dist/selection/listbox.js.map +1 -0
  492. package/dist/selection/match.d.ts +20 -0
  493. package/dist/selection/match.js +57 -0
  494. package/dist/selection/match.js.map +1 -0
  495. package/dist/selection/multi-select.d.ts +72 -0
  496. package/dist/selection/multi-select.js +138 -0
  497. package/dist/selection/multi-select.js.map +1 -0
  498. package/dist/selection/radio-card.d.ts +31 -0
  499. package/dist/selection/radio-card.js +29 -0
  500. package/dist/selection/radio-card.js.map +1 -0
  501. package/dist/selection/radio.d.ts +72 -0
  502. package/dist/selection/radio.js +64 -0
  503. package/dist/selection/radio.js.map +1 -0
  504. package/dist/selection/select-public.d.ts +19 -0
  505. package/dist/selection/select-public.js +24 -0
  506. package/dist/selection/select-public.js.map +1 -0
  507. package/dist/selection/select.d.ts +72 -0
  508. package/dist/selection/select.js +69 -0
  509. package/dist/selection/select.js.map +1 -0
  510. package/dist/selection/slider.d.ts +16 -0
  511. package/dist/selection/slider.js +44 -0
  512. package/dist/selection/slider.js.map +1 -0
  513. package/dist/selection/styles.d.ts +26 -0
  514. package/dist/selection/styles.js +78 -0
  515. package/dist/selection/styles.js.map +1 -0
  516. package/dist/selection/switch.d.ts +24 -0
  517. package/dist/selection/switch.js +27 -0
  518. package/dist/selection/switch.js.map +1 -0
  519. package/dist/selection/tag-group.d.ts +38 -0
  520. package/dist/selection/tag-group.js +45 -0
  521. package/dist/selection/tag-group.js.map +1 -0
  522. package/dist/tone.d.ts +6 -0
  523. package/dist/tone.js +2 -0
  524. package/dist/tone.js.map +1 -0
  525. package/dist/utils.d.ts +9 -0
  526. package/dist/utils.js +42 -0
  527. package/dist/utils.js.map +1 -0
  528. package/manifest/component.full.schema.json +391 -0
  529. package/manifest/component.schema.json +279 -0
  530. package/manifests/accordion.json +299 -0
  531. package/manifests/alert-dialog.json +261 -0
  532. package/manifests/area-chart.json +338 -0
  533. package/manifests/autocomplete.json +299 -0
  534. package/manifests/avatar.json +253 -0
  535. package/manifests/badge.json +288 -0
  536. package/manifests/banner.json +185 -0
  537. package/manifests/bar-chart.json +454 -0
  538. package/manifests/bar-list.json +262 -0
  539. package/manifests/bottom-nav.json +139 -0
  540. package/manifests/box.json +3450 -0
  541. package/manifests/breadcrumbs.json +199 -0
  542. package/manifests/button-group.json +2294 -0
  543. package/manifests/button.json +1211 -0
  544. package/manifests/calendar-heatmap.json +218 -0
  545. package/manifests/calendar.json +299 -0
  546. package/manifests/card.json +308 -0
  547. package/manifests/carousel.json +263 -0
  548. package/manifests/chart-parts.json +309 -0
  549. package/manifests/checkbox.json +998 -0
  550. package/manifests/close-button.json +1000 -0
  551. package/manifests/color-field.json +276 -0
  552. package/manifests/color-picker.json +161 -0
  553. package/manifests/color-swatch-picker.json +220 -0
  554. package/manifests/color-swatch.json +140 -0
  555. package/manifests/combobox.json +581 -0
  556. package/manifests/command.json +275 -0
  557. package/manifests/composed-chart.json +287 -0
  558. package/manifests/context-menu.json +148 -0
  559. package/manifests/copy-button.json +192 -0
  560. package/manifests/data-table.json +334 -0
  561. package/manifests/date-field.json +302 -0
  562. package/manifests/date-picker.json +472 -0
  563. package/manifests/description-list.json +201 -0
  564. package/manifests/dialog.json +322 -0
  565. package/manifests/donut-chart.json +264 -0
  566. package/manifests/drawer.json +211 -0
  567. package/manifests/empty-state.json +185 -0
  568. package/manifests/fab.json +172 -0
  569. package/manifests/field.json +209 -0
  570. package/manifests/file-upload.json +791 -0
  571. package/manifests/form.json +829 -0
  572. package/manifests/funnel-chart.json +223 -0
  573. package/manifests/gauge-chart.json +252 -0
  574. package/manifests/grid-list.json +335 -0
  575. package/manifests/grid.json +3482 -0
  576. package/manifests/heading.json +183 -0
  577. package/manifests/heatmap.json +265 -0
  578. package/manifests/hover-card.json +172 -0
  579. package/manifests/icon.json +201 -0
  580. package/manifests/image-cropper.json +295 -0
  581. package/manifests/image-viewer.json +198 -0
  582. package/manifests/image.json +193 -0
  583. package/manifests/index.json +2035 -0
  584. package/manifests/input-group.json +3571 -0
  585. package/manifests/input.json +1557 -0
  586. package/manifests/kbd.json +98 -0
  587. package/manifests/language-switcher.json +274 -0
  588. package/manifests/line-chart.json +342 -0
  589. package/manifests/link.json +867 -0
  590. package/manifests/list-box.json +213 -0
  591. package/manifests/menu.json +453 -0
  592. package/manifests/meter.json +145 -0
  593. package/manifests/navbar.json +281 -0
  594. package/manifests/otp-field.json +1029 -0
  595. package/manifests/page-header.json +164 -0
  596. package/manifests/pagination.json +181 -0
  597. package/manifests/popover.json +205 -0
  598. package/manifests/pressable.json +367 -0
  599. package/manifests/progress.json +282 -0
  600. package/manifests/radar-chart.json +229 -0
  601. package/manifests/radial-chart.json +195 -0
  602. package/manifests/radio.json +975 -0
  603. package/manifests/scatter-chart.json +277 -0
  604. package/manifests/scroll-area.json +127 -0
  605. package/manifests/section.json +169 -0
  606. package/manifests/select.json +474 -0
  607. package/manifests/separator.json +119 -0
  608. package/manifests/sidebar.json +584 -0
  609. package/manifests/skeleton.json +235 -0
  610. package/manifests/skip-link.json +89 -0
  611. package/manifests/slider.json +706 -0
  612. package/manifests/sparkline.json +208 -0
  613. package/manifests/spinner.json +105 -0
  614. package/manifests/split.json +6618 -0
  615. package/manifests/stack.json +3541 -0
  616. package/manifests/stat.json +192 -0
  617. package/manifests/stepper.json +279 -0
  618. package/manifests/switch.json +205 -0
  619. package/manifests/table.json +375 -0
  620. package/manifests/tabs.json +438 -0
  621. package/manifests/tag-group.json +264 -0
  622. package/manifests/text-area.json +1136 -0
  623. package/manifests/text.json +244 -0
  624. package/manifests/theme-switcher.json +152 -0
  625. package/manifests/time-field.json +284 -0
  626. package/manifests/timeline.json +196 -0
  627. package/manifests/toast.json +87 -0
  628. package/manifests/toggle-button.json +1489 -0
  629. package/manifests/toolbar.json +145 -0
  630. package/manifests/tooltip.json +181 -0
  631. package/manifests/tracker.json +192 -0
  632. package/manifests/tree.json +245 -0
  633. package/manifests/visually-hidden.json +114 -0
  634. package/package.json +117 -3
  635. package/styles/base.css +56 -0
  636. package/styles/theme.css +154 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AASrF,MAAM,KAAK,GAAY;IACrB,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,sBAAsB;CAC3B,CAAC;AAEF,MAAM,QAAQ,GAAY;IACxB,EAAE,EAAE,YAAY;CACjB,CAAC;AAEF,MAAM,KAAK,GAAY;IACrB,EAAE,EAAE,OAAO;CACZ,CAAC;AAEF,MAAM,aAAa,GAAY;IAC7B,EAAE,EAAE,eAAe;CACpB,CAAC;AAEF,MAAM,aAAa,GAAY;IAC7B,EAAE,EAAE,eAAe;CACpB,CAAC;AAEF,mDAAmD;AACnD,MAAM,QAAQ,GAA6C;IACzD,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;CAC/B,CAAC;AAEF,sEAAsE;AACtE,MAAM,UAAU,GAAY;IAC1B,EAAE,EAAE,+BAA+B;CACpC,CAAC;AAEF,MAAM,QAAQ,GAAY;IACxB,EAAE,EAA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AAS,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB;CAClH,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC","sourcesContent":["import { aliasSourcesOf, intlLocale } from \"./intl-locale\";\n\nexport { contentLang, formatDateTime, hasIntlData, intlLocale } from \"./intl-locale\";\n\n/**\n * Built-in English strings of the components. Other languages are added by the app with\n * `registerDsStrings(locale, strings)`; anything not registered falls back to English.\n * Consumers can also override each string through the component's own prop.\n */\ntype Strings = Record<string, string>;\n\nconst CLOSE: Strings = {\n en: \"Close\",\n};\n\nconst NEW_TAB: Strings = {\n en: \"(opens in a new tab)\",\n};\n\nconst OPTIONAL: Strings = {\n en: \"(optional)\",\n};\n\nconst CLEAR: Strings = {\n en: \"Clear\",\n};\n\nconst SHOW_PASSWORD: Strings = {\n en: \"Show password\",\n};\n\nconst HIDE_PASSWORD: Strings = {\n en: \"Hide password\",\n};\n\n/** Password strength words: weak, fair, strong. */\nconst STRENGTH: Record<string, [string, string, string]> = {\n en: [\"Weak\", \"Fair\", \"Strong\"],\n};\n\n/** \"{n} characters over the limit\" (n is formatted by the caller). */\nconst OVER_LIMIT: Strings = {\n en: \"{n} characters over the limit\",\n};\n\nconst REQUIRED: Strings = {\n en: \"Fill in this field.\",\n};\n\nconst LIMIT_EXCEEDED: Strings = {\n en: \"Character limit exceeded\",\n};\n\nconst RESEND: Strings = {\n en: \"Resend code\",\n};\n\n/** \"{time}\" is a m:ss countdown. */\nconst RESEND_IN: Strings = {\n en: \"Resend in {time}\",\n};\n\nconst INCREASE: Strings = {\n en: \"Increase\",\n};\n\nconst DECREASE: Strings = {\n en: \"Decrease\",\n};\n\nconst CHOOSE_FILES: Strings = {\n en: \"choose from your computer\",\n};\n\n/** \"{choose}\" is the picker link: \"or choose from your computer\". */\nconst OR_CHOOSE: Strings = {\n en: \"or {choose}\",\n};\n\nconst UP_TO: Strings = {\n en: \"up to {size}\",\n};\n\nconst TOO_LARGE: Strings = {\n en: \"The file is over the {size} limit.\",\n};\n\nconst ONLY_ONE: Strings = {\n en: \"Only one file can be added here.\",\n};\nconst WRONG_TYPE: Strings = {\n en: \"This file type is not accepted.\",\n};\n\nconst CANCEL_UPLOAD: Strings = {\n en: \"Cancel upload\",\n};\n\nconst SELECT_PLACEHOLDER: Strings = {\n en: \"Select\",\n};\nconst SELECT_ALL: Strings = {\n en: \"Select all\",\n};\nconst SELECTED_COUNT: Strings = {\n en: \"{count} selected\",\n};\nconst MORE_COUNT: Strings = {\n en: \"{count} more\",\n};\nconst REMOVE_ITEM: Strings = {\n en: \"Remove {label}\",\n};\nconst NO_MATCH: Strings = {\n en: \"No results for “{query}”.\",\n};\nconst CREATE_ITEM: Strings = {\n en: \"Add “{query}”\",\n};\nconst LOADING: Strings = {\n en: \"Loading…\",\n};\nconst SHOW_SUGGESTIONS: Strings = {\n en: \"Show suggestions\",\n};\nconst CLEAR_ALL: Strings = {\n en: \"Clear all\",\n};\nconst ACTION_FAILED: Strings = {\n en: \"That did not work. Try again.\",\n};\nconst RETRY: Strings = {\n en: \"Try again\",\n};\nconst ERROR_CODE: Strings = {\n en: \"Error code: {code}\",\n};\nconst SELECTED: Strings = {\n en: \"Selected\",\n};\nconst ONLINE: Strings = {\n en: \"online\",\n};\nconst MORE_PEOPLE: Strings = {\n en: \"{count} more\",\n};\nconst DELTA_UP: Strings = {\n en: \"up {value}\",\n};\nconst DELTA_DOWN: Strings = {\n en: \"down {value}\",\n};\nconst NO_CHANGE: Strings = {\n en: \"no change\",\n};\nconst NOT_SET: Strings = {\n en: \"Not set\",\n};\nconst COPY_VALUE: Strings = {\n en: \"Copy: {label}\",\n};\nconst COPY: Strings = {\n en: \"Copy\",\n};\nconst COPIED: Strings = {\n en: \"Copied\",\n};\nconst COPY_FAILED: Strings = {\n en: \"Could not copy\",\n};\nconst IMAGE_POSITION: Strings = {\n en: \"Image {index} of {total}\",\n};\nconst PREVIOUS_IMAGE: Strings = {\n en: \"Previous image\",\n};\nconst NEXT_IMAGE: Strings = {\n en: \"Next image\",\n};\nconst GO_TO_IMAGE: Strings = {\n en: \"Go to image {index}\",\n};\nconst THEME: Strings = {\n en: \"Theme\",\n};\nconst THEME_SYSTEM: Strings = {\n en: \"System\",\n};\nconst THEME_LIGHT: Strings = {\n en: \"Light\",\n};\nconst THEME_DARK: Strings = {\n en: \"Dark\",\n};\nconst THEME_NOW_LIGHT: Strings = {\n en: \"now light\",\n};\nconst THEME_NOW_DARK: Strings = {\n en: \"now dark\",\n};\nconst PREVIOUS_MONTH: Strings = {\n en: \"Previous month\",\n};\nconst NEXT_MONTH: Strings = {\n en: \"Next month\",\n};\n/** DatePicker granularity=\"month\": the month grid's year stepper and its \"this month\" action. */\nconst PREVIOUS_YEAR: Strings = {\n en: \"Previous year\",\n};\nconst NEXT_YEAR: Strings = {\n en: \"Next year\",\n};\nconst THIS_MONTH: Strings = {\n en: \"This month\",\n};\n/**\n * A date picker's bounds and an unavailable day, in the provider locale: React Aria words these after\n * the browser's language instead. \"{date}\" is the bound, formatted by the caller. Where React Aria has the locale,\n * the wording is its own, so only the language changes.\n */\nconst DATE_MIN: Strings = {\n en: \"Value must be {date} or later.\",\n};\nconst DATE_MAX: Strings = {\n en: \"Value must be {date} or earlier.\",\n};\n/** The same with a month; English uses the date sentences. Apps register per-locale month wording if they need it. */\nconst MONTH_MIN: Strings = { ...DATE_MIN };\nconst MONTH_MAX: Strings = { ...DATE_MAX };\nconst DATE_UNAVAILABLE: Strings = {\n en: \"Selected date unavailable.\",\n};\nconst TODAY: Strings = {\n en: \"Today\",\n};\nconst RANGE_START: Strings = {\n en: \"Start\",\n};\nconst RANGE_END: Strings = {\n en: \"End\",\n};\nconst RANGE_START_TIME: Strings = {\n en: \"Start time\",\n};\nconst RANGE_END_TIME: Strings = {\n en: \"End time\",\n};\n/**\n * A date, a date and time, or a time typed in part: {parts} is the missing parts, each in the form the\n * sentence takes it (the object of \"enter\": see DATE_PART_NAMES), listed with `datePartsLabel`. One sentence per kind of\n * field, so the subject can agree with what is incomplete in languages that need it.\n */\nconst DATE_INCOMPLETE: Strings = {\n en: \"Incomplete date: enter {parts}, or clear the field.\",\n};\nconst DATE_TIME_INCOMPLETE: Strings = {\n en: \"Incomplete date and time: enter {parts}, or clear the field.\",\n};\nconst TIME_INCOMPLETE: Strings = {\n en: \"Incomplete time: enter {parts}, or clear the field.\",\n};\n/** The parts of a date or time a field may miss (React Aria's segment types; an era is never typed in the DS). */\nexport type DatePartName = \"day\" | \"month\" | \"year\" | \"hour\" | \"minute\" | \"second\" | \"dayPeriod\";\n/**\n * Each part as the object of \"enter\" in DATE_INCOMPLETE and its siblings: in many languages that is not the\n * nominative name Intl gives (an accusative, often with an article), so apps register the form their sentence needs\n * (`registerDsStrings(locale, { dateParts })`). The AM/PM segment of a 12-hour clock is named only when the hour is typed\n * and it is not.\n */\nconst DATE_PART_NAMES: Record<string, Record<DatePartName, string>> = {\n en: { day: \"the day\", month: \"the month\", year: \"the year\", hour: \"the hour\", minute: \"the minutes\", second: \"the seconds\", dayPeriod: \"AM/PM\" },\n};\n/**\n * How the list of parts is joined: [between two, before the last of three or more]; every other pair takes \", \".\n * The DS's own words, so the list never depends on the runtime's Intl data (CLDR's lists, written out).\n */\nconst LIST_AND: Record<string, [string, string]> = {\n en: [\" and \", \", and \"],\n};\n/**\n * \"{month} has {n} days\" for a day past the month's end (31.11). {month} is a registered month name (`months`) in the\n * form the sentence takes it, else Intl's long month name in the locale.\n */\nconst MONTH_HAS_DAYS: Strings = {\n en: \"{month} has {n} days.\",\n};\n/**\n * The same for a month the DS has no name for: a field in a calendar whose months are not the Gregorian ones (an\n * Islamic or Persian calendar, which React Aria takes from a locale outside the 14, such as ar-SA or fa, or from a\n * -u-ca- tag).\n */\nconst THIS_MONTH_HAS_DAYS: Strings = {\n en: \"This month has {n} days.\",\n};\n/**\n * The Gregorian months (January first) as MONTH_HAS_DAYS takes them: the sentence's subject, capitalised as its first\n * word: each language's own names (hr \"Studeni\"; me and sr \"Jun\", \"Jul\", \"Avgust\"; bs \"Juni\", \"Juli\", \"August\"; no\n * month name differs between Ijekavian and Ekavian), the nominative after the article in el (\"Ο Νοέμβριος\"), the\n * definite form in sq (\"Nëntori ka 30 ditë.\"), and the prepositional after \"в\" in ru (\"В ноябре 30 дней.\").\n */\nconst MONTH_HAS_DAYS_MONTHS: Record<string, readonly string[]> = {\n en: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n};\nconst PREVIEW: Strings = {\n en: \"Preview\",\n};\nconst PREVIEW_ACTION: Strings = {\n en: \"Get started\",\n};\n/** \"{ratio}\" is the measured contrast, formatted by the caller (\"3,3:1\"). */\nconst LOW_IN_LIGHT: Strings = {\n en: \"This tone is not enough in the light theme: {ratio}\",\n};\nconst LOW_IN_DARK: Strings = {\n en: \"This tone is not enough in the dark theme: {ratio}\",\n};\n/** \"{hex}\" is the tone the system uses instead (\"#6EA8FE\"). */\nconst FIX_IN_LIGHT: Strings = {\n en: \"In the light theme, filled buttons use the tone {hex} instead.\",\n};\nconst FIX_IN_DARK: Strings = {\n en: \"In the dark theme, filled buttons use the tone {hex} instead.\",\n};\nconst NO_STEP_PASSES: Strings = {\n en: \"No tone of this color reaches AA: actions keep the theme color and yours shows in accents only.\",\n};\n/** \"{example}\" is a valid value (\"#1E63D0\"). */\nconst HEX_EXPECTED: Strings = {\n en: \"Enter a 6-digit hex code: {example}\",\n};\nconst CUSTOM_COLOR: Strings = {\n en: \"Choose a custom color\",\n};\n/** \"{name} · selected\" under a swatch picker. */\nconst NAME_SELECTED: Strings = {\n en: \"{name} · selected\",\n};\nconst CANCEL: Strings = {\n en: \"Cancel\",\n};\n/** \"{text}\" is what the user types, quoted by the caller's own words (\"PG AB 482\"). */\nconst TYPE_TO_CONFIRM: Strings = {\n en: \"Type {text} to confirm\",\n};\nconst UNSAVED_TITLE: Strings = {\n en: \"Changes not saved\",\n};\nconst UNSAVED_BODY: Strings = {\n en: \"If you close now, your changes are lost.\",\n};\nconst DISCARD_CLOSE: Strings = {\n en: \"Close without saving\",\n};\nconst KEEP_EDITING: Strings = {\n en: \"Keep editing\",\n};\nconst EXPAND_SHEET: Strings = {\n en: \"Expand panel\",\n};\nconst COLLAPSE_SHEET: Strings = {\n en: \"Collapse panel\",\n};\nconst MAIN_NAVIGATION: Strings = {\n en: \"Main menu\",\n};\nconst OPEN_MENU: Strings = {\n en: \"Open menu\",\n};\nconst LANGUAGE: Strings = {\n en: \"Language\",\n};\nconst COLLAPSE_SIDEBAR: Strings = {\n en: \"Collapse menu\",\n};\nconst EXPAND_SIDEBAR: Strings = {\n en: \"Expand menu\",\n};\nconst LOCATION: Strings = {\n en: \"Location\",\n};\nconst SHOW_HIDDEN_LEVELS: Strings = {\n en: \"Show hidden levels\",\n};\nconst PAGES: Strings = {\n en: \"Pages\",\n};\nconst PREVIOUS_PAGE: Strings = {\n en: \"Previous page\",\n};\nconst NEXT_PAGE: Strings = {\n en: \"Next page\",\n};\nconst PAGE_N: Strings = {\n en: \"Page {n}\",\n};\nconst PAGE_OF: Strings = {\n en: \"Page {page} of {total}\",\n};\nconst RANGE_OF: Strings = {\n en: \"{from}–{to} of {total}\",\n};\nconst PER_PAGE: Strings = {\n en: \"Per page\",\n};\nconst STEP_N: Strings = {\n en: \"Step {n}\",\n};\nconst STEP_N_OF: Strings = {\n en: \"Step {n} of {total}\",\n};\nconst STEP_DONE: Strings = {\n en: \"Done\",\n};\nconst STEP_NOW: Strings = {\n en: \"Now\",\n};\nconst STEP_NEEDS_YOU: Strings = {\n en: \"Waiting for you\",\n};\nconst STEP_WITH_PROVIDER: Strings = {\n en: \"With us\",\n};\nconst STEP_FAILED: Strings = {\n en: \"Something went wrong\",\n};\nconst PROGRESS_STEPS: Strings = {\n en: \"Progress\",\n};\n/** A finished Stepper: every step done, none current. */\nconst STEPS_ALL_DONE: Strings = {\n en: \"All steps done\",\n};\nconst CLEAR_SELECTION: Strings = {\n en: \"Clear selection\",\n};\nconst SKIP_TO_CONTENT: Strings = {\n en: \"Skip to content\",\n};\nconst HOME_PAGE: Strings = {\n en: \"{name} home\",\n};\nconst SELECTION: Strings = {\n en: \"Selection\",\n};\nconst SHOW_DATA_TABLE: Strings = {\n en: \"Show the data as a table\",\n};\nconst HIDE_DATA_TABLE: Strings = {\n en: \"Hide the table\",\n};\nconst CHART_NO_DATA: Strings = {\n en: \"No data for this period\",\n};\nconst CHART_PERIOD: Strings = {\n en: \"Period\",\n};\nconst CHART_CATEGORY: Strings = {\n en: \"Category\",\n};\nconst SPARKLINE_SUMMARY: Strings = {\n en: \"First {first}, last {last}; low {min}, high {max}\",\n};\nconst GAUGE_TARGET: Strings = {\n en: \"Target {target}\",\n};\nconst CHART_OTHER: Strings = {\n en: \"Other\",\n};\nconst SHOW_ALL: Strings = {\n en: \"Show all\",\n};\nconst SHOW_FEWER: Strings = {\n en: \"Show fewer\",\n};\nconst HEATMAP_LESS: Strings = {\n en: \"Less\",\n};\nconst HEATMAP_MORE: Strings = {\n en: \"More\",\n};\nconst CHART_BAND: Strings = {\n en: \"Band {from}–{to}\",\n};\nconst CHART_STATUS: Strings = {\n en: \"Status\",\n};\nconst CHART_CONVERSION: Strings = {\n en: \"Conversion\",\n};\n// Waterfall and seasonality heatmap.\nconst CHART_CHANGE: Strings = {\n en: \"Change\",\n};\nconst CHART_TOTAL: Strings = {\n en: \"Total\",\n};\nconst CHART_INCREASE: Strings = {\n en: \"Increase\",\n};\nconst CHART_DECREASE: Strings = {\n en: \"Decrease\",\n};\nconst CHART_NO_VALUE: Strings = {\n en: \"No data\",\n};\nconst PHONE_COUNTRY: Strings = {\n en: \"Country: {country}, {code}\",\n};\nconst PHONE_COUNTRY_LIST: Strings = {\n en: \"Country\",\n};\nconst PHONE_COUNTRY_SEARCH: Strings = {\n en: \"Search countries\",\n};\nconst PHONE_SUGGESTED_COUNTRIES: Strings = {\n en: \"Suggested countries\",\n};\nconst PHONE_ALL_COUNTRIES: Strings = {\n en: \"All countries\",\n};\nconst PHONE_TOO_SHORT: Strings = {\n en: \"The number looks incomplete. {country} numbers have {digits} digits.\",\n};\nconst PHONE_TOO_LONG: Strings = {\n en: \"The number looks too long. {country} numbers have {digits} digits.\",\n};\nconst TABLE_SEARCH: Strings = {\n en: \"Search\",\n};\nconst TABLE_COLUMNS: Strings = {\n en: \"Columns\",\n};\nconst TABLE_CLEAR_FILTERS: Strings = {\n en: \"Clear filters\",\n};\nconst TABLE_EMPTY: Strings = {\n en: \"No records yet\",\n};\nconst TABLE_NO_RESULTS: Strings = {\n en: \"No records match your search and filters\",\n};\nconst TABLE_LOAD_FAILED: Strings = {\n en: \"The list could not be loaded\",\n};\nconst TABLE_LOAD_FAILED_HINT: Strings = {\n en: \"Check your connection and try again; your search and filters are kept.\",\n};\nconst TABLE_TOOLS: Strings = {\n en: \"List tools\",\n};\nconst TABLE_SELECTED: Strings = {\n en: \"Selected records\",\n};\nconst CROP_HELP: Strings = {\n en: \"Arrow keys move the image (Shift for more), plus and minus zoom, square brackets rotate.\",\n};\nconst CROP_STATUS: Strings = {\n en: \"Zoom {zoom}, {position}\",\n};\nconst CROP_CENTERED: Strings = {\n en: \"position centered\",\n};\nconst CROP_POSITION: Strings = {\n en: \"position {x} across, {y} down\",\n};\nconst CROP_ZOOM: Strings = {\n en: \"Zoom\",\n};\nconst CROP_ZOOM_IN: Strings = {\n en: \"Zoom in\",\n};\nconst CROP_ZOOM_OUT: Strings = {\n en: \"Zoom out\",\n};\nconst CROP_ROTATE_LEFT: Strings = {\n en: \"Rotate left\",\n};\nconst CROP_ROTATE_RIGHT: Strings = {\n en: \"Rotate right\",\n};\nconst CROP_ASPECT: Strings = {\n en: \"Aspect\",\n};\nconst CROP_FIT: Strings = {\n en: \"Fit\",\n};\nconst CROP_COVER: Strings = {\n en: \"Fill\",\n};\nconst CROP_CONTAIN: Strings = {\n en: \"Fit\",\n};\nconst CROP_SAVE_FAILED: Strings = {\n en: \"The image could not be saved. Try again, or choose a smaller image.\",\n};\nconst CROP_BACKGROUND: Strings = {\n en: \"Empty area color\",\n};\nconst COLOR_WHITE: Strings = {\n en: \"White\",\n};\nconst COLOR_LIGHT_GREY: Strings = {\n en: \"Light gray\",\n};\nconst COLOR_BLACK: Strings = {\n en: \"Black\",\n};\nconst CROP_OUTPUT: Strings = {\n en: \"Output: {size} · {type}\",\n};\nconst CROP_KEEPS_ALPHA: Strings = {\n en: \"transparent area kept\",\n};\nconst CROP_SMALL: Strings = {\n en: \"The image is {width} px wide; it is saved at {size} without enlarging.\",\n};\n/** A crop over the surface's byte limit even at the lowest quality allowed; {size} is formatted by the caller. */\nconst CROP_TOO_LARGE: Strings = {\n en: \"The cropped image is over the {size} limit. Zoom in to crop a smaller area, or choose another image.\",\n};\nconst CROP_SAVE: Strings = {\n en: \"Crop and save\",\n};\nconst CROP_LOAD_FAILED: Strings = {\n en: \"The image could not be opened. Choose another file.\",\n};\nconst CHART_TREND: Strings = {\n en: \"Trend\",\n};\nconst CHART_SHARE: Strings = {\n en: \"Share\",\n};\nconst CHART_VALUE: Strings = {\n en: \"Value\",\n};\nconst COMMAND_PALETTE: Strings = {\n en: \"Command\",\n};\nconst COMMAND_SEARCH: Strings = {\n en: \"Search records or actions\",\n};\nconst RECENT_RECORDS: Strings = {\n en: \"Recent\",\n};\nconst FREQUENT_ACTIONS: Strings = {\n en: \"Frequent actions\",\n};\nconst HINT_MOVE: Strings = {\n en: \"move\",\n};\nconst HINT_OPEN: Strings = {\n en: \"open\",\n};\nconst HINT_CLOSE: Strings = {\n en: \"close\",\n};\nconst RANGE_TOO_SHORT: Strings = {\n en: \"Range too short\",\n};\nconst RANGE_TOO_LONG: Strings = {\n en: \"Range too long\",\n};\nconst RANGE_CROSSES_CLOSED: Strings = {\n en: \"A closed day is in between\",\n};\nconst RANGE_MIN: Strings = {\n en: \"Minimum\",\n};\nconst RANGE_MAX: Strings = {\n en: \"Maximum\",\n};\nconst REMOVE_FILE: Strings = {\n en: \"Remove file\",\n};\n\nconst REPLACE: Strings = {\n en: \"Replace\",\n};\n\nconst UPLOADED: Strings = {\n en: \"uploaded\",\n};\n\n/** Locales with registered strings; English is built in. */\nconst registered = new Set<string>([\"en\"]);\n\n/** The table key for a locale: a registered exact tag (\"pt-BR\"), else its language (\"pt\"), else English. */\nfunction tableKey(locale: string): string {\n const find = (tag: string): string | undefined => {\n const lower = tag.toLowerCase();\n for (const key of registered) if (key.toLowerCase() === lower) return key;\n const language = lower.split(/[-_]/)[0] ?? \"en\";\n return registered.has(language) ? language : undefined;\n };\n // Inside components the locale is the alias target (`registerLocaleAliases`); its strings live under the app tag.\n for (const source of aliasSourcesOf(locale)) {\n const key = find(source);\n if (key) return key;\n }\n return find(locale) ?? \"en\";\n}\n\n/** Whether components have their own words for a locale; others fall back to English. */\nexport function hasDsStrings(locale: string): boolean {\n return tableKey(locale) !== \"en\" || locale.toLowerCase().split(/[-_]/)[0] === \"en\";\n}\n\nexport type DsStringKey = keyof typeof DS_STRINGS;\nexport type DsStringsInput = Partial<Record<DsStringKey, string>> & {\n strength?: [string, string, string];\n /** Month names in the form `monthHasDays` uses (\"{month} has {n} days.\"), January first. */\n months?: readonly string[];\n /** The parts of a date as the object of \"enter\" in the incomplete-date sentences. */\n dateParts?: Record<DatePartName, string>;\n /** How the missing parts are joined: [between two, before the last of three or more]. */\n listAnd?: [string, string];\n};\n\n/**\n * Add a language: give the component strings for `locale` (any subset; missing ones stay English).\n * Call once at startup, before rendering, for every locale the app supports.\n *\n * registerDsStrings(\"de\", { close: \"Schließen\", optional: \"(optional)\" });\n */\nexport function registerDsStrings(locale: string, strings: DsStringsInput): void {\n const tables = DS_STRINGS as unknown as Record<string, Record<string, string>>;\n for (const [key, value] of Object.entries(strings)) {\n if (key === \"strength\" && Array.isArray(value)) STRENGTH[locale] = value as [string, string, string];\n else if (key === \"months\" && Array.isArray(value)) MONTH_HAS_DAYS_MONTHS[locale] = value as readonly string[];\n else if (key === \"dateParts\" && value && typeof value === \"object\") DATE_PART_NAMES[locale] = value as Record<DatePartName, string>;\n else if (key === \"listAnd\" && Array.isArray(value)) LIST_AND[locale] = value as [string, string];\n else if (typeof value === \"string\" && tables[key]) tables[key]![locale] = value;\n }\n registered.add(locale);\n}\n\nfunction pick(strings: Strings, locale: string): string {\n return strings[tableKey(locale)] ?? strings.en;\n}\n\n\nconst formatCount = (locale: string, count: number) => new Intl.NumberFormat(intlLocale(locale)).format(count);\n\nexport const closeLabel = (locale: string) => pick(CLOSE, locale);\nexport const newTabLabel = (locale: string) => pick(NEW_TAB, locale);\nexport const optionalLabel = (locale: string) => pick(OPTIONAL, locale);\nexport const clearLabel = (locale: string) => pick(CLEAR, locale);\nexport const showPasswordLabel = (locale: string) => pick(SHOW_PASSWORD, locale);\nexport const hidePasswordLabel = (locale: string) => pick(HIDE_PASSWORD, locale);\nexport function strengthLabels(locale: string): [string, string, string] {\n return STRENGTH[tableKey(locale)] ?? STRENGTH.en;\n}\nexport function overLimitLabel(locale: string, count: number): string {\n return pick(OVER_LIMIT, locale).replace(\"{n}\", formatCount(locale, count));\n}\nexport const requiredLabel = (locale: string) => pick(REQUIRED, locale);\nexport const limitExceededLabel = (locale: string) => pick(LIMIT_EXCEEDED, locale);\nexport const resendLabel = (locale: string) => pick(RESEND, locale);\nexport function resendInLabel(locale: string, seconds: number): string {\n const time = `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, \"0\")}`;\n return pick(RESEND_IN, locale).replace(\"{time}\", time);\n}\nexport const increaseLabel = (locale: string) => pick(INCREASE, locale);\nexport const decreaseLabel = (locale: string) => pick(DECREASE, locale);\nexport const chooseFilesLabel = (locale: string) => pick(CHOOSE_FILES, locale);\nexport const orChooseTemplate = (locale: string) => pick(OR_CHOOSE, locale);\nexport const upToLabel = (locale: string, size: string) => pick(UP_TO, locale).replace(\"{size}\", size);\nexport const tooLargeLabel = (locale: string, size: string) => pick(TOO_LARGE, locale).replace(\"{size}\", size);\nexport const wrongTypeLabel = (locale: string) => pick(WRONG_TYPE, locale);\nexport const onlyOneLabel = (locale: string) => pick(ONLY_ONE, locale);\nexport const selectPlaceholder = (locale: string) => pick(SELECT_PLACEHOLDER, locale);\nexport const selectAllLabel = (locale: string) => pick(SELECT_ALL, locale);\nexport const selectedCountLabel = (locale: string, count: number) =>\n pick(SELECTED_COUNT, locale).replace(\"{count}\", formatCount(locale, count));\nexport const moreCountLabel = (locale: string, count: number) =>\n pick(MORE_COUNT, locale).replace(\"{count}\", formatCount(locale, count));\nexport const removeItemLabel = (locale: string, label: string) => pick(REMOVE_ITEM, locale).replace(\"{label}\", label);\nexport const noMatchLabel = (locale: string, query: string) => pick(NO_MATCH, locale).replace(\"{query}\", query);\nexport const createItemLabel = (locale: string, query: string) => pick(CREATE_ITEM, locale).replace(\"{query}\", query);\nexport const loadingLabel = (locale: string) => pick(LOADING, locale);\nexport const showSuggestionsLabel = (locale: string) => pick(SHOW_SUGGESTIONS, locale);\nexport const clearAllLabel = (locale: string) => pick(CLEAR_ALL, locale);\nexport const actionFailedLabel = (locale: string) => pick(ACTION_FAILED, locale);\nexport const retryLabel = (locale: string) => pick(RETRY, locale);\nexport const errorCodeLabel = (locale: string) => pick(ERROR_CODE, locale);\nexport const selectedLabel = (locale: string) => pick(SELECTED, locale);\nexport const onlineLabel = (locale: string) => pick(ONLINE, locale);\nexport const morePeopleLabel = (locale: string, count: number) =>\n pick(MORE_PEOPLE, locale).replace(\"{count}\", formatCount(locale, count));\nexport const deltaLabel = (locale: string, direction: \"up\" | \"down\" | \"flat\", value: string) =>\n direction === \"flat\" ? pick(NO_CHANGE, locale) : pick(direction === \"up\" ? DELTA_UP : DELTA_DOWN, locale).replace(\"{value}\", value);\nexport const notSetLabel = (locale: string) => pick(NOT_SET, locale);\nexport const copyValueLabel = (locale: string, label: string) => pick(COPY_VALUE, locale).replace(\"{label}\", label);\nexport const copyLabel = (locale: string) => pick(COPY, locale);\nexport const copiedLabel = (locale: string) => pick(COPIED, locale);\nexport const copyFailedLabel = (locale: string) => pick(COPY_FAILED, locale);\nexport const imagePositionLabel = (locale: string, index: number, total: number) =>\n pick(IMAGE_POSITION, locale).replace(\"{index}\", formatCount(locale, index)).replace(\"{total}\", formatCount(locale, total));\nexport const previousImageLabel = (locale: string) => pick(PREVIOUS_IMAGE, locale);\nexport const nextImageLabel = (locale: string) => pick(NEXT_IMAGE, locale);\nexport const goToImageLabel = (locale: string, index: number) => pick(GO_TO_IMAGE, locale).replace(\"{index}\", formatCount(locale, index));\nexport const themeLabels = (locale: string) => ({\n theme: pick(THEME, locale),\n system: pick(THEME_SYSTEM, locale),\n light: pick(THEME_LIGHT, locale),\n dark: pick(THEME_DARK, locale),\n nowLight: pick(THEME_NOW_LIGHT, locale),\n nowDark: pick(THEME_NOW_DARK, locale),\n});\nexport const previousMonthLabel = (locale: string) => pick(PREVIOUS_MONTH, locale);\nexport const nextMonthLabel = (locale: string) => pick(NEXT_MONTH, locale);\nexport const todayLabel = (locale: string) => pick(TODAY, locale);\nexport const previousYearLabel = (locale: string) => pick(PREVIOUS_YEAR, locale);\nexport const nextYearLabel = (locale: string) => pick(NEXT_YEAR, locale);\nexport const thisMonthLabel = (locale: string) => pick(THIS_MONTH, locale);\nexport const dateMinLabel = (locale: string, date: string, isMonth = false) => pick(isMonth ? MONTH_MIN : DATE_MIN, locale).replace(\"{date}\", date);\nexport const dateMaxLabel = (locale: string, date: string, isMonth = false) => pick(isMonth ? MONTH_MAX : DATE_MAX, locale).replace(\"{date}\", date);\nexport const dateUnavailableLabel = (locale: string) => pick(DATE_UNAVAILABLE, locale);\nexport const rangeStartLabel = (locale: string) => pick(RANGE_START, locale);\nexport const rangeEndLabel = (locale: string) => pick(RANGE_END, locale);\nexport const rangeStartTimeLabel = (locale: string) => pick(RANGE_START_TIME, locale);\nexport const rangeEndTimeLabel = (locale: string) => pick(RANGE_END_TIME, locale);\n/** The missing parts, in the given order, as the object of the incomplete sentence (\"the day and the month\", \"the day, the month, and the year\"). */\nexport function datePartsLabel(locale: string, parts: readonly DatePartName[]): string {\n const key = tableKey(locale);\n const names = DATE_PART_NAMES[key] ?? DATE_PART_NAMES.en!;\n const [pair, last] = LIST_AND[key] ?? LIST_AND.en!;\n const words = parts.map((part) => names[part]);\n if (words.length <= 1) return words.join(\"\");\n if (words.length === 2) return words.join(pair);\n // Arabic lists take the Arabic comma (\"اليوم، الشهر والسنة\"); its \"و\" joins the next word with no space.\n return words.slice(0, -1).join(key === \"ar\" ? \"، \" : \", \") + last + words[words.length - 1];\n}\n/** \"Incomplete date: enter the month, or clear the field.\": a date (`date`), a date and time (`dateTime`) or a time (`time`) typed in part. */\nexport const dateIncompleteLabel = (locale: string, parts: readonly DatePartName[], kind: \"date\" | \"dateTime\" | \"time\" = \"date\") =>\n pick(kind === \"time\" ? TIME_INCOMPLETE : kind === \"dateTime\" ? DATE_TIME_INCOMPLETE : DATE_INCOMPLETE, locale).replace(\"{parts}\", datePartsLabel(locale, parts));\n/**\n * \"November has 30 days.\": a day past the end of a month that has `days` days. `month` is the Gregorian month\n * (1–12); left out (a field in another calendar), the sentence says \"this month\". A locale without its own sentence\n * reads the whole sentence in English, with an English month name. The count is written in Western Arabic digits.\n */\nexport function monthHasDaysLabel(locale: string, days: number, month?: number): string {\n // A language without its own sentence uses English throughout, so no English sentence carries a foreign month.\n const own = hasDsStrings(locale) ? tableKey(locale) : \"en\";\n const key = MONTH_HAS_DAYS[own] !== undefined || THIS_MONTH_HAS_DAYS[own] !== undefined ? own : \"en\";\n const intlMonth = (m: number) => new Intl.DateTimeFormat(intlLocale(locale), { month: \"long\" }).format(new Date(2000, m - 1, 1));\n const name = month !== undefined ? (MONTH_HAS_DAYS_MONTHS[key]?.[month - 1] ?? intlMonth(month)) : undefined;\n const withMonth = MONTH_HAS_DAYS[key] ?? MONTH_HAS_DAYS.en!;\n const plain = THIS_MONTH_HAS_DAYS[key] ?? THIS_MONTH_HAS_DAYS.en!;\n let sentence = name !== undefined ? withMonth.replace(\"{month}\", name) : plain;\n // Romanian puts \"de\" between a count and its noun from 20 on (and after 0), not for 1–19 (a 5- or 6-day month in the\n // Ethiopic and Coptic calendars).\n if (key === \"ro\" && days % 100 >= 1 && days % 100 <= 19) sentence = sentence.replace(\"{n} de zile\", \"{n} zile\");\n // Arabic counts 3–10 take the plural \"أيام\"; 11–99 (every Gregorian month) the singular accusative \"يومًا\".\n if (key === \"ar\" && days % 100 >= 3 && days % 100 <= 10) sentence = sentence.replace(\"{n} يومًا\", \"{n} أيام\");\n return sentence.replace(\"{n}\", String(days));\n}\nexport const previewLabel = (locale: string) => pick(PREVIEW, locale);\nexport const previewActionLabel = (locale: string) => pick(PREVIEW_ACTION, locale);\nexport const lowContrastLabel = (locale: string, theme: \"light\" | \"dark\", ratio: string) =>\n pick(theme === \"light\" ? LOW_IN_LIGHT : LOW_IN_DARK, locale).replace(\"{ratio}\", ratio);\nexport const contrastFixLabel = (locale: string, theme: \"light\" | \"dark\", hex: string) =>\n pick(theme === \"light\" ? FIX_IN_LIGHT : FIX_IN_DARK, locale).replace(\"{hex}\", hex);\nexport const noStepPassesLabel = (locale: string) => pick(NO_STEP_PASSES, locale);\nexport const hexExpectedLabel = (locale: string, example: string) => pick(HEX_EXPECTED, locale).replace(\"{example}\", example);\nexport const customColorLabel = (locale: string) => pick(CUSTOM_COLOR, locale);\nexport const nameSelectedLabel = (locale: string, name: string) => pick(NAME_SELECTED, locale).replace(\"{name}\", name);\nexport const cancelLabel = (locale: string) => pick(CANCEL, locale);\nexport const typeToConfirmLabel = (locale: string, text: string) => pick(TYPE_TO_CONFIRM, locale).replace(\"{text}\", text);\nexport const unsavedTitleLabel = (locale: string) => pick(UNSAVED_TITLE, locale);\nexport const unsavedBodyLabel = (locale: string) => pick(UNSAVED_BODY, locale);\nexport const discardCloseLabel = (locale: string) => pick(DISCARD_CLOSE, locale);\nexport const keepEditingLabel = (locale: string) => pick(KEEP_EDITING, locale);\nexport const expandSheetLabel = (locale: string) => pick(EXPAND_SHEET, locale);\nexport const collapseSheetLabel = (locale: string) => pick(COLLAPSE_SHEET, locale);\nexport const mainNavigationLabel = (locale: string) => pick(MAIN_NAVIGATION, locale);\nexport const stepLabel = (locale: string, n: number) => pick(STEP_N, locale).replace(\"{n}\", formatCount(locale, n));\nexport const stepOfLabel = (locale: string, n: number, total: number) =>\n pick(STEP_N_OF, locale).replace(\"{n}\", formatCount(locale, n)).replace(\"{total}\", formatCount(locale, total));\nexport const stepDoneLabel = (locale: string) => pick(STEP_DONE, locale);\nexport const stepNowLabel = (locale: string) => pick(STEP_NOW, locale);\nexport const stepNeedsYouLabel = (locale: string) => pick(STEP_NEEDS_YOU, locale);\nexport const stepWithProviderLabel = (locale: string) => pick(STEP_WITH_PROVIDER, locale);\nexport const stepFailedLabel = (locale: string) => pick(STEP_FAILED, locale);\nexport const progressStepsLabel = (locale: string) => pick(PROGRESS_STEPS, locale);\nexport const stepsAllDoneLabel = (locale: string) => pick(STEPS_ALL_DONE, locale);\nexport const clearSelectionLabel = (locale: string) => pick(CLEAR_SELECTION, locale);\nexport const skipToContentLabel = (locale: string) => pick(SKIP_TO_CONTENT, locale);\n/** A sparkline's text summary: first, last, lowest and highest value. */\nexport const sparklineSummaryLabel = (locale: string, values: { first: string; last: string; min: string; max: string }) =>\n pick(SPARKLINE_SUMMARY, locale).replace(\"{first}\", values.first).replace(\"{last}\", values.last).replace(\"{min}\", values.min).replace(\"{max}\", values.max);\nexport const gaugeTargetLabel = (locale: string, target: string) => pick(GAUGE_TARGET, locale).replace(\"{target}\", target);\nexport const chartOtherLabel = (locale: string) => pick(CHART_OTHER, locale);\nexport const chartShareLabel = (locale: string) => pick(CHART_SHARE, locale);\nexport const chartTrendLabel = (locale: string) => pick(CHART_TREND, locale);\nexport const cropHelpLabel = (locale: string) => pick(CROP_HELP, locale);\nexport const cropStatusLabel = (locale: string, zoom: string, position: string) => pick(CROP_STATUS, locale).replace(\"{zoom}\", zoom).replace(\"{position}\", position);\nexport const cropCenteredLabel = (locale: string) => pick(CROP_CENTERED, locale);\nexport const cropPositionLabel = (locale: string, x: string, y: string) => pick(CROP_POSITION, locale).replace(\"{x}\", x).replace(\"{y}\", y);\nexport const cropZoomLabel = (locale: string) => pick(CROP_ZOOM, locale);\nexport const cropZoomInLabel = (locale: string) => pick(CROP_ZOOM_IN, locale);\nexport const cropZoomOutLabel = (locale: string) => pick(CROP_ZOOM_OUT, locale);\nexport const cropRotateLeftLabel = (locale: string) => pick(CROP_ROTATE_LEFT, locale);\nexport const cropRotateRightLabel = (locale: string) => pick(CROP_ROTATE_RIGHT, locale);\nexport const cropAspectLabel = (locale: string) => pick(CROP_ASPECT, locale);\nexport const cropFitLabel = (locale: string) => pick(CROP_FIT, locale);\nexport const cropCoverLabel = (locale: string) => pick(CROP_COVER, locale);\nexport const cropContainLabel = (locale: string) => pick(CROP_CONTAIN, locale);\nexport const cropSaveFailedLabel = (locale: string) => pick(CROP_SAVE_FAILED, locale);\nexport const cropBackgroundLabel = (locale: string) => pick(CROP_BACKGROUND, locale);\nexport const colorWhiteLabel = (locale: string) => pick(COLOR_WHITE, locale);\nexport const colorLightGreyLabel = (locale: string) => pick(COLOR_LIGHT_GREY, locale);\nexport const colorBlackLabel = (locale: string) => pick(COLOR_BLACK, locale);\nexport const cropOutputLabel = (locale: string, size: string, type: string) => pick(CROP_OUTPUT, locale).replace(\"{size}\", size).replace(\"{type}\", type);\nexport const cropKeepsAlphaLabel = (locale: string) => pick(CROP_KEEPS_ALPHA, locale);\nexport const cropSmallLabel = (locale: string, width: string, size: string) => pick(CROP_SMALL, locale).replace(\"{width}\", width).replace(\"{size}\", size);\nexport const cropSaveLabel = (locale: string) => pick(CROP_SAVE, locale);\nexport const cropTooLargeLabel = (locale: string, size: string) => pick(CROP_TOO_LARGE, locale).replace(\"{size}\", size);\nexport const cropLoadFailedLabel = (locale: string) => pick(CROP_LOAD_FAILED, locale);\nexport const tableSearchLabel = (locale: string) => pick(TABLE_SEARCH, locale);\nexport const tableColumnsLabel = (locale: string) => pick(TABLE_COLUMNS, locale);\nexport const tableClearFiltersLabel = (locale: string) => pick(TABLE_CLEAR_FILTERS, locale);\nexport const tableEmptyLabel = (locale: string) => pick(TABLE_EMPTY, locale);\nexport const tableNoResultsLabel = (locale: string) => pick(TABLE_NO_RESULTS, locale);\nexport const tableLoadFailedLabel = (locale: string) => pick(TABLE_LOAD_FAILED, locale);\nexport const tableLoadFailedHintLabel = (locale: string) => pick(TABLE_LOAD_FAILED_HINT, locale);\nexport const tableToolsLabel = (locale: string) => pick(TABLE_TOOLS, locale);\nexport const tableSelectedLabel = (locale: string) => pick(TABLE_SELECTED, locale);\nexport const phoneCountryLabel = (locale: string, country: string, code: string) => pick(PHONE_COUNTRY, locale).replace(\"{country}\", country).replace(\"{code}\", code);\nexport const phoneCountryListLabel = (locale: string) => pick(PHONE_COUNTRY_LIST, locale);\nexport const phoneCountrySearchLabel = (locale: string) => pick(PHONE_COUNTRY_SEARCH, locale);\nexport const phoneSuggestedCountriesLabel = (locale: string) => pick(PHONE_SUGGESTED_COUNTRIES, locale);\nexport const phoneAllCountriesLabel = (locale: string) => pick(PHONE_ALL_COUNTRIES, locale);\nexport const phoneTooShortLabel = (locale: string, country: string, digits: string) => pick(PHONE_TOO_SHORT, locale).replace(\"{country}\", country).replace(\"{digits}\", digits);\nexport const phoneTooLongLabel = (locale: string, country: string, digits: string) => pick(PHONE_TOO_LONG, locale).replace(\"{country}\", country).replace(\"{digits}\", digits);\nexport const showAllLabel = (locale: string) => pick(SHOW_ALL, locale);\nexport const showFewerLabel = (locale: string) => pick(SHOW_FEWER, locale);\nexport const heatmapLessLabel = (locale: string) => pick(HEATMAP_LESS, locale);\nexport const heatmapMoreLabel = (locale: string) => pick(HEATMAP_MORE, locale);\nexport const chartBandLabel = (locale: string, from: string, to: string) => pick(CHART_BAND, locale).replace(\"{from}\", from).replace(\"{to}\", to);\nexport const chartStatusLabel = (locale: string) => pick(CHART_STATUS, locale);\nexport const chartConversionLabel = (locale: string) => pick(CHART_CONVERSION, locale);\nexport const chartValueLabel = (locale: string) => pick(CHART_VALUE, locale);\nexport const chartNoDataLabel = (locale: string) => pick(CHART_NO_DATA, locale);\nexport const chartPeriodLabel = (locale: string) => pick(CHART_PERIOD, locale);\nexport const chartCategoryLabel = (locale: string) => pick(CHART_CATEGORY, locale);\nexport const chartChangeLabel = (locale: string) => pick(CHART_CHANGE, locale);\nexport const chartTotalLabel = (locale: string) => pick(CHART_TOTAL, locale);\nexport const chartIncreaseLabel = (locale: string) => pick(CHART_INCREASE, locale);\nexport const chartDecreaseLabel = (locale: string) => pick(CHART_DECREASE, locale);\nexport const chartNoValueLabel = (locale: string) => pick(CHART_NO_VALUE, locale);\nexport const showDataTableLabel = (locale: string) => pick(SHOW_DATA_TABLE, locale);\nexport const hideDataTableLabel = (locale: string) => pick(HIDE_DATA_TABLE, locale);\n/** The selection column's name where there is no select-all checkbox. */\nexport const selectionLabel = (locale: string) => pick(SELECTION, locale);\n/** \"Acme home\": a brand link's name. */\nexport const homePageLabel = (locale: string, name: string) => pick(HOME_PAGE, locale).replace(\"{name}\", name);\nexport const locationLabel = (locale: string) => pick(LOCATION, locale);\nexport const showHiddenLevelsLabel = (locale: string) => pick(SHOW_HIDDEN_LEVELS, locale);\nexport const pagesLabel = (locale: string) => pick(PAGES, locale);\nexport const previousPageLabel = (locale: string) => pick(PREVIOUS_PAGE, locale);\nexport const nextPageLabel = (locale: string) => pick(NEXT_PAGE, locale);\nexport const perPageLabel = (locale: string) => pick(PER_PAGE, locale);\nexport const pageLabel = (locale: string, n: number) => pick(PAGE_N, locale).replace(\"{n}\", formatCount(locale, n));\nexport const pageOfLabel = (locale: string, page: number, total: number) =>\n pick(PAGE_OF, locale).replace(\"{page}\", formatCount(locale, page)).replace(\"{total}\", formatCount(locale, total));\n/** \"41–60 of 1,204\"; consumers name the items with their own sentence. */\nexport const rangeOfLabel = (locale: string, from: number, to: number, total: number) =>\n pick(RANGE_OF, locale).replace(\"{from}\", formatCount(locale, from)).replace(\"{to}\", formatCount(locale, to)).replace(\"{total}\", formatCount(locale, total));\nexport const openMenuLabel = (locale: string) => pick(OPEN_MENU, locale);\nexport const languageLabel = (locale: string) => pick(LANGUAGE, locale);\nexport const collapseSidebarLabel = (locale: string) => pick(COLLAPSE_SIDEBAR, locale);\nexport const expandSidebarLabel = (locale: string) => pick(EXPAND_SIDEBAR, locale);\nexport const commandPaletteLabel = (locale: string) => pick(COMMAND_PALETTE, locale);\nexport const commandSearchLabel = (locale: string) => pick(COMMAND_SEARCH, locale);\nexport const recentRecordsLabel = (locale: string) => pick(RECENT_RECORDS, locale);\nexport const frequentActionsLabel = (locale: string) => pick(FREQUENT_ACTIONS, locale);\nexport const commandHints = (locale: string) => ({ move: pick(HINT_MOVE, locale), open: pick(HINT_OPEN, locale), close: pick(HINT_CLOSE, locale) });\nexport const rangeTooShortLabel = (locale: string) => pick(RANGE_TOO_SHORT, locale);\nexport const rangeTooLongLabel = (locale: string) => pick(RANGE_TOO_LONG, locale);\nexport const rangeCrossesClosedLabel = (locale: string) => pick(RANGE_CROSSES_CLOSED, locale);\nexport const rangeMinLabel = (locale: string) => pick(RANGE_MIN, locale);\nexport const rangeMaxLabel = (locale: string) => pick(RANGE_MAX, locale);\nexport const cancelUploadLabel = (locale: string) => pick(CANCEL_UPLOAD, locale);\nexport const removeFileLabel = (locale: string) => pick(REMOVE_FILE, locale);\nexport const replaceLabel = (locale: string) => pick(REPLACE, locale);\nexport const uploadedLabel = (locale: string) => pick(UPLOADED, locale);\nexport const DS_STRINGS = {\n chooseFiles: CHOOSE_FILES, orChoose: OR_CHOOSE, upTo: UP_TO, tooLarge: TOO_LARGE, wrongType: WRONG_TYPE, onlyOne: ONLY_ONE, selectPlaceholder: SELECT_PLACEHOLDER, selectAll: SELECT_ALL, selectedCount: SELECTED_COUNT, moreCount: MORE_COUNT, removeItem: REMOVE_ITEM, noMatch: NO_MATCH, createItem: CREATE_ITEM, loading: LOADING, showSuggestions: SHOW_SUGGESTIONS, clearAll: CLEAR_ALL, actionFailed: ACTION_FAILED, retry: RETRY, errorCode: ERROR_CODE, selected: SELECTED, online: ONLINE, morePeople: MORE_PEOPLE, deltaUp: DELTA_UP, deltaDown: DELTA_DOWN, noChange: NO_CHANGE, notSet: NOT_SET, copyValue: COPY_VALUE, copy: COPY, copied: COPIED, copyFailed: COPY_FAILED, imagePosition: IMAGE_POSITION, previousImage: PREVIOUS_IMAGE, nextImage: NEXT_IMAGE, goToImage: GO_TO_IMAGE, previousMonth: PREVIOUS_MONTH, nextMonth: NEXT_MONTH, theme: THEME, themeSystem: THEME_SYSTEM, themeLight: THEME_LIGHT, themeDark: THEME_DARK, themeNowLight: THEME_NOW_LIGHT, themeNowDark: THEME_NOW_DARK, rangeMin: RANGE_MIN, rangeMax: RANGE_MAX, rangeTooShort: RANGE_TOO_SHORT, rangeTooLong: RANGE_TOO_LONG, rangeCrossesClosed: RANGE_CROSSES_CLOSED, today: TODAY, rangeStart: RANGE_START, rangeEnd: RANGE_END, rangeStartTime: RANGE_START_TIME, rangeEndTime: RANGE_END_TIME, monthHasDays: MONTH_HAS_DAYS, thisMonthHasDays: THIS_MONTH_HAS_DAYS, dateIncomplete: DATE_INCOMPLETE, dateTimeIncomplete: DATE_TIME_INCOMPLETE, timeIncomplete: TIME_INCOMPLETE, preview: PREVIEW, previewAction: PREVIEW_ACTION, lowInLight: LOW_IN_LIGHT, lowInDark: LOW_IN_DARK, fixInLight: FIX_IN_LIGHT, fixInDark: FIX_IN_DARK, noStepPasses: NO_STEP_PASSES, hexExpected: HEX_EXPECTED, customColor: CUSTOM_COLOR, nameSelected: NAME_SELECTED, cancel: CANCEL, typeToConfirm: TYPE_TO_CONFIRM, unsavedTitle: UNSAVED_TITLE, unsavedBody: UNSAVED_BODY, discardClose: DISCARD_CLOSE, keepEditing: KEEP_EDITING, expandSheet: EXPAND_SHEET, collapseSheet: COLLAPSE_SHEET, location: LOCATION, showHiddenLevels: SHOW_HIDDEN_LEVELS, pages: PAGES, previousPage: PREVIOUS_PAGE, nextPage: NEXT_PAGE, pageN: PAGE_N, pageOf: PAGE_OF, rangeOf: RANGE_OF, perPage: PER_PAGE, stepN: STEP_N, stepNOf: STEP_N_OF, stepDone: STEP_DONE, stepNow: STEP_NOW, stepNeedsYou: STEP_NEEDS_YOU, stepWithProvider: STEP_WITH_PROVIDER, stepFailed: STEP_FAILED, progressSteps: PROGRESS_STEPS, stepsAllDone: STEPS_ALL_DONE, clearSelection: CLEAR_SELECTION, skipToContent: SKIP_TO_CONTENT, sparklineSummary: SPARKLINE_SUMMARY, gaugeTarget: GAUGE_TARGET, chartOther: CHART_OTHER, chartShare: CHART_SHARE, chartTrend: CHART_TREND, cropHelp: CROP_HELP, cropStatus: CROP_STATUS, cropCentered: CROP_CENTERED, cropPosition: CROP_POSITION, cropZoom: CROP_ZOOM, cropZoomIn: CROP_ZOOM_IN, cropZoomOut: CROP_ZOOM_OUT, cropRotateLeft: CROP_ROTATE_LEFT, cropRotateRight: CROP_ROTATE_RIGHT, cropAspect: CROP_ASPECT, cropFit: CROP_FIT, cropCover: CROP_COVER, cropContain: CROP_CONTAIN, cropSaveFailed: CROP_SAVE_FAILED, cropBackground: CROP_BACKGROUND, colorWhite: COLOR_WHITE, colorLightGrey: COLOR_LIGHT_GREY, colorBlack: COLOR_BLACK, cropOutput: CROP_OUTPUT, cropKeepsAlpha: CROP_KEEPS_ALPHA, cropSmall: CROP_SMALL, cropSave: CROP_SAVE, cropTooLarge: CROP_TOO_LARGE, cropLoadFailed: CROP_LOAD_FAILED, tableSearch: TABLE_SEARCH, tableColumns: TABLE_COLUMNS, tableClearFilters: TABLE_CLEAR_FILTERS, tableEmpty: TABLE_EMPTY, tableNoResults: TABLE_NO_RESULTS, tableLoadFailed: TABLE_LOAD_FAILED, tableLoadFailedHint: TABLE_LOAD_FAILED_HINT, tableTools: TABLE_TOOLS, tableSelected: TABLE_SELECTED, phoneCountry: PHONE_COUNTRY, phoneCountryList: PHONE_COUNTRY_LIST, phoneCountrySearch: PHONE_COUNTRY_SEARCH, phoneSuggestedCountries: PHONE_SUGGESTED_COUNTRIES, phoneAllCountries: PHONE_ALL_COUNTRIES, phoneTooShort: PHONE_TOO_SHORT, phoneTooLong: PHONE_TOO_LONG, showAll: SHOW_ALL, showFewer: SHOW_FEWER, heatmapLess: HEATMAP_LESS, heatmapMore: HEATMAP_MORE, chartBand: CHART_BAND, chartStatus: CHART_STATUS, chartConversion: CHART_CONVERSION, chartValue: CHART_VALUE, chartNoData: CHART_NO_DATA, chartPeriod: CHART_PERIOD, chartCategory: CHART_CATEGORY, chartChange: CHART_CHANGE, chartTotal: CHART_TOTAL, chartIncrease: CHART_INCREASE, chartDecrease: CHART_DECREASE, chartNoValue: CHART_NO_VALUE, showDataTable: SHOW_DATA_TABLE, hideDataTable: HIDE_DATA_TABLE, selection: SELECTION, homePage: HOME_PAGE, mainNavigation: MAIN_NAVIGATION, openMenu: OPEN_MENU, language: LANGUAGE, collapseSidebar: COLLAPSE_SIDEBAR, expandSidebar: EXPAND_SIDEBAR, commandPalette: COMMAND_PALETTE, commandSearch: COMMAND_SEARCH, recentRecords: RECENT_RECORDS, frequentActions: FREQUENT_ACTIONS, hintMove: HINT_MOVE, hintOpen: HINT_OPEN, hintClose: HINT_CLOSE,\n cancelUpload: CANCEL_UPLOAD, removeFile: REMOVE_FILE, replace: REPLACE, uploaded: UPLOADED,\n resend: RESEND, resendIn: RESEND_IN, increase: INCREASE, decrease: DECREASE,\n required: REQUIRED, limitExceeded: LIMIT_EXCEEDED,\n close: CLOSE, newTab: NEW_TAB, optional: OPTIONAL, clear: CLEAR, showPassword: SHOW_PASSWORD,\n hidePassword: HIDE_PASSWORD, overLimit: OVER_LIMIT,\n previousYear: PREVIOUS_YEAR, nextYear: NEXT_YEAR, thisMonth: THIS_MONTH,\n dateMin: DATE_MIN, dateMax: DATE_MAX, monthMin: MONTH_MIN, monthMax: MONTH_MAX, dateUnavailable: DATE_UNAVAILABLE,\n};\nexport const DS_STRENGTH = STRENGTH;\n"]}
@@ -0,0 +1,9 @@
1
+ export { DesignSystemProvider, type DesignSystemProviderProps } from "./provider.js";
2
+ export type { Tone } from "./tone.js";
3
+ export type { Density } from "./density.js";
4
+ export { ComponentDefaultsProvider, MotionScope, useComponentDefaults, useReducedMotion } from "./defaults.js";
5
+ export type { ComponentDefaults, ComponentMotion, ComponentRadius, ComponentSize } from "./defaults.js";
6
+ export { cn, TEXT_STYLES } from "./utils.js";
7
+ export { LAYER, FLOATING_BANNER_OFFSET } from "./layers.js";
8
+ export { registerDsStrings, hasDsStrings, type DsStringKey, type DsStringsInput } from "./i18n.js";
9
+ export { registerLocaleAliases, registerLocalWords, intlLocale, contentLang, formatDateTime, regionNames, } from "./intl-locale.js";
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ export { DesignSystemProvider } from "./provider.js";
2
+ export { ComponentDefaultsProvider, MotionScope, useComponentDefaults, useReducedMotion } from "./defaults.js";
3
+ export { cn, TEXT_STYLES } from "./utils.js";
4
+ export { LAYER, FLOATING_BANNER_OFFSET } from "./layers.js";
5
+ export { registerDsStrings, hasDsStrings } from "./i18n.js";
6
+ export { registerLocaleAliases, registerLocalWords, intlLocale, contentLang, formatDateTime, regionNames, } from "./intl-locale.js";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAkC,MAAM,YAAY,CAAC;AAGlF,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE5G,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAyC,MAAM,QAAQ,CAAC;AAChG,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,cAAc,EACd,WAAW,GACZ,MAAM,eAAe,CAAC","sourcesContent":["export { DesignSystemProvider, type DesignSystemProviderProps } from \"./provider\";\nexport type { Tone } from \"./tone\";\nexport type { Density } from \"./density\";\nexport { ComponentDefaultsProvider, MotionScope, useComponentDefaults, useReducedMotion } from \"./defaults\";\nexport type { ComponentDefaults, ComponentMotion, ComponentRadius, ComponentSize } from \"./defaults\";\nexport { cn, TEXT_STYLES } from \"./utils\";\nexport { LAYER, FLOATING_BANNER_OFFSET } from \"./layers\";\nexport { registerDsStrings, hasDsStrings, type DsStringKey, type DsStringsInput } from \"./i18n\";\nexport {\n registerLocaleAliases,\n registerLocalWords,\n intlLocale,\n contentLang,\n formatDateTime,\n regionNames,\n} from \"./intl-locale\";\n"]}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Locale helpers for formatting. By default a locale tag goes to `Intl` as-is.
3
+ * An app whose product locales are not valid BCP 47 tags, or need a stand-in
4
+ * with better browser data, registers aliases once at startup:
5
+ *
6
+ * registerLocaleAliases({ me: "sr-Latn-ME" });
7
+ */
8
+ /** Map product locales to the tag handed to `Intl` and React Aria. */
9
+ export declare function registerLocaleAliases(map: Record<string, string>): void;
10
+ /** Post-process text `Intl` wrote (currency names, relative times) for locales that need their own words. */
11
+ export declare function registerLocalWords(hook: ((tag: string, text: string) => string) | null): void;
12
+ /**
13
+ * The app locales a tag stands in for: the reverse of `registerLocaleAliases`. Components see the alias target
14
+ * (React Aria gets it), so string lookup uses this to find the strings registered under the app's own tag.
15
+ */
16
+ export declare function aliasSourcesOf(tag: string): string[];
17
+ /** The tag to hand `Intl` (and React Aria) for a locale. */
18
+ export declare function intlLocale(locale: string): string;
19
+ /** The `lang` attribute for content in `locale`. */
20
+ export declare function contentLang(locale: string): string;
21
+ /** Whether this runtime has formatting data for `tag`. */
22
+ export declare function hasIntlData(tag: string): boolean;
23
+ /** Country names in `tag`; a code the runtime cannot name returns undefined. */
24
+ export declare function regionNames(tag: string): (code: string) => string | undefined;
25
+ /** Whether the app registered a word hook (components skip their rewrite work otherwise). */
26
+ export declare function hasLocalWords(): boolean;
27
+ /** Text `Intl` wrote in `tag`, after the app's registered word hook (if any). */
28
+ export declare function localWords(tag: string, text: string): string;
29
+ /** Format a date with a cached `Intl.DateTimeFormat`. */
30
+ export declare function formatDateTime(tag: string, options: Intl.DateTimeFormatOptions, date: Date | number): string;
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Locale helpers for formatting. By default a locale tag goes to `Intl` as-is.
3
+ * An app whose product locales are not valid BCP 47 tags, or need a stand-in
4
+ * with better browser data, registers aliases once at startup:
5
+ *
6
+ * registerLocaleAliases({ me: "sr-Latn-ME" });
7
+ */
8
+ const aliases = new Map();
9
+ let wordsHook = null;
10
+ /** Map product locales to the tag handed to `Intl` and React Aria. */
11
+ export function registerLocaleAliases(map) {
12
+ for (const [from, to] of Object.entries(map))
13
+ aliases.set(from.toLowerCase(), to);
14
+ }
15
+ /** Post-process text `Intl` wrote (currency names, relative times) for locales that need their own words. */
16
+ export function registerLocalWords(hook) {
17
+ wordsHook = hook;
18
+ }
19
+ /**
20
+ * The app locales a tag stands in for: the reverse of `registerLocaleAliases`. Components see the alias target
21
+ * (React Aria gets it), so string lookup uses this to find the strings registered under the app's own tag.
22
+ */
23
+ export function aliasSourcesOf(tag) {
24
+ const lower = tag.toLowerCase();
25
+ return [...aliases].filter(([, to]) => to.toLowerCase() === lower).map(([from]) => from);
26
+ }
27
+ /** The tag to hand `Intl` (and React Aria) for a locale. */
28
+ export function intlLocale(locale) {
29
+ const lower = locale.toLowerCase();
30
+ return aliases.get(lower) ?? aliases.get(lower.split(/[-_]/)[0] ?? "") ?? locale;
31
+ }
32
+ /** The `lang` attribute for content in `locale`. */
33
+ export function contentLang(locale) {
34
+ return locale;
35
+ }
36
+ /** Whether this runtime has formatting data for `tag`. */
37
+ export function hasIntlData(tag) {
38
+ try {
39
+ return Intl.DateTimeFormat.supportedLocalesOf([tag]).length > 0;
40
+ }
41
+ catch {
42
+ return false;
43
+ }
44
+ }
45
+ /** Country names in `tag`; a code the runtime cannot name returns undefined. */
46
+ export function regionNames(tag) {
47
+ let names = null;
48
+ try {
49
+ names = new Intl.DisplayNames([intlLocale(tag)], { type: "region" });
50
+ }
51
+ catch {
52
+ names = null;
53
+ }
54
+ return (code) => {
55
+ try {
56
+ return names?.of(code.toUpperCase()) ?? undefined;
57
+ }
58
+ catch {
59
+ return undefined;
60
+ }
61
+ };
62
+ }
63
+ /** Whether the app registered a word hook (components skip their rewrite work otherwise). */
64
+ export function hasLocalWords() {
65
+ return wordsHook !== null;
66
+ }
67
+ /** Text `Intl` wrote in `tag`, after the app's registered word hook (if any). */
68
+ export function localWords(tag, text) {
69
+ return wordsHook ? wordsHook(tag, text) : text;
70
+ }
71
+ const formatters = new Map();
72
+ /** Format a date with a cached `Intl.DateTimeFormat`. */
73
+ export function formatDateTime(tag, options, date) {
74
+ const resolved = intlLocale(tag);
75
+ const key = `${resolved} ${JSON.stringify(options)}`;
76
+ let formatter = formatters.get(key);
77
+ if (!formatter) {
78
+ formatter = new Intl.DateTimeFormat(resolved, options);
79
+ formatters.set(key, formatter);
80
+ }
81
+ return localWords(tag, formatter.format(date));
82
+ }
83
+ //# sourceMappingURL=intl-locale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intl-locale.js","sourceRoot":"","sources":["../src/intl-locale.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC1C,IAAI,SAAS,GAAmD,IAAI,CAAC;AAErE,sEAAsE;AACtE,MAAM,UAAU,qBAAqB,CAAC,GAA2B;IAC/D,KAAK,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;QAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;AACpF,CAAC;AAED,6GAA6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ourcesContent":["/**\n * Locale helpers for formatting. By default a locale tag goes to `Intl` as-is.\n * An app whose product locales are not valid BCP 47 tags, or need a stand-in\n * with better browser data, registers aliases once at startup:\n *\n * registerLocaleAliases({ me: \"sr-Latn-ME\" });\n */\n\nconst aliases = new Map<string, string>();\nlet wordsHook: ((tag: string, text: string) => string) | null = null;\n\n/** Map product locales to the tag handed to `Intl` and React Aria. */\nexport function registerLocaleAliases(map: Record<string, string>): void {\n for (const [from, to] of Object.entries(map)) aliases.set(from.toLowerCase(), to);\n}\n\n/** Post-process text `Intl` wrote (currency names, relative times) for locales that need their own words. */\nexport function registerLocalWords(hook: ((tag: string, text: string) => string) | null): void {\n wordsHook = hook;\n}\n\n/**\n * The app locales a tag stands in for: the reverse of `registerLocaleAliases`. Components see the alias target\n * (React Aria gets it), so string lookup uses this to find the strings registered under the app's own tag.\n */\nexport function aliasSourcesOf(tag: string): string[] {\n const lower = tag.toLowerCase();\n return [...aliases].filter(([, to]) => to.toLowerCase() === lower).map(([from]) => from);\n}\n\n/** The tag to hand `Intl` (and React Aria) for a locale. */\nexport function intlLocale(locale: string): string {\n const lower = locale.toLowerCase();\n return aliases.get(lower) ?? aliases.get(lower.split(/[-_]/)[0] ?? \"\") ?? locale;\n}\n\n/** The `lang` attribute for content in `locale`. */\nexport function contentLang(locale: string): string {\n return locale;\n}\n\n/** Whether this runtime has formatting data for `tag`. */\nexport function hasIntlData(tag: string): boolean {\n try {\n return Intl.DateTimeFormat.supportedLocalesOf([tag]).length > 0;\n } catch {\n return false;\n }\n}\n\n/** Country names in `tag`; a code the runtime cannot name returns undefined. */\nexport function regionNames(tag: string): (code: string) => string | undefined {\n let names: Intl.DisplayNames | null = null;\n try {\n names = new Intl.DisplayNames([intlLocale(tag)], { type: \"region\" });\n } catch {\n names = null;\n }\n return (code) => {\n try {\n return names?.of(code.toUpperCase()) ?? undefined;\n } catch {\n return undefined;\n }\n };\n}\n\n/** Whether the app registered a word hook (components skip their rewrite work otherwise). */\nexport function hasLocalWords(): boolean {\n return wordsHook !== null;\n}\n\n/** Text `Intl` wrote in `tag`, after the app's registered word hook (if any). */\nexport function localWords(tag: string, text: string): string {\n return wordsHook ? wordsHook(tag, text) : text;\n}\n\nconst formatters = new Map<string, Intl.DateTimeFormat>();\n\n/** Format a date with a cached `Intl.DateTimeFormat`. */\nexport function formatDateTime(tag: string, options: Intl.DateTimeFormatOptions, date: Date | number): string {\n const resolved = intlLocale(tag);\n const key = `${resolved} ${JSON.stringify(options)}`;\n let formatter = formatters.get(key);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat(resolved, options);\n formatters.set(key, formatter);\n }\n return localWords(tag, formatter.format(date));\n}\n"]}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The stacking order of fixed and floating layers (classes written out in
3
+ * full so Tailwind finds them):
4
+ *
5
+ * page content auto
6
+ * sticky bars z-20 LAYER.stickyBar
7
+ * floating banner z-30 LAYER.floatingBanner: e.g. a consent bar, above sticky bars
8
+ * Fab z-40 LAYER.fab: lifts above a shown floating banner
9
+ * React Aria overlays 100000 Popover, Modal: inline style set by React Aria, portalled
10
+ * to the end of <body>
11
+ * toasts 100001 LAYER.toast: above popovers and modals; rises above a shown
12
+ * floating banner through --ds-floating-banner-offset
13
+ * focused skip link 100002 LAYER.skipLink: only while the link is focused
14
+ *
15
+ * Above page content and sticky bars, a floating banner sits below the Fab,
16
+ * toasts, popovers, drawers and dialogs.
17
+ */
18
+ export declare const LAYER: {
19
+ readonly stickyBar: "z-20";
20
+ readonly floatingBanner: "z-30";
21
+ readonly fab: "z-40";
22
+ /** Above React Aria's popovers and modals (inline z-index 100000), so a toast is never hidden by one. */
23
+ readonly toast: "z-[100001]";
24
+ /** The focused skip link: above everything, it is the first thing a keyboard user meets. */
25
+ readonly skipLink: "focus:z-[100002]";
26
+ };
27
+ /**
28
+ * Set on <html> while a floating banner is shown: how far its top edge sits
29
+ * above the bottom of the viewport. Bottom-fixed layers (the Fab, the toast
30
+ * region) add it to their own bottom offset, so the banner never covers them.
31
+ */
32
+ export declare const FLOATING_BANNER_OFFSET = "--ds-floating-banner-offset";
package/dist/layers.js ADDED
@@ -0,0 +1,33 @@
1
+ /**
2
+ * The stacking order of fixed and floating layers (classes written out in
3
+ * full so Tailwind finds them):
4
+ *
5
+ * page content auto
6
+ * sticky bars z-20 LAYER.stickyBar
7
+ * floating banner z-30 LAYER.floatingBanner: e.g. a consent bar, above sticky bars
8
+ * Fab z-40 LAYER.fab: lifts above a shown floating banner
9
+ * React Aria overlays 100000 Popover, Modal: inline style set by React Aria, portalled
10
+ * to the end of <body>
11
+ * toasts 100001 LAYER.toast: above popovers and modals; rises above a shown
12
+ * floating banner through --ds-floating-banner-offset
13
+ * focused skip link 100002 LAYER.skipLink: only while the link is focused
14
+ *
15
+ * Above page content and sticky bars, a floating banner sits below the Fab,
16
+ * toasts, popovers, drawers and dialogs.
17
+ */
18
+ export const LAYER = {
19
+ stickyBar: "z-20",
20
+ floatingBanner: "z-30",
21
+ fab: "z-40",
22
+ /** Above React Aria's popovers and modals (inline z-index 100000), so a toast is never hidden by one. */
23
+ toast: "z-[100001]",
24
+ /** The focused skip link: above everything, it is the first thing a keyboard user meets. */
25
+ skipLink: "focus:z-[100002]",
26
+ };
27
+ /**
28
+ * Set on <html> while a floating banner is shown: how far its top edge sits
29
+ * above the bottom of the viewport. Bottom-fixed layers (the Fab, the toast
30
+ * region) add it to their own bottom offset, so the banner never covers them.
31
+ */
32
+ export const FLOATING_BANNER_OFFSET = "--ds-floating-banner-offset";
33
+ //# sourceMappingURL=layers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layers.js","sourceRoot":"","sources":["../src/layers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,MAAM;IACjB,cAAc,EAAE,MAAM;IACtB,GAAG,EAAE,MAAM;IACX,yGAAyG;IACzG,KAAK,EAAE,YAAY;IACnB,4FAA4F;IAC5F,QAAQ,EAAE,kBAAkB;CACpB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAC","sourcesContent":["/**\n * The stacking order of fixed and floating layers (classes written out in\n * full so Tailwind finds them):\n *\n * page content auto\n * sticky bars z-20 LAYER.stickyBar\n * floating banner z-30 LAYER.floatingBanner: e.g. a consent bar, above sticky bars\n * Fab z-40 LAYER.fab: lifts above a shown floating banner\n * React Aria overlays 100000 Popover, Modal: inline style set by React Aria, portalled\n * to the end of <body>\n * toasts 100001 LAYER.toast: above popovers and modals; rises above a shown\n * floating banner through --ds-floating-banner-offset\n * focused skip link 100002 LAYER.skipLink: only while the link is focused\n *\n * Above page content and sticky bars, a floating banner sits below the Fab,\n * toasts, popovers, drawers and dialogs.\n */\nexport const LAYER = {\n stickyBar: \"z-20\",\n floatingBanner: \"z-30\",\n fab: \"z-40\",\n /** Above React Aria's popovers and modals (inline z-index 100000), so a toast is never hidden by one. */\n toast: \"z-[100001]\",\n /** The focused skip link: above everything, it is the first thing a keyboard user meets. */\n skipLink: \"focus:z-[100002]\",\n} as const;\n\n/**\n * Set on <html> while a floating banner is shown: how far its top edge sits\n * above the bottom of the viewport. Bottom-fixed layers (the Fab, the toast\n * region) add it to their own bottom offset, so the banner never covers them.\n */\nexport const FLOATING_BANNER_OFFSET = \"--ds-floating-banner-offset\";\n"]}
@@ -0,0 +1,71 @@
1
+ import * as React from "react";
2
+ export type AuthFormLayoutSurface = "card" | "plain";
3
+ /** A heading at the given level; the type style is the caller's, so the level never changes the look. */
4
+ export declare function TitleTag({ level, className, children }: {
5
+ level: 1 | 2 | 3;
6
+ className?: string;
7
+ children: React.ReactNode;
8
+ }): React.JSX.Element;
9
+ export interface AuthFormLayoutProps {
10
+ /**
11
+ * `card` (default) raises the panel onto its own surface; `plain` lets it sit
12
+ * directly on the pane. The default matches the busiest existing screen.
13
+ */
14
+ surface?: AuthFormLayoutSurface;
15
+ /** The screen's heading. */
16
+ title: React.ReactNode;
17
+ /** One line under the heading. */
18
+ description?: React.ReactNode;
19
+ /**
20
+ * The heading's type style, a DS heading class: `text-heading-large` by default; a screen with a longer title
21
+ * may step down (`text-heading-medium`).
22
+ */
23
+ titleClassName?: string;
24
+ /** The title's heading level: 1 (the page's own heading, by default), or 2 when the page has its own h1. */
25
+ headingLevel?: 1 | 2 | 3;
26
+ /** Above everything, at the inline end — a language switcher, a back link. */
27
+ headerSlot?: React.ReactNode;
28
+ /** The compact brand header, mobile only: the brand pane is desktop-only. */
29
+ logoSlot?: React.ReactNode;
30
+ /** Under the body — a secondary route out of the screen. */
31
+ footerSlot?: React.ReactNode;
32
+ /** Last, set apart — legal text, a support line. */
33
+ noticeSlot?: React.ReactNode;
34
+ /**
35
+ * The spacing between the form's rows (`space-y-4` by default), merged onto a native form child. The DS `Form`
36
+ * takes no className and keeps its own gap, so this has no effect on it.
37
+ */
38
+ bodyClassName?: string;
39
+ /**
40
+ * A single element — the screen's own form. The layout renders the body
41
+ * region *through* it, so it keeps its element, its handler and its
42
+ * attributes while the rhythm arrives from here.
43
+ *
44
+ * A form component (rather than a `<form>`) must pass `className` and
45
+ * `data-slot` on to its element, or the rhythm is lost.
46
+ */
47
+ children: React.ReactNode;
48
+ className?: string;
49
+ }
50
+ /**
51
+ * The panel an auth screen's credentials sit in: surface, header and logo rows,
52
+ * heading and description, the body region's rhythm, and the footer and notice
53
+ * rows beneath it (the auth pattern).
54
+ *
55
+ * Everything a screen *does* stays with the screen — submission, field state,
56
+ * validation, lockout, the submit control. This layout owns only where those
57
+ * things sit. The seam is the body region: the caller passes its own form
58
+ * element as the single child; the layout puts the gap above it on a wrapper and merges the rows' spacing
59
+ * onto the element itself (a native form takes it; the DS Form keeps its own gap and `data-slot`):
60
+ *
61
+ * - The form remains a real element, so its handler, `noValidate` and
62
+ * `aria-busy` behave exactly as they did before this layout existed.
63
+ * - The header, logo, footer and notice rows sit *outside* the form. A control
64
+ * placed there is not the form's to submit.
65
+ *
66
+ * The single-child contract is real: a fragment or two siblings fail at render
67
+ * rather than silently losing the rhythm. Override the spacing with
68
+ * `bodyClassName`, not by adding classes to the child — the merge with the
69
+ * child's own is a concatenation, not a Tailwind-aware one.
70
+ */
71
+ export declare function AuthFormLayout({ surface, title, description, titleClassName, headingLevel, headerSlot, logoSlot, footerSlot, noticeSlot, bodyClassName, children, className, }: AuthFormLayoutProps): React.JSX.Element;
@@ -0,0 +1,61 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { cn } from "../utils.js";
5
+ /** A heading at the given level; the type style is the caller's, so the level never changes the look. */
6
+ export function TitleTag({ level, className, children }) {
7
+ const Tag = `h${level}`;
8
+ return _jsx(Tag, { className: className, children: children });
9
+ }
10
+ const REACT_LAZY_TYPE = Symbol.for("react.lazy");
11
+ function isLazyReference(value) {
12
+ return (value !== null &&
13
+ typeof value === "object" &&
14
+ value.$$typeof === REACT_LAZY_TYPE &&
15
+ typeof value._payload?.then === "function");
16
+ }
17
+ /**
18
+ * The body region rendered through the screen's own element. A child that a server component passed
19
+ * arrives as a `react.lazy` reference once the Flight payload is split — sometimes a reference to a
20
+ * reference — so each layer is resolved with `use()` before the element is read.
21
+ */
22
+ function AuthFormBody({ className, children }) {
23
+ let child = children;
24
+ for (let depth = 0; isLazyReference(child) && depth < 8; depth += 1) {
25
+ child = React.use(child._payload);
26
+ }
27
+ const element = React.Children.only(child);
28
+ // As the slot did before: the classes concatenate (CSS order decides, not a Tailwind-aware merge),
29
+ // and a data-slot the child sets itself wins.
30
+ return React.cloneElement(element, {
31
+ "data-slot": element.props["data-slot"] ?? "auth-form-body",
32
+ className: [className, element.props.className].filter(Boolean).join(" "),
33
+ });
34
+ }
35
+ /**
36
+ * The panel an auth screen's credentials sit in: surface, header and logo rows,
37
+ * heading and description, the body region's rhythm, and the footer and notice
38
+ * rows beneath it (the auth pattern).
39
+ *
40
+ * Everything a screen *does* stays with the screen — submission, field state,
41
+ * validation, lockout, the submit control. This layout owns only where those
42
+ * things sit. The seam is the body region: the caller passes its own form
43
+ * element as the single child; the layout puts the gap above it on a wrapper and merges the rows' spacing
44
+ * onto the element itself (a native form takes it; the DS Form keeps its own gap and `data-slot`):
45
+ *
46
+ * - The form remains a real element, so its handler, `noValidate` and
47
+ * `aria-busy` behave exactly as they did before this layout existed.
48
+ * - The header, logo, footer and notice rows sit *outside* the form. A control
49
+ * placed there is not the form's to submit.
50
+ *
51
+ * The single-child contract is real: a fragment or two siblings fail at render
52
+ * rather than silently losing the rhythm. Override the spacing with
53
+ * `bodyClassName`, not by adding classes to the child — the merge with the
54
+ * child's own is a concatenation, not a Tailwind-aware one.
55
+ */
56
+ export function AuthFormLayout({ surface = "card", title, description, titleClassName = "text-heading-large", headingLevel = 1, headerSlot, logoSlot, footerSlot, noticeSlot, bodyClassName, children, className, }) {
57
+ return (_jsxs("div", { "data-slot": "auth-card", "data-surface": surface, className: cn("w-full", surface === "card"
58
+ ? "max-w-100 rounded-2xl bg-ds-surface-raised p-ds-300 shadow-ds-raised sm:p-7"
59
+ : "max-w-sm", className), children: [headerSlot && _jsx("div", { "data-slot": "auth-card-header", className: "mb-ds-300 flex justify-end", children: headerSlot }), logoSlot && _jsx("div", { "data-slot": "auth-card-logo", className: "mb-7 flex items-center lg:hidden", children: logoSlot }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(TitleTag, { level: headingLevel, className: cn("text-ds-text", titleClassName), children: title }), description && _jsx("p", { className: "text-body text-ds-text-subtle", children: description })] }), _jsx("div", { "data-slot": "auth-form-region", className: "mt-ds-400", children: _jsx(AuthFormBody, { className: cn("space-y-4", bodyClassName), children: children }) }), footerSlot && _jsx("div", { "data-slot": "auth-card-footer", className: "mt-ds-300 flex justify-center", children: footerSlot }), noticeSlot && _jsx("div", { "data-slot": "auth-card-notice", className: "mt-8", children: noticeSlot })] }));
60
+ }
61
+ //# sourceMappingURL=auth-form-layout.js.map
@@ -0,0 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Ae,kBAAkB,EAAC,SAAS,EAAC,MAAM,YAAE,UAAU,GAAO,IAChF,CACP,CAAC;AACJ,CAAC","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../utils\";\n\nexport type AuthFormLayoutSurface = \"card\" | \"plain\";\n\n/** A heading at the given level; the type style is the caller's, so the level never changes the look. */\nexport function TitleTag({ level, className, children }: { level: 1 | 2 | 3; className?: string; children: React.ReactNode }) {\n const Tag = `h${level}` as const;\n return <Tag className={className}>{children}</Tag>;\n}\n\nexport interface AuthFormLayoutProps {\n /**\n * `card` (default) raises the panel onto its own surface; `plain` lets it sit\n * directly on the pane. The default matches the busiest existing screen.\n */\n surface?: AuthFormLayoutSurface;\n /** The screen's heading. */\n title: React.ReactNode;\n /** One line under the heading. */\n description?: React.ReactNode;\n /**\n * The heading's type style, a DS heading class: `text-heading-large` by default; a screen with a longer title\n * may step down (`text-heading-medium`).\n */\n titleClassName?: string;\n /** The title's heading level: 1 (the page's own heading, by default), or 2 when the page has its own h1. */\n headingLevel?: 1 | 2 | 3;\n /** Above everything, at the inline end — a language switcher, a back link. */\n headerSlot?: React.ReactNode;\n /** The compact brand header, mobile only: the brand pane is desktop-only. */\n logoSlot?: React.ReactNode;\n /** Under the body — a secondary route out of the screen. */\n footerSlot?: React.ReactNode;\n /** Last, set apart — legal text, a support line. */\n noticeSlot?: React.ReactNode;\n /**\n * The spacing between the form's rows (`space-y-4` by default), merged onto a native form child. The DS `Form`\n * takes no className and keeps its own gap, so this has no effect on it.\n */\n bodyClassName?: string;\n /**\n * A single element — the screen's own form. The layout renders the body\n * region *through* it, so it keeps its element, its handler and its\n * attributes while the rhythm arrives from here.\n *\n * A form component (rather than a `<form>`) must pass `className` and\n * `data-slot` on to its element, or the rhythm is lost.\n */\n children: React.ReactNode;\n className?: string;\n}\n\nconst REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\n\nfunction isLazyReference(value: unknown): value is { _payload: PromiseLike<unknown> } {\n return (\n value !== null &&\n typeof value === \"object\" &&\n (value as { $$typeof?: unknown }).$$typeof === REACT_LAZY_TYPE &&\n typeof (value as { _payload?: { then?: unknown } })._payload?.then === \"function\"\n );\n}\n\n/**\n * The body region rendered through the screen's own element. A child that a server component passed\n * arrives as a `react.lazy` reference once the Flight payload is split — sometimes a reference to a\n * reference — so each layer is resolved with `use()` before the element is read.\n */\nfunction AuthFormBody({ className, children }: { className: string; children: React.ReactNode }) {\n let child: React.ReactNode = children;\n for (let depth = 0; isLazyReference(child) && depth < 8; depth += 1) {\n child = React.use(child._payload) as React.ReactNode;\n }\n const element = React.Children.only(child) as React.ReactElement<{ className?: string; \"data-slot\"?: string }>;\n // As the slot did before: the classes concatenate (CSS order decides, not a Tailwind-aware merge),\n // and a data-slot the child sets itself wins.\n return React.cloneElement(element, {\n \"data-slot\": element.props[\"data-slot\"] ?? \"auth-form-body\",\n className: [className, element.props.className].filter(Boolean).join(\" \"),\n } as React.Attributes & { className?: string });\n}\n\n/**\n * The panel an auth screen's credentials sit in: surface, header and logo rows,\n * heading and description, the body region's rhythm, and the footer and notice\n * rows beneath it (the auth pattern).\n *\n * Everything a screen *does* stays with the screen — submission, field state,\n * validation, lockout, the submit control. This layout owns only where those\n * things sit. The seam is the body region: the caller passes its own form\n * element as the single child; the layout puts the gap above it on a wrapper and merges the rows' spacing\n * onto the element itself (a native form takes it; the DS Form keeps its own gap and `data-slot`):\n *\n * - The form remains a real element, so its handler, `noValidate` and\n * `aria-busy` behave exactly as they did before this layout existed.\n * - The header, logo, footer and notice rows sit *outside* the form. A control\n * placed there is not the form's to submit.\n *\n * The single-child contract is real: a fragment or two siblings fail at render\n * rather than silently losing the rhythm. Override the spacing with\n * `bodyClassName`, not by adding classes to the child — the merge with the\n * child's own is a concatenation, not a Tailwind-aware one.\n */\nexport function AuthFormLayout({\n surface = \"card\",\n title,\n description,\n titleClassName = \"text-heading-large\",\n headingLevel = 1,\n headerSlot,\n logoSlot,\n footerSlot,\n noticeSlot,\n bodyClassName,\n children,\n className,\n}: AuthFormLayoutProps) {\n return (\n <div\n data-slot=\"auth-card\"\n data-surface={surface}\n className={cn(\n \"w-full\",\n surface === \"card\"\n ? \"max-w-100 rounded-2xl bg-ds-surface-raised p-ds-300 shadow-ds-raised sm:p-7\"\n : \"max-w-sm\",\n className,\n )}\n >\n {headerSlot && <div data-slot=\"auth-card-header\" className=\"mb-ds-300 flex justify-end\">{headerSlot}</div>}\n\n {logoSlot && <div data-slot=\"auth-card-logo\" className=\"mb-7 flex items-center lg:hidden\">{logoSlot}</div>}\n\n <div className=\"space-y-1.5\">\n <TitleTag level={headingLevel} className={cn(\"text-ds-text\", titleClassName)}>{title}</TitleTag>\n {description && <p className=\"text-body text-ds-text-subtle\">{description}</p>}\n </div>\n\n {/* The gap above the form sits on a wrapper: the DS Form takes no className (its own gap is its rhythm),\n so a margin merged onto it would be lost. */}\n <div data-slot=\"auth-form-region\" className=\"mt-ds-400\">\n <AuthFormBody className={cn(\"space-y-4\", bodyClassName)}>{children}</AuthFormBody>\n </div>\n\n {footerSlot && <div data-slot=\"auth-card-footer\" className=\"mt-ds-300 flex justify-center\">{footerSlot}</div>}\n\n {noticeSlot && <div data-slot=\"auth-card-notice\" className=\"mt-8\">{noticeSlot}</div>}\n </div>\n );\n}\n"]}