@invoiceonline/ui-react 0.0.0-stage → 0.1.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 (738) hide show
  1. package/AGENTS.md +99 -0
  2. package/CHANGELOG.md +131 -0
  3. package/LICENSE +9 -0
  4. package/README.md +78 -2
  5. package/dist/assets/label-brush-1.svg +6 -0
  6. package/dist/assets/pattern-dark.svg +113 -0
  7. package/dist/components/action-row/ActionRow.d.ts +178 -0
  8. package/dist/components/action-row/ActionRow.js +340 -0
  9. package/dist/components/action-row/index.d.ts +2 -0
  10. package/dist/components/action-row/index.js +1 -0
  11. package/dist/components/alert/Alert.d.ts +314 -0
  12. package/dist/components/alert/Alert.js +446 -0
  13. package/dist/components/alert/index.d.ts +2 -0
  14. package/dist/components/alert/index.js +1 -0
  15. package/dist/components/anchored-panel/AnchoredPanel.d.ts +41 -0
  16. package/dist/components/anchored-panel/AnchoredPanel.js +72 -0
  17. package/dist/components/anchored-panel/index.d.ts +3 -0
  18. package/dist/components/anchored-panel/index.js +3 -0
  19. package/dist/components/badge/Badge.d.ts +146 -0
  20. package/dist/components/badge/Badge.js +258 -0
  21. package/dist/components/badge/index.d.ts +2 -0
  22. package/dist/components/badge/index.js +1 -0
  23. package/dist/components/banner/Banner.d.ts +209 -0
  24. package/dist/components/banner/Banner.js +339 -0
  25. package/dist/components/banner/index.d.ts +2 -0
  26. package/dist/components/banner/index.js +1 -0
  27. package/dist/components/button/Button.d.ts +54 -0
  28. package/dist/components/button/Button.js +312 -0
  29. package/dist/components/button/index.d.ts +2 -0
  30. package/dist/components/button/index.js +1 -0
  31. package/dist/components/button-group/ButtonGroup.d.ts +187 -0
  32. package/dist/components/button-group/ButtonGroup.js +217 -0
  33. package/dist/components/button-group/index.d.ts +2 -0
  34. package/dist/components/button-group/index.js +1 -0
  35. package/dist/components/card-select/CardSelect.d.ts +274 -0
  36. package/dist/components/card-select/CardSelect.js +561 -0
  37. package/dist/components/card-select/CardSelectGroup.d.ts +92 -0
  38. package/dist/components/card-select/CardSelectGroup.js +72 -0
  39. package/dist/components/card-select/index.d.ts +3 -0
  40. package/dist/components/card-select/index.js +3 -0
  41. package/dist/components/checkbox/Checkbox.d.ts +104 -0
  42. package/dist/components/checkbox/Checkbox.js +194 -0
  43. package/dist/components/checkbox/index.d.ts +2 -0
  44. package/dist/components/checkbox/index.js +1 -0
  45. package/dist/components/chip/Chip.d.ts +250 -0
  46. package/dist/components/chip/Chip.js +441 -0
  47. package/dist/components/chip/index.d.ts +2 -0
  48. package/dist/components/chip/index.js +1 -0
  49. package/dist/components/column-header/ColumnHeader.d.ts +144 -0
  50. package/dist/components/column-header/ColumnHeader.js +209 -0
  51. package/dist/components/column-header/index.d.ts +2 -0
  52. package/dist/components/column-header/index.js +1 -0
  53. package/dist/components/combobox-field/Combobox.d.ts +104 -0
  54. package/dist/components/combobox-field/Combobox.js +355 -0
  55. package/dist/components/combobox-field/ComboboxField.d.ts +76 -0
  56. package/dist/components/combobox-field/ComboboxField.js +98 -0
  57. package/dist/components/combobox-field/index.d.ts +3 -0
  58. package/dist/components/combobox-field/index.js +3 -0
  59. package/dist/components/date-field/DateField.d.ts +52 -0
  60. package/dist/components/date-field/DateField.js +45 -0
  61. package/dist/components/date-field/index.d.ts +2 -0
  62. package/dist/components/date-field/index.js +1 -0
  63. package/dist/components/date-picker/DatePicker.d.ts +53 -0
  64. package/dist/components/date-picker/DatePicker.js +329 -0
  65. package/dist/components/date-picker/index.d.ts +2 -0
  66. package/dist/components/date-picker/index.js +1 -0
  67. package/dist/components/divider/Divider.d.ts +81 -0
  68. package/dist/components/divider/Divider.js +93 -0
  69. package/dist/components/divider/index.d.ts +2 -0
  70. package/dist/components/divider/index.js +1 -0
  71. package/dist/components/drawer/Drawer.d.ts +128 -0
  72. package/dist/components/drawer/Drawer.js +367 -0
  73. package/dist/components/drawer/index.d.ts +2 -0
  74. package/dist/components/drawer/index.js +1 -0
  75. package/dist/components/dropdown-button/DropdownButton.d.ts +72 -0
  76. package/dist/components/dropdown-button/DropdownButton.js +122 -0
  77. package/dist/components/dropdown-button/index.d.ts +2 -0
  78. package/dist/components/dropdown-button/index.js +1 -0
  79. package/dist/components/faq/FAQ.d.ts +135 -0
  80. package/dist/components/faq/FAQ.js +258 -0
  81. package/dist/components/faq/index.d.ts +2 -0
  82. package/dist/components/faq/index.js +1 -0
  83. package/dist/components/field/Field.d.ts +118 -0
  84. package/dist/components/field/Field.js +327 -0
  85. package/dist/components/field/index.d.ts +2 -0
  86. package/dist/components/field/index.js +1 -0
  87. package/dist/components/field-pair/FieldPair.d.ts +194 -0
  88. package/dist/components/field-pair/FieldPair.js +321 -0
  89. package/dist/components/field-pair/index.d.ts +2 -0
  90. package/dist/components/field-pair/index.js +1 -0
  91. package/dist/components/file-upload/FileUpload.d.ts +137 -0
  92. package/dist/components/file-upload/FileUpload.js +434 -0
  93. package/dist/components/file-upload/index.d.ts +2 -0
  94. package/dist/components/file-upload/index.js +1 -0
  95. package/dist/components/filter-chip/FilterChip.d.ts +373 -0
  96. package/dist/components/filter-chip/FilterChip.js +517 -0
  97. package/dist/components/filter-chip/index.d.ts +2 -0
  98. package/dist/components/filter-chip/index.js +1 -0
  99. package/dist/components/filter-facet/FilterFacet.d.ts +116 -0
  100. package/dist/components/filter-facet/FilterFacet.js +632 -0
  101. package/dist/components/filter-facet/index.d.ts +2 -0
  102. package/dist/components/filter-facet/index.js +1 -0
  103. package/dist/components/firm-avatar/FirmAvatar.d.ts +75 -0
  104. package/dist/components/firm-avatar/FirmAvatar.js +119 -0
  105. package/dist/components/firm-avatar/index.d.ts +2 -0
  106. package/dist/components/firm-avatar/index.js +1 -0
  107. package/dist/components/form-actions/FormActions.d.ts +123 -0
  108. package/dist/components/form-actions/FormActions.js +195 -0
  109. package/dist/components/form-actions/index.d.ts +2 -0
  110. package/dist/components/form-actions/index.js +1 -0
  111. package/dist/components/form-block/FormBlock.d.ts +252 -0
  112. package/dist/components/form-block/FormBlock.js +420 -0
  113. package/dist/components/form-block/index.d.ts +3 -0
  114. package/dist/components/form-block/index.js +3 -0
  115. package/dist/components/form-section/FormSection.d.ts +130 -0
  116. package/dist/components/form-section/FormSection.js +206 -0
  117. package/dist/components/form-section/index.d.ts +2 -0
  118. package/dist/components/form-section/index.js +1 -0
  119. package/dist/components/heading/Heading.d.ts +69 -0
  120. package/dist/components/heading/Heading.js +79 -0
  121. package/dist/components/heading/index.d.ts +2 -0
  122. package/dist/components/heading/index.js +1 -0
  123. package/dist/components/heading-group/HeadingGroup.d.ts +258 -0
  124. package/dist/components/heading-group/HeadingGroup.js +255 -0
  125. package/dist/components/heading-group/index.d.ts +2 -0
  126. package/dist/components/heading-group/index.js +1 -0
  127. package/dist/components/hero/Hero.d.ts +268 -0
  128. package/dist/components/hero/Hero.js +316 -0
  129. package/dist/components/hero/index.d.ts +2 -0
  130. package/dist/components/hero/index.js +1 -0
  131. package/dist/components/icon/Icon.d.ts +27 -0
  132. package/dist/components/icon/Icon.js +30 -0
  133. package/dist/components/icon/index.d.ts +3 -0
  134. package/dist/components/icon/index.js +3 -0
  135. package/dist/components/icon-button/IconButton.d.ts +75 -0
  136. package/dist/components/icon-button/IconButton.js +151 -0
  137. package/dist/components/icon-button/index.d.ts +2 -0
  138. package/dist/components/icon-button/index.js +1 -0
  139. package/dist/components/item-row/ItemRow.d.ts +253 -0
  140. package/dist/components/item-row/ItemRow.js +496 -0
  141. package/dist/components/item-row/index.d.ts +2 -0
  142. package/dist/components/item-row/index.js +1 -0
  143. package/dist/components/list-row/ListRow.d.ts +165 -0
  144. package/dist/components/list-row/ListRow.js +233 -0
  145. package/dist/components/list-row/index.d.ts +2 -0
  146. package/dist/components/list-row/index.js +1 -0
  147. package/dist/components/menu/Menu.d.ts +64 -0
  148. package/dist/components/menu/Menu.js +186 -0
  149. package/dist/components/menu/index.d.ts +2 -0
  150. package/dist/components/menu/index.js +1 -0
  151. package/dist/components/modal/Modal.d.ts +272 -0
  152. package/dist/components/modal/Modal.js +788 -0
  153. package/dist/components/modal/index.d.ts +2 -0
  154. package/dist/components/modal/index.js +1 -0
  155. package/dist/components/nav-link/NavLink.d.ts +123 -0
  156. package/dist/components/nav-link/NavLink.js +157 -0
  157. package/dist/components/nav-link/index.d.ts +2 -0
  158. package/dist/components/nav-link/index.js +1 -0
  159. package/dist/components/number-field/NumberField.d.ts +62 -0
  160. package/dist/components/number-field/NumberField.js +210 -0
  161. package/dist/components/number-field/index.d.ts +2 -0
  162. package/dist/components/number-field/index.js +1 -0
  163. package/dist/components/pagination/Pagination.d.ts +133 -0
  164. package/dist/components/pagination/Pagination.js +217 -0
  165. package/dist/components/pagination/index.d.ts +3 -0
  166. package/dist/components/pagination/index.js +3 -0
  167. package/dist/components/popover-surface/index.d.ts +2 -0
  168. package/dist/components/popover-surface/index.js +1 -0
  169. package/dist/components/progress-bar/ProgressBar.d.ts +260 -0
  170. package/dist/components/progress-bar/ProgressBar.js +470 -0
  171. package/dist/components/progress-bar/index.d.ts +2 -0
  172. package/dist/components/progress-bar/index.js +1 -0
  173. package/dist/components/promo-sticker/PromoSticker.d.ts +204 -0
  174. package/dist/components/promo-sticker/PromoSticker.js +177 -0
  175. package/dist/components/promo-sticker/index.d.ts +2 -0
  176. package/dist/components/promo-sticker/index.js +1 -0
  177. package/dist/components/promo-surface/PromoSurface.d.ts +94 -0
  178. package/dist/components/promo-surface/PromoSurface.js +119 -0
  179. package/dist/components/promo-surface/index.d.ts +2 -0
  180. package/dist/components/promo-surface/index.js +1 -0
  181. package/dist/components/radio/Radio.d.ts +92 -0
  182. package/dist/components/radio/Radio.js +171 -0
  183. package/dist/components/radio/index.d.ts +2 -0
  184. package/dist/components/radio/index.js +1 -0
  185. package/dist/components/radio-group/RadioGroup.d.ts +61 -0
  186. package/dist/components/radio-group/RadioGroup.js +51 -0
  187. package/dist/components/radio-group/index.d.ts +2 -0
  188. package/dist/components/radio-group/index.js +1 -0
  189. package/dist/components/select/Select.d.ts +65 -0
  190. package/dist/components/select/Select.js +176 -0
  191. package/dist/components/select/index.d.ts +2 -0
  192. package/dist/components/select/index.js +1 -0
  193. package/dist/components/select-field/SelectField.d.ts +16 -0
  194. package/dist/components/select-field/SelectField.js +55 -0
  195. package/dist/components/select-field/index.d.ts +2 -0
  196. package/dist/components/select-field/index.js +1 -0
  197. package/dist/components/skeleton/Skeleton.d.ts +64 -0
  198. package/dist/components/skeleton/Skeleton.js +65 -0
  199. package/dist/components/skeleton/index.d.ts +2 -0
  200. package/dist/components/skeleton/index.js +1 -0
  201. package/dist/components/split-button/SplitButton.d.ts +80 -0
  202. package/dist/components/split-button/SplitButton.js +182 -0
  203. package/dist/components/split-button/index.d.ts +2 -0
  204. package/dist/components/split-button/index.js +1 -0
  205. package/dist/components/status-summary-bar/StatusSummaryBar.d.ts +118 -0
  206. package/dist/components/status-summary-bar/StatusSummaryBar.js +278 -0
  207. package/dist/components/status-summary-bar/index.d.ts +2 -0
  208. package/dist/components/status-summary-bar/index.js +1 -0
  209. package/dist/components/subject-lookup-field/SubjectLookupField.d.ts +157 -0
  210. package/dist/components/subject-lookup-field/SubjectLookupField.js +663 -0
  211. package/dist/components/subject-lookup-field/index.d.ts +2 -0
  212. package/dist/components/subject-lookup-field/index.js +1 -0
  213. package/dist/components/switch/Switch.d.ts +152 -0
  214. package/dist/components/switch/Switch.js +307 -0
  215. package/dist/components/switch/index.d.ts +2 -0
  216. package/dist/components/switch/index.js +1 -0
  217. package/dist/components/table/Table.d.ts +5 -0
  218. package/dist/components/table/Table.js +601 -0
  219. package/dist/components/table/index.d.ts +6 -0
  220. package/dist/components/table/index.js +6 -0
  221. package/dist/components/text-field/TextField.d.ts +65 -0
  222. package/dist/components/text-field/TextField.js +173 -0
  223. package/dist/components/text-field/index.d.ts +2 -0
  224. package/dist/components/text-field/index.js +1 -0
  225. package/dist/components/text-link/TextLink.d.ts +260 -0
  226. package/dist/components/text-link/TextLink.js +303 -0
  227. package/dist/components/text-link/index.d.ts +2 -0
  228. package/dist/components/text-link/index.js +1 -0
  229. package/dist/components/textarea/Textarea.d.ts +93 -0
  230. package/dist/components/textarea/Textarea.js +256 -0
  231. package/dist/components/textarea/index.d.ts +2 -0
  232. package/dist/components/textarea/index.js +1 -0
  233. package/dist/components/tooltip/Tooltip.d.ts +129 -0
  234. package/dist/components/tooltip/Tooltip.js +457 -0
  235. package/dist/components/tooltip/index.d.ts +2 -0
  236. package/dist/components/tooltip/index.js +1 -0
  237. package/dist/components/unit-field/UnitField.d.ts +46 -0
  238. package/dist/components/unit-field/UnitField.js +133 -0
  239. package/dist/components/unit-field/index.d.ts +2 -0
  240. package/dist/components/unit-field/index.js +1 -0
  241. package/dist/icons/icon-registry.generated.js +500 -0
  242. package/dist/icons/icon-types.generated.d.ts +2 -0
  243. package/dist/icons/icon-types.generated.js +126 -0
  244. package/dist/index.d.ts +132 -0
  245. package/dist/index.js +75 -0
  246. package/dist/internal/BottomSheet.js +496 -0
  247. package/dist/internal/FodsProvider.d.ts +25 -0
  248. package/dist/internal/FodsProvider.js +32 -0
  249. package/dist/internal/MotionCaret.js +35 -0
  250. package/dist/internal/NumberFormatInput.d.ts +21 -0
  251. package/dist/internal/NumberFormatInput.js +126 -0
  252. package/dist/internal/SummaryDonut.d.ts +3 -0
  253. package/dist/internal/SummaryDonut.js +300 -0
  254. package/dist/internal/buttonSegment.d.ts +44 -0
  255. package/dist/internal/buttonSegment.js +126 -0
  256. package/dist/internal/collapseRoom.js +128 -0
  257. package/dist/internal/comboboxKeys.js +44 -0
  258. package/dist/internal/contentPresence.js +46 -0
  259. package/dist/internal/dayCell.js +95 -0
  260. package/dist/internal/dialogPortal.d.ts +2 -0
  261. package/dist/internal/dialogPortal.js +21 -0
  262. package/dist/internal/donutSweeps.js +65 -0
  263. package/dist/internal/enterOnViewGeometry.js +46 -0
  264. package/dist/internal/faqItem.js +80 -0
  265. package/dist/internal/floatingLabelMotion.js +68 -0
  266. package/dist/internal/formBlockContext.d.ts +22 -0
  267. package/dist/internal/formBlockContext.js +20 -0
  268. package/dist/internal/heightRoom.js +87 -0
  269. package/dist/internal/numberSeparators.js +62 -0
  270. package/dist/internal/overlayMotion.js +48 -0
  271. package/dist/internal/paginationItem.d.ts +8 -0
  272. package/dist/internal/paginationItem.js +22 -0
  273. package/dist/internal/popoverSurface.d.ts +8 -0
  274. package/dist/internal/popoverSurface.js +23 -0
  275. package/dist/internal/portalContainer.d.ts +1 -0
  276. package/dist/internal/portalContainer.js +6 -0
  277. package/dist/internal/progressBarItem.d.ts +207 -0
  278. package/dist/internal/progressBarItem.js +264 -0
  279. package/dist/internal/selectionControlText.js +12 -0
  280. package/dist/internal/statusSummaryParts.js +371 -0
  281. package/dist/internal/summaryMotion.js +75 -0
  282. package/dist/internal/table/ChildConnector.js +62 -0
  283. package/dist/internal/table/ChildRowPrefix.d.ts +9 -0
  284. package/dist/internal/table/ChildRowPrefix.js +27 -0
  285. package/dist/internal/table/ColumnSettings.js +135 -0
  286. package/dist/internal/table/ScrollRegion.js +114 -0
  287. package/dist/internal/table/TableEmpty.js +93 -0
  288. package/dist/internal/table/TableLayout.d.ts +17 -0
  289. package/dist/internal/table/TableLayout.js +29 -0
  290. package/dist/internal/table/TableLoadStatus.js +56 -0
  291. package/dist/internal/table/TableMobile.js +488 -0
  292. package/dist/internal/table/TruncatedCell.js +33 -0
  293. package/dist/internal/table/emptyValue.js +10 -0
  294. package/dist/internal/table/features.d.ts +41 -0
  295. package/dist/internal/table/features.js +31 -0
  296. package/dist/internal/table/recipes.js +227 -0
  297. package/dist/internal/table/rowClick.js +9 -0
  298. package/dist/internal/table/types.d.ts +325 -0
  299. package/dist/internal/table/types.js +13 -0
  300. package/dist/internal/tailwind-variants.d.ts +3 -0
  301. package/dist/internal/tailwind-variants.js +37 -0
  302. package/dist/internal/tooltipContext.js +5 -0
  303. package/dist/internal/tw-merge-config.generated.js +314 -0
  304. package/dist/internal/useAnchoredPanel.d.ts +87 -0
  305. package/dist/internal/useAnchoredPanel.js +108 -0
  306. package/dist/internal/useCountUp.js +53 -0
  307. package/dist/internal/useDateFieldTrigger.js +183 -0
  308. package/dist/internal/useEChart.js +59 -0
  309. package/dist/internal/useEnterOnView.js +42 -0
  310. package/dist/internal/useFloatingBar.js +100 -0
  311. package/dist/internal/useFormReset.js +37 -0
  312. package/dist/internal/useIsMobile.js +44 -0
  313. package/dist/internal/useOneRowOverflow.js +88 -0
  314. package/dist/internal/usePrefersReducedMotion.js +25 -0
  315. package/dist/internal/useReturnFocus.js +26 -0
  316. package/dist/internal/utils.d.ts +7 -0
  317. package/dist/internal/utils.js +58 -0
  318. package/dist/node_modules/@tanstack/store/dist/store.d.ts +29 -0
  319. package/dist/node_modules/@tanstack/store/dist/types.d.ts +38 -0
  320. package/dist/node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.d.ts +6 -0
  321. package/dist/node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.types.d.ts +53 -0
  322. package/dist/node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.d.ts +6 -0
  323. package/dist/node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.types.d.ts +90 -0
  324. package/dist/node_modules/@tanstack/table-core/dist/core/coreFeatures.d.ts +17 -0
  325. package/dist/node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.d.ts +6 -0
  326. package/dist/node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.types.d.ts +114 -0
  327. package/dist/node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.types.d.ts +51 -0
  328. package/dist/node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.d.ts +6 -0
  329. package/dist/node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.types.d.ts +29 -0
  330. package/dist/node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.d.ts +6 -0
  331. package/dist/node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.types.d.ts +129 -0
  332. package/dist/node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.d.ts +6 -0
  333. package/dist/node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.types.d.ts +203 -0
  334. package/dist/node_modules/@tanstack/table-core/dist/features/cell-selection/cellSelectionFeature.d.ts +6 -0
  335. package/dist/node_modules/@tanstack/table-core/dist/features/cell-selection/cellSelectionFeature.types.d.ts +294 -0
  336. package/dist/node_modules/@tanstack/table-core/dist/features/cell-spanning/cellSpanningFeature.d.ts +11 -0
  337. package/dist/node_modules/@tanstack/table-core/dist/features/cell-spanning/cellSpanningFeature.types.d.ts +148 -0
  338. package/dist/node_modules/@tanstack/table-core/dist/features/column-faceting/columnFacetingFeature.d.ts +12 -0
  339. package/dist/node_modules/@tanstack/table-core/dist/features/column-faceting/columnFacetingFeature.types.d.ts +63 -0
  340. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/columnFilteringFeature.d.ts +6 -0
  341. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/columnFilteringFeature.types.d.ts +209 -0
  342. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/filterFns.d.ts +35 -0
  343. package/dist/node_modules/@tanstack/table-core/dist/features/column-grouping/columnGroupingFeature.d.ts +6 -0
  344. package/dist/node_modules/@tanstack/table-core/dist/features/column-grouping/columnGroupingFeature.types.d.ts +128 -0
  345. package/dist/node_modules/@tanstack/table-core/dist/features/column-ordering/columnOrderingFeature.d.ts +6 -0
  346. package/dist/node_modules/@tanstack/table-core/dist/features/column-ordering/columnOrderingFeature.types.d.ts +82 -0
  347. package/dist/node_modules/@tanstack/table-core/dist/features/column-pinning/columnPinningFeature.d.ts +11 -0
  348. package/dist/node_modules/@tanstack/table-core/dist/features/column-pinning/columnPinningFeature.types.d.ts +195 -0
  349. package/dist/node_modules/@tanstack/table-core/dist/features/column-resizing/columnResizingFeature.d.ts +6 -0
  350. package/dist/node_modules/@tanstack/table-core/dist/features/column-resizing/columnResizingFeature.types.d.ts +73 -0
  351. package/dist/node_modules/@tanstack/table-core/dist/features/column-sizing/columnSizingFeature.d.ts +6 -0
  352. package/dist/node_modules/@tanstack/table-core/dist/features/column-sizing/columnSizingFeature.types.d.ts +134 -0
  353. package/dist/node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.d.ts +6 -0
  354. package/dist/node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.types.d.ts +92 -0
  355. package/dist/node_modules/@tanstack/table-core/dist/features/global-filtering/globalFilteringFeature.d.ts +6 -0
  356. package/dist/node_modules/@tanstack/table-core/dist/features/global-filtering/globalFilteringFeature.types.d.ts +67 -0
  357. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/aggregationFns.d.ts +23 -0
  358. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.d.ts +6 -0
  359. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.types.d.ts +183 -0
  360. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.utils.d.ts +18 -0
  361. package/dist/node_modules/@tanstack/table-core/dist/features/row-expanding/rowExpandingFeature.d.ts +6 -0
  362. package/dist/node_modules/@tanstack/table-core/dist/features/row-expanding/rowExpandingFeature.types.d.ts +125 -0
  363. package/dist/node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.d.ts +6 -0
  364. package/dist/node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.types.d.ts +135 -0
  365. package/dist/node_modules/@tanstack/table-core/dist/features/row-pinning/rowPinningFeature.d.ts +6 -0
  366. package/dist/node_modules/@tanstack/table-core/dist/features/row-pinning/rowPinningFeature.types.d.ts +76 -0
  367. package/dist/node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.d.ts +6 -0
  368. package/dist/node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.types.d.ts +187 -0
  369. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.d.ts +6 -0
  370. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.types.d.ts +236 -0
  371. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/sortFns.d.ts +23 -0
  372. package/dist/node_modules/@tanstack/table-core/dist/features/stockFeatures.d.ts +37 -0
  373. package/dist/node_modules/@tanstack/table-core/dist/helpers/columnHelper.d.ts +47 -0
  374. package/dist/node_modules/@tanstack/table-core/dist/types/Cell.d.ts +16 -0
  375. package/dist/node_modules/@tanstack/table-core/dist/types/Column.d.ts +30 -0
  376. package/dist/node_modules/@tanstack/table-core/dist/types/ColumnDef.d.ts +123 -0
  377. package/dist/node_modules/@tanstack/table-core/dist/types/Header.d.ts +12 -0
  378. package/dist/node_modules/@tanstack/table-core/dist/types/HeaderGroup.d.ts +6 -0
  379. package/dist/node_modules/@tanstack/table-core/dist/types/Row.d.ts +24 -0
  380. package/dist/node_modules/@tanstack/table-core/dist/types/RowModel.d.ts +19 -0
  381. package/dist/node_modules/@tanstack/table-core/dist/types/RowModelFns.d.ts +11 -0
  382. package/dist/node_modules/@tanstack/table-core/dist/types/Table.d.ts +53 -0
  383. package/dist/node_modules/@tanstack/table-core/dist/types/TableFeatures.d.ts +416 -0
  384. package/dist/node_modules/@tanstack/table-core/dist/types/TableOptions.d.ts +78 -0
  385. package/dist/node_modules/@tanstack/table-core/dist/types/TableState.d.ts +46 -0
  386. package/dist/node_modules/@tanstack/table-core/dist/types/type-utils.d.ts +25 -0
  387. package/dist/shared.css +179 -0
  388. package/dist/styles.css +5467 -0
  389. package/dist/theme.css +314 -0
  390. package/dist/theme.map.json +278 -0
  391. package/dist/tokens/index.d.ts +2 -0
  392. package/dist/tokens/index.js +1 -0
  393. package/dist/tokens/tokens.generated.d.ts +2040 -0
  394. package/dist/tokens/tokens.generated.js +2053 -0
  395. package/dist/tokens.css +484 -0
  396. package/dist/tokens.flat.json +429 -0
  397. package/docs/Consuming.mdx +379 -0
  398. package/docs/Contributing.mdx +78 -0
  399. package/docs/ForAgents.mdx +53 -0
  400. package/docs/Introduction.mdx +54 -0
  401. package/llms.txt +556 -0
  402. package/package.json +357 -4
  403. package/src/components/action-row/ActionRow.mdx +686 -0
  404. package/src/components/action-row/ActionRow.stories.tsx +669 -0
  405. package/src/components/action-row/ActionRow.tsx +632 -0
  406. package/src/components/action-row/index.ts +9 -0
  407. package/src/components/alert/Alert.mdx +377 -0
  408. package/src/components/alert/Alert.stories.tsx +674 -0
  409. package/src/components/alert/Alert.tsx +579 -0
  410. package/src/components/alert/index.ts +13 -0
  411. package/src/components/anchored-panel/AnchoredPanel.mdx +381 -0
  412. package/src/components/anchored-panel/AnchoredPanel.stories.tsx +593 -0
  413. package/src/components/anchored-panel/AnchoredPanel.tsx +176 -0
  414. package/src/components/anchored-panel/index.ts +15 -0
  415. package/src/components/badge/Badge.mdx +487 -0
  416. package/src/components/badge/Badge.stories.tsx +375 -0
  417. package/src/components/badge/Badge.tsx +360 -0
  418. package/src/components/badge/index.ts +10 -0
  419. package/src/components/banner/Banner.mdx +704 -0
  420. package/src/components/banner/Banner.stories.tsx +448 -0
  421. package/src/components/banner/Banner.tsx +602 -0
  422. package/src/components/banner/index.ts +14 -0
  423. package/src/components/button/Button.mdx +286 -0
  424. package/src/components/button/Button.stories.tsx +381 -0
  425. package/src/components/button/Button.tsx +384 -0
  426. package/src/components/button/index.ts +1 -0
  427. package/src/components/button-group/ButtonGroup.mdx +512 -0
  428. package/src/components/button-group/ButtonGroup.stories.tsx +714 -0
  429. package/src/components/button-group/ButtonGroup.tsx +491 -0
  430. package/src/components/button-group/index.ts +10 -0
  431. package/src/components/card-select/CardSelect.mdx +662 -0
  432. package/src/components/card-select/CardSelect.stories.tsx +784 -0
  433. package/src/components/card-select/CardSelect.tsx +783 -0
  434. package/src/components/card-select/CardSelectGroup.tsx +169 -0
  435. package/src/components/card-select/index.ts +18 -0
  436. package/src/components/checkbox/Checkbox.mdx +269 -0
  437. package/src/components/checkbox/Checkbox.stories.tsx +306 -0
  438. package/src/components/checkbox/Checkbox.tsx +343 -0
  439. package/src/components/checkbox/index.ts +1 -0
  440. package/src/components/chip/Chip.mdx +683 -0
  441. package/src/components/chip/Chip.stories.tsx +734 -0
  442. package/src/components/chip/Chip.tsx +732 -0
  443. package/src/components/chip/index.ts +9 -0
  444. package/src/components/column-header/ColumnHeader.mdx +301 -0
  445. package/src/components/column-header/ColumnHeader.stories.tsx +319 -0
  446. package/src/components/column-header/ColumnHeader.tsx +287 -0
  447. package/src/components/column-header/index.ts +7 -0
  448. package/src/components/combobox-field/Combobox.tsx +693 -0
  449. package/src/components/combobox-field/ComboboxField.mdx +525 -0
  450. package/src/components/combobox-field/ComboboxField.stories.tsx +502 -0
  451. package/src/components/combobox-field/ComboboxField.tsx +259 -0
  452. package/src/components/combobox-field/index.ts +12 -0
  453. package/src/components/date-field/DateField.mdx +340 -0
  454. package/src/components/date-field/DateField.stories.tsx +221 -0
  455. package/src/components/date-field/DateField.tsx +176 -0
  456. package/src/components/date-field/index.ts +1 -0
  457. package/src/components/date-picker/DatePicker.mdx +436 -0
  458. package/src/components/date-picker/DatePicker.stories.tsx +458 -0
  459. package/src/components/date-picker/DatePicker.tsx +688 -0
  460. package/src/components/date-picker/index.ts +9 -0
  461. package/src/components/divider/Divider.mdx +256 -0
  462. package/src/components/divider/Divider.stories.tsx +177 -0
  463. package/src/components/divider/Divider.tsx +193 -0
  464. package/src/components/divider/index.ts +1 -0
  465. package/src/components/drawer/Drawer.mdx +518 -0
  466. package/src/components/drawer/Drawer.stories.tsx +392 -0
  467. package/src/components/drawer/Drawer.tsx +683 -0
  468. package/src/components/drawer/index.ts +1 -0
  469. package/src/components/dropdown-button/DropdownButton.mdx +285 -0
  470. package/src/components/dropdown-button/DropdownButton.stories.tsx +398 -0
  471. package/src/components/dropdown-button/DropdownButton.tsx +198 -0
  472. package/src/components/dropdown-button/index.ts +7 -0
  473. package/src/components/faq/FAQ.mdx +364 -0
  474. package/src/components/faq/FAQ.stories.tsx +343 -0
  475. package/src/components/faq/FAQ.tsx +337 -0
  476. package/src/components/faq/index.ts +1 -0
  477. package/src/components/field/Field.mdx +129 -0
  478. package/src/components/field/Field.stories.tsx +461 -0
  479. package/src/components/field/Field.tsx +765 -0
  480. package/src/components/field/index.ts +20 -0
  481. package/src/components/field-pair/FieldPair.mdx +308 -0
  482. package/src/components/field-pair/FieldPair.stories.tsx +530 -0
  483. package/src/components/field-pair/FieldPair.tsx +796 -0
  484. package/src/components/field-pair/index.ts +9 -0
  485. package/src/components/file-upload/FileUpload.mdx +345 -0
  486. package/src/components/file-upload/FileUpload.stories.tsx +698 -0
  487. package/src/components/file-upload/FileUpload.tsx +802 -0
  488. package/src/components/file-upload/index.ts +6 -0
  489. package/src/components/filter-chip/FilterChip.mdx +778 -0
  490. package/src/components/filter-chip/FilterChip.stories.tsx +827 -0
  491. package/src/components/filter-chip/FilterChip.tsx +881 -0
  492. package/src/components/filter-chip/index.ts +11 -0
  493. package/src/components/filter-facet/FilterFacet.mdx +536 -0
  494. package/src/components/filter-facet/FilterFacet.stories.tsx +506 -0
  495. package/src/components/filter-facet/FilterFacet.tsx +1160 -0
  496. package/src/components/filter-facet/index.ts +7 -0
  497. package/src/components/firm-avatar/FirmAvatar.mdx +280 -0
  498. package/src/components/firm-avatar/FirmAvatar.stories.tsx +147 -0
  499. package/src/components/firm-avatar/FirmAvatar.tsx +172 -0
  500. package/src/components/firm-avatar/index.ts +7 -0
  501. package/src/components/form-actions/FormActions.mdx +518 -0
  502. package/src/components/form-actions/FormActions.stories.tsx +621 -0
  503. package/src/components/form-actions/FormActions.tsx +273 -0
  504. package/src/components/form-actions/index.ts +6 -0
  505. package/src/components/form-block/FormBlock.mdx +728 -0
  506. package/src/components/form-block/FormBlock.stories.tsx +813 -0
  507. package/src/components/form-block/FormBlock.tsx +679 -0
  508. package/src/components/form-block/index.ts +13 -0
  509. package/src/components/form-section/FormSection.mdx +436 -0
  510. package/src/components/form-section/FormSection.stories.tsx +407 -0
  511. package/src/components/form-section/FormSection.tsx +290 -0
  512. package/src/components/form-section/index.ts +17 -0
  513. package/src/components/heading/Heading.mdx +206 -0
  514. package/src/components/heading/Heading.stories.tsx +169 -0
  515. package/src/components/heading/Heading.tsx +124 -0
  516. package/src/components/heading/index.ts +8 -0
  517. package/src/components/heading-group/HeadingGroup.mdx +521 -0
  518. package/src/components/heading-group/HeadingGroup.stories.tsx +353 -0
  519. package/src/components/heading-group/HeadingGroup.tsx +396 -0
  520. package/src/components/heading-group/index.ts +7 -0
  521. package/src/components/hero/Hero.mdx +742 -0
  522. package/src/components/hero/Hero.stories.tsx +527 -0
  523. package/src/components/hero/Hero.tsx +807 -0
  524. package/src/components/hero/index.ts +1 -0
  525. package/src/components/icon/Icon.mdx +329 -0
  526. package/src/components/icon/Icon.stories.tsx +398 -0
  527. package/src/components/icon/Icon.tsx +97 -0
  528. package/src/components/icon/index.ts +2 -0
  529. package/src/components/icon-button/IconButton.mdx +206 -0
  530. package/src/components/icon-button/IconButton.stories.tsx +341 -0
  531. package/src/components/icon-button/IconButton.tsx +273 -0
  532. package/src/components/icon-button/index.ts +1 -0
  533. package/src/components/item-row/ItemRow.mdx +533 -0
  534. package/src/components/item-row/ItemRow.stories.tsx +434 -0
  535. package/src/components/item-row/ItemRow.tsx +676 -0
  536. package/src/components/item-row/index.ts +9 -0
  537. package/src/components/list-row/ListRow.mdx +404 -0
  538. package/src/components/list-row/ListRow.stories.tsx +404 -0
  539. package/src/components/list-row/ListRow.tsx +424 -0
  540. package/src/components/list-row/index.ts +1 -0
  541. package/src/components/menu/Menu.mdx +268 -0
  542. package/src/components/menu/Menu.stories.tsx +455 -0
  543. package/src/components/menu/Menu.tsx +452 -0
  544. package/src/components/menu/index.ts +1 -0
  545. package/src/components/modal/Modal.mdx +854 -0
  546. package/src/components/modal/Modal.stories.tsx +881 -0
  547. package/src/components/modal/Modal.tsx +1434 -0
  548. package/src/components/modal/index.ts +1 -0
  549. package/src/components/nav-link/NavLink.mdx +196 -0
  550. package/src/components/nav-link/NavLink.stories.tsx +243 -0
  551. package/src/components/nav-link/NavLink.tsx +222 -0
  552. package/src/components/nav-link/index.ts +1 -0
  553. package/src/components/number-field/NumberField.mdx +223 -0
  554. package/src/components/number-field/NumberField.stories.tsx +291 -0
  555. package/src/components/number-field/NumberField.tsx +388 -0
  556. package/src/components/number-field/index.ts +6 -0
  557. package/src/components/pagination/Pagination.mdx +305 -0
  558. package/src/components/pagination/Pagination.stories.tsx +333 -0
  559. package/src/components/pagination/Pagination.tsx +343 -0
  560. package/src/components/pagination/index.ts +8 -0
  561. package/src/components/popover-surface/PopoverSurface.mdx +158 -0
  562. package/src/components/popover-surface/PopoverSurface.stories.tsx +421 -0
  563. package/src/components/popover-surface/index.ts +1 -0
  564. package/src/components/progress-bar/ProgressBar.mdx +802 -0
  565. package/src/components/progress-bar/ProgressBar.stories.tsx +533 -0
  566. package/src/components/progress-bar/ProgressBar.tsx +654 -0
  567. package/src/components/progress-bar/index.ts +9 -0
  568. package/src/components/promo-sticker/PromoSticker.mdx +436 -0
  569. package/src/components/promo-sticker/PromoSticker.stories.tsx +363 -0
  570. package/src/components/promo-sticker/PromoSticker.tsx +313 -0
  571. package/src/components/promo-sticker/index.ts +7 -0
  572. package/src/components/promo-surface/PromoSurface.mdx +399 -0
  573. package/src/components/promo-surface/PromoSurface.stories.tsx +270 -0
  574. package/src/components/promo-surface/PromoSurface.tsx +305 -0
  575. package/src/components/promo-surface/index.ts +7 -0
  576. package/src/components/radio/Radio.mdx +243 -0
  577. package/src/components/radio/Radio.stories.tsx +307 -0
  578. package/src/components/radio/Radio.tsx +288 -0
  579. package/src/components/radio/index.ts +1 -0
  580. package/src/components/radio-group/RadioGroup.mdx +119 -0
  581. package/src/components/radio-group/RadioGroup.stories.tsx +225 -0
  582. package/src/components/radio-group/RadioGroup.tsx +139 -0
  583. package/src/components/radio-group/index.ts +1 -0
  584. package/src/components/select/Select.mdx +241 -0
  585. package/src/components/select/Select.stories.tsx +404 -0
  586. package/src/components/select/Select.tsx +381 -0
  587. package/src/components/select/index.ts +1 -0
  588. package/src/components/select-field/SelectField.mdx +324 -0
  589. package/src/components/select-field/SelectField.stories.tsx +460 -0
  590. package/src/components/select-field/SelectField.tsx +138 -0
  591. package/src/components/select-field/index.ts +1 -0
  592. package/src/components/skeleton/Skeleton.mdx +194 -0
  593. package/src/components/skeleton/Skeleton.stories.tsx +260 -0
  594. package/src/components/skeleton/Skeleton.tsx +107 -0
  595. package/src/components/skeleton/index.ts +1 -0
  596. package/src/components/split-button/SplitButton.mdx +445 -0
  597. package/src/components/split-button/SplitButton.stories.tsx +465 -0
  598. package/src/components/split-button/SplitButton.tsx +361 -0
  599. package/src/components/split-button/index.ts +7 -0
  600. package/src/components/status-summary-bar/StatusSummaryBar.mdx +338 -0
  601. package/src/components/status-summary-bar/StatusSummaryBar.stories.tsx +408 -0
  602. package/src/components/status-summary-bar/StatusSummaryBar.tsx +428 -0
  603. package/src/components/status-summary-bar/index.ts +8 -0
  604. package/src/components/subject-lookup-field/SubjectLookupField.mdx +378 -0
  605. package/src/components/subject-lookup-field/SubjectLookupField.stories.tsx +393 -0
  606. package/src/components/subject-lookup-field/SubjectLookupField.tsx +1079 -0
  607. package/src/components/subject-lookup-field/index.ts +11 -0
  608. package/src/components/switch/Switch.mdx +376 -0
  609. package/src/components/switch/Switch.stories.tsx +296 -0
  610. package/src/components/switch/Switch.tsx +483 -0
  611. package/src/components/switch/index.ts +1 -0
  612. package/src/components/table/Table.mdx +575 -0
  613. package/src/components/table/Table.stories.tsx +1049 -0
  614. package/src/components/table/Table.tsx +745 -0
  615. package/src/components/table/TableConsumers.stories.tsx +195 -0
  616. package/src/components/table/_tableFixtures.ts +1189 -0
  617. package/src/components/table/index.ts +22 -0
  618. package/src/components/text-field/TextField.mdx +479 -0
  619. package/src/components/text-field/TextField.stories.tsx +366 -0
  620. package/src/components/text-field/TextField.tsx +391 -0
  621. package/src/components/text-field/index.ts +8 -0
  622. package/src/components/text-link/TextLink.mdx +353 -0
  623. package/src/components/text-link/TextLink.stories.tsx +458 -0
  624. package/src/components/text-link/TextLink.tsx +504 -0
  625. package/src/components/text-link/index.ts +10 -0
  626. package/src/components/textarea/Textarea.mdx +244 -0
  627. package/src/components/textarea/Textarea.stories.tsx +371 -0
  628. package/src/components/textarea/Textarea.tsx +489 -0
  629. package/src/components/textarea/index.ts +9 -0
  630. package/src/components/tooltip/Tooltip.mdx +462 -0
  631. package/src/components/tooltip/Tooltip.stories.tsx +500 -0
  632. package/src/components/tooltip/Tooltip.tsx +756 -0
  633. package/src/components/tooltip/index.ts +13 -0
  634. package/src/components/unit-field/UnitField.mdx +215 -0
  635. package/src/components/unit-field/UnitField.stories.tsx +291 -0
  636. package/src/components/unit-field/UnitField.tsx +255 -0
  637. package/src/components/unit-field/index.ts +7 -0
  638. package/src/icons/icon-registry.generated.ts +510 -0
  639. package/src/icons/icon-types.generated.ts +256 -0
  640. package/src/index.ts +71 -0
  641. package/src/internal/BottomSheet.tsx +714 -0
  642. package/src/internal/FodsProvider.tsx +36 -0
  643. package/src/internal/MotionCaret.tsx +53 -0
  644. package/src/internal/NumberFormatInput.tsx +276 -0
  645. package/src/internal/SummaryDonut.tsx +359 -0
  646. package/src/internal/buttonSegment.ts +241 -0
  647. package/src/internal/collapseRoom.ts +130 -0
  648. package/src/internal/comboboxKeys.ts +90 -0
  649. package/src/internal/contentPresence.ts +46 -0
  650. package/src/internal/dayCell.ts +274 -0
  651. package/src/internal/dialogPortal.ts +50 -0
  652. package/src/internal/donutSweeps.ts +77 -0
  653. package/src/internal/enterOnViewGeometry.ts +53 -0
  654. package/src/internal/faqItem.ts +104 -0
  655. package/src/internal/floatingLabelMotion.tsx +109 -0
  656. package/src/internal/formBlockContext.ts +27 -0
  657. package/src/internal/heightRoom.ts +135 -0
  658. package/src/internal/numberSeparators.ts +93 -0
  659. package/src/internal/overlayMotion.tsx +32 -0
  660. package/src/internal/paginationItem.ts +106 -0
  661. package/src/internal/popoverSurface.ts +78 -0
  662. package/src/internal/portalContainer.ts +11 -0
  663. package/src/internal/progressBarItem.ts +356 -0
  664. package/src/internal/selectionControlText.ts +42 -0
  665. package/src/internal/statusSummaryParts.tsx +475 -0
  666. package/src/internal/summaryMotion.ts +111 -0
  667. package/src/internal/table/ChildConnector.tsx +57 -0
  668. package/src/internal/table/ChildRowPrefix.tsx +21 -0
  669. package/src/internal/table/ColumnSettings.tsx +194 -0
  670. package/src/internal/table/ScrollRegion.tsx +176 -0
  671. package/src/internal/table/TableEmpty.tsx +99 -0
  672. package/src/internal/table/TableLayout.tsx +29 -0
  673. package/src/internal/table/TableLoadStatus.tsx +60 -0
  674. package/src/internal/table/TableMobile.tsx +582 -0
  675. package/src/internal/table/TruncatedCell.tsx +35 -0
  676. package/src/internal/table/emptyValue.ts +11 -0
  677. package/src/internal/table/features.ts +44 -0
  678. package/src/internal/table/recipes.ts +263 -0
  679. package/src/internal/table/rowClick.ts +8 -0
  680. package/src/internal/table/types.ts +342 -0
  681. package/src/internal/tailwind-variants.ts +65 -0
  682. package/src/internal/tooltipContext.ts +15 -0
  683. package/src/internal/tw-merge-config.generated.ts +275 -0
  684. package/src/internal/useAnchoredPanel.ts +340 -0
  685. package/src/internal/useCountUp.ts +65 -0
  686. package/src/internal/useDateFieldTrigger.tsx +357 -0
  687. package/src/internal/useEChart.ts +88 -0
  688. package/src/internal/useEnterOnView.ts +80 -0
  689. package/src/internal/useFloatingBar.ts +125 -0
  690. package/src/internal/useFormReset.ts +47 -0
  691. package/src/internal/useIsMobile.ts +64 -0
  692. package/src/internal/useNoImplicitSubmit.ts +41 -0
  693. package/src/internal/useOneRowOverflow.ts +103 -0
  694. package/src/internal/usePrefersReducedMotion.ts +27 -0
  695. package/src/internal/useReturnFocus.ts +34 -0
  696. package/src/internal/utils.ts +58 -0
  697. package/src/recipes/EmptyState.stories.tsx +105 -0
  698. package/src/recipes/Form.stories.tsx +355 -0
  699. package/src/recipes/ModalWithForm.stories.tsx +219 -0
  700. package/src/recipes/Recipes.mdx +61 -0
  701. package/src/recipes/TableWithFilters.stories.tsx +278 -0
  702. package/src/storybook/FodsFamily.tsx +39 -0
  703. package/src/storybook/Section.tsx +36 -0
  704. package/src/storybook/a11y.ts +24 -0
  705. package/src/storybook/assets/banner-character-bartender.webp +0 -0
  706. package/src/storybook/assets/banner-invoice-sheet-left.webp +0 -0
  707. package/src/storybook/assets/banner-invoice-sheet-right.webp +0 -0
  708. package/src/storybook/assets/invoice-hero.webp +0 -0
  709. package/src/storybook/assets/invoice.webp +0 -0
  710. package/src/storybook/assets/section-document-info.svg +21 -0
  711. package/src/storybook/assets/section-gear-checklist.svg +11 -0
  712. package/src/storybook/assets/section-person-arrow-in.svg +15 -0
  713. package/src/storybook/assets/section-person-arrow-out.svg +22 -0
  714. package/src/storybook/assets/section-receipt-dollar.svg +23 -0
  715. package/src/storybook/assets/table-empty-folder-empty.png +0 -0
  716. package/src/storybook/assets/table-empty-folder-magnifying-glass.png +0 -0
  717. package/src/storybook/assets/table-empty-funnel.png +0 -0
  718. package/src/storybook/assets/table-empty-load-failed.png +0 -0
  719. package/src/storybook/assets/wallet-spot.png +0 -0
  720. package/src/storybook/assets.d.ts +17 -0
  721. package/src/storybook/componentDoc.ts +41 -0
  722. package/src/storybook/fitFrame.tsx +70 -0
  723. package/src/storybook/forceStates.tsx +647 -0
  724. package/src/storybook/illustrations.tsx +66 -0
  725. package/src/storybook/viewportFrame.tsx +58 -0
  726. package/src/styles/assets/label-brush-1.svg +6 -0
  727. package/src/styles/assets/pattern-dark.svg +113 -0
  728. package/src/styles/base.css +106 -0
  729. package/src/styles/index.css +15 -0
  730. package/src/styles/motion.css +157 -0
  731. package/src/styles/promo-sticker.css +27 -0
  732. package/src/styles/promo-surface.css +49 -0
  733. package/src/styles/shared.css +11 -0
  734. package/src/styles/theme.generated.css +314 -0
  735. package/src/styles/theme.map.json +278 -0
  736. package/src/styles/tracking.generated.css +12 -0
  737. package/src/tokens/index.ts +4 -0
  738. package/src/tokens/tokens.generated.ts +542 -0
