@12-apps/ui 6.7.0 → 6.9.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 (405) hide show
  1. package/dist/chunk-3X3JVF6E.js +438 -0
  2. package/dist/chunk-3X3JVF6E.js.map +1 -0
  3. package/dist/chunk-AL3W7TXN.js +465 -0
  4. package/dist/chunk-AL3W7TXN.js.map +1 -0
  5. package/dist/{chunk-QLBYAYUG.js → chunk-KR2BP7NK.js} +4 -4
  6. package/dist/chunk-KR2BP7NK.js.map +1 -0
  7. package/dist/{chunk-DFVRZ3UK.js → chunk-KXARS46L.js} +3 -3
  8. package/dist/chunk-KXARS46L.js.map +1 -0
  9. package/dist/{chunk-JP55QWVR.js → chunk-L7L6SX64.js} +5 -2
  10. package/dist/chunk-L7L6SX64.js.map +1 -0
  11. package/dist/{chunk-QZZVHY6U.js → chunk-PVLDKXKR.js} +7 -3
  12. package/dist/chunk-PVLDKXKR.js.map +1 -0
  13. package/dist/{chunk-H7UAGTVW.js → chunk-TSG5C7MP.js} +4 -3
  14. package/dist/chunk-TSG5C7MP.js.map +1 -0
  15. package/dist/{chunk-NUCLEOHF.js → chunk-UNM7KFDX.js} +44 -14
  16. package/dist/chunk-UNM7KFDX.js.map +1 -0
  17. package/dist/{chunk-CEKPLUQV.js → chunk-UY7UF7IN.js} +19 -13
  18. package/dist/chunk-UY7UF7IN.js.map +1 -0
  19. package/dist/data-display/DataGrid.js +1 -1
  20. package/dist/data-display/DataViews.js +88 -65
  21. package/dist/data-display/DataViews.js.map +1 -1
  22. package/dist/data-display/HoverCard.js +4 -1
  23. package/dist/data-display/HoverCard.js.map +1 -1
  24. package/dist/data-display/Table.js +4 -2
  25. package/dist/data-display/Table.js.map +1 -1
  26. package/dist/data-display/TimingDiagram.js +3 -2
  27. package/dist/data-display/TimingDiagram.js.map +1 -1
  28. package/dist/en-US.js +56 -0
  29. package/dist/en-US.js.map +1 -0
  30. package/dist/feedback/Sonner.js +5 -4
  31. package/dist/feedback/Sonner.js.map +1 -1
  32. package/dist/feedback/StackedModal.js +1 -1
  33. package/dist/feedback/TutorialOverlay.js +19 -5
  34. package/dist/feedback/TutorialOverlay.js.map +1 -1
  35. package/dist/form/AddressAutocomplete.js +16 -8
  36. package/dist/form/AddressAutocomplete.js.map +1 -1
  37. package/dist/form/Autocomplete.js +9 -7
  38. package/dist/form/Autocomplete.js.map +1 -1
  39. package/dist/form/Calendar.js +1 -1
  40. package/dist/form/CodeEditor.js +14 -9
  41. package/dist/form/CodeEditor.js.map +1 -1
  42. package/dist/form/DateRangePicker.js +10 -3
  43. package/dist/form/DateRangePicker.js.map +1 -1
  44. package/dist/form/Menubar.js +4 -1
  45. package/dist/form/Menubar.js.map +1 -1
  46. package/dist/form/PasswordStrength.js +48 -28
  47. package/dist/form/PasswordStrength.js.map +1 -1
  48. package/dist/form/PhoneInput.js +11 -5
  49. package/dist/form/PhoneInput.js.map +1 -1
  50. package/dist/form/SearchPalette.js +4 -1
  51. package/dist/form/SearchPalette.js.map +1 -1
  52. package/dist/form/Textarea.js +21 -19
  53. package/dist/form/Textarea.js.map +1 -1
  54. package/dist/form/UploadButton.js +16 -11
  55. package/dist/form/UploadButton.js.map +1 -1
  56. package/dist/layout/ContentToolbar.js +1 -1
  57. package/dist/layout/Dashboard.js +2 -1
  58. package/dist/layout/Dashboard.js.map +1 -1
  59. package/dist/layout/ScrollArea.js +9 -3
  60. package/dist/layout/ScrollArea.js.map +1 -1
  61. package/dist/layout/TableFilter.js +1 -1
  62. package/dist/locales.js +171 -0
  63. package/dist/locales.js.map +1 -0
  64. package/dist/navigation/Breadcrumbs.js +9 -3
  65. package/dist/navigation/Breadcrumbs.js.map +1 -1
  66. package/dist/navigation/CommandPalette.js +20 -7
  67. package/dist/navigation/CommandPalette.js.map +1 -1
  68. package/dist/navigation/Pagination.js +1 -1
  69. package/dist/navigation/Tabs.js +7 -3
  70. package/dist/navigation/Tabs.js.map +1 -1
  71. package/dist/pt-BR.js +42 -274
  72. package/dist/pt-BR.js.map +1 -1
  73. package/dist/types/components/data-display/DataGrid/DataGrid.states.d.ts +1 -0
  74. package/dist/types/components/data-display/DataGrid/DataGrid.states.d.ts.map +1 -1
  75. package/dist/types/components/data-display/DataGrid/DataGrid.types.d.ts +5 -0
  76. package/dist/types/components/data-display/DataGrid/DataGrid.types.d.ts.map +1 -1
  77. package/dist/types/components/data-display/DataViews/data-views-category-pill.d.ts.map +1 -1
  78. package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +27 -1
  79. package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -1
  80. package/dist/types/components/data-display/DataViews/data-views-day-input.d.ts +12 -1
  81. package/dist/types/components/data-display/DataViews/data-views-day-input.d.ts.map +1 -1
  82. package/dist/types/components/data-display/DataViews/data-views-filter-panel.d.ts.map +1 -1
  83. package/dist/types/components/data-display/DataViews/data-views-grid-bodies.d.ts.map +1 -1
  84. package/dist/types/components/data-display/DataViews/data-views-grid-parts.d.ts.map +1 -1
  85. package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
  86. package/dist/types/components/data-display/DataViews/data-views-pagination.d.ts.map +1 -1
  87. package/dist/types/components/data-display/DataViews/data-views-range-pill.d.ts.map +1 -1
  88. package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts.map +1 -1
  89. package/dist/types/components/data-display/HoverCard/HoverCard.content.d.ts +1 -1
  90. package/dist/types/components/data-display/HoverCard/HoverCard.content.d.ts.map +1 -1
  91. package/dist/types/components/data-display/HoverCard/HoverCard.d.ts.map +1 -1
  92. package/dist/types/components/data-display/HoverCard/HoverCard.types.d.ts +2 -0
  93. package/dist/types/components/data-display/HoverCard/HoverCard.types.d.ts.map +1 -1
  94. package/dist/types/components/data-display/Table/Table.d.ts.map +1 -1
  95. package/dist/types/components/data-display/Table/Table.types.d.ts +5 -0
  96. package/dist/types/components/data-display/Table/Table.types.d.ts.map +1 -1
  97. package/dist/types/components/data-display/Table/TableStates.d.ts +3 -1
  98. package/dist/types/components/data-display/Table/TableStates.d.ts.map +1 -1
  99. package/dist/types/components/data-display/TimingDiagram/TimingDiagram.d.ts.map +1 -1
  100. package/dist/types/components/data-display/TimingDiagram/TimingDiagram.types.d.ts +3 -0
  101. package/dist/types/components/data-display/TimingDiagram/TimingDiagram.types.d.ts.map +1 -1
  102. package/dist/types/components/feedback/Sonner/Sonner.d.ts +8 -0
  103. package/dist/types/components/feedback/Sonner/Sonner.d.ts.map +1 -1
  104. package/dist/types/components/feedback/Sonner/Sonner.types.d.ts +2 -0
  105. package/dist/types/components/feedback/Sonner/Sonner.types.d.ts.map +1 -1
  106. package/dist/types/components/feedback/Sonner/SonnerToast.d.ts.map +1 -1
  107. package/dist/types/components/feedback/StackedModal/StackedModal.d.ts.map +1 -1
  108. package/dist/types/components/feedback/StackedModal/StackedModal.parts.d.ts +2 -0
  109. package/dist/types/components/feedback/StackedModal/StackedModal.parts.d.ts.map +1 -1
  110. package/dist/types/components/feedback/StackedModal/StackedModal.types.d.ts +2 -0
  111. package/dist/types/components/feedback/StackedModal/StackedModal.types.d.ts.map +1 -1
  112. package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.d.ts.map +1 -1
  113. package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.types.d.ts +3 -0
  114. package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.types.d.ts.map +1 -1
  115. package/dist/types/components/feedback/TutorialOverlay/TutorialStepBody.d.ts +2 -0
  116. package/dist/types/components/feedback/TutorialOverlay/TutorialStepBody.d.ts.map +1 -1
  117. package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.types.d.ts +7 -0
  118. package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.types.d.ts.map +1 -1
  119. package/dist/types/components/form/AddressAutocomplete/AddressAutocompleteField.d.ts.map +1 -1
  120. package/dist/types/components/form/AddressAutocomplete/AddressFallbackField.d.ts +1 -0
  121. package/dist/types/components/form/AddressAutocomplete/AddressFallbackField.d.ts.map +1 -1
  122. package/dist/types/components/form/AddressAutocomplete/AddressInputField.d.ts +1 -0
  123. package/dist/types/components/form/AddressAutocomplete/AddressInputField.d.ts.map +1 -1
  124. package/dist/types/components/form/Autocomplete/Autocomplete.d.ts.map +1 -1
  125. package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts +9 -3
  126. package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts.map +1 -1
  127. package/dist/types/components/form/Autocomplete/Autocomplete.types.d.ts +7 -0
  128. package/dist/types/components/form/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  129. package/dist/types/components/form/Calendar/Calendar.types.d.ts +6 -0
  130. package/dist/types/components/form/Calendar/Calendar.types.d.ts.map +1 -1
  131. package/dist/types/components/form/CodeEditor/CodeEditor.d.ts.map +1 -1
  132. package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts +7 -0
  133. package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts.map +1 -1
  134. package/dist/types/components/form/CodeEditor/CodeEditorToolbar.d.ts +2 -0
  135. package/dist/types/components/form/CodeEditor/CodeEditorToolbar.d.ts.map +1 -1
  136. package/dist/types/components/form/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  137. package/dist/types/components/form/DateRangePicker/DateRangePicker.range.d.ts.map +1 -1
  138. package/dist/types/components/form/DateRangePicker/DateRangePicker.types.d.ts +11 -0
  139. package/dist/types/components/form/DateRangePicker/DateRangePicker.types.d.ts.map +1 -1
  140. package/dist/types/components/form/DateRangePicker/DateRangePickerFields.d.ts.map +1 -1
  141. package/dist/types/components/form/Menubar/Menubar.d.ts.map +1 -1
  142. package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts +1 -0
  143. package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts.map +1 -1
  144. package/dist/types/components/form/Menubar/Menubar.types.d.ts +5 -0
  145. package/dist/types/components/form/Menubar/Menubar.types.d.ts.map +1 -1
  146. package/dist/types/components/form/PasswordStrength/PasswordStrength.d.ts.map +1 -1
  147. package/dist/types/components/form/PasswordStrength/PasswordStrength.helpers.d.ts +4 -2
  148. package/dist/types/components/form/PasswordStrength/PasswordStrength.helpers.d.ts.map +1 -1
  149. package/dist/types/components/form/PasswordStrength/PasswordStrength.types.d.ts +8 -0
  150. package/dist/types/components/form/PasswordStrength/PasswordStrength.types.d.ts.map +1 -1
  151. package/dist/types/components/form/PhoneInput/PhoneInput.d.ts.map +1 -1
  152. package/dist/types/components/form/PhoneInput/PhoneInput.types.d.ts +7 -0
  153. package/dist/types/components/form/PhoneInput/PhoneInput.types.d.ts.map +1 -1
  154. package/dist/types/components/form/SearchPalette/SearchPalette.d.ts.map +1 -1
  155. package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts +2 -0
  156. package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts.map +1 -1
  157. package/dist/types/components/form/SearchPalette/SearchPalette.types.d.ts +6 -0
  158. package/dist/types/components/form/SearchPalette/SearchPalette.types.d.ts.map +1 -1
  159. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  160. package/dist/types/components/form/Textarea/Textarea.types.d.ts +16 -1
  161. package/dist/types/components/form/Textarea/Textarea.types.d.ts.map +1 -1
  162. package/dist/types/components/form/Textarea/TextareaRichEditor.d.ts +7 -0
  163. package/dist/types/components/form/Textarea/TextareaRichEditor.d.ts.map +1 -1
  164. package/dist/types/components/form/UploadButton/UploadButton.d.ts.map +1 -1
  165. package/dist/types/components/form/UploadButton/UploadButton.parts.d.ts +6 -3
  166. package/dist/types/components/form/UploadButton/UploadButton.parts.d.ts.map +1 -1
  167. package/dist/types/components/form/UploadButton/UploadButton.types.d.ts +7 -0
  168. package/dist/types/components/form/UploadButton/UploadButton.types.d.ts.map +1 -1
  169. package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts +1 -1
  170. package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts.map +1 -1
  171. package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts +12 -0
  172. package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts.map +1 -1
  173. package/dist/types/components/layout/ContentToolbar/MultiSelectDropdown.d.ts +1 -1
  174. package/dist/types/components/layout/ContentToolbar/MultiSelectDropdown.d.ts.map +1 -1
  175. package/dist/types/components/layout/ContentToolbar/SortByDropdown.d.ts +1 -1
  176. package/dist/types/components/layout/ContentToolbar/SortByDropdown.d.ts.map +1 -1
  177. package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts +1 -1
  178. package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts.map +1 -1
  179. package/dist/types/components/layout/Dashboard/Dashboard.d.ts +1 -1
  180. package/dist/types/components/layout/Dashboard/Dashboard.types.d.ts +4 -0
  181. package/dist/types/components/layout/Dashboard/Dashboard.types.d.ts.map +1 -1
  182. package/dist/types/components/layout/Dashboard/DashboardParts.d.ts +1 -1
  183. package/dist/types/components/layout/Dashboard/DashboardParts.d.ts.map +1 -1
  184. package/dist/types/components/layout/ScrollArea/ScrollArea.d.ts.map +1 -1
  185. package/dist/types/components/layout/ScrollArea/ScrollArea.types.d.ts +21 -3
  186. package/dist/types/components/layout/ScrollArea/ScrollArea.types.d.ts.map +1 -1
  187. package/dist/types/components/layout/ScrollArea/ScrollViewport.d.ts +2 -0
  188. package/dist/types/components/layout/ScrollArea/ScrollViewport.d.ts.map +1 -1
  189. package/dist/types/components/layout/TableFilter/TableFilter.d.ts +1 -1
  190. package/dist/types/components/layout/TableFilter/TableFilter.d.ts.map +1 -1
  191. package/dist/types/components/layout/TableFilter/TableFilter.types.d.ts +7 -0
  192. package/dist/types/components/layout/TableFilter/TableFilter.types.d.ts.map +1 -1
  193. package/dist/types/components/layout/TableFilter/TableFilterContext.d.ts +9 -0
  194. package/dist/types/components/layout/TableFilter/TableFilterContext.d.ts.map +1 -1
  195. package/dist/types/components/navigation/Breadcrumbs/BreadcrumbEntry.d.ts +2 -0
  196. package/dist/types/components/navigation/Breadcrumbs/BreadcrumbEntry.d.ts.map +1 -1
  197. package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  198. package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.types.d.ts +3 -0
  199. package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
  200. package/dist/types/components/navigation/CommandPalette/CommandPalette.d.ts.map +1 -1
  201. package/dist/types/components/navigation/CommandPalette/CommandPalette.types.d.ts +3 -0
  202. package/dist/types/components/navigation/CommandPalette/CommandPalette.types.d.ts.map +1 -1
  203. package/dist/types/components/navigation/CommandPalette/CommandPaletteResults.d.ts +2 -0
  204. package/dist/types/components/navigation/CommandPalette/CommandPaletteResults.d.ts.map +1 -1
  205. package/dist/types/components/navigation/Pagination/Pagination.d.ts.map +1 -1
  206. package/dist/types/components/navigation/Pagination/Pagination.types.d.ts +2 -0
  207. package/dist/types/components/navigation/Pagination/Pagination.types.d.ts.map +1 -1
  208. package/dist/types/components/navigation/Pagination/PaginationParts.d.ts +2 -0
  209. package/dist/types/components/navigation/Pagination/PaginationParts.d.ts.map +1 -1
  210. package/dist/types/components/navigation/Tabs/Tabs.d.ts.map +1 -1
  211. package/dist/types/components/navigation/Tabs/Tabs.types.d.ts +2 -0
  212. package/dist/types/components/navigation/Tabs/Tabs.types.d.ts.map +1 -1
  213. package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.d.ts.map +1 -1
  214. package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts +6 -2
  215. package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts.map +1 -1
  216. package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts +6 -0
  217. package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts.map +1 -1
  218. package/dist/types/components/utility/InstallPrompt/InstallPrompt.d.ts +4 -2
  219. package/dist/types/components/utility/InstallPrompt/InstallPrompt.d.ts.map +1 -1
  220. package/dist/types/components/utility/InstallPrompt/InstallPrompt.types.d.ts +8 -7
  221. package/dist/types/components/utility/InstallPrompt/InstallPrompt.types.d.ts.map +1 -1
  222. package/dist/types/copy/data-display.d.ts +56 -0
  223. package/dist/types/copy/data-display.d.ts.map +1 -0
  224. package/dist/types/copy/feedback.d.ts +38 -0
  225. package/dist/types/copy/feedback.d.ts.map +1 -0
  226. package/dist/types/copy/form.d.ts +146 -0
  227. package/dist/types/copy/form.d.ts.map +1 -0
  228. package/dist/types/copy/layout.d.ts +18 -0
  229. package/dist/types/copy/layout.d.ts.map +1 -0
  230. package/dist/types/copy/navigation.d.ts +24 -0
  231. package/dist/types/copy/navigation.d.ts.map +1 -0
  232. package/dist/types/copy/shared.d.ts +119 -0
  233. package/dist/types/copy/shared.d.ts.map +1 -0
  234. package/dist/types/copy/utility.d.ts +35 -0
  235. package/dist/types/copy/utility.d.ts.map +1 -0
  236. package/dist/types/copy.d.ts +12 -165
  237. package/dist/types/copy.d.ts.map +1 -1
  238. package/dist/types/en-US.d.ts +24 -0
  239. package/dist/types/en-US.d.ts.map +1 -0
  240. package/dist/types/en-US.data-display.d.ts +13 -0
  241. package/dist/types/en-US.data-display.d.ts.map +1 -0
  242. package/dist/types/en-US.feedback.d.ts +8 -0
  243. package/dist/types/en-US.feedback.d.ts.map +1 -0
  244. package/dist/types/en-US.form.d.ts +13 -0
  245. package/dist/types/en-US.form.d.ts.map +1 -0
  246. package/dist/types/en-US.layout.d.ts +7 -0
  247. package/dist/types/en-US.layout.d.ts.map +1 -0
  248. package/dist/types/en-US.navigation.d.ts +8 -0
  249. package/dist/types/en-US.navigation.d.ts.map +1 -0
  250. package/dist/types/en-US.shared.d.ts +26 -0
  251. package/dist/types/en-US.shared.d.ts.map +1 -0
  252. package/dist/types/en-US.utility.d.ts +8 -0
  253. package/dist/types/en-US.utility.d.ts.map +1 -0
  254. package/dist/types/locales.d.ts +53 -0
  255. package/dist/types/locales.d.ts.map +1 -0
  256. package/dist/types/pt-BR.d.ts +15 -22
  257. package/dist/types/pt-BR.d.ts.map +1 -1
  258. package/dist/types/pt-BR.data-display.d.ts +13 -0
  259. package/dist/types/pt-BR.data-display.d.ts.map +1 -0
  260. package/dist/types/pt-BR.feedback.d.ts +8 -0
  261. package/dist/types/pt-BR.feedback.d.ts.map +1 -0
  262. package/dist/types/pt-BR.form.d.ts +13 -0
  263. package/dist/types/pt-BR.form.d.ts.map +1 -0
  264. package/dist/types/pt-BR.layout.d.ts +7 -0
  265. package/dist/types/pt-BR.layout.d.ts.map +1 -0
  266. package/dist/types/pt-BR.navigation.d.ts +8 -0
  267. package/dist/types/pt-BR.navigation.d.ts.map +1 -0
  268. package/dist/types/pt-BR.shared.d.ts +21 -0
  269. package/dist/types/pt-BR.shared.d.ts.map +1 -0
  270. package/dist/types/pt-BR.utility.d.ts +8 -0
  271. package/dist/types/pt-BR.utility.d.ts.map +1 -0
  272. package/dist/types/user-avatar/user-avatar.d.ts +7 -1
  273. package/dist/types/user-avatar/user-avatar.d.ts.map +1 -1
  274. package/dist/user-avatar.js +2 -2
  275. package/dist/user-avatar.js.map +1 -1
  276. package/dist/utility/InfiniteScroll.js +7 -5
  277. package/dist/utility/InfiniteScroll.js.map +1 -1
  278. package/dist/utility/InstallPrompt.js +14 -13
  279. package/dist/utility/InstallPrompt.js.map +1 -1
  280. package/package.json +10 -1
  281. package/src/components/data-display/DataGrid/DataGrid.states.tsx +3 -3
  282. package/src/components/data-display/DataGrid/DataGrid.tsx +1 -1
  283. package/src/components/data-display/DataGrid/DataGrid.types.ts +5 -0
  284. package/src/components/data-display/DataViews/data-views-category-pill.tsx +2 -0
  285. package/src/components/data-display/DataViews/data-views-copy.ts +27 -1
  286. package/src/components/data-display/DataViews/data-views-day-input.tsx +14 -3
  287. package/src/components/data-display/DataViews/data-views-filter-panel.tsx +2 -1
  288. package/src/components/data-display/DataViews/data-views-grid-bodies.tsx +3 -0
  289. package/src/components/data-display/DataViews/data-views-grid-parts.tsx +9 -10
  290. package/src/components/data-display/DataViews/data-views-more-fields.tsx +3 -1
  291. package/src/components/data-display/DataViews/data-views-pagination.tsx +3 -0
  292. package/src/components/data-display/DataViews/data-views-range-pill.tsx +3 -1
  293. package/src/components/data-display/DataViews/data-views-toolbar.tsx +2 -0
  294. package/src/components/data-display/HoverCard/HoverCard.content.tsx +10 -2
  295. package/src/components/data-display/HoverCard/HoverCard.tsx +2 -3
  296. package/src/components/data-display/HoverCard/HoverCard.types.ts +2 -0
  297. package/src/components/data-display/Table/Table.tsx +7 -2
  298. package/src/components/data-display/Table/Table.types.ts +5 -0
  299. package/src/components/data-display/Table/TableStates.tsx +2 -2
  300. package/src/components/data-display/TimingDiagram/TimingDiagram.tsx +3 -2
  301. package/src/components/data-display/TimingDiagram/TimingDiagram.types.ts +3 -0
  302. package/src/components/feedback/Sonner/Sonner.tsx +15 -3
  303. package/src/components/feedback/Sonner/Sonner.types.ts +2 -0
  304. package/src/components/feedback/Sonner/SonnerToast.tsx +2 -1
  305. package/src/components/feedback/StackedModal/StackedModal.parts.tsx +10 -3
  306. package/src/components/feedback/StackedModal/StackedModal.tsx +2 -1
  307. package/src/components/feedback/StackedModal/StackedModal.types.ts +2 -0
  308. package/src/components/feedback/TutorialOverlay/TutorialOverlay.tsx +13 -1
  309. package/src/components/feedback/TutorialOverlay/TutorialOverlay.types.ts +3 -0
  310. package/src/components/feedback/TutorialOverlay/TutorialStepBody.tsx +10 -4
  311. package/src/components/form/AddressAutocomplete/AddressAutocomplete.types.ts +7 -0
  312. package/src/components/form/AddressAutocomplete/AddressAutocompleteField.tsx +2 -0
  313. package/src/components/form/AddressAutocomplete/AddressFallbackField.tsx +4 -2
  314. package/src/components/form/AddressAutocomplete/AddressInputField.tsx +13 -6
  315. package/src/components/form/Autocomplete/Autocomplete.parts.tsx +9 -6
  316. package/src/components/form/Autocomplete/Autocomplete.tsx +2 -1
  317. package/src/components/form/Autocomplete/Autocomplete.types.ts +7 -0
  318. package/src/components/form/Calendar/Calendar.tsx +2 -2
  319. package/src/components/form/Calendar/Calendar.types.ts +7 -0
  320. package/src/components/form/CodeEditor/CodeEditor.tsx +6 -4
  321. package/src/components/form/CodeEditor/CodeEditor.types.ts +7 -0
  322. package/src/components/form/CodeEditor/CodeEditorToolbar.tsx +12 -5
  323. package/src/components/form/DateRangePicker/DateRangePicker.range.ts +2 -0
  324. package/src/components/form/DateRangePicker/DateRangePicker.tsx +4 -0
  325. package/src/components/form/DateRangePicker/DateRangePicker.types.ts +11 -0
  326. package/src/components/form/DateRangePicker/DateRangePickerFields.tsx +2 -0
  327. package/src/components/form/Menubar/Menubar.toolbar.tsx +3 -1
  328. package/src/components/form/Menubar/Menubar.tsx +2 -1
  329. package/src/components/form/Menubar/Menubar.types.ts +5 -0
  330. package/src/components/form/PasswordStrength/PasswordStrength.helpers.tsx +33 -17
  331. package/src/components/form/PasswordStrength/PasswordStrength.tsx +29 -13
  332. package/src/components/form/PasswordStrength/PasswordStrength.types.ts +9 -0
  333. package/src/components/form/PhoneInput/PhoneInput.tsx +15 -5
  334. package/src/components/form/PhoneInput/PhoneInput.types.ts +7 -0
  335. package/src/components/form/SearchPalette/SearchPalette.parts.tsx +4 -1
  336. package/src/components/form/SearchPalette/SearchPalette.tsx +4 -1
  337. package/src/components/form/SearchPalette/SearchPalette.types.ts +6 -0
  338. package/src/components/form/Textarea/Textarea.tsx +6 -1
  339. package/src/components/form/Textarea/Textarea.types.ts +14 -1
  340. package/src/components/form/Textarea/TextareaRichEditor.tsx +28 -18
  341. package/src/components/form/UploadButton/UploadButton.parts.tsx +16 -7
  342. package/src/components/form/UploadButton/UploadButton.tsx +4 -1
  343. package/src/components/form/UploadButton/UploadButton.types.ts +8 -0
  344. package/src/components/layout/ContentToolbar/ContentToolbar.tsx +10 -2
  345. package/src/components/layout/ContentToolbar/ContentToolbar.types.ts +12 -0
  346. package/src/components/layout/ContentToolbar/MultiSelectDropdown.tsx +15 -4
  347. package/src/components/layout/ContentToolbar/SortByDropdown.tsx +12 -3
  348. package/src/components/layout/ContentToolbar/ViewSelector.tsx +2 -1
  349. package/src/components/layout/Dashboard/Dashboard.types.ts +4 -0
  350. package/src/components/layout/Dashboard/DashboardParts.tsx +2 -1
  351. package/src/components/layout/ScrollArea/ScrollArea.tsx +16 -3
  352. package/src/components/layout/ScrollArea/ScrollArea.types.ts +19 -4
  353. package/src/components/layout/ScrollArea/ScrollViewport.tsx +4 -1
  354. package/src/components/layout/TableFilter/TableFilter.tsx +19 -11
  355. package/src/components/layout/TableFilter/TableFilter.types.ts +8 -0
  356. package/src/components/layout/TableFilter/TableFilterContext.tsx +10 -0
  357. package/src/components/navigation/Breadcrumbs/BreadcrumbEntry.tsx +11 -4
  358. package/src/components/navigation/Breadcrumbs/Breadcrumbs.tsx +2 -0
  359. package/src/components/navigation/Breadcrumbs/Breadcrumbs.types.ts +3 -0
  360. package/src/components/navigation/CommandPalette/CommandPalette.tsx +15 -5
  361. package/src/components/navigation/CommandPalette/CommandPalette.types.ts +3 -0
  362. package/src/components/navigation/CommandPalette/CommandPaletteResults.tsx +5 -2
  363. package/src/components/navigation/Pagination/Pagination.tsx +2 -0
  364. package/src/components/navigation/Pagination/Pagination.types.ts +2 -0
  365. package/src/components/navigation/Pagination/PaginationParts.tsx +4 -1
  366. package/src/components/navigation/Tabs/Tabs.tsx +8 -3
  367. package/src/components/navigation/Tabs/Tabs.types.ts +2 -0
  368. package/src/components/utility/InfiniteScroll/InfiniteScroll.parts.tsx +4 -4
  369. package/src/components/utility/InfiniteScroll/InfiniteScroll.tsx +4 -2
  370. package/src/components/utility/InfiniteScroll/InfiniteScroll.types.ts +6 -0
  371. package/src/components/utility/InstallPrompt/InstallPrompt.tsx +18 -13
  372. package/src/components/utility/InstallPrompt/InstallPrompt.types.ts +9 -7
  373. package/src/copy/data-display.ts +60 -0
  374. package/src/copy/feedback.ts +39 -0
  375. package/src/copy/form.ts +154 -0
  376. package/src/copy/layout.ts +18 -0
  377. package/src/copy/navigation.ts +25 -0
  378. package/src/copy/shared.ts +122 -0
  379. package/src/copy/utility.ts +36 -0
  380. package/src/copy.ts +12 -173
  381. package/src/en-US.data-display.ts +244 -0
  382. package/src/en-US.feedback.ts +25 -0
  383. package/src/en-US.form.ts +103 -0
  384. package/src/en-US.layout.ts +15 -0
  385. package/src/en-US.navigation.ts +23 -0
  386. package/src/en-US.shared.ts +105 -0
  387. package/src/en-US.ts +24 -0
  388. package/src/en-US.utility.ts +24 -0
  389. package/src/locales.ts +151 -0
  390. package/src/pt-BR.data-display.ts +236 -0
  391. package/src/pt-BR.feedback.ts +25 -0
  392. package/src/pt-BR.form.ts +96 -0
  393. package/src/pt-BR.layout.ts +15 -0
  394. package/src/pt-BR.navigation.ts +21 -0
  395. package/src/pt-BR.shared.ts +94 -0
  396. package/src/pt-BR.ts +15 -307
  397. package/src/pt-BR.utility.ts +21 -0
  398. package/src/user-avatar/user-avatar.tsx +8 -2
  399. package/dist/chunk-CEKPLUQV.js.map +0 -1
  400. package/dist/chunk-DFVRZ3UK.js.map +0 -1
  401. package/dist/chunk-H7UAGTVW.js.map +0 -1
  402. package/dist/chunk-JP55QWVR.js.map +0 -1
  403. package/dist/chunk-NUCLEOHF.js.map +0 -1
  404. package/dist/chunk-QLBYAYUG.js.map +0 -1
  405. package/dist/chunk-QZZVHY6U.js.map +0 -1
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { installPromptStyles } from './InstallPrompt.styles';
9
9
  import type { InstallPlatform, InstallPromptProps } from './InstallPrompt.types';
10
10
  import { usePwaInstall } from './usePwaInstall';
11
+ import type { InstallPromptCopy } from '../../../copy';
11
12
 
12
13
  const StyledInstallPrompt = styled(Box)(({ theme }) => installPromptStyles(theme));
13
14
 
@@ -20,9 +21,10 @@ const testIdFor = (base: string | undefined, suffix: string) =>
20
21
  * be a control that does nothing when pressed.
21
22
  */
22
23
  const IosInstructions: React.FC<{
24
+ copy: InstallPromptCopy;
23
25
  instructions?: React.ReactNode;
24
26
  dataTestId?: string;
25
- }> = ({ instructions, dataTestId }) => (
27
+ }> = ({ copy, instructions, dataTestId }) => (
26
28
  <Typography
27
29
  className="install-prompt-description"
28
30
  variant="body2"
@@ -32,20 +34,22 @@ const IosInstructions: React.FC<{
32
34
  >
33
35
  {instructions ?? (
34
36
  <>
35
- Tap <IosShare fontSize="small" aria-label="Share" /> then &quot;Add to Home Screen&quot;
37
+ {copy.iosTapBefore} <IosShare fontSize="small" aria-label={copy.shareLabel} />{' '}
38
+ {copy.iosTapAfter}
36
39
  </>
37
40
  )}
38
41
  </Typography>
39
42
  );
40
43
 
41
44
  const InstallPromptBody: React.FC<{
45
+ copy: InstallPromptCopy;
42
46
  icon?: React.ReactNode;
43
47
  title: string;
44
48
  description?: string;
45
49
  iosInstructions?: React.ReactNode;
46
50
  platform: InstallPlatform;
47
51
  dataTestId?: string;
48
- }> = ({ icon, title, description, iosInstructions, platform, dataTestId }) => (
52
+ }> = ({ copy, icon, title, description, iosInstructions, platform, dataTestId }) => (
49
53
  <>
50
54
  <Box className="install-prompt-icon" aria-hidden="true">
51
55
  {icon ?? <InstallMobile />}
@@ -73,7 +77,7 @@ const InstallPromptBody: React.FC<{
73
77
  )}
74
78
 
75
79
  {platform === 'ios' && (
76
- <IosInstructions instructions={iosInstructions} dataTestId={dataTestId} />
80
+ <IosInstructions copy={copy} instructions={iosInstructions} dataTestId={dataTestId} />
77
81
  )}
78
82
  </Box>
79
83
  </>
@@ -118,17 +122,17 @@ const InstallPromptActions: React.FC<{
118
122
  * browser with no install route at all — so it is safe to mount unconditionally
119
123
  * in a layout rather than gating it at the call site.
120
124
  *
121
- * The copy defaults to English and every string is a prop: this package stays
122
- * locale-neutral and the consuming app supplies its own wording.
125
+ * Every string is REQUIRED host config (`copy`): this package stays
126
+ * locale-neutral and the consuming app supplies its own wording. There is no
127
+ * English default to fall through to, so a missing word is a typecheck failure
128
+ * rather than an English sentence in a pt-BR store.
123
129
  */
124
130
  export const InstallPrompt = React.forwardRef<HTMLDivElement, InstallPromptProps>(
125
131
  (
126
132
  {
127
- title = 'Install this app',
133
+ copy,
128
134
  description,
129
- installLabel = 'Install',
130
135
  iosInstructions,
131
- dismissLabel = 'Dismiss install prompt',
132
136
  icon,
133
137
  onInstall,
134
138
  onDismiss,
@@ -163,13 +167,14 @@ export const InstallPrompt = React.forwardRef<HTMLDivElement, InstallPromptProps
163
167
  ref={ref}
164
168
  className={className}
165
169
  role="region"
166
- aria-label={title}
170
+ aria-label={copy.title}
167
171
  data-testid={dataTestId}
168
172
  {...props}
169
173
  >
170
174
  <InstallPromptBody
171
175
  icon={icon}
172
- title={title}
176
+ copy={copy}
177
+ title={copy.title}
173
178
  description={description}
174
179
  iosInstructions={iosInstructions}
175
180
  platform={platform}
@@ -178,8 +183,8 @@ export const InstallPrompt = React.forwardRef<HTMLDivElement, InstallPromptProps
178
183
 
179
184
  <InstallPromptActions
180
185
  platform={platform}
181
- installLabel={installLabel}
182
- dismissLabel={dismissLabel}
186
+ installLabel={copy.installLabel}
187
+ dismissLabel={copy.dismissLabel}
183
188
  onInstallClick={handleInstall}
184
189
  onDismissClick={handleDismiss}
185
190
  dataTestId={dataTestId}
@@ -1,5 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
 
3
+ import type { InstallPromptCopy } from '../../../copy';
4
+
3
5
  /**
4
6
  * The Chromium-only event that makes a PWA installable from inside the page.
5
7
  * It is NOT in TypeScript's DOM lib because it is not a standard: Safari and
@@ -70,16 +72,16 @@ export interface PwaInstallState {
70
72
  }
71
73
 
72
74
  export interface InstallPromptProps {
73
- /** Headline text. */
74
- title?: string;
75
+ /**
76
+ * Every word this prompt renders. REQUIRED: this package ships no default
77
+ * copy, and the iOS half is a GESTURE instruction — a shopper who cannot
78
+ * read it cannot install the app at all.
79
+ */
80
+ copy: InstallPromptCopy;
75
81
  /** Supporting line under the title. */
76
82
  description?: string;
77
- /** Label for the install button (Chromium only). */
78
- installLabel?: string;
79
- /** Replaces the built-in iOS Share → Add to Home Screen wording. */
83
+ /** Replaces the built-in iOS Share → Add to Home Screen wording outright. */
80
84
  iosInstructions?: ReactNode;
81
- /** Accessible label for the dismiss button. */
82
- dismissLabel?: string;
83
85
  /** Leading icon. Defaults to an install glyph. */
84
86
  icon?: ReactNode;
85
87
  /** Called with the outcome after the native prompt resolves. */
@@ -0,0 +1,60 @@
1
+ /**
2
+ * The display family's words — the lightbox and map viewers, the carousel,
3
+ * the timing diagram, and the shared empty/error states.
4
+ *
5
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
6
+ * listing every family is the file that grows on every port, and it stopped
7
+ * fitting the 400-line budget the rest of this package holds itself to.
8
+ */
9
+
10
+ /**
11
+ * The lightbox's controls, every one of them a glyph with no text.
12
+ *
13
+ * So this object IS what a screen-reader user hears for the whole viewer —
14
+ * which is why it shipped as English literals for so long without anyone
15
+ * noticing: the sighted path renders identically either way.
16
+ */
17
+ export interface LightboxCopy {
18
+ close: string;
19
+ previous: string;
20
+ next: string;
21
+ zoomIn: string;
22
+ zoomOut: string;
23
+ resetZoom: string;
24
+ /** The slideshow toggle, in its two states. */
25
+ play: string;
26
+ pause: string;
27
+ }
28
+
29
+ /** The map preview's control bar — same shape, same reason, as the lightbox. */
30
+ export interface MapPreviewCopy {
31
+ zoomIn: string;
32
+ zoomOut: string;
33
+ center: string;
34
+ mapType: string;
35
+ fullscreen: string;
36
+ search: string;
37
+ }
38
+
39
+ /** The carousel's two arrows, which carry a glyph and nothing else. */
40
+ export interface CarouselCopy {
41
+ previous: string;
42
+ next: string;
43
+ }
44
+
45
+ /** The request-timing diagram's own two strings. */
46
+ export interface TimingDiagramCopy {
47
+ regionLabel: string;
48
+ heading: string;
49
+ }
50
+
51
+ export interface DataStateCopy {
52
+ /** No rows at all — distinct from "no rows for these filters". */
53
+ empty: string;
54
+ loading: string;
55
+ /** The infinite scroller reached the end. */
56
+ endOfList: string;
57
+ /** An alert's and a banner's dismiss, neither of which has a visible label. */
58
+ dismissAlert: string;
59
+ dismissBanner: string;
60
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The feedback family's words — the tutorial overlay and the app chrome it
3
+ * points at.
4
+ *
5
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
6
+ * listing every family is the file that grows on every port, and it stopped
7
+ * fitting the 400-line budget the rest of this package holds itself to.
8
+ */
9
+
10
+ /**
11
+ * The states a data surface can be in with nothing to draw, and the dismiss
12
+ * every banner-like surface carries.
13
+ *
14
+ * One object rather than six, because these are the same four sentences the
15
+ * table, the grid, the async container, the hover card and the infinite
16
+ * scroller each rendered their own copy of.
17
+ */
18
+ /** The guided tour's four controls, and the toast/modal chrome around it. */
19
+ export interface TutorialCopy {
20
+ skip: string;
21
+ previous: string;
22
+ next: string;
23
+ restart: string;
24
+ }
25
+
26
+ /** Chrome that carries a glyph and no text, across several small surfaces. */
27
+ export interface ChromeCopy {
28
+ /** The toast's dismiss, and the stacked modal's step-back arrow. */
29
+ dismissToast: string;
30
+ goBack: string;
31
+ /** A dashboard panel's close, and a tab's. */
32
+ closePanel: string;
33
+ closeTab: string;
34
+ /** The scroll region itself, and the button that returns to its top. */
35
+ scrollRegion: string;
36
+ scrollToTop: string;
37
+ /** The share affordance in the install prompt. */
38
+ share: string;
39
+ }
@@ -0,0 +1,154 @@
1
+ /**
2
+ * The form family's words. The largest group, and the one where the leak was
3
+ * least visible: half of these are tooltips and announcements that only a
4
+ * screen reader ever receives, so a language pass over the rendered text
5
+ * walked straight past them.
6
+ *
7
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
8
+ * listing every family is the file that grows on every port, and it stopped
9
+ * fitting the 400-line budget the rest of this package holds itself to.
10
+ */
11
+
12
+ /**
13
+ * The address field's three sentences. Two of them are about Google Maps
14
+ * failing to arrive — read by the shopper while the field is unusable, which
15
+ * is the worst moment to be spoken to in the wrong language.
16
+ */
17
+ export interface AddressAutocompleteCopy {
18
+ /** Placeholder while the Maps script is still loading. */
19
+ loadingMaps: string;
20
+ /** The alert shown when the script never arrived. */
21
+ mapsLoadFailed: string;
22
+ /** The pin button's tooltip, which is also its accessible name. */
23
+ useCurrentLocation: string;
24
+ }
25
+
26
+ /** What an `Autocomplete` renders that is not one of the host's own options. */
27
+ export interface AutocompleteCopy {
28
+ /** The two rows shown in place of options: fetching, and came back empty. */
29
+ loading: string;
30
+ noResults: string;
31
+ /** The input's own prompt, used when the host does not override it. */
32
+ placeholder: string;
33
+ }
34
+
35
+ /**
36
+ * The code editor's chrome. Every one of the four action buttons is a glyph
37
+ * whose tooltip IS its accessible name, so this object is the whole of what a
38
+ * screen reader reads out for the toolbar.
39
+ */
40
+ export interface CodeEditorCopy {
41
+ /** Shown while the editor bundle is still arriving. */
42
+ loading: string;
43
+ /** The badge beside the language when the buffer cannot be edited. */
44
+ readOnly: string;
45
+ /** The format button's tooltip. Carries its own keyboard shortcut. */
46
+ formatCode: string;
47
+ /** The wrap toggle, in its two states. */
48
+ enableWrap: string;
49
+ disableWrap: string;
50
+ /** The copy button, before and after it has been pressed. */
51
+ copyToClipboard: string;
52
+ copied: string;
53
+ /** The fullscreen toggle, in its two states. */
54
+ enterFullscreen: string;
55
+ exitFullscreen: string;
56
+ }
57
+
58
+ /** The five strength bands, weakest first. */
59
+ export interface PasswordStrengthBandCopy {
60
+ veryWeak: string;
61
+ weak: string;
62
+ fair: string;
63
+ good: string;
64
+ strong: string;
65
+ }
66
+
67
+ /**
68
+ * One line per requirement. `minLength` takes the configured count because the
69
+ * number is part of the sentence, and a language may not put it where English
70
+ * does.
71
+ */
72
+ export interface PasswordRequirementCopy {
73
+ minLength(count: number): string;
74
+ uppercase: string;
75
+ lowercase: string;
76
+ numbers: string;
77
+ special: string;
78
+ }
79
+
80
+ /** Everything the password meter renders. */
81
+ export interface PasswordStrengthCopy {
82
+ /** The three headings: the meter, the checklist, the tips. */
83
+ strengthHeading: string;
84
+ requirementsHeading: string;
85
+ suggestionsHeading: string;
86
+ bands: PasswordStrengthBandCopy;
87
+ /** The checklist rows, and the tip shown for each unmet one. */
88
+ requirements: PasswordRequirementCopy;
89
+ suggestions: PasswordRequirementCopy;
90
+ }
91
+
92
+ /**
93
+ * The rich-text toolbar. Ten glyph buttons, every one of them named ONLY by
94
+ * its tooltip — so this object is the whole of what a screen reader reads out
95
+ * for the editor's controls.
96
+ */
97
+ export interface RichEditorToolbarCopy {
98
+ bold: string;
99
+ italic: string;
100
+ underline: string;
101
+ bulletList: string;
102
+ numberedList: string;
103
+ quote: string;
104
+ code: string;
105
+ insertLink: string;
106
+ textColor: string;
107
+ backgroundColor: string;
108
+ /** The browser prompt the link button opens, asking for the URL. */
109
+ linkPrompt: string;
110
+ }
111
+
112
+ /**
113
+ * What the phone field says on its own account. The picker's name is the whole
114
+ * of what a screen reader gets for a control rendered as a flag and a dial
115
+ * code, and the invalid sentence is read by the shopper at the checkout.
116
+ */
117
+ export interface PhoneInputCopy {
118
+ /** The country picker's accessible name. */
119
+ selectCountry: string;
120
+ /**
121
+ * The number does not validate for the chosen country. Takes the country's
122
+ * own name, because a language may not place it where English does.
123
+ */
124
+ invalidNumber(countryName: string): string;
125
+ /** Stands in for the country's name before one has been resolved. */
126
+ unknownCountry: string;
127
+ }
128
+
129
+ /**
130
+ * What the upload control says beyond the host's own button label. Three of
131
+ * the four are announcements a screen reader reads and nothing renders — which
132
+ * is why they stayed English through every language pass.
133
+ */
134
+ export interface UploadButtonCopy {
135
+ /** The control's own label, used when the host does not override it. */
136
+ buttonLabel: string;
137
+ /** The dropzone's second line, under the host's own label. */
138
+ dropzoneHint: string;
139
+ /**
140
+ * The dropzone's accessible name, which prefixes the host's label — it says
141
+ * what KIND of control this is before saying what it uploads.
142
+ */
143
+ dropzoneRole(label: string): string;
144
+ /** The button's label while an upload is in flight. */
145
+ uploading: string;
146
+ /** Announced when a dragged file is over the zone and would be accepted. */
147
+ dropReady: string;
148
+ /** The caption under the progress bar. */
149
+ percentUploaded(percent: number): string;
150
+ /** The same progress, announced rather than shown. */
151
+ uploadInProgress(percent: number): string;
152
+ /** The component's own error, announced. Takes the message it wraps. */
153
+ errorAnnouncement(message: string): string;
154
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The layout family's words — the filter shell a grid mounts around itself.
3
+ *
4
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
5
+ * listing every family is the file that grows on every port, and it stopped
6
+ * fitting the 400-line budget the rest of this package holds itself to.
7
+ */
8
+
9
+ export interface TableFilterCopy {
10
+ /** Drop every applied filter, and the keyword box's own clear. */
11
+ clearAllFilters: string;
12
+ clearKeyword: string;
13
+ /** A numeric range whose maximum is below its minimum. */
14
+ invalidRange: string;
15
+ /** The two free-text bounds, which carry no visible label of their own. */
16
+ rangeMin: string;
17
+ rangeMax: string;
18
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The navigation family's words — the command palette and the breadcrumb
3
+ * trail.
4
+ *
5
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
6
+ * listing every family is the file that grows on every port, and it stopped
7
+ * fitting the 400-line budget the rest of this package holds itself to.
8
+ */
9
+
10
+ /** The command palette's footer hints and its empty state. */
11
+ export interface CommandPaletteCopy {
12
+ /** The three keyboard hints, each a chip in the footer. */
13
+ execute: string;
14
+ navigate: string;
15
+ close: string;
16
+ /** The recent-commands group, and the nudge under "nothing found". */
17
+ recent: string;
18
+ tryAnotherTerm: string;
19
+ }
20
+
21
+ /** The breadcrumb's overflow control, in its two spellings. */
22
+ export interface BreadcrumbCopy {
23
+ showMore: string;
24
+ moreItems: string;
25
+ }
@@ -0,0 +1,122 @@
1
+ /**
2
+ * Words shared by more than one family: the guided-section chrome, the
3
+ * confirm dialog behind a destructive action, the category picker and the CEP
4
+ * lookup.
5
+ *
6
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
7
+ * listing every family is the file that grows on every port, and it stopped
8
+ * fitting the 400-line budget the rest of this package holds itself to.
9
+ */
10
+
11
+ export interface SectionOnboardingCopy {
12
+ /** The button that begins the guided section. */
13
+ start: string;
14
+ /** The reveal toggle in the configured state, and its collapsed twin. */
15
+ edit: string;
16
+ collapse: string;
17
+ }
18
+
19
+ export interface ConfirmActionCopy {
20
+ /** The dismiss button every confirmation shares. */
21
+ cancel: string;
22
+ /** Shown when the action fails and the caller supplied no reason. */
23
+ defaultError: string;
24
+ /**
25
+ * The fallback body when the caller names no entity.
26
+ *
27
+ * A caller that DOES name one gets the host's own sentence — this package
28
+ * never guesses a noun for someone else's rows.
29
+ */
30
+ irreversible: string;
31
+ /**
32
+ * The typed-confirmation prompt, naming the exact word that unlocks the
33
+ * button. A function because where that word sits in the sentence, and how
34
+ * it is quoted, is the translator's call.
35
+ */
36
+ typeToConfirm(expected: string): string;
37
+ }
38
+
39
+ export interface CategorySelectCopy {
40
+ /**
41
+ * What categories are FOR, in the host's own terms.
42
+ *
43
+ * This used to read "Categorias organizam o cardápio e os filtros da loja" —
44
+ * a restaurant's menu, hard-coded into a generic picker. A host selling
45
+ * insurance policies got told about its cardápio.
46
+ */
47
+ purpose: string;
48
+ clearSelection: string;
49
+ /**
50
+ * The quick actions above the tree. Each toggles as a PAIR, and each label
51
+ * says what pressing it will do rather than what state the list is in — so a
52
+ * translator needs both halves, not one plus a negation.
53
+ */
54
+ selectAll: string;
55
+ deselectAll: string;
56
+ expandAll: string;
57
+ collapseAll: string;
58
+ /**
59
+ * ONE row's chevron, in its two states — a glyph button inside the row
60
+ * button, so this pair is the whole of what a screen reader reads for it.
61
+ * The category's own name is appended by the caller.
62
+ */
63
+ expandCategory(name: string): string;
64
+ collapseCategory(name: string): string;
65
+ /**
66
+ * What the closed control invites, and it differs by mode: picking ONE
67
+ * category is a move, picking several is a filter. Both were pt-BR defaults
68
+ * behind an optional prop, which is the arrangement this port removes.
69
+ */
70
+ placeholderSingle: string;
71
+ placeholderMulti: string;
72
+ /** The empty state, when the host has no categories at all. */
73
+ emptyTitle: string;
74
+ createCategory: string;
75
+ /**
76
+ * The search found nothing.
77
+ *
78
+ * Two of the four interpolate the term typed, so they are functions rather
79
+ * than strings with a placeholder to substitute: where the term sits in the
80
+ * sentence is the translator's call, not ours.
81
+ */
82
+ noResults: {
83
+ title: (query: string) => string;
84
+ hint: string;
85
+ clearSearch: string;
86
+ create: (query: string) => string;
87
+ };
88
+ /**
89
+ * The panel's two footers.
90
+ *
91
+ * `selectedCount` is a function because Portuguese agrees the participle with
92
+ * the count and English does not — the shape has to let a translator decide
93
+ * the whole sentence, not fill a slot in ours.
94
+ */
95
+ /** The search box above the list, and the chips beneath it. */
96
+ search: {
97
+ /** Two placeholders: a single-select picker offers no subcategories. */
98
+ placeholderSingle: string;
99
+ placeholderMulti: string;
100
+ clear: string;
101
+ removeChip(label: string): string;
102
+ /** The tray above the list, counting what is already picked. */
103
+ pinnedLabel(count: number): string;
104
+ };
105
+ footer: {
106
+ selectedCount(count: number): string;
107
+ clear: string;
108
+ /** The primary button, which reads `close` while the draft is unchanged. */
109
+ apply: string;
110
+ close: string;
111
+ /** The single-select footer: what to do, and the way out. */
112
+ singleHint: string;
113
+ cancel: string;
114
+ };
115
+ }
116
+
117
+ export interface CepFieldCopy {
118
+ loading: string;
119
+ found: string;
120
+ /** Keyed to match `CepLookupStatus` exactly, so the lookup can index it. */
121
+ notfound: string;
122
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The utility family's words — the install prompt and the account card.
3
+ *
4
+ * Split out of `copy.ts`, which is a barrel over this folder: one file
5
+ * listing every family is the file that grows on every port, and it stopped
6
+ * fitting the 400-line budget the rest of this package holds itself to.
7
+ */
8
+
9
+ /**
10
+ * The install prompt's own words. Two of the three surfaces here are iOS-only:
11
+ * Safari has no programmatic install, so the component explains the gesture
12
+ * instead of offering a button.
13
+ */
14
+ export interface InstallPromptCopy {
15
+ /** Headline, and the Chromium install button. */
16
+ title: string;
17
+ installLabel: string;
18
+ /** The dismiss button's accessible name — it renders as a bare cross. */
19
+ dismissLabel: string;
20
+ /**
21
+ * The iOS instruction, split around the Share glyph that sits INSIDE the
22
+ * sentence: "Tap [share] then Add to Home Screen". Two halves rather than
23
+ * one string because the glyph's position is part of the sentence and a
24
+ * language may not put it where English does. A host wanting a different
25
+ * shape entirely passes `iosInstructions` and replaces the whole node.
26
+ */
27
+ iosTapBefore: string;
28
+ iosTapAfter: string;
29
+ /** The Share glyph's accessible name, mid-sentence. */
30
+ shareLabel: string;
31
+ }
32
+
33
+ /** The account card's one action. */
34
+ export interface UserAvatarCopy {
35
+ signOut: string;
36
+ }