@@ -0,0 +1,542 @@
1
+ // Generated by packages/react/scripts/generate-tokens.mjs from dist/tokens.ts of the repo root.
2
+ // Do not edit: change tokens/ and run `npm run build:tokens`, then `npm run generate -w @invoiceonline/ui-react`.
3
+
4
+ // AUTO-GENERATED by scripts/build-tokens.mjs. Do not edit by hand.
5
+ // Source of truth: tokens/primitives/ + tokens/semantic/. Rebuild with `npm run build:tokens`.
6
+
7
+ export const primitives = {
8
+ "border-width": {
9
+ "100": { cssVar: "--ds-border-100", value: "1px" },
10
+ "200": { cssVar: "--ds-border-200", value: "2px" },
11
+ },
12
+ "breakpoint": {
13
+ "xxs": { cssVar: "--ds-breakpoint-xxs", value: "380px" }, // DEV-ONLY — used only by the top navbar in code. NOT a design breakpoint: designers never lay out at this width. Listed for engineering parity only.
14
+ "xs": { cssVar: "--ds-breakpoint-xs", value: "480px" }, // DEV-ONLY — used only by the top navbar in code. NOT a design breakpoint: designers never lay out at this width. Listed for engineering parity only.
15
+ "sm": { cssVar: "--ds-breakpoint-sm", value: "640px" }, // First real breakpoint — large phones / portrait tablets. Container caps at 600px, side padding 24px (--ds-space-800).
16
+ "md": { cssVar: "--ds-breakpoint-md", value: "768px" }, // Tablet portrait. Container caps at 720px. Matches the previous Bootstrap 4 md 1:1.
17
+ "lg": { cssVar: "--ds-breakpoint-lg", value: "1024px" }, // Small desktop / laptop. Container caps at 960px.
18
+ "xl": { cssVar: "--ds-breakpoint-xl", value: "1280px" }, // Primary desktop — the default design surface. Container hard-caps at 1270px; above this the container stays centered and content does not scale.
19
+ },
20
+ "color": {
21
+ "blue.50": { cssVar: "--ds-blue-50", value: "#f1f9fe" },
22
+ "blue.100": { cssVar: "--ds-blue-100", value: "#e2f1fb" },
23
+ "blue.200": { cssVar: "--ds-blue-200", value: "#c0e5f8" },
24
+ "blue.300": { cssVar: "--ds-blue-300", value: "#88d2f6" },
25
+ "blue.400": { cssVar: "--ds-blue-400", value: "#46baf1" },
26
+ "blue.500": { cssVar: "--ds-blue-500", value: "#2ea5e3" },
27
+ "blue.600": { cssVar: "--ds-blue-600", value: "#097fb5" },
28
+ "blue.700": { cssVar: "--ds-blue-700", value: "#1c699b" },
29
+ "blue.800": { cssVar: "--ds-blue-800", value: "#1b5980" },
30
+ "blue.900": { cssVar: "--ds-blue-900", value: "#1b4a68" },
31
+ "blue.950": { cssVar: "--ds-blue-950", value: "#112f44" },
32
+ "claudy.50": { cssVar: "--ds-claudy-50", value: "#f4f9fb" },
33
+ "claudy.100": { cssVar: "--ds-claudy-100", value: "#f0f7fb" },
34
+ "claudy.200": { cssVar: "--ds-claudy-200", value: "#d5e2e8" },
35
+ "claudy.300": { cssVar: "--ds-claudy-300", value: "#b4c8d5" },
36
+ "claudy.400": { cssVar: "--ds-claudy-400", value: "#86a1b3" },
37
+ "claudy.500": { cssVar: "--ds-claudy-500", value: "#5e7c8f" },
38
+ "claudy.600": { cssVar: "--ds-claudy-600", value: "#446276" },
39
+ "claudy.700": { cssVar: "--ds-claudy-700", value: "#294e66" },
40
+ "claudy.800": { cssVar: "--ds-claudy-800", value: "#133f5a" },
41
+ "claudy.900": { cssVar: "--ds-claudy-900", value: "#032c46" },
42
+ "claudy.950": { cssVar: "--ds-claudy-950", value: "#1a2330" },
43
+ "claudy.900-a03": { cssVar: "--ds-claudy-900-a03", value: "rgba(26, 35, 48, 0.03)" },
44
+ "claudy.900-a06": { cssVar: "--ds-claudy-900-a06", value: "rgba(26, 35, 48, 0.06)" },
45
+ "claudy.900-a50": { cssVar: "--ds-claudy-900-a50", value: "rgba(26, 35, 48, 0.5)" },
46
+ "red.50": { cssVar: "--ds-red-50", value: "#fff6f5" },
47
+ "red.100": { cssVar: "--ds-red-100", value: "#ffebe8" },
48
+ "red.200": { cssVar: "--ds-red-200", value: "#fed6cf" },
49
+ "red.300": { cssVar: "--ds-red-300", value: "#ffb7ac" },
50
+ "red.400": { cssVar: "--ds-red-400", value: "#ff8574" },
51
+ "red.500": { cssVar: "--ds-red-500", value: "#ff4839" },
52
+ "red.600": { cssVar: "--ds-red-600", value: "#e3261b" },
53
+ "red.700": { cssVar: "--ds-red-700", value: "#c50000" },
54
+ "red.800": { cssVar: "--ds-red-800", value: "#ac0704" },
55
+ "red.900": { cssVar: "--ds-red-900", value: "#930a0a" },
56
+ "red.950": { cssVar: "--ds-red-950", value: "#480604" },
57
+ "orange.50": { cssVar: "--ds-orange-50", value: "#fff9ee" },
58
+ "orange.100": { cssVar: "--ds-orange-100", value: "#fdf0d3" },
59
+ "orange.200": { cssVar: "--ds-orange-200", value: "#fce0a5" },
60
+ "orange.300": { cssVar: "--ds-orange-300", value: "#fbc970" },
61
+ "orange.400": { cssVar: "--ds-orange-400", value: "#f6ac3e" },
62
+ "orange.500": { cssVar: "--ds-orange-500", value: "#f2912f" },
63
+ "orange.600": { cssVar: "--ds-orange-600", value: "#d77900" },
64
+ "orange.700": { cssVar: "--ds-orange-700", value: "#8f480e" },
65
+ "orange.800": { cssVar: "--ds-orange-800", value: "#743a16" },
66
+ "orange.900": { cssVar: "--ds-orange-900", value: "#5f3018" },
67
+ "orange.950": { cssVar: "--ds-orange-950", value: "#3b1b0e" },
68
+ "green.50": { cssVar: "--ds-green-50", value: "#f3fcf6" },
69
+ "green.100": { cssVar: "--ds-green-100", value: "#e2f9eb" },
70
+ "green.200": { cssVar: "--ds-green-200", value: "#c6f2d7" },
71
+ "green.300": { cssVar: "--ds-green-300", value: "#9ae9b8" },
72
+ "green.400": { cssVar: "--ds-green-400", value: "#67d58f" },
73
+ "green.500": { cssVar: "--ds-green-500", value: "#4ebc72" },
74
+ "green.600": { cssVar: "--ds-green-600", value: "#3f9e5d" },
75
+ "green.700": { cssVar: "--ds-green-700", value: "#337c4c" },
76
+ "green.800": { cssVar: "--ds-green-800", value: "#2b613f" },
77
+ "green.900": { cssVar: "--ds-green-900", value: "#265036" },
78
+ "green.950": { cssVar: "--ds-green-950", value: "#112c1c" },
79
+ "violet.50": { cssVar: "--ds-violet-50", value: "#faf3fc" },
80
+ "violet.100": { cssVar: "--ds-violet-100", value: "#f3e6f6" },
81
+ "violet.200": { cssVar: "--ds-violet-200", value: "#e6c9ee" },
82
+ "violet.300": { cssVar: "--ds-violet-300", value: "#d8a4e5" },
83
+ "violet.400": { cssVar: "--ds-violet-400", value: "#bc65d2" },
84
+ "violet.500": { cssVar: "--ds-violet-500", value: "#992fb4" },
85
+ "violet.600": { cssVar: "--ds-violet-600", value: "#84299b" },
86
+ "violet.700": { cssVar: "--ds-violet-700", value: "#711d86" },
87
+ "violet.800": { cssVar: "--ds-violet-800", value: "#5c196b" },
88
+ "violet.900": { cssVar: "--ds-violet-900", value: "#4a1556" },
89
+ "violet.950": { cssVar: "--ds-violet-950", value: "#2d0f33" },
90
+ "white": { cssVar: "--ds-white", value: "#ffffff" },
91
+ "alpha.dark-00": { cssVar: "--ds-alpha-dark-00", value: "rgba(26, 35, 48, 0)" },
92
+ "alpha.dark-03": { cssVar: "--ds-alpha-dark-03", value: "rgba(26, 35, 48, 0.03)" },
93
+ "alpha.dark-06": { cssVar: "--ds-alpha-dark-06", value: "rgba(26, 35, 48, 0.06)" },
94
+ "alpha.dark-10": { cssVar: "--ds-alpha-dark-10", value: "rgba(26, 35, 48, 0.1)" },
95
+ "alpha.dark-50": { cssVar: "--ds-alpha-dark-50", value: "rgba(26, 35, 48, 0.5)" },
96
+ "alpha.light-00": { cssVar: "--ds-alpha-light-00", value: "rgba(255, 255, 255, 0)" },
97
+ "alpha.light-08": { cssVar: "--ds-alpha-light-08", value: "rgba(255, 255, 255, 0.08)" },
98
+ "alpha.light-12": { cssVar: "--ds-alpha-light-12", value: "rgba(255, 255, 255, 0.12)" },
99
+ "gray.100": { cssVar: "--ds-gray-100", value: "#e5e7eb" },
100
+ "gray.700": { cssVar: "--ds-gray-700", value: "#374151" },
101
+ "gray.900": { cssVar: "--ds-gray-900", value: "#222222" },
102
+ "yellow.300": { cssVar: "--ds-yellow-300", value: "#ffcd38" },
103
+ "orange-warning": { cssVar: "--ds-orange-warning", value: "#fe8f01" },
104
+ },
105
+ "container": {
106
+ "sm": { cssVar: "--ds-container-sm", value: "600px" }, // Container max-width from sm (≥640px). Side padding 24px (--ds-space-800).
107
+ "md": { cssVar: "--ds-container-md", value: "720px" }, // Container max-width from md (≥768px).
108
+ "lg": { cssVar: "--ds-container-lg", value: "960px" }, // Container max-width from lg (≥1024px).
109
+ "xl": { cssVar: "--ds-container-xl", value: "1270px" }, // Hard cap from xl (≥1280px). FO custom (measured on production); above xl the container stays centered and content does not scale. Bootstrap default at xl was 1140 — FO widened to 1270.
110
+ },
111
+ "content-width": {
112
+ "narrow": { cssVar: "--ds-content-narrow", value: "580px" }, // The measure — line-length cap for prose. 67 characters per line at 18px body (--ds-font-size-md), 75 at 16px (--ds-font-size-base); measured on Inter Regular over CZ/EN/PL/DE copy, mean advance 0.4806
113
+ "medium": { cssVar: "--ds-content-medium", value: "786px" }, // Content column — result lists, row and card stacks, settings pages, tables that don't need the full width — and the reading column of a blog or help article. ≈ 8 XL columns (785.3). Article prose runs
114
+ "wide": { cssVar: "--ds-content-wide", value: "1190px" }, // The whole content area at xl — container hard cap minus its side padding (1270 − 2 × 40), exactly 12 columns. USE: dashboards, wide tables, data-dense app screens. Below xl the container clamps to a s
115
+ },
116
+ "duration": {
117
+ "instant": { cssVar: "--ds-duration-instant", value: "100ms" },
118
+ "fast": { cssVar: "--ds-duration-fast", value: "150ms" },
119
+ "normal": { cssVar: "--ds-duration-normal", value: "200ms" },
120
+ "slow": { cssVar: "--ds-duration-slow", value: "300ms" },
121
+ "long": { cssVar: "--ds-duration-long", value: "600ms" },
122
+ "extra-long": { cssVar: "--ds-duration-extra-long", value: "800ms" },
123
+ "loop-fast": { cssVar: "--ds-duration-loop-fast", value: "900ms" },
124
+ "loop-slow": { cssVar: "--ds-duration-loop-slow", value: "2000ms" },
125
+ },
126
+ "easing": {
127
+ "standard": { cssVar: "--ds-easing-standard", value: "cubic-bezier(0.4, 0, 0.2, 1)" },
128
+ "enter": { cssVar: "--ds-easing-enter", value: "cubic-bezier(0, 0, 0.2, 1)" },
129
+ "exit": { cssVar: "--ds-easing-exit", value: "cubic-bezier(0.4, 0, 1, 1)" },
130
+ "linear": { cssVar: "--ds-easing-linear", value: "linear" },
131
+ },
132
+ "font-family": {
133
+ "inter": { cssVar: "--ds-font-family-inter", value: "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" }, // Workhorse UI/body face. Matches production --font-inter. Fallback = standard sans system stack (spec names only 'Inter'; fallbacks added here).
134
+ "poppins": { cssVar: "--ds-font-family-poppins", value: "Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" }, // Heading + display face. Matches production --font-poppins. Fallback = standard sans system stack (spec names only 'Poppins').
135
+ "caveat": { cssVar: "--ds-font-family-caveat", value: "Caveat, 'Comic Sans MS', cursive" }, // Decorative handwritten accent (Decorative/Caveat 32 / 20). Fallback = generic cursive (spec names only 'Caveat').
136
+ },
137
+ "font-size": {
138
+ "xxs": { cssVar: "--ds-font-size-xxs", value: "0.75rem" },
139
+ "xs": { cssVar: "--ds-font-size-xs", value: "0.8125rem" },
140
+ "sm": { cssVar: "--ds-font-size-sm", value: "0.875rem" },
141
+ "base": { cssVar: "--ds-font-size-base", value: "1rem" },
142
+ "md": { cssVar: "--ds-font-size-md", value: "1.125rem" },
143
+ "lg": { cssVar: "--ds-font-size-lg", value: "1.25rem" },
144
+ "xl": { cssVar: "--ds-font-size-xl", value: "1.375rem" },
145
+ "xxl": { cssVar: "--ds-font-size-xxl", value: "1.5rem" },
146
+ "3xl": { cssVar: "--ds-font-size-3xl", value: "1.625rem" },
147
+ "4xl": { cssVar: "--ds-font-size-4xl", value: "2rem" },
148
+ "5xl": { cssVar: "--ds-font-size-5xl", value: "2.5rem" },
149
+ "6xl": { cssVar: "--ds-font-size-6xl", value: "3rem" },
150
+ "heading.h1": { cssVar: "--ds-font-size-heading-h1", value: "1.625rem" },
151
+ "heading.h2": { cssVar: "--ds-font-size-heading-h2", value: "1.5rem" },
152
+ "heading.h3": { cssVar: "--ds-font-size-heading-h3", value: "1.375rem" },
153
+ "heading.h4": { cssVar: "--ds-font-size-heading-h4", value: "1.125rem" },
154
+ "heading.h5": { cssVar: "--ds-font-size-heading-h5", value: "1rem" },
155
+ "display.d1": { cssVar: "--ds-font-size-display-d1", value: "3rem" },
156
+ "display.d2": { cssVar: "--ds-font-size-display-d2", value: "2.5rem" },
157
+ "display.d3": { cssVar: "--ds-font-size-display-d3", value: "2rem" },
158
+ },
159
+ "font-weight": {
160
+ "light": { cssVar: "--ds-font-weight-light", value: "300" },
161
+ "normal": { cssVar: "--ds-font-weight-normal", value: "400" },
162
+ "medium": { cssVar: "--ds-font-weight-medium", value: "500" },
163
+ "semibold": { cssVar: "--ds-font-weight-semibold", value: "600" },
164
+ "bold": { cssVar: "--ds-font-weight-bold", value: "700" },
165
+ "black": { cssVar: "--ds-font-weight-black", value: "900" },
166
+ },
167
+ "line-height": {
168
+ "compact": { cssVar: "--ds-leading-compact", value: "1.3" },
169
+ "tight": { cssVar: "--ds-leading-tight", value: "1.4" },
170
+ "relaxed": { cssVar: "--ds-leading-relaxed", value: "1.5" },
171
+ "loose": { cssVar: "--ds-leading-loose", value: "1.6" },
172
+ "extra-loose": { cssVar: "--ds-leading-extra-loose", value: "20px" },
173
+ },
174
+ "opacity": {
175
+ "10": { cssVar: "--ds-opacity-10", value: "0.1" },
176
+ "12": { cssVar: "--ds-opacity-12", value: "0.12" },
177
+ "50": { cssVar: "--ds-opacity-50", value: "0.5" },
178
+ "00": { cssVar: "--ds-opacity-00", value: "0" },
179
+ "03": { cssVar: "--ds-opacity-03", value: "0.03" },
180
+ "06": { cssVar: "--ds-opacity-06", value: "0.06" },
181
+ "08": { cssVar: "--ds-opacity-08", value: "0.08" },
182
+ },
183
+ "overlay": {
184
+ "max-height": { cssVar: "--ds-overlay-max-height", value: "320px" },
185
+ },
186
+ "radius": {
187
+ "0": { cssVar: "--ds-radius-0", value: "0" },
188
+ "100": { cssVar: "--ds-radius-100", value: "2px" },
189
+ "200": { cssVar: "--ds-radius-200", value: "4px" },
190
+ "300": { cssVar: "--ds-radius-300", value: "6px" },
191
+ "400": { cssVar: "--ds-radius-400", value: "8px" },
192
+ "500": { cssVar: "--ds-radius-500", value: "12px" },
193
+ "600": { cssVar: "--ds-radius-600", value: "16px" },
194
+ "700": { cssVar: "--ds-radius-700", value: "20px" },
195
+ "800": { cssVar: "--ds-radius-800", value: "24px" },
196
+ "full": { cssVar: "--ds-radius-full", value: "9999px" },
197
+ },
198
+ "shadow": {
199
+ "100": { cssVar: "--ds-shadow-100", value: "0 1px 2px 0 rgba(26, 35, 48, 0.05), 0 1px 3px 0 rgba(26, 35, 48, 0.10)" },
200
+ "200": { cssVar: "--ds-shadow-200", value: "0 4px 6px -1px rgba(26, 35, 48, 0.10), 0 2px 4px -1px rgba(26, 35, 48, 0.06)" },
201
+ "300": { cssVar: "--ds-shadow-300", value: "0 10px 15px -3px rgba(26, 35, 48, 0.10), 0 4px 6px -2px rgba(26, 35, 48, 0.05)" },
202
+ },
203
+ "size": {
204
+ "14": { cssVar: "--ds-size-14", value: "14px" },
205
+ "16": { cssVar: "--ds-size-16", value: "16px" },
206
+ "20": { cssVar: "--ds-size-20", value: "20px" },
207
+ "24": { cssVar: "--ds-size-24", value: "24px" },
208
+ "32": { cssVar: "--ds-size-32", value: "32px" },
209
+ "40": { cssVar: "--ds-size-40", value: "40px" },
210
+ "48": { cssVar: "--ds-size-48", value: "48px" },
211
+ "64": { cssVar: "--ds-size-64", value: "64px" },
212
+ "80": { cssVar: "--ds-size-80", value: "80px" },
213
+ "140": { cssVar: "--ds-size-140", value: "140px" },
214
+ "200": { cssVar: "--ds-size-200", value: "200px" },
215
+ "300": { cssVar: "--ds-size-300", value: "300px" },
216
+ },
217
+ "spacing": {
218
+ "0": { cssVar: "--ds-space-0", value: "0" },
219
+ "100": { cssVar: "--ds-space-100", value: "2px" },
220
+ "200": { cssVar: "--ds-space-200", value: "4px" },
221
+ "300": { cssVar: "--ds-space-300", value: "6px" },
222
+ "400": { cssVar: "--ds-space-400", value: "8px" },
223
+ "450": { cssVar: "--ds-space-450", value: "10px" },
224
+ "500": { cssVar: "--ds-space-500", value: "12px" },
225
+ "600": { cssVar: "--ds-space-600", value: "16px" },
226
+ "700": { cssVar: "--ds-space-700", value: "20px" },
227
+ "800": { cssVar: "--ds-space-800", value: "24px" },
228
+ "900": { cssVar: "--ds-space-900", value: "32px" },
229
+ "1000": { cssVar: "--ds-space-1000", value: "40px" },
230
+ "1100": { cssVar: "--ds-space-1100", value: "48px" },
231
+ "1200": { cssVar: "--ds-space-1200", value: "64px" },
232
+ "1300": { cssVar: "--ds-space-1300", value: "80px" },
233
+ },
234
+ "spring": {
235
+ "normal": { cssVar: "--ds-spring-normal", value: "400ms linear(0, 0.2175, 0.5207, 0.7361, 0.8631, 0.9317, 0.9668, 0.9842, 0.9926, 0.9966, 0.9984, 0.9993, 1)" },
236
+ "slow": { cssVar: "--ds-spring-slow", value: "600ms linear(0, 0.1061, 0.3018, 0.4922, 0.6466, 0.7613, 0.8422, 0.8975, 0.9342, 0.9582, 0.9737, 0.9836, 0.9898, 0.9937, 0.9961, 0.9976, 0.9985, 0.9991, 1, 1)" },
237
+ },
238
+ "text-wrap": {
239
+ "balance": { cssVar: "--ds-text-wrap-balance", value: "balance" }, // Rebalances every line in the block to even widths. Chromium/Edge cap this at 6 lines (Firefox at 10) before silently reverting to normal wrap.
240
+ "pretty": { cssVar: "--ds-text-wrap-pretty", value: "pretty" }, // Only adjusts the last 4 lines of a block in Chromium/Edge to prevent an orphan (a lone word on the final line). Cheap and not capped by paragraph length. WebKit applies it to the whole block, no 4-lin
241
+ },
242
+ "z-index": {
243
+ "base": { cssVar: "--ds-z-index-base", value: "0" },
244
+ "dropdown": { cssVar: "--ds-z-index-dropdown", value: "1000" },
245
+ "sticky": { cssVar: "--ds-z-index-sticky", value: "1100" },
246
+ "fixed": { cssVar: "--ds-z-index-fixed", value: "1200" },
247
+ "modal-backdrop": { cssVar: "--ds-z-index-modal-backdrop", value: "1300" },
248
+ "modal": { cssVar: "--ds-z-index-modal", value: "1400" },
249
+ "popover": { cssVar: "--ds-z-index-popover", value: "1500" },
250
+ "toast": { cssVar: "--ds-z-index-toast", value: "1600" },
251
+ },
252
+ } as const;
253
+
254
+ export const semantic = {
255
+ "border-width": {
256
+ "100": { cssVar: "--border-width-100", references: "--ds-border-100", resolvedValue: "1px" }, // Default border weight. Inputs, cards, table dividers, focus rings on light surfaces.
257
+ "200": { cssVar: "--border-width-200", references: "--ds-border-200", resolvedValue: "2px" }, // Emphasized border. Active state on form fields, focus rings that need extra visibility, selected-state outlines.
258
+ },
259
+ "color": {
260
+ "primary": { cssVar: "--primary", references: "--ds-orange-500", resolvedValue: "#f2912f" }, // FO primary brand color — orange. USE: as an INLINE accent (brand icons/markers) and as a STRONG colored border (outlined primary button/emphasis edge); --primary-solid is the same value for fills. AVO
261
+ "primary-solid": { cssVar: "--primary-solid", references: "--ds-orange-500", resolvedValue: "#f2912f" }, // Filled primary surface — the brand orange fill. USE: filled primary buttons/CTAs, solid brand surfaces, with --primary-foreground on top. AVOID: inline accents/borders (use --primary base), tints (use
262
+ "primary-hover": { cssVar: "--primary-hover", references: "--ds-orange-600", resolvedValue: "#d77900" }, // Hover for --primary fills AND outlined-primary border/text. USE: :hover of primary buttons/CTAs and outlined-primary edges. AVOID: as a base color (state only), :active (use --primary-active).
263
+ "primary-active": { cssVar: "--primary-active", references: "--ds-orange-700", resolvedValue: "#8f480e" }, // Pressed for --primary fills AND outlined-primary edges. USE: :active of primary controls. AVOID: as a base color, :hover (use --primary-hover). Note: orange darkens toward brown at 700, so the pressed
264
+ "primary-foreground": { cssVar: "--primary-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --primary / --primary-solid surface. USE: button labels on filled primary, icons on primary fill, text on --primary-hover. AVOID: text on --primary-subtle / --primary-soft (use -
265
+ "primary-subtle": { cssVar: "--primary-subtle", references: "--ds-orange-100", resolvedValue: "#fdf0d3" }, // Lightest primary tint background. USE: orange-themed badge bg, soft inline highlights, light row highlight in orange-themed lists. AVOID: filled CTAs (use --primary-solid), text on it (use --primary-t
266
+ "primary-soft": { cssVar: "--primary-soft", references: "--ds-orange-200", resolvedValue: "#fce0a5" }, // Medium-light primary tint background. USE: tinted section bg, branded header strips, accent banners stronger than --primary-subtle. AVOID: filled CTAs (use --primary-solid), text on white (insufficien
267
+ "primary-tint-foreground": { cssVar: "--primary-tint-foreground", references: "--ds-orange-900", resolvedValue: "#5f3018" }, // Text/icon on --primary-subtle OR --primary-soft tints. USE: text inside orange-tinted badges, banner copy, tinted-section labels. AVOID: text on white (use --text-primary), text on filled --primary (u
268
+ "primary-subtle-border": { cssVar: "--primary-subtle-border", references: "--ds-orange-300", resolvedValue: "#fbc970" }, // Soft primary border for tinted/outlined CALLOUT containers (not buttons). USE: border around a --primary-subtle/-soft tinted block, outlined orange-themed callout. AVOID: outlined-button edges (use --
269
+ "secondary": { cssVar: "--secondary", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // FO alt brand color as INK — blue/700. USE: the resting text/icon of the borderless blue controls (Secondary/Tertiary Button, ghost Icon Button, Nav Link, List Row), inline accents, and STRONG colored
270
+ "secondary-solid": { cssVar: "--secondary-solid", references: "--ds-blue-600", resolvedValue: "#097fb5" }, // Filled secondary surface — brand blue fill. USE: filled secondary buttons/CTAs with --secondary-foreground on top. AVOID: inline accents/borders (use --secondary base), tints (use --secondary-subtle).
271
+ "secondary-hover": { cssVar: "--secondary-hover", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // Hover for --secondary fills AND outlined-secondary border/text. USE: :hover of secondary buttons/links/CTAs and outlined edges. AVOID: as a base color (state only).
272
+ "secondary-active": { cssVar: "--secondary-active", references: "--ds-blue-800", resolvedValue: "#1b5980" }, // Pressed for --secondary fills AND outlined edges. USE: :active of secondary controls. AVOID: as a base color, :hover (use --secondary-hover). Ladder law: solid blue/600 → hover = solid+1 (blue/700) →
273
+ "secondary-foreground": { cssVar: "--secondary-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --secondary / --secondary-solid surface. USE: button labels on filled secondary, icons on secondary fill. AVOID: text on --secondary-subtle / --secondary-soft (use --secondary-ti
274
+ "secondary-subtle": { cssVar: "--secondary-subtle", references: "--ds-blue-100", resolvedValue: "#e2f1fb" }, // Lightest secondary tint background. USE: blue-themed badge bg, soft inline highlights in blue contexts, light row highlight. AVOID: filled CTAs (use --secondary-solid), text (use --secondary-tint-fore
275
+ "secondary-soft": { cssVar: "--secondary-soft", references: "--ds-blue-200", resolvedValue: "#c0e5f8" }, // Medium-light secondary tint background. USE: tinted section bg, blue-themed header strips, accent banners stronger than --secondary-subtle. AVOID: filled CTAs (use --secondary-solid), text on white. P
276
+ "secondary-tint-foreground": { cssVar: "--secondary-tint-foreground", references: "--ds-blue-900", resolvedValue: "#1b4a68" }, // Text/icon on --secondary-subtle OR --secondary-soft tints. USE: text inside blue-tinted badges, banners, tinted sections. AVOID: text on filled --secondary (use --secondary-foreground), text on white.
277
+ "secondary-subtle-border": { cssVar: "--secondary-subtle-border", references: "--ds-blue-300", resolvedValue: "#88d2f6" }, // Soft secondary border for tinted/outlined CALLOUT containers. USE: border around a --secondary-subtle/-soft block, outlined blue-themed callout. AVOID: outlined-button edges (use --secondary base), fi
278
+ "tertiary": { cssVar: "--tertiary", references: "--ds-claudy-600", resolvedValue: "#446276" }, // Neutral / ghost role — claudy. USE: ghost-button text/icon (NO background), deemphasized neutral interactive elements, and (rarely) a strong neutral colored border. --tertiary-solid is the same value
279
+ "tertiary-solid": { cssVar: "--tertiary-solid", references: "--ds-claudy-600", resolvedValue: "#446276" }, // Filled tertiary surface (rare — tertiary is usually ghost). USE: the uncommon filled neutral control, with --tertiary-foreground on top. AVOID: ghost buttons (no fill — use base as text color), tints
280
+ "tertiary-hover": { cssVar: "--tertiary-hover", references: "--ds-claudy-700", resolvedValue: "#294e66" }, // Hover for ghost/tertiary — darkens the TEXT/ICON one step (ghost has no fill). USE: :hover text/icon color of ghost buttons and tertiary links. AVOID: as a base color, as a hover BACKGROUND (ghost pai
281
+ "tertiary-active": { cssVar: "--tertiary-active", references: "--ds-claudy-800", resolvedValue: "#133f5a" }, // Pressed for ghost/tertiary — darkens the TEXT/ICON a second step. USE: :active text/icon color of ghost buttons. AVOID: as a base color, :hover (use --tertiary-hover), any background fill.
282
+ "tertiary-foreground": { cssVar: "--tertiary-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --tertiary surface (rare). USE: text on the uncommon filled neutral control. AVOID: text on --tertiary-subtle / --tertiary-soft (use --tertiary-tint-foreground), ghost buttons (u
283
+ "tertiary-subtle": { cssVar: "--tertiary-subtle", references: "--ds-claudy-100", resolvedValue: "#f0f7fb" }, // Lightest tertiary tint background. USE: deemphasized list-row highlight, soft neutral inline highlight, neutral chip bg. AVOID: ghost-button hover (ghost has NO bg), borders (use --tertiary-subtle-bor
284
+ "tertiary-soft": { cssVar: "--tertiary-soft", references: "--ds-claudy-200", resolvedValue: "#d5e2e8" }, // Medium-light tertiary tint background. USE: deemphasized sections, neutral-cool header strips, low-prominence tinted bg. AVOID: filled CTAs, ghost hover, text on white. Pair: --tertiary-tint-foregroun
285
+ "tertiary-tint-foreground": { cssVar: "--tertiary-tint-foreground", references: "--ds-claudy-900", resolvedValue: "#032c46" }, // Text/icon on --tertiary-subtle OR --tertiary-soft tints. USE: text inside neutral-cool tinted badges, banners, sections. AVOID: text on filled --tertiary (use --tertiary-foreground). WCAG AAA on both.
286
+ "tertiary-subtle-border": { cssVar: "--tertiary-subtle-border", references: "--ds-claudy-300", resolvedValue: "#b4c8d5" }, // Soft neutral-cool border for tinted tertiary containers. USE: border around a --tertiary-subtle/-soft block. AVOID: outlined-button edges, neutral structural borders (use --outline-default/-strong — u
287
+ "bg-primary": { cssVar: "--bg-primary", references: "--ds-white", resolvedValue: "#ffffff" }, // Default page background — pure white. USE: main content surfaces, cards (when not elevated), modal bodies, page wrappers. AVOID: secondary surfaces (use --bg-secondary), highlighted rows (use --tertia
288
+ "bg-secondary": { cssVar: "--bg-secondary", references: "--ds-claudy-50", resolvedValue: "#f4f9fb" }, // Alt background — subtle cool tint. USE: app shell wrapper, alternate row stripes, grouping containers, the line-items totals box, ad-hoc neutral light-gray STATIC surfaces that have no dedicated token
289
+ "bg-readonly": { cssVar: "--bg-readonly", references: "--ds-claudy-50", resolvedValue: "#f4f9fb" }, // Surface of a READ-ONLY field — a value shown but not editable here (computed, derived, locked). USE: the fill of Text Field and Unit Field in State=Read-only, with --outline-default border and --text-
290
+ "bg-hover": { cssVar: "--bg-hover", references: "--ds-alpha-dark-03", resolvedValue: "rgba(26, 35, 48, 0.03)" }, // Neutral hover wash for borderless / outline interactive surfaces — a 3% contrast wash against WHATEVER surface the control sits on (white, app shell, tinted sections), shifting it by the same perceive
291
+ "bg-active": { cssVar: "--bg-active", references: "--ds-alpha-dark-06", resolvedValue: "rgba(26, 35, 48, 0.06)" }, // Neutral pressed wash — the :active counterpart of --bg-hover, a 6% contrast wash (one step stronger). USE: :active fill of the same borderless / outline controls that use --bg-hover. AVOID: using it f
292
+ "bg-hover-inverse": { cssVar: "--bg-hover-inverse", references: "--ds-alpha-light-08", resolvedValue: "rgba(255, 255, 255, 0.08)" }, // Hover wash for borderless / outline interactive surfaces sitting on a fill OPPOSITE to the current ground — the inverse counterpart of --bg-hover, an 8% wash that shifts a dark surface (--bg-inverse c
293
+ "bg-active-inverse": { cssVar: "--bg-active-inverse", references: "--ds-alpha-light-12", resolvedValue: "rgba(255, 255, 255, 0.12)" }, // Pressed wash on an inverse fill — the :active counterpart of --bg-hover-inverse, a 12% wash (one step stronger). The inverse pair runs stronger than the 3/6 pair because a light wash needs more alpha
294
+ "bg-overlay": { cssVar: "--bg-overlay", references: "--ds-alpha-dark-50", resolvedValue: "rgba(26, 35, 48, 0.5)" }, // Modal / dialog scrim — the dimmed layer that covers the page behind a blocking surface. USE: backdrop behind modals, dialogs, confirmations, full-screen wizards, side-sheets acting as modals (pairs wi
295
+ "bg-skeleton": { cssVar: "--bg-skeleton", references: "--ds-claudy-200", resolvedValue: "#d5e2e8" }, // Fill of a loading placeholder — LOADING ONLY: the block that stands in for content still arriving. USE: Skeleton lines, circles and blocks, on --bg-primary and on the --bg-secondary app shell; the Sti
296
+ "bg-edge-shadow": { cssVar: "--bg-edge-shadow", references: "--ds-alpha-dark-10", resolvedValue: "rgba(26, 35, 48, 0.1)" }, // The ink of an edge band - the soft darkening strip drawn OUTSIDE a surface that covers scrolling content while sitting flush against it (a sticky bottom bar, a pinned table column). USE: as the opaque
297
+ "bg-inverse": { cssVar: "--bg-inverse", references: "--ds-blue-900", resolvedValue: "#1b4a68" }, // Dark inverse surface for small floating chrome on a light UI. USE: Tooltip bubble + caret (pairs with --text-inverted + --shadow-raised), other brand-dark micro-surfaces. Nearest on-scale step to the
298
+ "icon-default": { cssVar: "--icon-default", references: "--ds-claudy-600", resolvedValue: "#446276" }, // Default ink for STANDALONE neutral icons — self-coloured glyphs that do not sit next to a text run: empty-state pictogram strokes, informational glyphs, list bullets-as-icons. Same value as --text-sec
299
+ "icon-brand": { cssVar: "--icon-brand", references: "--ds-orange-500", resolvedValue: "#f2912f" }, // Brand-orange ink for decorative BRAND accent icons — feature markers, marketing-flavoured glyphs, section pictograms (= --primary base). 2.37:1 on white — BELOW the non-text 3:1 floor; ACCEPTED brand
300
+ "icon-muted": { cssVar: "--icon-muted", references: "--ds-claudy-500", resolvedValue: "#5e7c8f" }, // Muted ink for secondary AFFORDANCE icons — quieter than content: the Select caret, Combobox magnifier, decorative-but-functional glyphs that must stay visible without shouting. 4.42:1 on white — passe
301
+ "text-primary": { cssVar: "--text-primary", references: "--ds-claudy-950", resolvedValue: "#1a2330" }, // Default body and heading text on white. USE: all body text, headings, default labels everywhere, table cells. WCAG AAA. AVOID: text on saturated/dark surfaces (use --text-inverted), placeholders (use
302
+ "text-secondary": { cssVar: "--text-secondary", references: "--ds-claudy-600", resolvedValue: "#446276" }, // Dimmed READABLE text — the dim end of the 2-level readable hierarchy (--text-tertiary was deprecated 2026-07-08; readable hierarchy is now primary + secondary). USE: labels, metadata, captions, table
303
+ "text-placeholder": { cssVar: "--text-placeholder", references: "--ds-claudy-400", resolvedValue: "#86a1b3" }, // Inactive 'awaiting input' text — the placeholder / empty-value hint inside a field, deliberately the LIGHTEST text in the field so the hierarchy reads value > label > placeholder. USE: field placehold
304
+ "text-tertiary": { cssVar: "--text-tertiary", references: "--ds-claudy-600", resolvedValue: "#446276" }, // DEPRECATED 2026-07-08 — do not use. Text hierarchy is 2-level: --text-primary + --text-secondary (+ --disabled-foreground). Was claudy/400 (2.71:1 on white — below AA and AA-Large, unreadable); every
305
+ "text-inverted": { cssVar: "--text-inverted", references: "--ds-white", resolvedValue: "#ffffff" }, // Text on dark/saturated surfaces. USE: text on filled --primary / --secondary / --tertiary buttons, text on filled status surfaces, text on brand-dark marketing sections. AVOID: text on light backgroun
306
+ "text-inverted-secondary": { cssVar: "--text-inverted-secondary", references: "--ds-blue-200", resolvedValue: "#c0e5f8" }, // Dimmed READABLE text on a dark inverse surface — the quiet step below --text-inverted, mirroring how --text-secondary sits below --text-primary on light. USE: metadata, supporting lines and captions o
307
+ "text-link": { cssVar: "--text-link", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // Default <a> color. USE: hyperlinks in body, inline links, navigation text-links. Always pair with underline or visually distinct treatment. AVOID: standalone heading colors (use --text-primary). Pair:
308
+ "text-link-hover": { cssVar: "--text-link-hover", references: "--ds-blue-800", resolvedValue: "#1b5980" }, // Link hover state. USE: :hover of <a>. AVOID: as a base color. (Shifted blue/700 → blue/800 2026-07-31, one step below the moved --text-link.)
309
+ "outline-default": { cssVar: "--outline-default", references: "--ds-claudy-200", resolvedValue: "#d5e2e8" }, // Default NEUTRAL structural border — role-agnostic, carries no status/brand meaning. USE: cards at rest, table grid lines, dividers, input borders at rest, the unfilled Progress Bar track, the border o
310
+ "outline-strong": { cssVar: "--outline-strong", references: "--ds-claudy-300", resolvedValue: "#b4c8d5" }, // Emphasized NEUTRAL border. USE: selected-state outlines, active/non-error form-field borders, neutral emphasis. Coexists with --outline-focus on a focused input (resting border = strong, ring = focus
311
+ "outline-focus-inverse": { cssVar: "--outline-focus-inverse", references: "--ds-white", resolvedValue: "#ffffff" }, // Focus ring on a DARK surface — the inverse counterpart of --outline-focus. USE: :focus-visible ring on controls composed inside ANY dark fill where the default ring fails — --bg-inverse chrome (9.43:1
312
+ "outline-focus": { cssVar: "--outline-focus", references: "--ds-blue-600", resolvedValue: "#097fb5" }, // Focus ring color — additive to whatever resting border an element has. USE: :focus-visible ring on ALL interactive elements (WCAG 2.4.7), rendered as outline/box-shadow with outline-offset: 2px. AVOID
313
+ "disabled": { cssVar: "--disabled", references: "--ds-claudy-100", resolvedValue: "#f0f7fb" }, // DEPRECATED — renamed to --disabled-control and retargeted gray/100 → claudy/100 with it, so an unmigrated consumer renders the current disabled fill. Kept for production compatibility; do NOT use in n
314
+ "disabled-control": { cssVar: "--disabled-control", references: "--ds-claudy-100", resolvedValue: "#f0f7fb" }, // Disabled fill — and border, where the control binds one — of every NON-FIELD control, regardless of role. USE: Button, Icon Button, Dropdown Button, Button Segment, Chip, Filter Chip, Checkbox, Radio,
315
+ "disabled-background": { cssVar: "--disabled-background", references: "--ds-claudy-50", resolvedValue: "#f4f9fb" }, // Surface of a DISABLED FIELD (Text Field, Textarea, Number Field, Unit Field, Select Field) — a field that is not applicable. Same value as --bg-secondary but a separate intent alias, so the field surf
316
+ "disabled-foreground": { cssVar: "--disabled-foreground", references: "--ds-claudy-500", resolvedValue: "#5e7c8f" }, // Text/icon on a --disabled-control or --disabled-background surface OR inline/ghost disabled text. USE: labels on disabled buttons, disabled field value / label / glyphs and the en dash '–' of an empty
317
+ "disabled-inverse": { cssVar: "--disabled-inverse", references: "--ds-claudy-300", resolvedValue: "#b4c8d5" }, // Disabled fill for an INVERTED / solid element — the greyed 'solid' surface where --disabled-control (claudy/100) is too light to read as filled; the greyed counterpart of a family --solid fill. USE: a
318
+ "status-info": { cssVar: "--status-info", references: "--ds-blue-600", resolvedValue: "#097fb5" }, // Info status base. USE: inline info icons, status dots, info markers, and STRONG info border (outlined-info button/emphasis edge). AVOID: filled CTAs (use --secondary-solid, which still shares this hex
319
+ "status-info-solid": { cssVar: "--status-info-solid", references: "--ds-blue-600", resolvedValue: "#097fb5" }, // Info fill for surfaces carrying white text/icons (info banner, solid info badge). USE: filled info surfaces with --status-info-foreground on top. AVOID: inline icons (use --status-info), light callout
320
+ "status-info-hover": { cssVar: "--status-info-hover", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // Hover for --status-info-solid fills AND outlined-info edges. USE: :hover of filled/outlined info controls. AVOID: as a base color (state only), :active (use --status-info-active).
321
+ "status-info-active": { cssVar: "--status-info-active", references: "--ds-blue-800", resolvedValue: "#1b5980" }, // Pressed for --status-info-solid fills AND outlined-info edges, and the Alert/callout INK for info (title/body/link). USE: :active of info controls; info callout text on -subtle. AVOID: as a base color
322
+ "status-info-foreground": { cssVar: "--status-info-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --status-info-solid surface. USE: text/icon on info-filled banners, badges. AVOID: text on --status-info-subtle (use --status-info-tint-foreground). ~4.5:1 on blue/600 — borderli
323
+ "status-info-subtle": { cssVar: "--status-info-subtle", references: "--ds-blue-100", resolvedValue: "#e2f1fb" }, // Info callout background — light blue tint. USE: info alert bg, helper-info banner bg, 'did-you-know' callout bg. AVOID: filled CTAs (use --status-info-solid), text/icon fills. Pair: --status-info-tint
324
+ "status-info-soft": { cssVar: "--status-info-soft", references: "--ds-blue-200", resolvedValue: "#c0e5f8" }, // Medium-light info tint background. USE: stronger info section bg, layered info banners above --status-info-subtle. AVOID: filled CTAs, text on white. Pair: --status-info-tint-foreground.
325
+ "status-info-tint-foreground": { cssVar: "--status-info-tint-foreground", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // Text/icon on --status-info-subtle OR --status-info-soft tints. USE: text inside info callouts/alerts on tinted bg. AVOID: text on filled --status-info-solid (use --status-info-foreground), text on whi
326
+ "status-info-subtle-border": { cssVar: "--status-info-subtle-border", references: "--ds-blue-300", resolvedValue: "#88d2f6" }, // Soft info border for tinted/outlined info callouts. USE: outlined info callouts (no fill), borders on --status-info-subtle containers. AVOID: outlined-button edges (use --status-info base — stronger),
327
+ "status-success": { cssVar: "--status-success", references: "--ds-green-500", resolvedValue: "#4ebc72" }, // Success status base. USE: STRONG success border (outlined success button edge), large success accents. AVOID: inline success ICONS on white — green/500 = 2.40:1, below the non-text 3:1 floor; use --st
328
+ "status-success-solid": { cssVar: "--status-success-solid", references: "--ds-green-600", resolvedValue: "#3f9e5d" }, // Success fill for white-text surfaces (Paid badge, Mark-as-Paid button, solid success banner). USE: filled success surfaces with --status-success-foreground. ⚠️ WCAG: green/600 + white = 3.35:1 — clear
329
+ "status-success-hover": { cssVar: "--status-success-hover", references: "--ds-green-700", resolvedValue: "#337c4c" }, // Hover for --status-success-solid fills AND outlined-success edges. USE: :hover of Mark-as-Paid / filled success buttons. AVOID: as a base color (state only), :active (use --status-success-active).
330
+ "status-success-active": { cssVar: "--status-success-active", references: "--ds-green-800", resolvedValue: "#2b613f" }, // Pressed for --status-success-solid fills AND outlined-success edges. USE: :active of filled success buttons. AVOID: as a base color, :hover (use --status-success-hover).
331
+ "status-success-foreground": { cssVar: "--status-success-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --status-success-solid surface — in FO always ≥semibold (600), never thinner. USE: text/icon on success-filled badges/buttons/banners. ⚠️ on green/600 solid = 3.35:1 — clears AA-
332
+ "status-success-subtle": { cssVar: "--status-success-subtle", references: "--ds-green-100", resolvedValue: "#e2f9eb" }, // Success callout background — light green tint. USE: confirmation toast bg, success alert container, 'task done' banner, paid-row highlight. AVOID: filled CTAs (use --status-success-solid), text fills.
333
+ "status-success-soft": { cssVar: "--status-success-soft", references: "--ds-green-200", resolvedValue: "#c6f2d7" }, // Medium-light success tint background. USE: stronger success section bg, layered success banners above --status-success-subtle. AVOID: filled CTAs, text on white. Pair: --status-success-tint-foreground
334
+ "status-success-tint-foreground": { cssVar: "--status-success-tint-foreground", references: "--ds-green-700", resolvedValue: "#337c4c" }, // Text/icon on green tints, and the resting ink of the outlined success control. USE: text inside success callouts on tinted bg; the Success outline Button label + icon at rest, on any surface (5.09:1 o
335
+ "status-success-subtle-border": { cssVar: "--status-success-subtle-border", references: "--ds-green-300", resolvedValue: "#9ae9b8" }, // Soft success border for tinted/outlined success callouts AND the success/valid Text-Field border. USE: outlined success callouts, borders on --status-success-subtle containers, valid-field borders. AV
336
+ "status-warning": { cssVar: "--status-warning", references: "--ds-orange-warning", resolvedValue: "#fe8f01" }, // Warning status base. USE: STRONG warning border (outlined-warning edge), large warning accents. AVOID: inline warning ICONS on white — orange is fundamentally too light: base orange-warning = 2.30:1 A
337
+ "status-warning-solid": { cssVar: "--status-warning-solid", references: "--ds-orange-500", resolvedValue: "#f2912f" }, // Vivid warning fill — orange/500 #f2912f (Overdue / 'Po splatnosti' badge, warning banner). Deliberately bright, NOT the old brown orange/700. USE: filled warning surfaces with --status-warning-foregro
338
+ "status-warning-hover": { cssVar: "--status-warning-hover", references: "--ds-orange-600", resolvedValue: "#d77900" }, // Hover for --status-warning-solid fills AND outlined-warning edges. USE: :hover of filled/outlined warning controls. AVOID: as a base color (state only), :active (use --status-warning-active). Ladder l
339
+ "status-warning-active": { cssVar: "--status-warning-active", references: "--ds-orange-700", resolvedValue: "#8f480e" }, // Pressed for --status-warning-solid fills, and the Alert/callout INK for warning (title/body/link). USE: :active of warning controls; warning callout text on -subtle. AVOID: as a base color, :hover (us
340
+ "status-warning-foreground": { cssVar: "--status-warning-foreground", references: "--ds-orange-950", resolvedValue: "#3b1b0e" }, // DARK text/icon on a filled --status-warning-solid surface — orange/950, NOT white. USE: text/icon on warning-filled badges/banners; orange/950 on the solid orange/500 = 6.57:1 (AA), on the orange/600
341
+ "status-warning-subtle": { cssVar: "--status-warning-subtle", references: "--ds-orange-100", resolvedValue: "#fdf0d3" }, // Warning callout background — light orange tint. USE: caution alert bg, attention banner, 'heads-up' callout. AVOID: filled CTAs (use --status-warning-solid), text. Pair: --status-warning-tint-foregrou
342
+ "status-warning-soft": { cssVar: "--status-warning-soft", references: "--ds-orange-200", resolvedValue: "#fce0a5" }, // Medium-light warning tint background. USE: stronger warning section bg, layered warning banners above --status-warning-subtle. AVOID: filled CTAs, text on white. Pair: --status-warning-tint-foreground
343
+ "status-warning-tint-foreground": { cssVar: "--status-warning-tint-foreground", references: "--ds-orange-700", resolvedValue: "#8f480e" }, // Text/icon on --status-warning-subtle OR --status-warning-soft tints. USE: text inside warning callouts on tinted bg. AVOID: text on filled --status-warning-solid (use --status-warning-foreground). Con
344
+ "status-warning-subtle-border": { cssVar: "--status-warning-subtle-border", references: "--ds-orange-300", resolvedValue: "#fbc970" }, // Soft warning border for tinted/outlined warning callouts. USE: outlined warning callouts, borders on --status-warning-subtle containers. AVOID: outlined-button edges (use --status-warning base), fille
345
+ "status-danger": { cssVar: "--status-danger", references: "--ds-red-600", resolvedValue: "#e3261b" }, // Danger status base. USE: error/validation icons, destructive markers, error message text, STRONG danger border (outlined Danger button edge), and the Danger outline Button label + icon at rest. AVOID:
346
+ "status-danger-solid": { cssVar: "--status-danger-solid", references: "--ds-red-700", resolvedValue: "#c50000" }, // Danger fill for white-text surfaces (filled Danger button, filled error banner, destructive surface). USE: filled danger surfaces with --status-danger-foreground (red/700 + white = 6.22:1, AA-pass). A
347
+ "status-danger-hover": { cssVar: "--status-danger-hover", references: "--ds-red-800", resolvedValue: "#ac0704" }, // Hover for --status-danger-solid fills AND outlined-danger edges. USE: :hover of filled/outlined Danger buttons. AVOID: as a base color (state only), :active (use --status-danger-active).
348
+ "status-danger-active": { cssVar: "--status-danger-active", references: "--ds-red-900", resolvedValue: "#930a0a" }, // Pressed for --status-danger-solid fills AND outlined-danger edges. USE: :active of Danger buttons. AVOID: as a base color, :hover (use --status-danger-hover).
349
+ "status-danger-foreground": { cssVar: "--status-danger-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --status-danger-solid surface. USE: text on Danger button, filled error banners, destructive surface text. AVOID: text on --status-danger-subtle (use --status-danger-tint-foregro
350
+ "status-danger-subtle": { cssVar: "--status-danger-subtle", references: "--ds-red-100", resolvedValue: "#ffebe8" }, // Danger callout background — light red tint. USE: error alert container, validation message bg, destructive confirmation surface. AVOID: filled CTAs (use --status-danger-solid), text. Pair: --status-da
351
+ "status-danger-soft": { cssVar: "--status-danger-soft", references: "--ds-red-200", resolvedValue: "#fed6cf" }, // Medium-light danger tint background. USE: stronger error section bg, layered destructive banners above --status-danger-subtle. AVOID: filled CTAs, text on white. Pair: --status-danger-tint-foreground.
352
+ "status-danger-tint-foreground": { cssVar: "--status-danger-tint-foreground", references: "--ds-red-700", resolvedValue: "#c50000" }, // Text/icon on --status-danger-subtle OR --status-danger-soft tints. USE: text inside error callouts on tinted bg. AVOID: text on filled --status-danger-solid (use --status-danger-foreground). Contrast:
353
+ "status-danger-subtle-border": { cssVar: "--status-danger-subtle-border", references: "--ds-red-300", resolvedValue: "#ffb7ac" }, // Soft danger border for tinted/outlined danger callouts AND the error Text-Field border. USE: outlined error callouts, borders on --status-danger-subtle containers, error-field borders. AVOID: outlined
354
+ "status-violet": { cssVar: "--status-violet", references: "--ds-violet-500", resolvedValue: "#992fb4" }, // Violet status base — the 5th status family. USE: inline violet status icons/dots/markers (the 'Budoucí' / upcoming-invoice status), and STRONG violet border. --status-violet-solid is the same value fo
355
+ "status-violet-solid": { cssVar: "--status-violet-solid", references: "--ds-violet-500", resolvedValue: "#992fb4" }, // Violet fill for surfaces carrying white text/icons (solid violet badge, 'Budoucí' status pill). USE: filled violet surfaces with --status-violet-foreground on top. Same value as --status-violet (base
356
+ "status-violet-hover": { cssVar: "--status-violet-hover", references: "--ds-violet-600", resolvedValue: "#84299b" }, // Hover tone for a filled --status-violet-solid surface. USE: hover on solid violet controls/badges. AVOID: resting state (use --status-violet-solid), text on tints.
357
+ "status-violet-active": { cssVar: "--status-violet-active", references: "--ds-violet-700", resolvedValue: "#711d86" }, // Active/pressed tone for a filled --status-violet-solid surface, and the callout INK for violet. USE: pressed state on solid violet controls; violet callout text on -subtle. AVOID: resting state (use -
358
+ "status-violet-foreground": { cssVar: "--status-violet-foreground", references: "--ds-white", resolvedValue: "#ffffff" }, // Text/icon on a filled --status-violet-solid surface. USE: text/icon on violet-filled badges/pills. AVOID: text on --status-violet-subtle (use --status-violet-tint-foreground). violet/500 + white = 6.1
359
+ "status-violet-subtle": { cssVar: "--status-violet-subtle", references: "--ds-violet-100", resolvedValue: "#f3e6f6" }, // Violet callout/badge background — light violet tint (FO-anchored: the deprecated Badge 'Violet' soft-fill). USE: soft violet badge bg ('Budoucí' badge), light violet callout bg. AVOID: filled surfaces
360
+ "status-violet-soft": { cssVar: "--status-violet-soft", references: "--ds-violet-200", resolvedValue: "#e6c9ee" }, // Medium-light violet tint background. USE: stronger violet section bg, layered violet surfaces above --status-violet-subtle. AVOID: filled surfaces, text on white. Pair: --status-violet-tint-foreground
361
+ "status-violet-tint-foreground": { cssVar: "--status-violet-tint-foreground", references: "--ds-violet-700", resolvedValue: "#711d86" }, // Text/icon on --status-violet-subtle OR --status-violet-soft tints. USE: text inside violet-tinted badges/callouts on tinted bg. AVOID: text on filled --status-violet-solid (use --status-violet-foregro
362
+ "status-violet-subtle-border": { cssVar: "--status-violet-subtle-border", references: "--ds-violet-300", resolvedValue: "#d8a4e5" }, // Soft violet border for tinted/outlined violet callouts. USE: outlined violet callouts, borders on --status-violet-subtle containers. AVOID: outlined-button edges (use --status-violet base — stronger),
363
+ "notification-dot": { cssVar: "--notification-dot", references: "--ds-red-600", resolvedValue: "#e3261b" }, // Notification indicator dot — the red 'unseen notifications' marker on the header bell / notification trigger. USE: the small filled dot (radius-full) that signals unseen items on a notification bell/t
364
+ "brand-primary": { cssVar: "--brand-primary", references: "--ds-orange-warning", resolvedValue: "#fe8f01" }, // Brand primary — FO orange for MARKETING / logo / brand-tied surfaces. USE: marketing landing pages, logo placements, marketing email headers, brand-tied marketing CTAs. AVOID: in-product interactive e
365
+ "brand-primary-hover": { cssVar: "--brand-primary-hover", references: "--ds-orange-600", resolvedValue: "#d77900" }, // Hover for marketing CTAs using brand orange. USE: :hover of marketing-context brand orange buttons/links. AVOID: in-product CTAs (use --primary-hover).
366
+ "brand-secondary": { cssVar: "--brand-secondary", references: "--ds-blue-600", resolvedValue: "#097fb5" }, // Brand secondary — FO blue for marketing. USE: marketing surfaces, brand-tied marketing CTAs in blue role, marketing email accents. AVOID: in-product secondary actions (use --secondary). Pair: --brand-
367
+ "brand-secondary-hover": { cssVar: "--brand-secondary-hover", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // Hover for marketing CTAs using brand blue. USE: :hover of marketing-context brand blue buttons/links. AVOID: in-product (use --secondary-hover).
368
+ "status-info-bg": { cssVar: "--status-info-bg", references: "--ds-blue-100", resolvedValue: "#e2f1fb" }, // DEPRECATED — renamed to --status-info-subtle. Kept for production compatibility; do NOT use in new work. Will be removed once prod migrates to --status-info-subtle.
369
+ "status-info-bg-foreground": { cssVar: "--status-info-bg-foreground", references: "--ds-blue-700", resolvedValue: "#1c699b" }, // DEPRECATED — renamed to --status-info-tint-foreground. Kept for prod compatibility; do NOT use in new work. (Follows --status-info-tint-foreground's blue/900 → blue/700 shift 2026-07-08.)
370
+ "status-info-border": { cssVar: "--status-info-border", references: "--ds-blue-300", resolvedValue: "#88d2f6" }, // DEPRECATED — renamed to --status-info-subtle-border. Kept for prod compatibility; do NOT use in new work.
371
+ "status-success-bg": { cssVar: "--status-success-bg", references: "--ds-green-100", resolvedValue: "#e2f9eb" }, // DEPRECATED — renamed to --status-success-subtle. Kept for prod compatibility; do NOT use in new work.
372
+ "status-success-bg-foreground": { cssVar: "--status-success-bg-foreground", references: "--ds-green-700", resolvedValue: "#337c4c" }, // DEPRECATED — renamed to --status-success-tint-foreground. Kept for prod compatibility; do NOT use in new work.
373
+ "status-success-border": { cssVar: "--status-success-border", references: "--ds-green-300", resolvedValue: "#9ae9b8" }, // DEPRECATED — renamed to --status-success-subtle-border. Kept for prod compatibility; do NOT use in new work.
374
+ "status-warning-bg": { cssVar: "--status-warning-bg", references: "--ds-orange-100", resolvedValue: "#fdf0d3" }, // DEPRECATED — renamed to --status-warning-subtle. Kept for prod compatibility; do NOT use in new work.
375
+ "status-warning-bg-foreground": { cssVar: "--status-warning-bg-foreground", references: "--ds-orange-700", resolvedValue: "#8f480e" }, // DEPRECATED — renamed to --status-warning-tint-foreground. Kept for prod compatibility; do NOT use in new work.
376
+ "status-warning-border": { cssVar: "--status-warning-border", references: "--ds-orange-300", resolvedValue: "#fbc970" }, // DEPRECATED — renamed to --status-warning-subtle-border. Kept for prod compatibility; do NOT use in new work.
377
+ "status-danger-bg": { cssVar: "--status-danger-bg", references: "--ds-red-100", resolvedValue: "#ffebe8" }, // DEPRECATED — renamed to --status-danger-subtle. Kept for prod compatibility; do NOT use in new work. (Follows --status-danger-subtle back to red/100 after the red v2 realignment 2026-07-07.)
378
+ "status-danger-bg-foreground": { cssVar: "--status-danger-bg-foreground", references: "--ds-red-700", resolvedValue: "#c50000" }, // DEPRECATED — renamed to --status-danger-tint-foreground. Kept for prod compatibility; do NOT use in new work. (Follows --status-danger-tint-foreground's red/900→red/700 shift 2026-07-07.)
379
+ "status-danger-border": { cssVar: "--status-danger-border", references: "--ds-red-300", resolvedValue: "#ffb7ac" }, // DEPRECATED — renamed to --status-danger-subtle-border. Kept for prod compatibility; do NOT use in new work.
380
+ },
381
+ "duration": {
382
+ "instant": { cssVar: "--duration-instant", references: "--ds-duration-instant", resolvedValue: "100ms" }, // Immediate step (100ms). USE: state changes that must feel instant — focus-ring fade-in, colour toggle, checkbox tick, switch track colour. Pair with --easing-standard. AVOID: modal / drawer / page tra
383
+ "fast": { cssVar: "--duration-fast", references: "--ds-duration-fast", resolvedValue: "150ms" }, // Micro-interaction step (150ms). USE: hover feedback, tooltip fade-in/out, button background change, small icon swaps. Pair with --easing-enter for entering, --easing-exit for leaving, --easing-standar
384
+ "normal": { cssVar: "--duration-normal", references: "--ds-duration-normal", resolvedValue: "200ms" }, // Default step (200ms) — the «unless you have a reason» default for most transitions: dropdown open, slide-in side panel, content swap, transform/colour change. Pair with --easing-standard (or --easing-
385
+ "slow": { cssVar: "--duration-slow", references: "--ds-duration-slow", resolvedValue: "300ms" }, // Spatial step (300ms). USE: modal enter/exit, accordion expand/collapse, full-screen overlay, page transition — where the user needs time to perceive a new surface. Pair with --easing-enter for in, --e
386
+ "hover": { cssVar: "--duration-hover", references: "--ds-duration-fast", resolvedValue: "150ms" }, // Role alias — pointer hover in/out (150ms via fast). USE: every hover state change — button / chip / row background wash, link colour, nav-link indicator. Pair with --easing-standard. WHY: one name acr
387
+ "press": { cssVar: "--duration-press", references: "--ds-duration-instant", resolvedValue: "100ms" }, // Role alias — pointer press / :active (100ms via instant). USE: the pressed fill or wash of Button, Icon Button, Dropdown Button, Button Group segments, Summary Cell. Pair with --easing-standard. WHY:
388
+ "toggle": { cssVar: "--duration-toggle", references: "--ds-duration-instant", resolvedValue: "100ms" }, // Role alias — a selection flip (100ms via instant): checkbox tick, radio dot, toggle chip, card-select mark, summary-cell include/exclude. Pair with --easing-standard. WHY: the flip is a colour / visib
389
+ "spin": { cssVar: "--duration-spin", references: "--ds-duration-loop-fast", resolvedValue: "900ms" }, // Role alias — one full turn of the loading spinner (900ms via loop-fast), always with --easing-linear, repeating forever. USE: the spinner glyph in Button, Icon Button, Dropdown / Split Button, Button
390
+ "pulse": { cssVar: "--duration-pulse", references: "--ds-duration-loop-slow", resolvedValue: "2000ms" }, // Role alias — one full cycle of the skeleton pulse (2000ms via loop-slow), with --easing-standard, repeating forever, siblings in sync. USE: Skeleton. AVOID: spinners (use --duration-spin), any transit
391
+ "counter": { cssVar: "--duration-counter", references: "--ds-duration-long", resolvedValue: "600ms" }, // Role alias — a figure counting up from zero to its value once (600ms via long), with --easing-enter so it slows into the final number. USE: the Social Proof stats card, the Product Overview «Celkem» t
392
+ "draw": { cssVar: "--duration-draw", references: "--ds-duration-extra-long", resolvedValue: "800ms" }, // Role alias — a glyph that draws itself once (800ms via extra-long), with --easing-standard; its phases are fractions of this one timeline. USE: the Found check-circle of the Subject Lookup Field and t
393
+ },
394
+ "easing": {
395
+ "standard": { cssVar: "--easing-standard", references: "--ds-easing-standard", resolvedValue: "cubic-bezier(0.4, 0, 0.2, 1)" }, // Universal in-out curve (cubic-bezier 0.4, 0, 0.2, 1). USE: the default for any transition unless an explicit decelerate/accelerate intent applies — state changes, colour shifts, in-place transforms. P
396
+ "enter": { cssVar: "--easing-enter", references: "--ds-easing-enter", resolvedValue: "cubic-bezier(0, 0, 0.2, 1)" }, // Decelerate curve (cubic-bezier 0, 0, 0.2, 1). USE: elements that APPEAR — modal open, tooltip in, content reveal, slide-in entry; the element rushes in then settles. Pair with --duration-fast (tooltip
397
+ "exit": { cssVar: "--easing-exit", references: "--ds-easing-exit", resolvedValue: "cubic-bezier(0.4, 0, 1, 1)" }, // Accelerate curve (cubic-bezier 0.4, 0, 1, 1). USE: elements that DISAPPEAR — modal close, tooltip out, dismiss, slide-out exit; starts slow, accelerates away so the departure reads as intentional. Pai
398
+ "linear": { cssVar: "--easing-linear", references: "--ds-easing-linear", resolvedValue: "linear" }, // Constant rate. USE: progress bars, loading-spinner rotation, marquee scrolling — anything whose pace must stay uniform, typically on an indefinite loop. Pair only with --duration-* on loops. AVOID: an
399
+ },
400
+ "font-family": {
401
+ "body": { cssVar: "--font-body", references: "--ds-font-family-inter", resolvedValue: "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" }, // Body + UI face (Inter). USE: all paragraph, form, label, button, table and generic UI text — everything from font-size xxs through lg. The default face for anything that is not a heading. AVOID: headi
402
+ "heading": { cssVar: "--font-heading", references: "--ds-font-family-poppins", resolvedValue: "Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" }, // Heading + display face (Poppins). USE: all Heading (H1–H5) and Display (D1–D3) styles. AVOID: body/UI text (use --font-body), long-form reading. Do not use Display sizes on in-app screens regardless o
403
+ "decorative": { cssVar: "--font-decorative", references: "--ds-font-family-caveat", resolvedValue: "Caveat, 'Comic Sans MS', cursive" }, // Decorative handwritten accent (Caveat). USE: sparingly for marketing flourishes and the Decorative/Caveat 32 / 20 styles only. AVOID: any functional UI, headings (use --font-heading), or body (use --f
404
+ },
405
+ "font-size": {
406
+ "xxs": { cssVar: "--font-size-xxs", references: "--ds-font-size-xxs", resolvedValue: "0.75rem" }, // 12px. Smallest legible UI text — compact labels, table column meta, legal fine print. Verify contrast at 4.5:1 minimum at this size.
407
+ "xs": { cssVar: "--font-size-xs", references: "--ds-font-size-xs", resolvedValue: "0.8125rem" }, // 13px. Microcopy, secondary metadata in lists, footer text.
408
+ "sm": { cssVar: "--font-size-sm", references: "--ds-font-size-sm", resolvedValue: "0.875rem" }, // 14px. Small body — secondary content, captions, dense tables. AA on white at body weight.
409
+ "base": { cssVar: "--font-size-base", references: "--ds-font-size-base", resolvedValue: "1rem" }, // 16px. Default body size. Form labels, primary body text, button text. Anchor of the scale.
410
+ "md": { cssVar: "--font-size-md", references: "--ds-font-size-md", resolvedValue: "1.125rem" }, // 18px. Comfortable reading body — long-form content, marketing intros.
411
+ "lg": { cssVar: "--font-size-lg", references: "--ds-font-size-lg", resolvedValue: "1.25rem" }, // 20px. Lead paragraph, large body for emphasis. Standalone callouts.
412
+ "xl": { cssVar: "--font-size-xl", references: "--ds-font-size-xl", resolvedValue: "1.375rem" }, // 22px. Subheading body for marketing layouts.
413
+ "xxl": { cssVar: "--font-size-xxl", references: "--ds-font-size-xxl", resolvedValue: "1.5rem" }, // 24px. Page-level subheadings and section openers.
414
+ "3xl": { cssVar: "--font-size-3xl", references: "--ds-font-size-3xl", resolvedValue: "1.625rem" }, // 26px. H1 default for app pages — the title that orients the user.
415
+ "4xl": { cssVar: "--font-size-4xl", references: "--ds-font-size-4xl", resolvedValue: "2rem" }, // 32px. Strong page hero heading. Marketing pages, dashboard top-of-page emphasis.
416
+ "5xl": { cssVar: "--font-size-5xl", references: "--ds-font-size-5xl", resolvedValue: "2.5rem" }, // 40px. Marketing hero. Significant emphasis above the fold.
417
+ "6xl": { cssVar: "--font-size-6xl", references: "--ds-font-size-6xl", resolvedValue: "3rem" }, // 48px. Largest defined size — for the biggest display heading on marketing surfaces. Use sparingly.
418
+ "heading.h1": { cssVar: "--font-size-heading-h1", references: "--ds-font-size-heading-h1", resolvedValue: "1.625rem" }, // Page H1 (26px desktop). Use once per page for the title. Responsive to 24px on mobile when responsive block is enabled.
419
+ "heading.h2": { cssVar: "--font-size-heading-h2", references: "--ds-font-size-heading-h2", resolvedValue: "1.5rem" }, // Major section opener (24px desktop).
420
+ "heading.h3": { cssVar: "--font-size-heading-h3", references: "--ds-font-size-heading-h3", resolvedValue: "1.375rem" }, // Sub-section grouping (22px desktop). Logical groupings within a section.
421
+ "heading.h4": { cssVar: "--font-size-heading-h4", references: "--ds-font-size-heading-h4", resolvedValue: "1.125rem" }, // Tertiary heading (18px desktop). Card titles, small section openers.
422
+ "heading.h5": { cssVar: "--font-size-heading-h5", references: "--ds-font-size-heading-h5", resolvedValue: "1rem" }, // Smallest semantic heading (16px desktop). Inline group labels, eyebrow prefixes.
423
+ "display.d1": { cssVar: "--font-size-display-d1", references: "--ds-font-size-display-d1", resolvedValue: "3rem" }, // Largest display (48px desktop). Marketing hero, landing page above-fold. NOT for in-app screens.
424
+ "display.d2": { cssVar: "--font-size-display-d2", references: "--ds-font-size-display-d2", resolvedValue: "2.5rem" }, // Strong display (40px desktop). Below D1, for sub-hero blocks.
425
+ "display.d3": { cssVar: "--font-size-display-d3", references: "--ds-font-size-display-d3", resolvedValue: "2rem" }, // Smaller display (32px desktop). Section heroes within long marketing pages.
426
+ },
427
+ "font-weight": {
428
+ "light": { cssVar: "--font-weight-light", references: "--ds-font-weight-light", resolvedValue: "300" }, // Light weight. Reserved for very large display sizes (D1/D2) where regular reads heavy. Never on body text.
429
+ "normal": { cssVar: "--font-weight-normal", references: "--ds-font-weight-normal", resolvedValue: "400" }, // Body weight anchor. Default everywhere — all body text and UI labels start here.
430
+ "medium": { cssVar: "--font-weight-medium", references: "--ds-font-weight-medium", resolvedValue: "500" }, // Slight emphasis — labels, button text, active nav items. Less heavy than semibold.
431
+ "semibold": { cssVar: "--font-weight-semibold", references: "--ds-font-weight-semibold", resolvedValue: "600" }, // Standard heading weight. H4–H5, strong inline emphasis, primary CTAs.
432
+ "bold": { cssVar: "--font-weight-bold", references: "--ds-font-weight-bold", resolvedValue: "700" }, // Strong heading weight. H1–H3 in product UI, brand emphasis.
433
+ "black": { cssVar: "--font-weight-black", references: "--ds-font-weight-black", resolvedValue: "900" }, // Maximum weight. Display headings on marketing layouts only. Avoid in product UI — reads as shouting.
434
+ },
435
+ "line-height": {
436
+ "compact": { cssVar: "--leading-compact", references: "--ds-leading-compact", resolvedValue: "1.3" }, // Display — D1–D3. Tight leading appropriate for large font sizes. NOT Decorative/Caveat: those bind px leading on purpose, and Caveat/32 is drawn at 40px (1.25), which this ratio would render as 41.6.
437
+ "tight": { cssVar: "--leading-tight", references: "--ds-leading-tight", resolvedValue: "1.4" }, // Heading H1–H4 — 18 to 26px. Moderate leading, balances heading prominence with readability.
438
+ "relaxed": { cssVar: "--leading-relaxed", references: "--ds-leading-relaxed", resolvedValue: "1.5" }, // Default body — H5, Body XL / L / M / XXS. Comfortable reading rhythm for paragraphs and form text.
439
+ "loose": { cssVar: "--leading-loose", references: "--ds-leading-loose", resolvedValue: "1.6" }, // Small body — Body S (14) + XS (13). Extra leading at small sizes so the eye finds the next line cleanly. Also long-form prose.
440
+ "extra-loose": { cssVar: "--leading-extra-loose", references: "--ds-leading-extra-loose", resolvedValue: "20px" }, // LEGACY — preserved for production parity. Avoid in new work; normalize to a ratio after grep audit.
441
+ },
442
+ "radius": {
443
+ "0": { cssVar: "--radius-0", references: "--ds-radius-0", resolvedValue: "0" }, // No radius. Tables, structural rectangles, dense data grids where corners must read as right angles.
444
+ "100": { cssVar: "--radius-100", references: "--ds-radius-100", resolvedValue: "2px" }, // Hairline radius. Inline chips, micro-tags within dense UI.
445
+ "200": { cssVar: "--radius-200", references: "--ds-radius-200", resolvedValue: "4px" }, // Small radius. Default for inputs, small buttons, badges, input controls — the most common UI radius.
446
+ "300": { cssVar: "--radius-300", references: "--ds-radius-300", resolvedValue: "6px" }, // Medium-small radius. Secondary buttons, compact cards, segmented controls.
447
+ "400": { cssVar: "--radius-400", references: "--ds-radius-400", resolvedValue: "8px" }, // Default radius for cards and panels. Provides clear corner softness without reading as decorative.
448
+ "500": { cssVar: "--radius-500", references: "--ds-radius-500", resolvedValue: "12px" }, // Larger card radius. Featured cards, marketing surfaces, callout blocks.
449
+ "600": { cssVar: "--radius-600", references: "--ds-radius-600", resolvedValue: "16px" }, // Strong radius. Hero blocks, large dialog containers.
450
+ "700": { cssVar: "--radius-700", references: "--ds-radius-700", resolvedValue: "20px" }, // Large container radius. The Form Block tile on all four corners, marketing illustrations, large image containers, and the focus ring around a --radius-600 card.
451
+ "800": { cssVar: "--radius-800", references: "--ds-radius-800", resolvedValue: "24px" }, // Largest non-pill radius. Soft hero surfaces, premium UI moments.
452
+ "full": { cssVar: "--radius-full", references: "--ds-radius-full", resolvedValue: "9999px" }, // Full radius — pills and circles. Avatars, status dots, fully-rounded buttons. NOT for rectangular containers.
453
+ },
454
+ "shadow": {
455
+ "raised": { cssVar: "--shadow-raised", references: "--ds-shadow-100", resolvedValue: "0 1px 2px 0 rgba(26, 35, 48, 0.05), 0 1px 3px 0 rgba(26, 35, 48, 0.10)" }, // Subtle one-step lift. USE: hovered cards (delta from rest), pressed buttons, raised tooltips, a row lifting on hover. AVOID: anchored panels (use overlay), modals (use modal), default rest state (no s
456
+ "overlay": { cssVar: "--shadow-overlay", references: "--ds-shadow-200", resolvedValue: "0 4px 6px -1px rgba(26, 35, 48, 0.10), 0 2px 4px -1px rgba(26, 35, 48, 0.06)" }, // Anchored transient panel — the menu-family workhorse. USE: dropdown menus, select / combobox listboxes, popovers, submenus / flyouts, floating side drawers over content. AVOID: full-screen modals (use
457
+ "modal": { cssVar: "--shadow-modal", references: "--ds-shadow-300", resolvedValue: "0 10px 15px -3px rgba(26, 35, 48, 0.10), 0 4px 6px -2px rgba(26, 35, 48, 0.05)" }, // Blocking / above-everything surface. USE: modal dialogs, command palettes, prominent popovers that must read above all other content. AVOID: regular anchored dropdowns (use overlay), in-flow cards. Ne
458
+ },
459
+ "size": {
460
+ "icon-2xsmall": { cssVar: "--size-icon-2xsmall", references: "--ds-size-14", resolvedValue: "14px" }, // Icon slot box beside 12px (Body/XXS) text (14px) — Badge Small, Chip Small, Text Link XXS — and the check and minus glyph inside a Checkbox box. The floor: below 14 the 1.5px master stroke drops under
461
+ "icon-xsmall": { cssVar: "--size-icon-xsmall", references: "--ds-size-16", resolvedValue: "16px" }, // Dense icon slot box (16px) — a 16 box where the 20 and 24 shells are too large, e.g. a stepper control inside its own hit frame.
462
+ "icon-small": { cssVar: "--size-icon-small", references: "--ds-size-20", resolvedValue: "20px" }, // Small icon slot box (20px) — the icon slot of small field shells and Small-size controls.
463
+ "icon": { cssVar: "--size-icon", references: "--ds-size-24", resolvedValue: "24px" }, // Default icon slot box (24px) — the Icon master is 24, so this is the slot every control uses unless its size row says otherwise.
464
+ "icon-large": { cssVar: "--size-icon-large", references: "--ds-size-32", resolvedValue: "32px" }, // Icon slot box of the largest controls (32px) — Button XL, Icon Button XL. The ceiling of the icon range; larger is an illustration.
465
+ "icon-display": { cssVar: "--size-icon-display", references: "--ds-size-64", resolvedValue: "64px" }, // An icon used as a dialog's leading graphic (64px) — the status-tinted intent icon of a Compact Modal confirmation. Above the 32 control ceiling on purpose: it is a display graphic, not a control icon.
466
+ "illustration-spot": { cssVar: "--size-illustration-spot", references: "--ds-size-48", resolvedValue: "48px" }, // Spot / Section illustration box next to a heading (48px) — Heading Group, form-section headings, the Hero format mark.
467
+ "illustration-section": { cssVar: "--size-illustration-section", references: "--ds-size-40", resolvedValue: "40px" }, // Section illustration box next to a heading on a narrow screen (40px) — the Form Block header at Mobile (Heading Group Picture=40).
468
+ "illustration-card": { cssVar: "--size-illustration-card", references: "--ds-size-80", resolvedValue: "80px" }, // Card Select illustration box (80px) — the picture inside a selectable card.
469
+ "illustration-empty": { cssVar: "--size-illustration-empty", references: "--ds-size-140", resolvedValue: "140px" }, // Illustration / Big box in a list's empty state (140px) — the Table empty state.
470
+ "illustration-person": { cssVar: "--size-illustration-person", references: "--ds-size-200", resolvedValue: "200px" }, // A People character set into a panel (200px) — the Callout Info person, XL · LG · MD.
471
+ "illustration-page": { cssVar: "--size-illustration-page", references: "--ds-size-300", resolvedValue: "300px" }, // Illustration / Big at its master size (300px) in a page-level empty or error state — the whole page has nothing to show (spec/06-patterns/empty-states.md). A region inside a page uses illustration-emp
472
+ },
473
+ "spacing": {
474
+ "0": { cssVar: "--space-0", references: "--ds-space-0", resolvedValue: "0" }, // Zero spacing. Use to explicitly remove a default gap inherited from a parent rule. Do NOT use to compress unrelated content into a single block — that is a layout decision, not a spacing one.
475
+ "100": { cssVar: "--space-100", references: "--ds-space-100", resolvedValue: "2px" }, // Hairline gap on the micro-grid (2px). Reserved for nudging chip insets, tag pills, very tight inline elements where 4px reads too loose.
476
+ "200": { cssVar: "--space-200", references: "--ds-space-200", resolvedValue: "4px" }, // Smallest visible gap on the 4-grid (4px). Inline element spacing within compact UI: icon-to-label distance, badge insets, chip internal padding. Also the chrome rhythm of compact overlay panels — the
477
+ "300": { cssVar: "--space-300", references: "--ds-space-300", resolvedValue: "6px" }, // Micro-grid step between 4px and 8px (6px). Use only when 4px is too tight and 8px breaks rhythm — most common in dense table cells.
478
+ "400": { cssVar: "--space-400", references: "--ds-space-400", resolvedValue: "8px" }, // Base 4-grid step (8px). Default gap for stacked inline items, form-field label-to-input spacing, button icon-to-text spacing.
479
+ "450": { cssVar: "--space-450", references: "--ds-space-450", resolvedValue: "10px" }, // LEGACY off-grid (10px). Avoid in new work. Replace with --space-400 or --space-500 in callers; slated for retirement.
480
+ "500": { cssVar: "--space-500", references: "--ds-space-500", resolvedValue: "12px" }, // Mid 4-grid step (12px). Default gap for stacked form fields, secondary content padding, badge vertical padding.
481
+ "600": { cssVar: "--space-600", references: "--ds-space-600", resolvedValue: "16px" }, // Most common spacing in UI (16px). Card internal padding, section gap on dense pages, modal content padding.
482
+ "700": { cssVar: "--space-700", references: "--ds-space-700", resolvedValue: "20px" }, // Larger 4-grid step (20px). Distinct UI groups within a section, gap between form-field clusters, secondary section padding. Do NOT use as default card padding (use --space-600) or for section-to-secti
483
+ "800": { cssVar: "--space-800", references: "--ds-space-800", resolvedValue: "24px" }, // Section padding default (24px). Vertical gap between page sections, card external margin in lists, modal outer padding.
484
+ "900": { cssVar: "--space-900", references: "--ds-space-900", resolvedValue: "32px" }, // Strong section break (32px). Large card padding, hero block internal spacing, page-level vertical rhythm.
485
+ "1000": { cssVar: "--space-1000", references: "--ds-space-1000", resolvedValue: "40px" }, // Page-level large gap (40px). Between major page sections, between header/footer and content.
486
+ "1100": { cssVar: "--space-1100", references: "--ds-space-1100", resolvedValue: "48px" }, // Larger page rhythm (48px). Top/bottom of long-form content sections; below page H1.
487
+ "1200": { cssVar: "--space-1200", references: "--ds-space-1200", resolvedValue: "64px" }, // Large section spacing (64px). Hero section vertical padding, section vertical padding at MD, dramatic separation between distinct page regions.
488
+ "1300": { cssVar: "--space-1300", references: "--ds-space-1300", resolvedValue: "80px" }, // Largest defined spacing (80px). Vertical padding of a full-width marketing section at XL/LG (FAQ). AVOID: inside cards, panels or any in-app surface.
489
+ },
490
+ "spring": {
491
+ "standard": { cssVar: "--spring-standard", references: "--ds-spring-normal", resolvedValue: "400ms linear(0, 0.2175, 0.5207, 0.7361, 0.8631, 0.9317, 0.9668, 0.9842, 0.9926, 0.9966, 0.9984, 0.9993, 1)" }, // Interruptible movement of controls and anchored panels — Switch knob travel and disc scale, Popover / Menu / Select panel / Tooltip enter and exit. USE: transform / opacity of something the user can t
492
+ "gentle": { cssVar: "--spring-gentle", references: "--ds-spring-slow", resolvedValue: "600ms linear(0, 0.1061, 0.3018, 0.4922, 0.6466, 0.7613, 0.8422, 0.8975, 0.9342, 0.9582, 0.9737, 0.9836, 0.9898, 0.9937, 0.9961, 0.9976, 0.9985, 0.9991, 1, 1)" }, // Interruptible movement of large surfaces and of content reflow — Drawer, Modal panel, mobile bottom sheet, release after a drag, rows added / removed / reordered, FAQ and Responsive Collapse opening.
493
+ },
494
+ "text-wrap": {
495
+ "heading": { cssVar: "--text-wrap-heading", references: "--ds-text-wrap-balance", resolvedValue: "balance" }, // USE: Heading (H1–H5) and Display (D1–D3) roles — short, few-line runs where evening out line widths reads as more considered. Chromium/Edge only balance up to 6 lines (Firefox 10) before reverting to
496
+ "body": { cssVar: "--text-wrap-body", references: "--ds-text-wrap-pretty", resolvedValue: "pretty" }, // USE: Body role (XL/L/M/S/XS/XXS) — pretty only touches the last 4 lines of a paragraph in Chromium/Edge, so it degrades the same way regardless of how long the run is — the safe default for text of un
497
+ },
498
+ "z-index": {
499
+ "base": { cssVar: "--z-index-base", references: "--ds-z-index-base", resolvedValue: "0" }, // Base stacking layer (0). USE: default for all in-flow content; the anchor for small within-layer lifts via calc (a focused fused field cell raising calc(var(--z-index-base) + 1) over its sibling so it
500
+ "dropdown": { cssVar: "--z-index-dropdown", references: "--ds-z-index-dropdown", resolvedValue: "1000" }, // Dropdown layer. USE: dropdown menus, autocomplete suggestions, select popovers — any temporary panel anchored to a trigger. AVOID: persistent UI (use sticky / fixed).
501
+ "sticky": { cssVar: "--z-index-sticky", references: "--ds-z-index-sticky", resolvedValue: "1100" }, // Sticky layer. USE: sticky table headers, pinned list rows, sticky filter bars on scroll. AVOID: the top navigation bar (use fixed).
502
+ "fixed": { cssVar: "--z-index-fixed", references: "--ds-z-index-fixed", resolvedValue: "1200" }, // Fixed layer. USE: fixed navigation bar, app-shell topbar, persistent bottom action bar. AVOID: transient overlays (use modal / popover).
503
+ "modal-backdrop": { cssVar: "--z-index-modal-backdrop", references: "--ds-z-index-modal-backdrop", resolvedValue: "1300" }, // Modal backdrop layer. USE: the dimmed overlay behind a modal dialog. AVOID: the modal content itself (use modal); standalone overlays with no modal (use modal directly).
504
+ "modal": { cssVar: "--z-index-modal", references: "--ds-z-index-modal", resolvedValue: "1400" }, // Modal layer. USE: modal dialogs, side drawers acting as modals, confirmations; sits above its backdrop. AVOID: lightweight popovers (use popover).
505
+ "popover": { cssVar: "--z-index-popover", references: "--ds-z-index-popover", resolvedValue: "1500" }, // Popover / tooltip layer. USE: tooltips, hover cards, popovers triggered above modals. AVOID: as the default for dropdowns (use dropdown).
506
+ "toast": { cssVar: "--z-index-toast", references: "--ds-z-index-toast", resolvedValue: "1600" }, // Toast layer — the highest standard layer. USE: toast / snackbar notifications that must read above everything. AVOID: interaction-blocking dialogs (use modal).
507
+ },
508
+ } as const;
509
+
510
+ // Motion (motion.dev) transition presets, one per semantic spring alias:
511
+ // `<motion.div transition={springs.standard}>`. Import, never retype.
512
+ export const springs = {
513
+ "standard": { type: "spring", visualDuration: 0.2, bounce: 0 },
514
+ "gentle": { type: "spring", visualDuration: 0.3, bounce: 0 },
515
+ } as const;
516
+
517
+ // The duration + easing aliases in Motion form (seconds, bezier array):
518
+ // `transition={{ duration: curves.duration.slow, ease: curves.easing.enter }}`.
519
+ export const curves = {
520
+ duration: {
521
+ "instant": 0.1,
522
+ "fast": 0.15,
523
+ "normal": 0.2,
524
+ "slow": 0.3,
525
+ "hover": 0.15,
526
+ "press": 0.1,
527
+ "toggle": 0.1,
528
+ "spin": 0.9,
529
+ "pulse": 2,
530
+ "counter": 0.6,
531
+ "draw": 0.8,
532
+ },
533
+ easing: {
534
+ "standard": [0.4, 0, 0.2, 1],
535
+ "enter": [0, 0, 0.2, 1],
536
+ "exit": [0.4, 0, 1, 1],
537
+ "linear": "linear",
538
+ },
539
+ } as const;
540
+
541
+ export type PrimitiveCategory = keyof typeof primitives;
542
+ export type SemanticCategory = keyof typeof semantic;