@invoiceonline/ui-react 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (731) hide show
  1. package/AGENTS.md +100 -0
  2. package/CHANGELOG.md +149 -0
  3. package/LICENSE +9 -0
  4. package/README.md +77 -1
  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-picker/DatePicker.d.ts +53 -0
  60. package/dist/components/date-picker/DatePicker.js +329 -0
  61. package/dist/components/date-picker/index.d.ts +2 -0
  62. package/dist/components/date-picker/index.js +1 -0
  63. package/dist/components/divider/Divider.d.ts +81 -0
  64. package/dist/components/divider/Divider.js +93 -0
  65. package/dist/components/divider/index.d.ts +2 -0
  66. package/dist/components/divider/index.js +1 -0
  67. package/dist/components/drawer/Drawer.d.ts +128 -0
  68. package/dist/components/drawer/Drawer.js +367 -0
  69. package/dist/components/drawer/index.d.ts +2 -0
  70. package/dist/components/drawer/index.js +1 -0
  71. package/dist/components/dropdown-button/DropdownButton.d.ts +72 -0
  72. package/dist/components/dropdown-button/DropdownButton.js +122 -0
  73. package/dist/components/dropdown-button/index.d.ts +2 -0
  74. package/dist/components/dropdown-button/index.js +1 -0
  75. package/dist/components/faq/FAQ.d.ts +135 -0
  76. package/dist/components/faq/FAQ.js +258 -0
  77. package/dist/components/faq/index.d.ts +2 -0
  78. package/dist/components/faq/index.js +1 -0
  79. package/dist/components/field/Field.d.ts +119 -0
  80. package/dist/components/field/Field.js +332 -0
  81. package/dist/components/field/index.d.ts +2 -0
  82. package/dist/components/field/index.js +1 -0
  83. package/dist/components/field-pair/FieldPair.d.ts +210 -0
  84. package/dist/components/field-pair/FieldPair.js +335 -0
  85. package/dist/components/field-pair/index.d.ts +2 -0
  86. package/dist/components/field-pair/index.js +1 -0
  87. package/dist/components/file-upload/FileUpload.d.ts +137 -0
  88. package/dist/components/file-upload/FileUpload.js +434 -0
  89. package/dist/components/file-upload/index.d.ts +2 -0
  90. package/dist/components/file-upload/index.js +1 -0
  91. package/dist/components/filter-chip/FilterChip.d.ts +373 -0
  92. package/dist/components/filter-chip/FilterChip.js +517 -0
  93. package/dist/components/filter-chip/index.d.ts +2 -0
  94. package/dist/components/filter-chip/index.js +1 -0
  95. package/dist/components/filter-facet/FilterFacet.d.ts +116 -0
  96. package/dist/components/filter-facet/FilterFacet.js +632 -0
  97. package/dist/components/filter-facet/index.d.ts +2 -0
  98. package/dist/components/filter-facet/index.js +1 -0
  99. package/dist/components/firm-avatar/FirmAvatar.d.ts +75 -0
  100. package/dist/components/firm-avatar/FirmAvatar.js +119 -0
  101. package/dist/components/firm-avatar/index.d.ts +2 -0
  102. package/dist/components/firm-avatar/index.js +1 -0
  103. package/dist/components/form-actions/FormActions.d.ts +123 -0
  104. package/dist/components/form-actions/FormActions.js +195 -0
  105. package/dist/components/form-actions/index.d.ts +2 -0
  106. package/dist/components/form-actions/index.js +1 -0
  107. package/dist/components/form-block/FormBlock.d.ts +252 -0
  108. package/dist/components/form-block/FormBlock.js +420 -0
  109. package/dist/components/form-block/index.d.ts +3 -0
  110. package/dist/components/form-block/index.js +3 -0
  111. package/dist/components/form-section/FormSection.d.ts +130 -0
  112. package/dist/components/form-section/FormSection.js +206 -0
  113. package/dist/components/form-section/index.d.ts +2 -0
  114. package/dist/components/form-section/index.js +1 -0
  115. package/dist/components/heading/Heading.d.ts +69 -0
  116. package/dist/components/heading/Heading.js +79 -0
  117. package/dist/components/heading/index.d.ts +2 -0
  118. package/dist/components/heading/index.js +1 -0
  119. package/dist/components/heading-group/HeadingGroup.d.ts +258 -0
  120. package/dist/components/heading-group/HeadingGroup.js +255 -0
  121. package/dist/components/heading-group/index.d.ts +2 -0
  122. package/dist/components/heading-group/index.js +1 -0
  123. package/dist/components/hero/Hero.d.ts +268 -0
  124. package/dist/components/hero/Hero.js +316 -0
  125. package/dist/components/hero/index.d.ts +2 -0
  126. package/dist/components/hero/index.js +1 -0
  127. package/dist/components/icon/Icon.d.ts +27 -0
  128. package/dist/components/icon/Icon.js +30 -0
  129. package/dist/components/icon/index.d.ts +3 -0
  130. package/dist/components/icon/index.js +3 -0
  131. package/dist/components/icon-button/IconButton.d.ts +75 -0
  132. package/dist/components/icon-button/IconButton.js +151 -0
  133. package/dist/components/icon-button/index.d.ts +2 -0
  134. package/dist/components/icon-button/index.js +1 -0
  135. package/dist/components/item-row/ItemRow.d.ts +253 -0
  136. package/dist/components/item-row/ItemRow.js +496 -0
  137. package/dist/components/item-row/index.d.ts +2 -0
  138. package/dist/components/item-row/index.js +1 -0
  139. package/dist/components/list-row/ListRow.d.ts +165 -0
  140. package/dist/components/list-row/ListRow.js +233 -0
  141. package/dist/components/list-row/index.d.ts +2 -0
  142. package/dist/components/list-row/index.js +1 -0
  143. package/dist/components/menu/Menu.d.ts +64 -0
  144. package/dist/components/menu/Menu.js +186 -0
  145. package/dist/components/menu/index.d.ts +2 -0
  146. package/dist/components/menu/index.js +1 -0
  147. package/dist/components/modal/Modal.d.ts +272 -0
  148. package/dist/components/modal/Modal.js +788 -0
  149. package/dist/components/modal/index.d.ts +2 -0
  150. package/dist/components/modal/index.js +1 -0
  151. package/dist/components/nav-link/NavLink.d.ts +123 -0
  152. package/dist/components/nav-link/NavLink.js +157 -0
  153. package/dist/components/nav-link/index.d.ts +2 -0
  154. package/dist/components/nav-link/index.js +1 -0
  155. package/dist/components/number-field/NumberField.d.ts +62 -0
  156. package/dist/components/number-field/NumberField.js +210 -0
  157. package/dist/components/number-field/index.d.ts +2 -0
  158. package/dist/components/number-field/index.js +1 -0
  159. package/dist/components/pagination/Pagination.d.ts +133 -0
  160. package/dist/components/pagination/Pagination.js +217 -0
  161. package/dist/components/pagination/index.d.ts +3 -0
  162. package/dist/components/pagination/index.js +3 -0
  163. package/dist/components/popover-surface/index.d.ts +2 -0
  164. package/dist/components/popover-surface/index.js +1 -0
  165. package/dist/components/progress-bar/ProgressBar.d.ts +260 -0
  166. package/dist/components/progress-bar/ProgressBar.js +470 -0
  167. package/dist/components/progress-bar/index.d.ts +2 -0
  168. package/dist/components/progress-bar/index.js +1 -0
  169. package/dist/components/promo-sticker/PromoSticker.d.ts +204 -0
  170. package/dist/components/promo-sticker/PromoSticker.js +177 -0
  171. package/dist/components/promo-sticker/index.d.ts +2 -0
  172. package/dist/components/promo-sticker/index.js +1 -0
  173. package/dist/components/promo-surface/PromoSurface.d.ts +94 -0
  174. package/dist/components/promo-surface/PromoSurface.js +119 -0
  175. package/dist/components/promo-surface/index.d.ts +2 -0
  176. package/dist/components/promo-surface/index.js +1 -0
  177. package/dist/components/radio/Radio.d.ts +92 -0
  178. package/dist/components/radio/Radio.js +171 -0
  179. package/dist/components/radio/index.d.ts +2 -0
  180. package/dist/components/radio/index.js +1 -0
  181. package/dist/components/radio-group/RadioGroup.d.ts +61 -0
  182. package/dist/components/radio-group/RadioGroup.js +51 -0
  183. package/dist/components/radio-group/index.d.ts +2 -0
  184. package/dist/components/radio-group/index.js +1 -0
  185. package/dist/components/select/Select.d.ts +65 -0
  186. package/dist/components/select/Select.js +176 -0
  187. package/dist/components/select/index.d.ts +2 -0
  188. package/dist/components/select/index.js +1 -0
  189. package/dist/components/select-field/SelectField.d.ts +16 -0
  190. package/dist/components/select-field/SelectField.js +55 -0
  191. package/dist/components/select-field/index.d.ts +2 -0
  192. package/dist/components/select-field/index.js +1 -0
  193. package/dist/components/skeleton/Skeleton.d.ts +64 -0
  194. package/dist/components/skeleton/Skeleton.js +65 -0
  195. package/dist/components/skeleton/index.d.ts +2 -0
  196. package/dist/components/skeleton/index.js +1 -0
  197. package/dist/components/split-button/SplitButton.d.ts +80 -0
  198. package/dist/components/split-button/SplitButton.js +182 -0
  199. package/dist/components/split-button/index.d.ts +2 -0
  200. package/dist/components/split-button/index.js +1 -0
  201. package/dist/components/status-summary-bar/StatusSummaryBar.d.ts +118 -0
  202. package/dist/components/status-summary-bar/StatusSummaryBar.js +278 -0
  203. package/dist/components/status-summary-bar/index.d.ts +2 -0
  204. package/dist/components/status-summary-bar/index.js +1 -0
  205. package/dist/components/subject-lookup-field/SubjectLookupField.d.ts +157 -0
  206. package/dist/components/subject-lookup-field/SubjectLookupField.js +663 -0
  207. package/dist/components/subject-lookup-field/index.d.ts +2 -0
  208. package/dist/components/subject-lookup-field/index.js +1 -0
  209. package/dist/components/switch/Switch.d.ts +152 -0
  210. package/dist/components/switch/Switch.js +307 -0
  211. package/dist/components/switch/index.d.ts +2 -0
  212. package/dist/components/switch/index.js +1 -0
  213. package/dist/components/table/Table.d.ts +5 -0
  214. package/dist/components/table/Table.js +601 -0
  215. package/dist/components/table/index.d.ts +6 -0
  216. package/dist/components/table/index.js +6 -0
  217. package/dist/components/text-field/TextField.d.ts +160 -0
  218. package/dist/components/text-field/TextField.js +244 -0
  219. package/dist/components/text-field/index.d.ts +2 -0
  220. package/dist/components/text-field/index.js +1 -0
  221. package/dist/components/text-link/TextLink.d.ts +260 -0
  222. package/dist/components/text-link/TextLink.js +303 -0
  223. package/dist/components/text-link/index.d.ts +2 -0
  224. package/dist/components/text-link/index.js +1 -0
  225. package/dist/components/textarea/Textarea.d.ts +93 -0
  226. package/dist/components/textarea/Textarea.js +256 -0
  227. package/dist/components/textarea/index.d.ts +2 -0
  228. package/dist/components/textarea/index.js +1 -0
  229. package/dist/components/tooltip/Tooltip.d.ts +129 -0
  230. package/dist/components/tooltip/Tooltip.js +457 -0
  231. package/dist/components/tooltip/index.d.ts +2 -0
  232. package/dist/components/tooltip/index.js +1 -0
  233. package/dist/components/unit-field/UnitField.d.ts +46 -0
  234. package/dist/components/unit-field/UnitField.js +133 -0
  235. package/dist/components/unit-field/index.d.ts +2 -0
  236. package/dist/components/unit-field/index.js +1 -0
  237. package/dist/icons/icon-registry.generated.js +500 -0
  238. package/dist/icons/icon-types.generated.d.ts +2 -0
  239. package/dist/icons/icon-types.generated.js +126 -0
  240. package/dist/index.d.ts +130 -0
  241. package/dist/index.js +74 -0
  242. package/dist/internal/BottomSheet.js +496 -0
  243. package/dist/internal/FodsProvider.d.ts +25 -0
  244. package/dist/internal/FodsProvider.js +32 -0
  245. package/dist/internal/MotionCaret.js +35 -0
  246. package/dist/internal/NumberFormatInput.d.ts +21 -0
  247. package/dist/internal/NumberFormatInput.js +126 -0
  248. package/dist/internal/SummaryDonut.d.ts +3 -0
  249. package/dist/internal/SummaryDonut.js +300 -0
  250. package/dist/internal/buttonSegment.d.ts +44 -0
  251. package/dist/internal/buttonSegment.js +126 -0
  252. package/dist/internal/collapseRoom.js +128 -0
  253. package/dist/internal/comboboxKeys.js +44 -0
  254. package/dist/internal/contentPresence.js +46 -0
  255. package/dist/internal/dayCell.js +95 -0
  256. package/dist/internal/dialogPortal.d.ts +2 -0
  257. package/dist/internal/dialogPortal.js +21 -0
  258. package/dist/internal/donutSweeps.js +65 -0
  259. package/dist/internal/enterOnViewGeometry.js +46 -0
  260. package/dist/internal/faqItem.js +80 -0
  261. package/dist/internal/floatingLabelMotion.js +68 -0
  262. package/dist/internal/formBlockContext.d.ts +22 -0
  263. package/dist/internal/formBlockContext.js +20 -0
  264. package/dist/internal/heightRoom.js +87 -0
  265. package/dist/internal/numberSeparators.js +62 -0
  266. package/dist/internal/overlayMotion.js +48 -0
  267. package/dist/internal/paginationItem.d.ts +8 -0
  268. package/dist/internal/paginationItem.js +22 -0
  269. package/dist/internal/popoverSurface.d.ts +8 -0
  270. package/dist/internal/popoverSurface.js +23 -0
  271. package/dist/internal/portalContainer.d.ts +1 -0
  272. package/dist/internal/portalContainer.js +6 -0
  273. package/dist/internal/progressBarItem.d.ts +207 -0
  274. package/dist/internal/progressBarItem.js +264 -0
  275. package/dist/internal/selectionControlText.js +12 -0
  276. package/dist/internal/statusSummaryParts.js +371 -0
  277. package/dist/internal/summaryMotion.js +75 -0
  278. package/dist/internal/table/ChildConnector.js +62 -0
  279. package/dist/internal/table/ChildRowPrefix.d.ts +9 -0
  280. package/dist/internal/table/ChildRowPrefix.js +27 -0
  281. package/dist/internal/table/ColumnSettings.js +135 -0
  282. package/dist/internal/table/ScrollRegion.js +114 -0
  283. package/dist/internal/table/TableEmpty.js +93 -0
  284. package/dist/internal/table/TableLayout.d.ts +17 -0
  285. package/dist/internal/table/TableLayout.js +29 -0
  286. package/dist/internal/table/TableLoadStatus.js +56 -0
  287. package/dist/internal/table/TableMobile.js +488 -0
  288. package/dist/internal/table/TruncatedCell.js +33 -0
  289. package/dist/internal/table/emptyValue.js +10 -0
  290. package/dist/internal/table/features.d.ts +41 -0
  291. package/dist/internal/table/features.js +31 -0
  292. package/dist/internal/table/recipes.js +227 -0
  293. package/dist/internal/table/rowClick.js +9 -0
  294. package/dist/internal/table/types.d.ts +325 -0
  295. package/dist/internal/table/types.js +13 -0
  296. package/dist/internal/tailwind-variants.d.ts +3 -0
  297. package/dist/internal/tailwind-variants.js +37 -0
  298. package/dist/internal/tooltipContext.js +5 -0
  299. package/dist/internal/tw-merge-config.generated.js +314 -0
  300. package/dist/internal/useAnchoredPanel.d.ts +87 -0
  301. package/dist/internal/useAnchoredPanel.js +108 -0
  302. package/dist/internal/useCountUp.js +53 -0
  303. package/dist/internal/useDateFieldTrigger.d.ts +60 -0
  304. package/dist/internal/useDateFieldTrigger.js +235 -0
  305. package/dist/internal/useEChart.js +59 -0
  306. package/dist/internal/useEnterOnView.js +42 -0
  307. package/dist/internal/useFloatingBar.js +100 -0
  308. package/dist/internal/useFormReset.js +44 -0
  309. package/dist/internal/useIsMobile.js +44 -0
  310. package/dist/internal/useOneRowOverflow.js +88 -0
  311. package/dist/internal/usePrefersReducedMotion.js +25 -0
  312. package/dist/internal/useReturnFocus.js +26 -0
  313. package/dist/internal/utils.d.ts +7 -0
  314. package/dist/internal/utils.js +58 -0
  315. package/dist/node_modules/@tanstack/store/dist/store.d.ts +29 -0
  316. package/dist/node_modules/@tanstack/store/dist/types.d.ts +38 -0
  317. package/dist/node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.d.ts +6 -0
  318. package/dist/node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.types.d.ts +53 -0
  319. package/dist/node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.d.ts +6 -0
  320. package/dist/node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.types.d.ts +90 -0
  321. package/dist/node_modules/@tanstack/table-core/dist/core/coreFeatures.d.ts +17 -0
  322. package/dist/node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.d.ts +6 -0
  323. package/dist/node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.types.d.ts +114 -0
  324. package/dist/node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.types.d.ts +51 -0
  325. package/dist/node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.d.ts +6 -0
  326. package/dist/node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.types.d.ts +29 -0
  327. package/dist/node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.d.ts +6 -0
  328. package/dist/node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.types.d.ts +129 -0
  329. package/dist/node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.d.ts +6 -0
  330. package/dist/node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.types.d.ts +203 -0
  331. package/dist/node_modules/@tanstack/table-core/dist/features/cell-selection/cellSelectionFeature.d.ts +6 -0
  332. package/dist/node_modules/@tanstack/table-core/dist/features/cell-selection/cellSelectionFeature.types.d.ts +294 -0
  333. package/dist/node_modules/@tanstack/table-core/dist/features/cell-spanning/cellSpanningFeature.d.ts +11 -0
  334. package/dist/node_modules/@tanstack/table-core/dist/features/cell-spanning/cellSpanningFeature.types.d.ts +148 -0
  335. package/dist/node_modules/@tanstack/table-core/dist/features/column-faceting/columnFacetingFeature.d.ts +12 -0
  336. package/dist/node_modules/@tanstack/table-core/dist/features/column-faceting/columnFacetingFeature.types.d.ts +63 -0
  337. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/columnFilteringFeature.d.ts +6 -0
  338. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/columnFilteringFeature.types.d.ts +209 -0
  339. package/dist/node_modules/@tanstack/table-core/dist/features/column-filtering/filterFns.d.ts +35 -0
  340. package/dist/node_modules/@tanstack/table-core/dist/features/column-grouping/columnGroupingFeature.d.ts +6 -0
  341. package/dist/node_modules/@tanstack/table-core/dist/features/column-grouping/columnGroupingFeature.types.d.ts +128 -0
  342. package/dist/node_modules/@tanstack/table-core/dist/features/column-ordering/columnOrderingFeature.d.ts +6 -0
  343. package/dist/node_modules/@tanstack/table-core/dist/features/column-ordering/columnOrderingFeature.types.d.ts +82 -0
  344. package/dist/node_modules/@tanstack/table-core/dist/features/column-pinning/columnPinningFeature.d.ts +11 -0
  345. package/dist/node_modules/@tanstack/table-core/dist/features/column-pinning/columnPinningFeature.types.d.ts +195 -0
  346. package/dist/node_modules/@tanstack/table-core/dist/features/column-resizing/columnResizingFeature.d.ts +6 -0
  347. package/dist/node_modules/@tanstack/table-core/dist/features/column-resizing/columnResizingFeature.types.d.ts +73 -0
  348. package/dist/node_modules/@tanstack/table-core/dist/features/column-sizing/columnSizingFeature.d.ts +6 -0
  349. package/dist/node_modules/@tanstack/table-core/dist/features/column-sizing/columnSizingFeature.types.d.ts +134 -0
  350. package/dist/node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.d.ts +6 -0
  351. package/dist/node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.types.d.ts +92 -0
  352. package/dist/node_modules/@tanstack/table-core/dist/features/global-filtering/globalFilteringFeature.d.ts +6 -0
  353. package/dist/node_modules/@tanstack/table-core/dist/features/global-filtering/globalFilteringFeature.types.d.ts +67 -0
  354. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/aggregationFns.d.ts +23 -0
  355. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.d.ts +6 -0
  356. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.types.d.ts +183 -0
  357. package/dist/node_modules/@tanstack/table-core/dist/features/row-aggregation/rowAggregationFeature.utils.d.ts +18 -0
  358. package/dist/node_modules/@tanstack/table-core/dist/features/row-expanding/rowExpandingFeature.d.ts +6 -0
  359. package/dist/node_modules/@tanstack/table-core/dist/features/row-expanding/rowExpandingFeature.types.d.ts +125 -0
  360. package/dist/node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.d.ts +6 -0
  361. package/dist/node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.types.d.ts +135 -0
  362. package/dist/node_modules/@tanstack/table-core/dist/features/row-pinning/rowPinningFeature.d.ts +6 -0
  363. package/dist/node_modules/@tanstack/table-core/dist/features/row-pinning/rowPinningFeature.types.d.ts +76 -0
  364. package/dist/node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.d.ts +6 -0
  365. package/dist/node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.types.d.ts +187 -0
  366. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.d.ts +6 -0
  367. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.types.d.ts +236 -0
  368. package/dist/node_modules/@tanstack/table-core/dist/features/row-sorting/sortFns.d.ts +23 -0
  369. package/dist/node_modules/@tanstack/table-core/dist/features/stockFeatures.d.ts +37 -0
  370. package/dist/node_modules/@tanstack/table-core/dist/helpers/columnHelper.d.ts +47 -0
  371. package/dist/node_modules/@tanstack/table-core/dist/types/Cell.d.ts +16 -0
  372. package/dist/node_modules/@tanstack/table-core/dist/types/Column.d.ts +30 -0
  373. package/dist/node_modules/@tanstack/table-core/dist/types/ColumnDef.d.ts +123 -0
  374. package/dist/node_modules/@tanstack/table-core/dist/types/Header.d.ts +12 -0
  375. package/dist/node_modules/@tanstack/table-core/dist/types/HeaderGroup.d.ts +6 -0
  376. package/dist/node_modules/@tanstack/table-core/dist/types/Row.d.ts +24 -0
  377. package/dist/node_modules/@tanstack/table-core/dist/types/RowModel.d.ts +19 -0
  378. package/dist/node_modules/@tanstack/table-core/dist/types/RowModelFns.d.ts +11 -0
  379. package/dist/node_modules/@tanstack/table-core/dist/types/Table.d.ts +53 -0
  380. package/dist/node_modules/@tanstack/table-core/dist/types/TableFeatures.d.ts +416 -0
  381. package/dist/node_modules/@tanstack/table-core/dist/types/TableOptions.d.ts +78 -0
  382. package/dist/node_modules/@tanstack/table-core/dist/types/TableState.d.ts +46 -0
  383. package/dist/node_modules/@tanstack/table-core/dist/types/type-utils.d.ts +25 -0
  384. package/dist/shared.css +179 -0
  385. package/dist/styles.css +5467 -0
  386. package/dist/theme.css +314 -0
  387. package/dist/theme.map.json +278 -0
  388. package/dist/tokens/index.d.ts +2 -0
  389. package/dist/tokens/index.js +1 -0
  390. package/dist/tokens/tokens.generated.d.ts +2040 -0
  391. package/dist/tokens/tokens.generated.js +2053 -0
  392. package/dist/tokens.css +484 -0
  393. package/dist/tokens.flat.json +429 -0
  394. package/docs/Consuming.mdx +396 -0
  395. package/docs/Contributing.mdx +78 -0
  396. package/docs/ForAgents.mdx +53 -0
  397. package/docs/Introduction.mdx +54 -0
  398. package/llms.txt +550 -0
  399. package/package.json +347 -3
  400. package/src/components/action-row/ActionRow.mdx +686 -0
  401. package/src/components/action-row/ActionRow.stories.tsx +669 -0
  402. package/src/components/action-row/ActionRow.tsx +632 -0
  403. package/src/components/action-row/index.ts +9 -0
  404. package/src/components/alert/Alert.mdx +377 -0
  405. package/src/components/alert/Alert.stories.tsx +674 -0
  406. package/src/components/alert/Alert.tsx +579 -0
  407. package/src/components/alert/index.ts +13 -0
  408. package/src/components/anchored-panel/AnchoredPanel.mdx +381 -0
  409. package/src/components/anchored-panel/AnchoredPanel.stories.tsx +593 -0
  410. package/src/components/anchored-panel/AnchoredPanel.tsx +176 -0
  411. package/src/components/anchored-panel/index.ts +15 -0
  412. package/src/components/badge/Badge.mdx +487 -0
  413. package/src/components/badge/Badge.stories.tsx +375 -0
  414. package/src/components/badge/Badge.tsx +360 -0
  415. package/src/components/badge/index.ts +10 -0
  416. package/src/components/banner/Banner.mdx +704 -0
  417. package/src/components/banner/Banner.stories.tsx +448 -0
  418. package/src/components/banner/Banner.tsx +602 -0
  419. package/src/components/banner/index.ts +14 -0
  420. package/src/components/button/Button.mdx +286 -0
  421. package/src/components/button/Button.stories.tsx +381 -0
  422. package/src/components/button/Button.tsx +384 -0
  423. package/src/components/button/index.ts +1 -0
  424. package/src/components/button-group/ButtonGroup.mdx +512 -0
  425. package/src/components/button-group/ButtonGroup.stories.tsx +714 -0
  426. package/src/components/button-group/ButtonGroup.tsx +491 -0
  427. package/src/components/button-group/index.ts +10 -0
  428. package/src/components/card-select/CardSelect.mdx +662 -0
  429. package/src/components/card-select/CardSelect.stories.tsx +784 -0
  430. package/src/components/card-select/CardSelect.tsx +783 -0
  431. package/src/components/card-select/CardSelectGroup.tsx +169 -0
  432. package/src/components/card-select/index.ts +18 -0
  433. package/src/components/checkbox/Checkbox.mdx +269 -0
  434. package/src/components/checkbox/Checkbox.stories.tsx +306 -0
  435. package/src/components/checkbox/Checkbox.tsx +343 -0
  436. package/src/components/checkbox/index.ts +1 -0
  437. package/src/components/chip/Chip.mdx +683 -0
  438. package/src/components/chip/Chip.stories.tsx +734 -0
  439. package/src/components/chip/Chip.tsx +732 -0
  440. package/src/components/chip/index.ts +9 -0
  441. package/src/components/column-header/ColumnHeader.mdx +301 -0
  442. package/src/components/column-header/ColumnHeader.stories.tsx +319 -0
  443. package/src/components/column-header/ColumnHeader.tsx +287 -0
  444. package/src/components/column-header/index.ts +7 -0
  445. package/src/components/combobox-field/Combobox.tsx +693 -0
  446. package/src/components/combobox-field/ComboboxField.mdx +525 -0
  447. package/src/components/combobox-field/ComboboxField.stories.tsx +502 -0
  448. package/src/components/combobox-field/ComboboxField.tsx +259 -0
  449. package/src/components/combobox-field/index.ts +12 -0
  450. package/src/components/date-picker/DatePicker.mdx +440 -0
  451. package/src/components/date-picker/DatePicker.stories.tsx +458 -0
  452. package/src/components/date-picker/DatePicker.tsx +688 -0
  453. package/src/components/date-picker/index.ts +9 -0
  454. package/src/components/divider/Divider.mdx +256 -0
  455. package/src/components/divider/Divider.stories.tsx +177 -0
  456. package/src/components/divider/Divider.tsx +193 -0
  457. package/src/components/divider/index.ts +1 -0
  458. package/src/components/drawer/Drawer.mdx +518 -0
  459. package/src/components/drawer/Drawer.stories.tsx +392 -0
  460. package/src/components/drawer/Drawer.tsx +683 -0
  461. package/src/components/drawer/index.ts +1 -0
  462. package/src/components/dropdown-button/DropdownButton.mdx +285 -0
  463. package/src/components/dropdown-button/DropdownButton.stories.tsx +398 -0
  464. package/src/components/dropdown-button/DropdownButton.tsx +198 -0
  465. package/src/components/dropdown-button/index.ts +7 -0
  466. package/src/components/faq/FAQ.mdx +364 -0
  467. package/src/components/faq/FAQ.stories.tsx +343 -0
  468. package/src/components/faq/FAQ.tsx +337 -0
  469. package/src/components/faq/index.ts +1 -0
  470. package/src/components/field/Field.mdx +129 -0
  471. package/src/components/field/Field.stories.tsx +461 -0
  472. package/src/components/field/Field.tsx +787 -0
  473. package/src/components/field/index.ts +20 -0
  474. package/src/components/field-pair/FieldPair.mdx +312 -0
  475. package/src/components/field-pair/FieldPair.stories.tsx +539 -0
  476. package/src/components/field-pair/FieldPair.tsx +845 -0
  477. package/src/components/field-pair/index.ts +9 -0
  478. package/src/components/file-upload/FileUpload.mdx +345 -0
  479. package/src/components/file-upload/FileUpload.stories.tsx +698 -0
  480. package/src/components/file-upload/FileUpload.tsx +802 -0
  481. package/src/components/file-upload/index.ts +6 -0
  482. package/src/components/filter-chip/FilterChip.mdx +778 -0
  483. package/src/components/filter-chip/FilterChip.stories.tsx +827 -0
  484. package/src/components/filter-chip/FilterChip.tsx +881 -0
  485. package/src/components/filter-chip/index.ts +11 -0
  486. package/src/components/filter-facet/FilterFacet.mdx +536 -0
  487. package/src/components/filter-facet/FilterFacet.stories.tsx +506 -0
  488. package/src/components/filter-facet/FilterFacet.tsx +1160 -0
  489. package/src/components/filter-facet/index.ts +7 -0
  490. package/src/components/firm-avatar/FirmAvatar.mdx +280 -0
  491. package/src/components/firm-avatar/FirmAvatar.stories.tsx +147 -0
  492. package/src/components/firm-avatar/FirmAvatar.tsx +172 -0
  493. package/src/components/firm-avatar/index.ts +7 -0
  494. package/src/components/form-actions/FormActions.mdx +518 -0
  495. package/src/components/form-actions/FormActions.stories.tsx +621 -0
  496. package/src/components/form-actions/FormActions.tsx +273 -0
  497. package/src/components/form-actions/index.ts +6 -0
  498. package/src/components/form-block/FormBlock.mdx +728 -0
  499. package/src/components/form-block/FormBlock.stories.tsx +813 -0
  500. package/src/components/form-block/FormBlock.tsx +679 -0
  501. package/src/components/form-block/index.ts +13 -0
  502. package/src/components/form-section/FormSection.mdx +436 -0
  503. package/src/components/form-section/FormSection.stories.tsx +407 -0
  504. package/src/components/form-section/FormSection.tsx +290 -0
  505. package/src/components/form-section/index.ts +17 -0
  506. package/src/components/heading/Heading.mdx +206 -0
  507. package/src/components/heading/Heading.stories.tsx +169 -0
  508. package/src/components/heading/Heading.tsx +124 -0
  509. package/src/components/heading/index.ts +8 -0
  510. package/src/components/heading-group/HeadingGroup.mdx +521 -0
  511. package/src/components/heading-group/HeadingGroup.stories.tsx +353 -0
  512. package/src/components/heading-group/HeadingGroup.tsx +396 -0
  513. package/src/components/heading-group/index.ts +7 -0
  514. package/src/components/hero/Hero.mdx +742 -0
  515. package/src/components/hero/Hero.stories.tsx +527 -0
  516. package/src/components/hero/Hero.tsx +807 -0
  517. package/src/components/hero/index.ts +1 -0
  518. package/src/components/icon/Icon.mdx +329 -0
  519. package/src/components/icon/Icon.stories.tsx +398 -0
  520. package/src/components/icon/Icon.tsx +97 -0
  521. package/src/components/icon/index.ts +2 -0
  522. package/src/components/icon-button/IconButton.mdx +206 -0
  523. package/src/components/icon-button/IconButton.stories.tsx +341 -0
  524. package/src/components/icon-button/IconButton.tsx +273 -0
  525. package/src/components/icon-button/index.ts +1 -0
  526. package/src/components/item-row/ItemRow.mdx +533 -0
  527. package/src/components/item-row/ItemRow.stories.tsx +434 -0
  528. package/src/components/item-row/ItemRow.tsx +676 -0
  529. package/src/components/item-row/index.ts +9 -0
  530. package/src/components/list-row/ListRow.mdx +404 -0
  531. package/src/components/list-row/ListRow.stories.tsx +404 -0
  532. package/src/components/list-row/ListRow.tsx +424 -0
  533. package/src/components/list-row/index.ts +1 -0
  534. package/src/components/menu/Menu.mdx +268 -0
  535. package/src/components/menu/Menu.stories.tsx +455 -0
  536. package/src/components/menu/Menu.tsx +452 -0
  537. package/src/components/menu/index.ts +1 -0
  538. package/src/components/modal/Modal.mdx +854 -0
  539. package/src/components/modal/Modal.stories.tsx +881 -0
  540. package/src/components/modal/Modal.tsx +1434 -0
  541. package/src/components/modal/index.ts +1 -0
  542. package/src/components/nav-link/NavLink.mdx +196 -0
  543. package/src/components/nav-link/NavLink.stories.tsx +243 -0
  544. package/src/components/nav-link/NavLink.tsx +222 -0
  545. package/src/components/nav-link/index.ts +1 -0
  546. package/src/components/number-field/NumberField.mdx +223 -0
  547. package/src/components/number-field/NumberField.stories.tsx +291 -0
  548. package/src/components/number-field/NumberField.tsx +388 -0
  549. package/src/components/number-field/index.ts +6 -0
  550. package/src/components/pagination/Pagination.mdx +305 -0
  551. package/src/components/pagination/Pagination.stories.tsx +333 -0
  552. package/src/components/pagination/Pagination.tsx +343 -0
  553. package/src/components/pagination/index.ts +8 -0
  554. package/src/components/popover-surface/PopoverSurface.mdx +158 -0
  555. package/src/components/popover-surface/PopoverSurface.stories.tsx +421 -0
  556. package/src/components/popover-surface/index.ts +1 -0
  557. package/src/components/progress-bar/ProgressBar.mdx +802 -0
  558. package/src/components/progress-bar/ProgressBar.stories.tsx +533 -0
  559. package/src/components/progress-bar/ProgressBar.tsx +654 -0
  560. package/src/components/progress-bar/index.ts +9 -0
  561. package/src/components/promo-sticker/PromoSticker.mdx +436 -0
  562. package/src/components/promo-sticker/PromoSticker.stories.tsx +363 -0
  563. package/src/components/promo-sticker/PromoSticker.tsx +313 -0
  564. package/src/components/promo-sticker/index.ts +7 -0
  565. package/src/components/promo-surface/PromoSurface.mdx +399 -0
  566. package/src/components/promo-surface/PromoSurface.stories.tsx +270 -0
  567. package/src/components/promo-surface/PromoSurface.tsx +305 -0
  568. package/src/components/promo-surface/index.ts +7 -0
  569. package/src/components/radio/Radio.mdx +243 -0
  570. package/src/components/radio/Radio.stories.tsx +307 -0
  571. package/src/components/radio/Radio.tsx +288 -0
  572. package/src/components/radio/index.ts +1 -0
  573. package/src/components/radio-group/RadioGroup.mdx +119 -0
  574. package/src/components/radio-group/RadioGroup.stories.tsx +225 -0
  575. package/src/components/radio-group/RadioGroup.tsx +139 -0
  576. package/src/components/radio-group/index.ts +1 -0
  577. package/src/components/select/Select.mdx +241 -0
  578. package/src/components/select/Select.stories.tsx +404 -0
  579. package/src/components/select/Select.tsx +381 -0
  580. package/src/components/select/index.ts +1 -0
  581. package/src/components/select-field/SelectField.mdx +324 -0
  582. package/src/components/select-field/SelectField.stories.tsx +460 -0
  583. package/src/components/select-field/SelectField.tsx +138 -0
  584. package/src/components/select-field/index.ts +1 -0
  585. package/src/components/skeleton/Skeleton.mdx +194 -0
  586. package/src/components/skeleton/Skeleton.stories.tsx +260 -0
  587. package/src/components/skeleton/Skeleton.tsx +107 -0
  588. package/src/components/skeleton/index.ts +1 -0
  589. package/src/components/split-button/SplitButton.mdx +445 -0
  590. package/src/components/split-button/SplitButton.stories.tsx +465 -0
  591. package/src/components/split-button/SplitButton.tsx +361 -0
  592. package/src/components/split-button/index.ts +7 -0
  593. package/src/components/status-summary-bar/StatusSummaryBar.mdx +338 -0
  594. package/src/components/status-summary-bar/StatusSummaryBar.stories.tsx +408 -0
  595. package/src/components/status-summary-bar/StatusSummaryBar.tsx +428 -0
  596. package/src/components/status-summary-bar/index.ts +8 -0
  597. package/src/components/subject-lookup-field/SubjectLookupField.mdx +378 -0
  598. package/src/components/subject-lookup-field/SubjectLookupField.stories.tsx +393 -0
  599. package/src/components/subject-lookup-field/SubjectLookupField.tsx +1079 -0
  600. package/src/components/subject-lookup-field/index.ts +11 -0
  601. package/src/components/switch/Switch.mdx +376 -0
  602. package/src/components/switch/Switch.stories.tsx +296 -0
  603. package/src/components/switch/Switch.tsx +483 -0
  604. package/src/components/switch/index.ts +1 -0
  605. package/src/components/table/Table.mdx +575 -0
  606. package/src/components/table/Table.stories.tsx +1049 -0
  607. package/src/components/table/Table.tsx +745 -0
  608. package/src/components/table/TableConsumers.stories.tsx +195 -0
  609. package/src/components/table/_tableFixtures.ts +1189 -0
  610. package/src/components/table/index.ts +22 -0
  611. package/src/components/text-field/TextField.mdx +699 -0
  612. package/src/components/text-field/TextField.stories.tsx +674 -0
  613. package/src/components/text-field/TextField.tsx +645 -0
  614. package/src/components/text-field/index.ts +11 -0
  615. package/src/components/text-link/TextLink.mdx +353 -0
  616. package/src/components/text-link/TextLink.stories.tsx +458 -0
  617. package/src/components/text-link/TextLink.tsx +504 -0
  618. package/src/components/text-link/index.ts +10 -0
  619. package/src/components/textarea/Textarea.mdx +244 -0
  620. package/src/components/textarea/Textarea.stories.tsx +371 -0
  621. package/src/components/textarea/Textarea.tsx +489 -0
  622. package/src/components/textarea/index.ts +9 -0
  623. package/src/components/tooltip/Tooltip.mdx +462 -0
  624. package/src/components/tooltip/Tooltip.stories.tsx +500 -0
  625. package/src/components/tooltip/Tooltip.tsx +756 -0
  626. package/src/components/tooltip/index.ts +13 -0
  627. package/src/components/unit-field/UnitField.mdx +215 -0
  628. package/src/components/unit-field/UnitField.stories.tsx +291 -0
  629. package/src/components/unit-field/UnitField.tsx +255 -0
  630. package/src/components/unit-field/index.ts +7 -0
  631. package/src/icons/icon-registry.generated.ts +510 -0
  632. package/src/icons/icon-types.generated.ts +256 -0
  633. package/src/index.ts +70 -0
  634. package/src/internal/BottomSheet.tsx +714 -0
  635. package/src/internal/FodsProvider.tsx +36 -0
  636. package/src/internal/MotionCaret.tsx +53 -0
  637. package/src/internal/NumberFormatInput.tsx +276 -0
  638. package/src/internal/SummaryDonut.tsx +359 -0
  639. package/src/internal/buttonSegment.ts +241 -0
  640. package/src/internal/collapseRoom.ts +130 -0
  641. package/src/internal/comboboxKeys.ts +90 -0
  642. package/src/internal/contentPresence.ts +46 -0
  643. package/src/internal/dayCell.ts +274 -0
  644. package/src/internal/dialogPortal.ts +50 -0
  645. package/src/internal/donutSweeps.ts +77 -0
  646. package/src/internal/enterOnViewGeometry.ts +53 -0
  647. package/src/internal/faqItem.ts +104 -0
  648. package/src/internal/floatingLabelMotion.tsx +109 -0
  649. package/src/internal/formBlockContext.ts +27 -0
  650. package/src/internal/heightRoom.ts +135 -0
  651. package/src/internal/numberSeparators.ts +93 -0
  652. package/src/internal/overlayMotion.tsx +32 -0
  653. package/src/internal/paginationItem.ts +106 -0
  654. package/src/internal/popoverSurface.ts +78 -0
  655. package/src/internal/portalContainer.ts +11 -0
  656. package/src/internal/progressBarItem.ts +356 -0
  657. package/src/internal/selectionControlText.ts +42 -0
  658. package/src/internal/statusSummaryParts.tsx +475 -0
  659. package/src/internal/summaryMotion.ts +111 -0
  660. package/src/internal/table/ChildConnector.tsx +57 -0
  661. package/src/internal/table/ChildRowPrefix.tsx +21 -0
  662. package/src/internal/table/ColumnSettings.tsx +194 -0
  663. package/src/internal/table/ScrollRegion.tsx +176 -0
  664. package/src/internal/table/TableEmpty.tsx +99 -0
  665. package/src/internal/table/TableLayout.tsx +29 -0
  666. package/src/internal/table/TableLoadStatus.tsx +60 -0
  667. package/src/internal/table/TableMobile.tsx +582 -0
  668. package/src/internal/table/TruncatedCell.tsx +35 -0
  669. package/src/internal/table/emptyValue.ts +11 -0
  670. package/src/internal/table/features.ts +44 -0
  671. package/src/internal/table/recipes.ts +263 -0
  672. package/src/internal/table/rowClick.ts +8 -0
  673. package/src/internal/table/types.ts +342 -0
  674. package/src/internal/tailwind-variants.ts +65 -0
  675. package/src/internal/tooltipContext.ts +15 -0
  676. package/src/internal/tw-merge-config.generated.ts +275 -0
  677. package/src/internal/useAnchoredPanel.ts +340 -0
  678. package/src/internal/useCountUp.ts +65 -0
  679. package/src/internal/useDateFieldTrigger.tsx +497 -0
  680. package/src/internal/useEChart.ts +88 -0
  681. package/src/internal/useEnterOnView.ts +80 -0
  682. package/src/internal/useFloatingBar.ts +125 -0
  683. package/src/internal/useFormReset.ts +57 -0
  684. package/src/internal/useIsMobile.ts +64 -0
  685. package/src/internal/useNoImplicitSubmit.ts +41 -0
  686. package/src/internal/useOneRowOverflow.ts +103 -0
  687. package/src/internal/usePrefersReducedMotion.ts +27 -0
  688. package/src/internal/useReturnFocus.ts +34 -0
  689. package/src/internal/utils.ts +58 -0
  690. package/src/recipes/EmptyState.stories.tsx +105 -0
  691. package/src/recipes/Form.stories.tsx +360 -0
  692. package/src/recipes/ModalWithForm.stories.tsx +219 -0
  693. package/src/recipes/Recipes.mdx +61 -0
  694. package/src/recipes/TableWithFilters.stories.tsx +278 -0
  695. package/src/storybook/FodsFamily.tsx +39 -0
  696. package/src/storybook/Section.tsx +36 -0
  697. package/src/storybook/a11y.ts +24 -0
  698. package/src/storybook/assets/banner-character-bartender.webp +0 -0
  699. package/src/storybook/assets/banner-invoice-sheet-left.webp +0 -0
  700. package/src/storybook/assets/banner-invoice-sheet-right.webp +0 -0
  701. package/src/storybook/assets/invoice-hero.webp +0 -0
  702. package/src/storybook/assets/invoice.webp +0 -0
  703. package/src/storybook/assets/section-document-info.svg +21 -0
  704. package/src/storybook/assets/section-gear-checklist.svg +11 -0
  705. package/src/storybook/assets/section-person-arrow-in.svg +15 -0
  706. package/src/storybook/assets/section-person-arrow-out.svg +22 -0
  707. package/src/storybook/assets/section-receipt-dollar.svg +23 -0
  708. package/src/storybook/assets/table-empty-folder-empty.png +0 -0
  709. package/src/storybook/assets/table-empty-folder-magnifying-glass.png +0 -0
  710. package/src/storybook/assets/table-empty-funnel.png +0 -0
  711. package/src/storybook/assets/table-empty-load-failed.png +0 -0
  712. package/src/storybook/assets/wallet-spot.png +0 -0
  713. package/src/storybook/assets.d.ts +17 -0
  714. package/src/storybook/componentDoc.ts +41 -0
  715. package/src/storybook/fitFrame.tsx +70 -0
  716. package/src/storybook/forceStates.tsx +647 -0
  717. package/src/storybook/illustrations.tsx +66 -0
  718. package/src/storybook/viewportFrame.tsx +58 -0
  719. package/src/styles/assets/label-brush-1.svg +6 -0
  720. package/src/styles/assets/pattern-dark.svg +113 -0
  721. package/src/styles/base.css +106 -0
  722. package/src/styles/index.css +15 -0
  723. package/src/styles/motion.css +157 -0
  724. package/src/styles/promo-sticker.css +27 -0
  725. package/src/styles/promo-surface.css +49 -0
  726. package/src/styles/shared.css +11 -0
  727. package/src/styles/theme.generated.css +314 -0
  728. package/src/styles/theme.map.json +278 -0
  729. package/src/styles/tracking.generated.css +12 -0
  730. package/src/tokens/index.ts +4 -0
  731. package/src/tokens/tokens.generated.ts +542 -0
@@ -0,0 +1,484 @@
1
+ /* AUTO-GENERATED by scripts/build-tokens.mjs. Do not edit by hand. */
2
+ /* Source of truth: tokens/primitives/ + tokens/semantic/. Rebuild with `npm run build:tokens`. */
3
+ :root {
4
+ /* Layer 1 — Primitives (--ds-*) */
5
+ /* primitives/border-width */
6
+ --ds-border-100: 1px;
7
+ --ds-border-200: 2px;
8
+ /* primitives/breakpoint */
9
+ --ds-breakpoint-xxs: 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. */
10
+ --ds-breakpoint-xs: 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. */
11
+ --ds-breakpoint-sm: 640px; /* First real breakpoint — large phones / portrait tablets. Container caps at 600px, side padding 24px (--ds-space-800). */
12
+ --ds-breakpoint-md: 768px; /* Tablet portrait. Container caps at 720px. Matches the previous Bootstrap 4 md 1:1. */
13
+ --ds-breakpoint-lg: 1024px; /* Small desktop / laptop. Container caps at 960px. */
14
+ --ds-breakpoint-xl: 1280px; /* Primary desktop — the default design surface. Container hard-caps at 1270px; above this the container stays centered and content does not scale. */
15
+ /* primitives/color */
16
+ --ds-blue-50: #f1f9fe;
17
+ --ds-blue-100: #e2f1fb;
18
+ --ds-blue-200: #c0e5f8;
19
+ --ds-blue-300: #88d2f6;
20
+ --ds-blue-400: #46baf1;
21
+ --ds-blue-500: #2ea5e3;
22
+ --ds-blue-600: #097fb5;
23
+ --ds-blue-700: #1c699b;
24
+ --ds-blue-800: #1b5980;
25
+ --ds-blue-900: #1b4a68;
26
+ --ds-blue-950: #112f44;
27
+ --ds-claudy-50: #f4f9fb;
28
+ --ds-claudy-100: #f0f7fb;
29
+ --ds-claudy-200: #d5e2e8;
30
+ --ds-claudy-300: #b4c8d5;
31
+ --ds-claudy-400: #86a1b3;
32
+ --ds-claudy-500: #5e7c8f;
33
+ --ds-claudy-600: #446276;
34
+ --ds-claudy-700: #294e66;
35
+ --ds-claudy-800: #133f5a;
36
+ --ds-claudy-900: #032c46;
37
+ --ds-claudy-950: #1a2330;
38
+ --ds-claudy-900-a03: rgba(26, 35, 48, 0.03);
39
+ --ds-claudy-900-a06: rgba(26, 35, 48, 0.06);
40
+ --ds-claudy-900-a50: rgba(26, 35, 48, 0.5);
41
+ --ds-red-50: #fff6f5;
42
+ --ds-red-100: #ffebe8;
43
+ --ds-red-200: #fed6cf;
44
+ --ds-red-300: #ffb7ac;
45
+ --ds-red-400: #ff8574;
46
+ --ds-red-500: #ff4839;
47
+ --ds-red-600: #e3261b;
48
+ --ds-red-700: #c50000;
49
+ --ds-red-800: #ac0704;
50
+ --ds-red-900: #930a0a;
51
+ --ds-red-950: #480604;
52
+ --ds-orange-50: #fff9ee;
53
+ --ds-orange-100: #fdf0d3;
54
+ --ds-orange-200: #fce0a5;
55
+ --ds-orange-300: #fbc970;
56
+ --ds-orange-400: #f6ac3e;
57
+ --ds-orange-500: #f2912f;
58
+ --ds-orange-600: #d77900;
59
+ --ds-orange-700: #8f480e;
60
+ --ds-orange-800: #743a16;
61
+ --ds-orange-900: #5f3018;
62
+ --ds-orange-950: #3b1b0e;
63
+ --ds-green-50: #f3fcf6;
64
+ --ds-green-100: #e2f9eb;
65
+ --ds-green-200: #c6f2d7;
66
+ --ds-green-300: #9ae9b8;
67
+ --ds-green-400: #67d58f;
68
+ --ds-green-500: #4ebc72;
69
+ --ds-green-600: #3f9e5d;
70
+ --ds-green-700: #337c4c;
71
+ --ds-green-800: #2b613f;
72
+ --ds-green-900: #265036;
73
+ --ds-green-950: #112c1c;
74
+ --ds-violet-50: #faf3fc;
75
+ --ds-violet-100: #f3e6f6;
76
+ --ds-violet-200: #e6c9ee;
77
+ --ds-violet-300: #d8a4e5;
78
+ --ds-violet-400: #bc65d2;
79
+ --ds-violet-500: #992fb4;
80
+ --ds-violet-600: #84299b;
81
+ --ds-violet-700: #711d86;
82
+ --ds-violet-800: #5c196b;
83
+ --ds-violet-900: #4a1556;
84
+ --ds-violet-950: #2d0f33;
85
+ --ds-white: #ffffff;
86
+ --ds-alpha-dark-00: rgba(26, 35, 48, 0);
87
+ --ds-alpha-dark-03: rgba(26, 35, 48, 0.03);
88
+ --ds-alpha-dark-06: rgba(26, 35, 48, 0.06);
89
+ --ds-alpha-dark-10: rgba(26, 35, 48, 0.1);
90
+ --ds-alpha-dark-50: rgba(26, 35, 48, 0.5);
91
+ --ds-alpha-light-00: rgba(255, 255, 255, 0);
92
+ --ds-alpha-light-08: rgba(255, 255, 255, 0.08);
93
+ --ds-alpha-light-12: rgba(255, 255, 255, 0.12);
94
+ --ds-gray-100: #e5e7eb;
95
+ --ds-gray-700: #374151;
96
+ --ds-gray-900: #222222;
97
+ --ds-yellow-300: #ffcd38;
98
+ --ds-orange-warning: #fe8f01;
99
+ /* primitives/container */
100
+ --ds-container-sm: 600px; /* Container max-width from sm (≥640px). Side padding 24px (--ds-space-800). */
101
+ --ds-container-md: 720px; /* Container max-width from md (≥768px). */
102
+ --ds-container-lg: 960px; /* Container max-width from lg (≥1024px). */
103
+ --ds-container-xl: 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. */
104
+ /* primitives/content-width */
105
+ --ds-content-narrow: 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.4806em. ≈ 6 XL columns (583). USE: hero and intro copy, empty-state text, legal prose, single-column forms. AVOID: lists, card stacks and the blog/help article — those run on medium. */
106
+ --ds-content-medium: 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 on this column, not on narrow: 91 characters per line at 18px (Body/L), 102 at 16px — past the 45–75 band, accepted for the article (owner 2026-11-09) so text, pictures, tables and callouts share one column edge. Other prose keeps the narrow cap. */
107
+ --ds-content-wide: 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 smaller width first; this token never widens a layout, it only stops one from exceeding the content area. */
108
+ /* primitives/duration */
109
+ --ds-duration-instant: 100ms;
110
+ --ds-duration-fast: 150ms;
111
+ --ds-duration-normal: 200ms;
112
+ --ds-duration-slow: 300ms;
113
+ --ds-duration-long: 600ms;
114
+ --ds-duration-extra-long: 800ms;
115
+ --ds-duration-loop-fast: 900ms;
116
+ --ds-duration-loop-slow: 2000ms;
117
+ /* primitives/easing */
118
+ --ds-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
119
+ --ds-easing-enter: cubic-bezier(0, 0, 0.2, 1);
120
+ --ds-easing-exit: cubic-bezier(0.4, 0, 1, 1);
121
+ --ds-easing-linear: linear;
122
+ /* primitives/font-family */
123
+ --ds-font-family-inter: 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). */
124
+ --ds-font-family-poppins: 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'). */
125
+ --ds-font-family-caveat: Caveat, 'Comic Sans MS', cursive; /* Decorative handwritten accent (Decorative/Caveat 32 / 20). Fallback = generic cursive (spec names only 'Caveat'). */
126
+ /* primitives/font-size */
127
+ --ds-font-size-xxs: 0.75rem;
128
+ --ds-font-size-xs: 0.8125rem;
129
+ --ds-font-size-sm: 0.875rem;
130
+ --ds-font-size-base: 1rem;
131
+ --ds-font-size-md: 1.125rem;
132
+ --ds-font-size-lg: 1.25rem;
133
+ --ds-font-size-xl: 1.375rem;
134
+ --ds-font-size-xxl: 1.5rem;
135
+ --ds-font-size-3xl: 1.625rem;
136
+ --ds-font-size-4xl: 2rem;
137
+ --ds-font-size-5xl: 2.5rem;
138
+ --ds-font-size-6xl: 3rem;
139
+ --ds-font-size-heading-h1: 1.625rem;
140
+ --ds-font-size-heading-h2: 1.5rem;
141
+ --ds-font-size-heading-h3: 1.375rem;
142
+ --ds-font-size-heading-h4: 1.125rem;
143
+ --ds-font-size-heading-h5: 1rem;
144
+ --ds-font-size-display-d1: 3rem;
145
+ --ds-font-size-display-d2: 2.5rem;
146
+ --ds-font-size-display-d3: 2rem;
147
+ /* primitives/font-weight */
148
+ --ds-font-weight-light: 300;
149
+ --ds-font-weight-normal: 400;
150
+ --ds-font-weight-medium: 500;
151
+ --ds-font-weight-semibold: 600;
152
+ --ds-font-weight-bold: 700;
153
+ --ds-font-weight-black: 900;
154
+ /* primitives/line-height */
155
+ --ds-leading-compact: 1.3;
156
+ --ds-leading-tight: 1.4;
157
+ --ds-leading-relaxed: 1.5;
158
+ --ds-leading-loose: 1.6;
159
+ --ds-leading-extra-loose: 20px;
160
+ /* primitives/opacity */
161
+ --ds-opacity-10: 0.1;
162
+ --ds-opacity-12: 0.12;
163
+ --ds-opacity-50: 0.5;
164
+ --ds-opacity-00: 0;
165
+ --ds-opacity-03: 0.03;
166
+ --ds-opacity-06: 0.06;
167
+ --ds-opacity-08: 0.08;
168
+ /* primitives/overlay */
169
+ --ds-overlay-max-height: 320px;
170
+ /* primitives/radius */
171
+ --ds-radius-0: 0;
172
+ --ds-radius-100: 2px;
173
+ --ds-radius-200: 4px;
174
+ --ds-radius-300: 6px;
175
+ --ds-radius-400: 8px;
176
+ --ds-radius-500: 12px;
177
+ --ds-radius-600: 16px;
178
+ --ds-radius-700: 20px;
179
+ --ds-radius-800: 24px;
180
+ --ds-radius-full: 9999px;
181
+ /* primitives/shadow */
182
+ --ds-shadow-100: 0 1px 2px 0 rgba(26, 35, 48, 0.05), 0 1px 3px 0 rgba(26, 35, 48, 0.10);
183
+ --ds-shadow-200: 0 4px 6px -1px rgba(26, 35, 48, 0.10), 0 2px 4px -1px rgba(26, 35, 48, 0.06);
184
+ --ds-shadow-300: 0 10px 15px -3px rgba(26, 35, 48, 0.10), 0 4px 6px -2px rgba(26, 35, 48, 0.05);
185
+ /* primitives/size */
186
+ --ds-size-14: 14px;
187
+ --ds-size-16: 16px;
188
+ --ds-size-20: 20px;
189
+ --ds-size-24: 24px;
190
+ --ds-size-32: 32px;
191
+ --ds-size-40: 40px;
192
+ --ds-size-48: 48px;
193
+ --ds-size-64: 64px;
194
+ --ds-size-80: 80px;
195
+ --ds-size-140: 140px;
196
+ --ds-size-200: 200px;
197
+ --ds-size-300: 300px;
198
+ /* primitives/spacing */
199
+ --ds-space-0: 0;
200
+ --ds-space-100: 2px;
201
+ --ds-space-200: 4px;
202
+ --ds-space-300: 6px;
203
+ --ds-space-400: 8px;
204
+ --ds-space-450: 10px;
205
+ --ds-space-500: 12px;
206
+ --ds-space-600: 16px;
207
+ --ds-space-700: 20px;
208
+ --ds-space-800: 24px;
209
+ --ds-space-900: 32px;
210
+ --ds-space-1000: 40px;
211
+ --ds-space-1100: 48px;
212
+ --ds-space-1200: 64px;
213
+ --ds-space-1300: 80px;
214
+ /* primitives/spring */
215
+ --ds-spring-normal: 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);
216
+ --ds-spring-slow: 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);
217
+ /* primitives/text-wrap */
218
+ --ds-text-wrap-balance: 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. */
219
+ --ds-text-wrap-pretty: 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-line limit. */
220
+ /* primitives/z-index */
221
+ --ds-z-index-base: 0;
222
+ --ds-z-index-dropdown: 1000;
223
+ --ds-z-index-sticky: 1100;
224
+ --ds-z-index-fixed: 1200;
225
+ --ds-z-index-modal-backdrop: 1300;
226
+ --ds-z-index-modal: 1400;
227
+ --ds-z-index-popover: 1500;
228
+ --ds-z-index-toast: 1600;
229
+
230
+ /* Layer 2 — Semantic aliases (consumed by components) */
231
+ /* semantic/border-width */
232
+ --border-width-100: var(--ds-border-100); /* Default border weight. Inputs, cards, table dividers, focus rings on light surfaces. */
233
+ --border-width-200: var(--ds-border-200); /* Emphasized border. Active state on form fields, focus rings that need extra visibility, selected-state outlines. */
234
+ /* semantic/color */
235
+ --primary: var(--ds-orange-500); /* 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. AVOID: soft callout edges (use --primary-subtle-border), neutral structure (use --outline-*), body text, status warnings (use --status-warning). Pair: --primary-solid (fill), --primary-foreground (text on fill), --primary-hover/-active (states). ⚠️ WCAG: as an icon / border ink on white orange/500 = 2.37:1 — below the non-text 3:1 floor; same ACCEPTED brand exception as --primary-solid (owner 2026-07-08). */
236
+ --primary-solid: var(--ds-orange-500); /* 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 --primary-subtle). Same value as --primary (brand families: solid == base) — use -solid wherever a FILL is meant for API symmetry with status families. Pair: --primary-foreground, --primary-hover, --primary-active. ⚠️ WCAG: white on orange/500 = 2.37:1 — fails AA AND AA-Large; ACCEPTED brand / prod-parity exception (owner 2026-07-08). Mitigation: pair with Semibold labels; never use for long body text. */
237
+ --primary-hover: var(--ds-orange-600); /* 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). */
238
+ --primary-active: var(--ds-orange-700); /* 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 tone reads slightly brown by design — accepted for the brief transient state; mirrors prod (Element UI). */
239
+ --primary-foreground: var(--ds-white); /* 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 --primary-tint-foreground). */
240
+ --primary-subtle: var(--ds-orange-100); /* 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-tint-foreground), borders (use --primary-subtle-border). Pair: --primary-tint-foreground, --primary-subtle-border. */
241
+ --primary-soft: var(--ds-orange-200); /* 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 (insufficient contrast), borders. Pair: --primary-tint-foreground. */
242
+ --primary-tint-foreground: var(--ds-orange-900); /* 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 (use --primary-foreground). WCAG AA+ on both tints. */
243
+ --primary-subtle-border: var(--ds-orange-300); /* 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 --primary base — stronger), filled surfaces, neutral structure (use --outline-*). Pair: --primary-subtle. */
244
+ --secondary: var(--ds-blue-700); /* 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 border (outlined edge, checkbox/radio hover ring, Card Select edge, Date Picker today). AVOID: fills (use --secondary-solid — base and solid diverged 2026-07-31, the danger/success pattern), soft callout edges (--secondary-subtle-border), neutral structure (--outline-*), status info (--status-info). Pair: --secondary-active (the borderless hover AND pressed ink), --secondary-solid. ⚠️ Moved blue/600 → blue/700 (owner 2026-07-31): as an 18px-semibold label ink blue/600 was 4.45:1 on white — 0.05 under AA-Normal — and 3.35:1 on --secondary-soft; blue/700 clears 4.5 everywhere except --secondary-soft (4.46, use Show surface there). The old blue/600 stays available as --secondary-solid / --outline-focus. */
245
+ --secondary-solid: var(--ds-blue-600); /* 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). Base and solid DIVERGED 2026-07-31 (the danger/success pattern): -solid keeps the bright brand blue/600 for fills, --secondary base moved to blue/700 as the AA-safe ink — use -solid where a FILL is meant. Pair: --secondary-foreground, --secondary-hover, --secondary-active. ⚠️ WCAG: white on blue/600 = 4.45:1 — AA-Large-only territory (formal WCAG large = ≥18.66px bold / 24px regular), below AA-Normal 4.5:1; ACCEPTED brand exception (owner 2026-07-08): filled-secondary labels are ALWAYS Semibold or large — a documented brand acceptance, not formal compliance. */
246
+ --secondary-hover: var(--ds-blue-700); /* 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). */
247
+ --secondary-active: var(--ds-blue-800); /* 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) → active = solid+2 (blue/800). blue/800 + white = 7.53:1 (AA). (Shifted blue/900 → blue/800 2026-07-08.) */
248
+ --secondary-foreground: var(--ds-white); /* 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-tint-foreground). */
249
+ --secondary-subtle: var(--ds-blue-100); /* 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-foreground), borders (use --secondary-subtle-border), status-info callouts (use --status-info-subtle). Pair: --secondary-tint-foreground, --secondary-subtle-border. */
250
+ --secondary-soft: var(--ds-blue-200); /* 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. Pair: --secondary-tint-foreground. */
251
+ --secondary-tint-foreground: var(--ds-blue-900); /* 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. WCAG AAA on both tints; 9.43:1 on --bg-primary. */
252
+ --secondary-subtle-border: var(--ds-blue-300); /* 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), filled surfaces, neutral structure (use --outline-*). Pair: --secondary-subtle. */
253
+ --tertiary: var(--ds-claudy-600); /* 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 for the rare filled tertiary. AVOID: filled CTAs (use --primary/--secondary), default body text (use --text-primary), soft callout edges (use --tertiary-subtle-border or --outline-*). Pair: --tertiary-hover/-active (ghost states), --tertiary-foreground (rare filled). */
254
+ --tertiary-solid: var(--ds-claudy-600); /* 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 (use --tertiary-subtle). Same value as --tertiary (solid == base). Pair: --tertiary-foreground. */
255
+ --tertiary-hover: var(--ds-claudy-700); /* 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 paints no bg). */
256
+ --tertiary-active: var(--ds-claudy-800); /* 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. */
257
+ --tertiary-foreground: var(--ds-white); /* 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 (use --tertiary base as text). */
258
+ --tertiary-subtle: var(--ds-claudy-100); /* 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-border), text (use --tertiary-tint-foreground). Pair: --tertiary-tint-foreground. Often interchangeable with --bg-secondary — pick this when the tint should read 'neutral brand-cool'. */
259
+ --tertiary-soft: var(--ds-claudy-200); /* 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-foreground. */
260
+ --tertiary-tint-foreground: var(--ds-claudy-900); /* 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. */
261
+ --tertiary-subtle-border: var(--ds-claudy-300); /* 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 — usually preferred for neutral structure). Pair: --tertiary-subtle. Note: very close to --outline-strong; prefer --outline-* for role-agnostic structure. */
262
+ --bg-primary: var(--ds-white); /* 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 --tertiary-subtle). */
263
+ --bg-secondary: var(--ds-claudy-50); /* 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. NOT for interaction states — hover/pressed highlights are --bg-hover / --bg-active (2026-07-03). AVOID: primary content surface (use --bg-primary), forms (production parity expects --bg-primary), disabled field surfaces (use --disabled-background), read-only field surfaces (use --bg-readonly). Production-anchored — exact match for the FO app shell. */
264
+ --bg-readonly: var(--ds-claudy-50); /* 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-primary value. AVOID: disabled fields (--disabled-background — same value today, different intent: not applicable vs informative), generic grey tiles (--bg-secondary), non-field controls (--disabled-control). Pair: --text-primary value, --icon-muted glyphs. */
265
+ --bg-hover: var(--ds-alpha-dark-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 perceived step, so one token covers every background. Directional, not pigment-bound: on today's light ground it darkens; under a dark theme this alias flips to the light ink and the same token lightens, which is why the name says hover and not claudy. USE: the UNIVERSAL interaction highlight — :hover fill of Secondary / Tertiary / outline Buttons, ghost Icon Buttons, Dropdown Button Outline, Button/Field segments (layered over their opaque --bg-primary base), and the Highlighted fill of List Row / Action Row (2026-07-03 consistency decision: one highlight token everywhere). AVOID: scrims (--bg-overlay), non-interactive tinting (--bg-secondary). Pair: --bg-active for :active. Intensity note: retuned 2026-07-07 from 5%→3% (and active 10%→6%) after the owner's 'reads slightly dirty' verdict on 5% — tune the alpha here, never per-component. */
266
+ --bg-active: var(--ds-alpha-dark-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 for hover (state order: hover 3% → active 6%), selected/persistent states (selection has its own patterns). Pair: --bg-hover. */
267
+ --bg-hover-inverse: var(--ds-alpha-light-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 chrome, --secondary-solid panels) away from itself. Inverse means opposite-of-ground, not dark-theme: a dark surface inside a light app today, a light surface inside a dark app later — the alias flips with the mode, its consumers never change token. USE: :hover fill of a ghost Icon Button or other borderless control composed inside dark chrome (announcement bar close ×). AVOID: on light surfaces (use --bg-hover); as a resting fill. */
268
+ --bg-active-inverse: var(--ds-alpha-light-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 to read against a dark fill; they are counterparts, not equal percentages. USE: :active fill of the same borderless / outline controls on dark chrome. AVOID: on light surfaces (use --bg-active); as a hover (use --bg-hover-inverse). */
269
+ --bg-overlay: var(--ds-alpha-dark-50); /* 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 with --z-index-modal-backdrop + --shadow-modal). AVOID: anchored popovers get no scrim (use --shadow-overlay); the mobile bottom sheet does. Also not for non-blocking toasts / tooltips, tinting a solid surface (use --bg-secondary). */
270
+ --bg-skeleton: var(--ds-claudy-200); /* 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 Sticky Context Bar Loading state once it is built. Sits at the same step as --outline-default, so a placeholder weighs the same as the card borders around it: present, but not louder than the chrome it replaces. AVOID: disabled controls (use --disabled-control — a placeholder is pending, not inapplicable), disabled fields (use --disabled-background), read-only fields (use --bg-readonly), progress tracks and any other static neutral mark (use --outline-default — same primitive, structural intent), any real surface (use --bg-primary / --bg-secondary). Sits far under the 3:1 non-text minimum, accepted on the same ground as --outline-default (the identical primitive): never the sole cue. A placeholder is non-interactive, hidden from assistive tech, and always paired with a live-region announcement. No dark-surface counterpart yet — mint one when a skeleton first has to render on --bg-inverse. */
271
+ --bg-edge-shadow: var(--ds-alpha-dark-10); /* 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 end of a 40px linear gradient running toward the covering surface, and derive the transparent end from this same token - linear-gradient(to bottom, rgb(from var(--bg-edge-shadow) r g b / 0), var(--bg-edge-shadow)) - so both ends carry ONE pigment; a gradient ending on a generic `transparent` interpolates through transparent black and hazes grey through its middle. Recipe + placement: spec/06-patterns/scrollbar.md. AVOID: a plain cut edge with nothing covering it (that is the fade, and it takes the SURFACE's own colour, not this ink); an edge a real shadow can reach (--shadow-raised); any flat fill - this token only ever appears as a gradient end. Why it exists at all: every --shadow-* token casts straight DOWN (0 1px / 0 4px / 0 10px), so a bar below the content or a column beside it has no shadow token able to mark its edge, and the softness has to be drawn instead of cast. */
272
+ --bg-inverse: var(--ds-blue-900); /* 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 deprecated tooltip navy #0A5071 (Δ≈20); white text on it = ~9:1 (AAA). AVOID: modal scrims (use --bg-overlay), page/section backgrounds (use --bg-primary / --bg-secondary), filled brand buttons (use --secondary-solid). */
273
+ --icon-default: var(--ds-claudy-600); /* 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-secondary (7.0-territory neutral) but a separate intent so icon inks retune independently of text. THE ICON RULE (3 tiers): (1) an icon ACCOMPANYING text takes the TEXT'S token via currentColor — no icon-* binding; (2) a STATUS icon takes the family -solid ink; (3) only a STANDALONE icon binds icon-*. USE: standalone neutral glyphs. AVOID: icons beside labels (follow the text), status icons (-solid), affordance carets/magnifiers (--icon-muted). Added 2026-07-08. */
274
+ --icon-brand: var(--ds-orange-500); /* 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 exception (owner 2026-07-08): decorative accents only, NEVER the sole carrier of meaning or state (pair with text or a compliant glyph). USE: brand accent pictograms, feature icons in marketing-adjacent UI. AVOID: functional indicators, status icons, affordances. Added 2026-07-08. */
275
+ --icon-muted: var(--ds-claudy-500); /* 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 — passes WCAG 1.4.11 non-text 3:1 (icons are not text; the text floor 4.5 does not apply). First member of the icon-* namespace (icons are neither text-* nor outline-*). USE: select/combobox carets, search glyphs, quiet indicator icons. AVOID: status icons (family -active/-solid inks), interactive icon BUTTONS (Icon Button owns its ink), disabled icons (--disabled-foreground — same primitive today, different intent). Added 2026-07-08. */
276
+ --text-primary: var(--ds-claudy-950); /* 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 --text-placeholder), disabled text (use --disabled-foreground). */
277
+ --text-secondary: var(--ds-claudy-600); /* 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 column headers, supporting copy, HELPER TEXT under inputs (canon since 2026-07-08 — helper is persistent informative text, must be AA), the optional 'Volitelný' tag, labeled-divider section headers. 6.45:1 on white — AA. AVOID: body text (use --text-primary), field PLACEHOLDERS (use --text-placeholder — minted 2026-07-08 so a placeholder reads one step quieter than the label/value it sits between), disabled text (use --disabled-foreground). */
278
+ --text-placeholder: var(--ds-claudy-400); /* 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 placeholders (format examples like '12345678'), empty-value hints inside inputs, UNIT SUFFIXES (Kč, %, ks — decorative-duplicated, see WCAG note), the EM-DASH standing in for an empty table cell (decorative-duplicated, see WCAG note). AVOID: helper text (use --text-secondary — persistent informative copy, must be AA), disabled content (use --disabled-foreground), labels and the optional 'Volitelný' tag (use --text-secondary), ANY standalone informative text. Pair: --text-primary (the value it becomes once filled), --text-secondary (the label above it). ⚠️ WCAG: claudy/400 on white = 2.71:1 — below AA and AA-Large; ACCEPTED for THREE decorative-duplicated roles: (1) placeholders (owner 2026-07-08, retuned same day from claudy/500 — 'lighter than disabled text') — transient AND duplicated by the floating label (AA); (2) UNIT SUFFIXES (owner 2026-07-19) — the unit (Kč/%/ks) is a short known glyph subordinate to the AA value it annotates, its meaning carried by the field's accessible name (aria-describedby, e.g. 'Částka v korunách'), so like the placeholder it is decorative-duplicated, not the sole information carrier. (3) the EM DASH in an empty TABLE cell (owner 2026-09-03, table.manifest.json → chrome.empty-cell) — the dash carries nothing the absence does not already carry, so a reader who cannot make it out sees an empty cell and reads the identical fact; it is a courtesy mark so the cell does not read as a rendering failure, never the information itself. These are the ONLY legitimate consumers of the light-gray tier that killed --text-tertiary (whose consumers were all informative). Added 2026-07-08; unit role added 2026-07-19. */
279
+ --text-tertiary: var(--ds-claudy-600); /* 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 consumer was informative, not decorative, so it was retired. All consumers moved to --text-secondary (placeholders, optional 'Volitelný' tags, unit suffixes, labeled-divider headers, Action Row meta). Retargeted to claudy/600 (== --text-secondary) so any unmigrated straggler renders readable. Kept as an alias for published-library / prod compat; remove next major. Same deprecation pattern as the status -bg / -bg-foreground / -border aliases below. */
280
+ --text-inverted: var(--ds-white); /* 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 backgrounds (use --text-primary). */
281
+ --text-inverted-secondary: var(--ds-blue-200); /* 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 on --bg-inverse (a register line under a heading in dark page chrome, secondary copy in a dark micro-surface). 7.10:1 on --bg-inverse — AA at any size. AVOID: text on light surfaces (use --text-secondary), the primary line on a dark surface (use --text-inverted), tinted BACKGROUNDS (that is --secondary-soft, the same pigment in its background role). Pair: --text-inverted, --bg-inverse. */
282
+ --text-link: var(--ds-blue-700); /* 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: --text-link-hover. Inherits from --secondary hex by convention (both moved blue/600 → blue/700, owner 2026-07-31). WCAG: blue/700 on white = 5.93:1 (AA), 5.59:1 on --bg-secondary — the old blue/600 was 4.45:1, a hair under AA, covered by an underline-based exception this move retires for links on white. */
283
+ --text-link-hover: var(--ds-blue-800); /* 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.) */
284
+ --outline-default: var(--ds-claudy-200); /* 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 of a disabled Chip / Filter Chip / Checkbox / Radio / Card Select. The most-used UI border. AVOID: focus state (use --outline-focus), selected/emphasis (use --outline-strong), disabled fills (use --disabled-control), colored/semantic borders (use the family base for strong, --X-subtle-border for soft). Covers cards AND inputs (no separate --outline-input). WCAG: claudy/200 on white = 1.32:1 — below the non-text 3:1 floor; ACCEPTED (owner 2026-07-08): the border is never the SOLE boundary cue (floating label + fill + placeholder identify the field) — industry-standard practice. */
285
+ --outline-strong: var(--ds-claudy-300); /* 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 — both render). AVOID: default borders (use --outline-default), focus ring (use --outline-focus), colored borders. Stronger than default, lighter than focus. WCAG: claudy/300 on white = 1.73:1 — below the non-text 3:1 floor; ACCEPTED (owner 2026-07-08): same rationale as --outline-default — the border is never the sole boundary cue. */
286
+ --outline-focus-inverse: var(--ds-white); /* 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 here, against 2.12:1 for --outline-focus) and --secondary-solid fills such as a Promo Surface panel at Surface=Solid (4.45:1 here, against 1.00:1 for --outline-focus, which is the SAME hex as that fill and therefore invisible on it). AVOID: any light ground (use --outline-focus), resting borders (use the --outline-* structural family). Geometry is unchanged — offset ring, --border-width-200, radius one step up per spec/06-patterns/focus-ring.md; only the colour swaps with the surface. Pair: --bg-inverse, --secondary-solid, --text-inverted. */
287
+ --outline-focus: var(--ds-blue-600); /* 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: as a resting/default border, as a fill. Same hex as --secondary-solid, --status-info and --brand-secondary — no longer --secondary or --text-link, which both moved to blue/700 on 2026-07-31 while the focus ring deliberately stayed on blue/600. Adjacency with --outline-strong is fine: the ring renders with a 2px OFFSET on --bg-primary (blue/600 on white = 4.45:1, clears the 3:1 non-text floor there), never flush against the resting border — the offset gap keeps the two from touching. */
288
+ --disabled: var(--ds-claudy-100); /* 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 new work. Removal planned for 0.14.0, once production confirms it has migrated to --disabled-control. */
289
+ --disabled-control: var(--ds-claudy-100); /* 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, Card Select. AVOID: active controls, default surfaces, body text, disabled FIELDS (Text Field, Textarea, Number Field, Unit Field, Select Field — use --disabled-background), read-only FIELDS (use --bg-readonly), GHOST buttons (ghost has no surface — only dim its text via --disabled-foreground), a genuinely solid disabled control (use --disabled-inverse). Pair: --disabled-foreground for text on top — 4.08:1, fails AA-Normal, passes AA-Large; WCAG exempts disabled controls from contrast minimums. NOT tied to any role. */
290
+ --disabled-background: var(--ds-claudy-50); /* 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 surface retunes independently of the app-shell tint (wash-alpha agenda). USE: fill of a field in State=Disabled, with an --outline-default border (same weight as the field's own Default rest border) and --disabled-foreground content (value, label, unit, glyphs — 4.16:1, exempt; empty value → en dash '–'). AVOID: disabled buttons and other non-field controls (use --disabled-control), static grouping surfaces and totals blocks (use --bg-secondary), read-only fields (use --bg-readonly — same value, different intent: not applicable vs informative). */
291
+ --disabled-foreground: var(--ds-claudy-500); /* 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 disabled field, disabled ghost-button text, inline disabled text. AVOID: text on active surfaces (use --text-primary / --text-secondary), placeholders on an ACTIVE field (use --text-placeholder). 4.08:1 on --disabled-control, 4.16:1 on --disabled-background (disabled field) — fails AA-Normal, passes AA-Large. WCAG exempts disabled controls from contrast minimums. Same primitive (claudy/500) as --icon-muted — distinct intents: 'disabled control' here vs a quiet affordance glyph on an active field there. --text-placeholder sits one step lighter (claudy/400). */
292
+ --disabled-inverse: var(--ds-claudy-300); /* 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 genuinely solid disabled control. Pair: a white/light glyph on top. AVOID: soft-surface disabled (use --disabled-control) and disabled text (use --disabled-foreground). NB: Chip's disabled checkbox is muted with --bg-secondary + --outline-default, not this token. */
293
+ --status-info: var(--ds-blue-600); /* 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), soft callout edges (use --status-info-subtle-border), white-text fills (use --status-info-solid). Pair: --status-info-solid (fill), --status-info-subtle + -tint-foreground (callouts). Same hex as --secondary-solid / --outline-focus / --brand-secondary — NOT --secondary, which moved to blue/700 on 2026-07-31; context disambiguates. WCAG: as icon/border ink on white = 4.45:1 — clears the non-text 3:1 floor (info base keeps inline-icon use; success/warning bases do not). */
294
+ --status-info-solid: var(--ds-blue-600); /* 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 callouts (use --status-info-subtle). blue/600 + white = 4.45:1 — borderline (AA-Large / icons; not AA-Normal small text); solid exists for API symmetry. Pair: --status-info-foreground, --status-info-hover, --status-info-active. */
295
+ --status-info-hover: var(--ds-blue-700); /* 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). */
296
+ --status-info-active: var(--ds-blue-800); /* 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, :hover (use --status-info-hover). Ladder law: solid blue/600 → hover = solid+1 (blue/700) → active = solid+2 (blue/800). blue/800 + white = 7.53:1; as callout ink on -subtle (blue/100) = 6.53:1 — AA for callout body text. (Shifted blue/900 → blue/800 2026-07-08.) */
297
+ --status-info-foreground: var(--ds-white); /* 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 — borderline AA-Normal, safe for AA-Large and icons. */
298
+ --status-info-subtle: var(--ds-blue-100); /* 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-foreground, --status-info-subtle-border. (Renamed from --status-info-bg.) */
299
+ --status-info-soft: var(--ds-blue-200); /* 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. */
300
+ --status-info-tint-foreground: var(--ds-blue-700); /* 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 white (use --text-link / --text-primary), and small body text on -soft. Contrast: blue/700 on -subtle (blue/100) = 5.16:1 (AA); on -soft (blue/200) = 4.46:1 — AA-Large only, so avoid small body text on -soft (prefer -subtle for body copy). Status tint-fg = 700 per the ladder law. (Renamed from --status-info-bg-foreground; shifted blue/900 → blue/700 2026-07-08.) */
301
+ --status-info-subtle-border: var(--ds-blue-300); /* 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), filled surfaces, text. Pair: --status-info-subtle. (Renamed from --status-info-border.) */
302
+ --status-success: var(--ds-green-500); /* 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 --status-success-solid ink instead (green/600 = 3.35:1, passes 3:1), mirroring the Alert 'icon ink → -solid' decision (2026-07-07). Also AVOID white-text fills (2.40:1 — use --status-success-solid), soft callout edges (use --status-success-subtle-border). Pair: --status-success-solid (icon/fill ink), --status-success-subtle + -tint-foreground (callouts). */
303
+ --status-success-solid: var(--ds-green-600); /* 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 — clears AA-Large / non-text UI (3:1) but not the 4.5:1 normal-text bar; FO white labels here are always ≥semibold (600), never thinner (see --status-success-foreground) — the legibility mitigation for this accepted sub-AA ratio. AVOID: small white body text, inline icons (use the brighter --status-success base), light callouts (use --status-success-subtle). Pair: --status-success-foreground, --status-success-hover, --status-success-active. */
304
+ --status-success-hover: var(--ds-green-700); /* 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). */
305
+ --status-success-active: var(--ds-green-800); /* 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). */
306
+ --status-success-foreground: var(--ds-white); /* 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-Large / non-text UI (3:1) but not the 4.5:1 normal-text bar; the always-≥semibold weight is the legibility mitigation for this accepted sub-AA ratio. AVOID: thin or small white text here; the brighter --status-success base (2.40:1, worse — never pair text there). */
307
+ --status-success-subtle: var(--ds-green-100); /* 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. Pair: --status-success-tint-foreground, --status-success-subtle-border. (Renamed from --status-success-bg.) */
308
+ --status-success-soft: var(--ds-green-200); /* 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. */
309
+ --status-success-tint-foreground: var(--ds-green-700); /* 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 on --bg-primary). AVOID: text on filled --status-success-solid (use --status-success-foreground). Contrast: AA on -subtle (green/700 on green/100 = 4.6:1); on -soft (green/200) = 4.1:1 — AA-Large only, so avoid small body text on -soft (prefer -subtle for body copy). (Renamed from --status-success-bg-foreground.) */
310
+ --status-success-subtle-border: var(--ds-green-300); /* 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. AVOID: outlined-button edges (use --status-success base — stronger), filled surfaces, text. Pair: --status-success-subtle. (Renamed from --status-success-border.) */
311
+ --status-warning: var(--ds-orange-warning); /* 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 AND -solid orange/500 = 2.37:1, both below the non-text 3:1 floor; render warning icons on a --status-warning-subtle tint with dark ink (--status-warning-foreground orange/950) or pair with text, never a lone orange glyph on white. Also AVOID primary CTAs (use --primary even though similar hex), white-text fills (2.30:1 — use --status-warning-solid), soft callout edges (use --status-warning-subtle-border). Pair: --status-warning-solid (AA-safe fill + DARK -foreground), --status-warning-subtle + -tint-foreground (callouts). Same hex as --brand-primary; context disambiguates. */
312
+ --status-warning-solid: var(--ds-orange-500); /* 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-foreground, which is DARK text — orange/500 + orange/950 = 6.57:1 (AA). White is NOT used on warning (white on orange/500 = 2.37:1, and white on ANY legible orange fails; the industry pairs DARK text with bright orange). AVOID: white text here, light callouts (use --status-warning-subtle). Pair: --status-warning-foreground (dark). */
313
+ --status-warning-hover: var(--ds-orange-600); /* 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 law: solid orange/500 → hover = solid+1 (orange/600) → active = solid+2 (orange/700). Warning carries a DARK foreground: orange/950 on this hover fill = 4.91:1 (AA); orange/600 as a border on white = 3.17:1 (non-text 3:1). (Shifted orange/800 → orange/600 2026-07-08 — the orange v2 dark-end repair retired the old scale-ceiling exception.) */
314
+ --status-warning-active: var(--ds-orange-700); /* 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 (use --status-warning-hover). Ladder law: active = solid+2 (orange/700). orange/700 + white = 6.77:1; as callout/link ink on -subtle (orange/100) = 5.99:1 (AA). Note: on the pressed fill itself the DARK orange/950 foreground drops to 2.30:1 — a transient pressed moment on a rare filled warning control, documented honestly. (Shifted orange/800 → orange/700 2026-07-08 — the orange v2 dark-end repair retired the old 'scale ends at 800, pressed reuses hover' exception.) */
315
+ --status-warning-foreground: var(--ds-orange-950); /* 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 hover fill = 4.91:1 (AA). Rationale: orange is too light for white text without darkening the fill to brown, so warning uniquely uses a DARK foreground (info/success/danger/violet keep white). AVOID: white here (fails AA on any vivid orange). (Value darkened via the orange v2 repair — orange/950 #401b0d → #3b1b0e; ratio 6.42 → 6.57.) */
316
+ --status-warning-subtle: var(--ds-orange-100); /* 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-foreground, --status-warning-subtle-border. (Renamed from --status-warning-bg.) */
317
+ --status-warning-soft: var(--ds-orange-200); /* 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. */
318
+ --status-warning-tint-foreground: var(--ds-orange-700); /* 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). Contrast: orange/700 on -subtle (orange/100) = 5.99:1 (AA), on -soft (orange/200) = 5.29:1 (AA) — both clear AA now that orange/700 is the darker v2 #8f480e (was #b35223: 4.5 borderline / 3.9 AA-Large-only; those caveats removed). Status tint-fg = 700 per the ladder law. (Renamed from --status-warning-bg-foreground.) */
319
+ --status-warning-subtle-border: var(--ds-orange-300); /* 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), filled surfaces, text. Pair: --status-warning-subtle. (Renamed from --status-warning-border.) */
320
+ --status-danger: var(--ds-red-600); /* 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: primary CTAs (use --primary), informational icons (use --status-info), soft callout edges (use --status-danger-subtle-border). Pair: --status-danger-solid (fill), --status-danger-subtle + -tint-foreground (callouts). red/600 clears AA with white (4.61:1 — a narrow pass, 0.11 above the 4.5:1 minimum); --status-danger-solid deliberately stays one step darker (red/700) for a safer filled-surface margin. (Shifted from red/700 2026-07-07.) */
321
+ --status-danger-solid: var(--ds-red-700); /* 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). AVOID: inline error icons (use --status-danger base — now a lighter red/600, no longer the same hex), light callouts (use --status-danger-subtle). No longer equal to base: base moved to red/600 (4.61:1, a narrow AA pass) while solid holds red/700 for a safer margin on filled surfaces. Pair: --status-danger-foreground, --status-danger-hover, --status-danger-active. (base/solid diverged 2026-07-07 — previously both red/700.) */
322
+ --status-danger-hover: var(--ds-red-800); /* 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). */
323
+ --status-danger-active: var(--ds-red-900); /* 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). */
324
+ --status-danger-foreground: var(--ds-white); /* 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-foreground). AA-pass (6.22:1 on red/700). */
325
+ --status-danger-subtle: var(--ds-red-100); /* 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-danger-tint-foreground, --status-danger-subtle-border. (Renamed from --status-danger-bg; 2026-07-07: briefly red/50 while the old heavy tints were live; back to the family-standard /100 after the red v2 realignment.) */
326
+ --status-danger-soft: var(--ds-red-200); /* 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. (2026-07-07: back to the family-standard /200 after the red v2 realignment — briefly red/100 while the old heavy tints were live.) */
327
+ --status-danger-tint-foreground: var(--ds-red-700); /* 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: red/700 on -subtle (red/100) = 5.42:1 (AA); on -soft (red/200) = 4.68:1 (AA). (Renamed from --status-danger-bg-foreground; shifted red/900→red/700 2026-07-07 — no longer equal to --status-danger-active.) */
328
+ --status-danger-subtle-border: var(--ds-red-300); /* 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-button edges (use --status-danger base — stronger), filled surfaces, text. Pair: --status-danger-subtle. (Renamed from --status-danger-border.) */
329
+ --status-violet: var(--ds-violet-500); /* 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 for fills. AVOID: soft callout edges (use --status-violet-subtle-border), a generic accent (violet is reserved for the upcoming/future status). Pair: --status-violet-solid (fill), --status-violet-subtle + -tint-foreground (callouts). violet/500 + white = 6.14:1 (AA). */
330
+ --status-violet-solid: var(--ds-violet-500); /* 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 == solid — violet/500 + white clears AA at 6.14:1, so no darker solid step is needed). AVOID: inline icons where the base reads fine, light callouts (use --status-violet-subtle). Pair: --status-violet-foreground, --status-violet-hover, --status-violet-active. */
331
+ --status-violet-hover: var(--ds-violet-600); /* 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. */
332
+ --status-violet-active: var(--ds-violet-700); /* 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 --status-violet-solid), hover (use --status-violet-hover). Ladder law: solid violet/500 → hover = solid+1 (violet/600) → active = solid+2 (violet/700). violet/700 + white = 9.45:1; on -subtle (violet/100) = 7.88:1; on -soft (violet/200) = 6.30:1 — all AA. (Shifted violet/800 → violet/700 2026-07-08, enabled by the violet/600 scale repair that made 500→600→700 two even steps.) */
333
+ --status-violet-foreground: var(--ds-white); /* 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.14:1 — clears AA including normal text. */
334
+ --status-violet-subtle: var(--ds-violet-100); /* 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 (use --status-violet-solid), text/icon fills. Pair: --status-violet-tint-foreground, --status-violet-subtle-border. */
335
+ --status-violet-soft: var(--ds-violet-200); /* 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. */
336
+ --status-violet-tint-foreground: var(--ds-violet-700); /* 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-foreground). Contrast: violet/700 on -subtle (violet/100) = 7.88:1 (AAA); on -soft (violet/200) = 6.30:1 (AA). Status tint-fg = 700 per the ladder law. (Shifted violet/900 → violet/700 2026-07-08 — now equal to --status-violet-active.) */
337
+ --status-violet-subtle-border: var(--ds-violet-300); /* 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), filled surfaces, text. Pair: --status-violet-subtle. */
338
+ --notification-dot: var(--ds-red-600); /* 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/trigger. AVOID: errors & validation (use --status-danger — same red/600 hex, different meaning), the in-list 'this item is new' unread marker (that is brand orange --primary), text, borders. Pair: sits on --bg-primary / header surfaces; the bell icon + its accessible name carry the meaning. Note: decorative non-text status marker (the 3:1 non-text floor does not gate a redundant indicator reinforced by icon + a11y label). Deliberately a DISTINCT semantic from --status-danger even though it reuses red/600, so a future notification-colour change never touches error styling. Minted 2026-07-13 for the notification bell. */
339
+ --brand-primary: var(--ds-orange-warning); /* 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 elements (use --primary even though hex matches today). Pair: --brand-primary-hover. Separate from --primary so a marketing rebrand can change without touching in-product. */
340
+ --brand-primary-hover: var(--ds-orange-600); /* Hover for marketing CTAs using brand orange. USE: :hover of marketing-context brand orange buttons/links. AVOID: in-product CTAs (use --primary-hover). */
341
+ --brand-secondary: var(--ds-blue-600); /* 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-secondary-hover. */
342
+ --brand-secondary-hover: var(--ds-blue-700); /* Hover for marketing CTAs using brand blue. USE: :hover of marketing-context brand blue buttons/links. AVOID: in-product (use --secondary-hover). */
343
+ --status-info-bg: var(--ds-blue-100); /* 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. */
344
+ --status-info-bg-foreground: var(--ds-blue-700); /* 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.) */
345
+ --status-info-border: var(--ds-blue-300); /* DEPRECATED — renamed to --status-info-subtle-border. Kept for prod compatibility; do NOT use in new work. */
346
+ --status-success-bg: var(--ds-green-100); /* DEPRECATED — renamed to --status-success-subtle. Kept for prod compatibility; do NOT use in new work. */
347
+ --status-success-bg-foreground: var(--ds-green-700); /* DEPRECATED — renamed to --status-success-tint-foreground. Kept for prod compatibility; do NOT use in new work. */
348
+ --status-success-border: var(--ds-green-300); /* DEPRECATED — renamed to --status-success-subtle-border. Kept for prod compatibility; do NOT use in new work. */
349
+ --status-warning-bg: var(--ds-orange-100); /* DEPRECATED — renamed to --status-warning-subtle. Kept for prod compatibility; do NOT use in new work. */
350
+ --status-warning-bg-foreground: var(--ds-orange-700); /* DEPRECATED — renamed to --status-warning-tint-foreground. Kept for prod compatibility; do NOT use in new work. */
351
+ --status-warning-border: var(--ds-orange-300); /* DEPRECATED — renamed to --status-warning-subtle-border. Kept for prod compatibility; do NOT use in new work. */
352
+ --status-danger-bg: var(--ds-red-100); /* 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.) */
353
+ --status-danger-bg-foreground: var(--ds-red-700); /* 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.) */
354
+ --status-danger-border: var(--ds-red-300); /* DEPRECATED — renamed to --status-danger-subtle-border. Kept for prod compatibility; do NOT use in new work. */
355
+ /* semantic/duration */
356
+ --duration-instant: var(--ds-duration-instant); /* 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 transitions (reads as a jump), any spatial movement (no time to register the motion). */
357
+ --duration-fast: var(--ds-duration-fast); /* 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-standard for in-place state. AVOID: large spatial moves like a slide-in panel (use --duration-normal / --duration-slow), modal enters. */
358
+ --duration-normal: var(--ds-duration-normal); /* 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-enter for dropdowns). AVOID: very large paths (looks vague — use --duration-slow), hover/focus (looks delayed — use --duration-fast). */
359
+ --duration-slow: var(--ds-duration-slow); /* 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, --easing-exit for out. AVOID: hover/focus (far too slow — use --duration-fast/instant), state toggles (use --duration-instant). */
360
+ --duration-hover: var(--ds-duration-fast); /* 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 across all hoverable components keeps hover speed uniform on a screen (the anti-pattern is three hoverable controls at three speeds). AVOID: anything that moves (use --duration-normal), focus rings (use --duration-instant). */
361
+ --duration-press: var(--ds-duration-instant); /* 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: a press must feel like contact, so it is one step faster than hover; naming it keeps press and hover distinct instead of both reading 'fast'. AVOID: hover (use --duration-hover), release-to-selected animations (use --duration-toggle). */
362
+ --duration-toggle: var(--ds-duration-instant); /* 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 / visibility change the user just caused with a click, so it reads best as immediate. AVOID: the switch knob travel and any other spatial move (use --duration-normal — the knob slides, the tick does not), hover (use --duration-hover). */
363
+ --duration-spin: var(--ds-duration-loop-fast); /* 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 Group, Combobox, File Upload, Subject Lookup «Searching». AVOID: any transition that ends; a determinate progress fill (Progress Bar uses --duration-normal). WHY: one speed for every spinner, so loading reads the same everywhere; 900ms turns calmly without looking stuck (owner A/B 2026-11-03). Under reduced motion it keeps turning: a wait that stops looks frozen. */
364
+ --duration-pulse: var(--ds-duration-loop-slow); /* 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 transition. WHY: replaces the raw 2s in the Skeleton manifest; a slow pulse says loading without flicker. Under reduced motion the pulse softens, never stops. */
365
+ --duration-counter: var(--ds-duration-long); /* 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» total. AVOID: any transition (use the instant…slow steps), loaders (use --duration-spin / --duration-pulse). WHY: the count must be long enough to read as counting and short enough that the final number lands before the eye moves on; Storybook shipped 800ms, the owner target is 600ms (2026-11-05). Under reduced motion the final number shows at once. */
366
+ --duration-draw: var(--ds-duration-extra-long); /* 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 the check of the Success modal — ring stroke, burst with sparks, then the tick. AVOID: any transition (use the instant…slow steps), a count-up (use --duration-counter), loaders (use --duration-spin / --duration-pulse). WHY: three overlapping phases need more room than the 600ms of long to read as a draw rather than a flash; one name keeps every drawn confirmation at the same tempo (owner decision 2026-11-17). Under reduced motion the finished glyph shows at once. */
367
+ /* semantic/easing */
368
+ --easing-standard: var(--ds-easing-standard); /* 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. Pair with any --duration-*. AVOID: when direction matters — appearing elements use --easing-enter, disappearing use --easing-exit. */
369
+ --easing-enter: var(--ds-easing-enter); /* 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 (tooltips), --duration-normal (dropdowns), --duration-slow (modals). AVOID: hover states (use --easing-standard), exiting elements (use --easing-exit). */
370
+ --easing-exit: var(--ds-easing-exit); /* 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. Pair with --duration-fast/normal/slow to match the entrance. AVOID: entering elements (use --easing-enter), in-place state changes (use --easing-standard). */
371
+ --easing-linear: var(--ds-easing-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: any UI transition (feels mechanical/robotic), hover effects, modal motion — always use a curve there. */
372
+ /* semantic/font-family */
373
+ --font-body: var(--ds-font-family-inter); /* 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: headings and display (use --font-heading), decorative accents (use --font-decorative). Never mix with --font-heading inside a single run of UI text. */
374
+ --font-heading: var(--ds-font-family-poppins); /* 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 of face. */
375
+ --font-decorative: var(--ds-font-family-caveat); /* 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 --font-body) — it is an accent, not a workhorse. */
376
+ /* semantic/font-size */
377
+ --font-size-xxs: var(--ds-font-size-xxs); /* 12px. Smallest legible UI text — compact labels, table column meta, legal fine print. Verify contrast at 4.5:1 minimum at this size. */
378
+ --font-size-xs: var(--ds-font-size-xs); /* 13px. Microcopy, secondary metadata in lists, footer text. */
379
+ --font-size-sm: var(--ds-font-size-sm); /* 14px. Small body — secondary content, captions, dense tables. AA on white at body weight. */
380
+ --font-size-base: var(--ds-font-size-base); /* 16px. Default body size. Form labels, primary body text, button text. Anchor of the scale. */
381
+ --font-size-md: var(--ds-font-size-md); /* 18px. Comfortable reading body — long-form content, marketing intros. */
382
+ --font-size-lg: var(--ds-font-size-lg); /* 20px. Lead paragraph, large body for emphasis. Standalone callouts. */
383
+ --font-size-xl: var(--ds-font-size-xl); /* 22px. Subheading body for marketing layouts. */
384
+ --font-size-xxl: var(--ds-font-size-xxl); /* 24px. Page-level subheadings and section openers. */
385
+ --font-size-3xl: var(--ds-font-size-3xl); /* 26px. H1 default for app pages — the title that orients the user. */
386
+ --font-size-4xl: var(--ds-font-size-4xl); /* 32px. Strong page hero heading. Marketing pages, dashboard top-of-page emphasis. */
387
+ --font-size-5xl: var(--ds-font-size-5xl); /* 40px. Marketing hero. Significant emphasis above the fold. */
388
+ --font-size-6xl: var(--ds-font-size-6xl); /* 48px. Largest defined size — for the biggest display heading on marketing surfaces. Use sparingly. */
389
+ --font-size-heading-h1: var(--ds-font-size-heading-h1); /* Page H1 (26px desktop). Use once per page for the title. Responsive to 24px on mobile when responsive block is enabled. */
390
+ --font-size-heading-h2: var(--ds-font-size-heading-h2); /* Major section opener (24px desktop). */
391
+ --font-size-heading-h3: var(--ds-font-size-heading-h3); /* Sub-section grouping (22px desktop). Logical groupings within a section. */
392
+ --font-size-heading-h4: var(--ds-font-size-heading-h4); /* Tertiary heading (18px desktop). Card titles, small section openers. */
393
+ --font-size-heading-h5: var(--ds-font-size-heading-h5); /* Smallest semantic heading (16px desktop). Inline group labels, eyebrow prefixes. */
394
+ --font-size-display-d1: var(--ds-font-size-display-d1); /* Largest display (48px desktop). Marketing hero, landing page above-fold. NOT for in-app screens. */
395
+ --font-size-display-d2: var(--ds-font-size-display-d2); /* Strong display (40px desktop). Below D1, for sub-hero blocks. */
396
+ --font-size-display-d3: var(--ds-font-size-display-d3); /* Smaller display (32px desktop). Section heroes within long marketing pages. */
397
+ /* semantic/font-weight */
398
+ --font-weight-light: var(--ds-font-weight-light); /* Light weight. Reserved for very large display sizes (D1/D2) where regular reads heavy. Never on body text. */
399
+ --font-weight-normal: var(--ds-font-weight-normal); /* Body weight anchor. Default everywhere — all body text and UI labels start here. */
400
+ --font-weight-medium: var(--ds-font-weight-medium); /* Slight emphasis — labels, button text, active nav items. Less heavy than semibold. */
401
+ --font-weight-semibold: var(--ds-font-weight-semibold); /* Standard heading weight. H4–H5, strong inline emphasis, primary CTAs. */
402
+ --font-weight-bold: var(--ds-font-weight-bold); /* Strong heading weight. H1–H3 in product UI, brand emphasis. */
403
+ --font-weight-black: var(--ds-font-weight-black); /* Maximum weight. Display headings on marketing layouts only. Avoid in product UI — reads as shouting. */
404
+ /* semantic/line-height */
405
+ --leading-compact: var(--ds-leading-compact); /* 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. */
406
+ --leading-tight: var(--ds-leading-tight); /* Heading H1–H4 — 18 to 26px. Moderate leading, balances heading prominence with readability. */
407
+ --leading-relaxed: var(--ds-leading-relaxed); /* Default body — H5, Body XL / L / M / XXS. Comfortable reading rhythm for paragraphs and form text. */
408
+ --leading-loose: var(--ds-leading-loose); /* Small body — Body S (14) + XS (13). Extra leading at small sizes so the eye finds the next line cleanly. Also long-form prose. */
409
+ --leading-extra-loose: var(--ds-leading-extra-loose); /* LEGACY — preserved for production parity. Avoid in new work; normalize to a ratio after grep audit. */
410
+ /* semantic/radius */
411
+ --radius-0: var(--ds-radius-0); /* No radius. Tables, structural rectangles, dense data grids where corners must read as right angles. */
412
+ --radius-100: var(--ds-radius-100); /* Hairline radius. Inline chips, micro-tags within dense UI. */
413
+ --radius-200: var(--ds-radius-200); /* Small radius. Default for inputs, small buttons, badges, input controls — the most common UI radius. */
414
+ --radius-300: var(--ds-radius-300); /* Medium-small radius. Secondary buttons, compact cards, segmented controls. */
415
+ --radius-400: var(--ds-radius-400); /* Default radius for cards and panels. Provides clear corner softness without reading as decorative. */
416
+ --radius-500: var(--ds-radius-500); /* Larger card radius. Featured cards, marketing surfaces, callout blocks. */
417
+ --radius-600: var(--ds-radius-600); /* Strong radius. Hero blocks, large dialog containers. */
418
+ --radius-700: var(--ds-radius-700); /* 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. */
419
+ --radius-800: var(--ds-radius-800); /* Largest non-pill radius. Soft hero surfaces, premium UI moments. */
420
+ --radius-full: var(--ds-radius-full); /* Full radius — pills and circles. Avatars, status dots, fully-rounded buttons. NOT for rectangular containers. */
421
+ /* semantic/shadow */
422
+ --shadow-raised: var(--ds-shadow-100); /* 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 shadow). */
423
+ --shadow-overlay: var(--ds-shadow-200); /* 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 modal), in-flow cards at rest (use a border, not a shadow). */
424
+ --shadow-modal: var(--ds-shadow-300); /* 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. Never a hover state — too heavy for transient interaction. */
425
+ /* semantic/size */
426
+ --size-icon-2xsmall: var(--ds-size-14); /* 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 0.9px and the glyph blurs. */
427
+ --size-icon-xsmall: var(--ds-size-16); /* 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. */
428
+ --size-icon-small: var(--ds-size-20); /* Small icon slot box (20px) — the icon slot of small field shells and Small-size controls. */
429
+ --size-icon: var(--ds-size-24); /* Default icon slot box (24px) — the Icon master is 24, so this is the slot every control uses unless its size row says otherwise. */
430
+ --size-icon-large: var(--ds-size-32); /* Icon slot box of the largest controls (32px) — Button XL, Icon Button XL. The ceiling of the icon range; larger is an illustration. */
431
+ --size-icon-display: var(--ds-size-64); /* 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. */
432
+ --size-illustration-spot: var(--ds-size-48); /* Spot / Section illustration box next to a heading (48px) — Heading Group, form-section headings, the Hero format mark. */
433
+ --size-illustration-section: var(--ds-size-40); /* Section illustration box next to a heading on a narrow screen (40px) — the Form Block header at Mobile (Heading Group Picture=40). */
434
+ --size-illustration-card: var(--ds-size-80); /* Card Select illustration box (80px) — the picture inside a selectable card. */
435
+ --size-illustration-empty: var(--ds-size-140); /* Illustration / Big box in a list's empty state (140px) — the Table empty state. */
436
+ --size-illustration-person: var(--ds-size-200); /* A People character set into a panel (200px) — the Callout Info person, XL · LG · MD. */
437
+ --size-illustration-page: var(--ds-size-300); /* 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-empty (140). */
438
+ /* semantic/spacing */
439
+ --space-0: var(--ds-space-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. */
440
+ --space-100: var(--ds-space-100); /* Hairline gap on the micro-grid (2px). Reserved for nudging chip insets, tag pills, very tight inline elements where 4px reads too loose. */
441
+ --space-200: var(--ds-space-200); /* 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 popover/dropdown surface's own vertical padding and the section gap between row groups (spec/06-patterns/popover-patterns.md). Do NOT use for stacked block-level spacing in page or form content — pick --space-400 (8px) or higher. */
442
+ --space-300: var(--ds-space-300); /* 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. */
443
+ --space-400: var(--ds-space-400); /* Base 4-grid step (8px). Default gap for stacked inline items, form-field label-to-input spacing, button icon-to-text spacing. */
444
+ --space-450: var(--ds-space-450); /* LEGACY off-grid (10px). Avoid in new work. Replace with --space-400 or --space-500 in callers; slated for retirement. */
445
+ --space-500: var(--ds-space-500); /* Mid 4-grid step (12px). Default gap for stacked form fields, secondary content padding, badge vertical padding. */
446
+ --space-600: var(--ds-space-600); /* Most common spacing in UI (16px). Card internal padding, section gap on dense pages, modal content padding. */
447
+ --space-700: var(--ds-space-700); /* 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-section spacing (use --space-800 and up). */
448
+ --space-800: var(--ds-space-800); /* Section padding default (24px). Vertical gap between page sections, card external margin in lists, modal outer padding. */
449
+ --space-900: var(--ds-space-900); /* Strong section break (32px). Large card padding, hero block internal spacing, page-level vertical rhythm. */
450
+ --space-1000: var(--ds-space-1000); /* Page-level large gap (40px). Between major page sections, between header/footer and content. */
451
+ --space-1100: var(--ds-space-1100); /* Larger page rhythm (48px). Top/bottom of long-form content sections; below page H1. */
452
+ --space-1200: var(--ds-space-1200); /* Large section spacing (64px). Hero section vertical padding, section vertical padding at MD, dramatic separation between distinct page regions. */
453
+ --space-1300: var(--ds-space-1300); /* 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. */
454
+ /* semantic/spring */
455
+ --spring-standard: var(--ds-spring-normal); /* 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 toggle again or dismiss before it lands. AVOID: colour and hover / press washes (use --duration-hover / --duration-press + --easing-standard), loaders (--easing-linear), full-height surfaces and content reflow (use --spring-gentle). WHY separate from --duration-normal: same 200ms look, but a reversed hover or a double toggle turns around without a jerk. bounce 0 — FO motion never overshoots. */
456
+ --spring-gentle: var(--ds-spring-slow); /* 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. USE: transform of a full-height or full-width surface, including gesture-driven open / close; the layout shift of content around an added or removed item (motion-system.md → Calm motion). AVOID: the scrim fade (--bg-overlay stays on --duration-slow + --easing-enter / --easing-exit), small controls and anchored panels (use --spring-standard). WHY separate from --duration-slow: same 300ms look, but it carries the gesture's release velocity into the settle and survives a close halfway through. bounce 0 — FO motion never overshoots. */
457
+ /* semantic/text-wrap */
458
+ --text-wrap-heading: var(--ds-text-wrap-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 normal wrap, which is fine here since these roles run 1–3 lines by the type-ramp rule. AVOID: Body — length there is unpredictable (table cells, help text, dynamic content), so hitting the line cap would make the same role behave inconsistently depending on how much content lands in it. */
459
+ --text-wrap-body: var(--ds-text-wrap-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 unpredictable length. AVOID: Heading/Display — pretty only kills the trailing orphan, it does not even out line widths across the block the way balance does, so it under-delivers on short designed headlines. */
460
+ /* semantic/z-index */
461
+ --z-index-base: var(--ds-z-index-base); /* 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 its offset focus ring paints above the divider). AVOID: forcing content above overlays — reach for the right overlay layer instead. */
462
+ --z-index-dropdown: var(--ds-z-index-dropdown); /* Dropdown layer. USE: dropdown menus, autocomplete suggestions, select popovers — any temporary panel anchored to a trigger. AVOID: persistent UI (use sticky / fixed). */
463
+ --z-index-sticky: var(--ds-z-index-sticky); /* Sticky layer. USE: sticky table headers, pinned list rows, sticky filter bars on scroll. AVOID: the top navigation bar (use fixed). */
464
+ --z-index-fixed: var(--ds-z-index-fixed); /* Fixed layer. USE: fixed navigation bar, app-shell topbar, persistent bottom action bar. AVOID: transient overlays (use modal / popover). */
465
+ --z-index-modal-backdrop: var(--ds-z-index-modal-backdrop); /* 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). */
466
+ --z-index-modal: var(--ds-z-index-modal); /* Modal layer. USE: modal dialogs, side drawers acting as modals, confirmations; sits above its backdrop. AVOID: lightweight popovers (use popover). */
467
+ --z-index-popover: var(--ds-z-index-popover); /* Popover / tooltip layer. USE: tooltips, hover cards, popovers triggered above modals. AVOID: as the default for dropdowns (use dropdown). */
468
+ --z-index-toast: var(--ds-z-index-toast); /* Toast layer — the highest standard layer. USE: toast / snackbar notifications that must read above everything. AVOID: interaction-blocking dialogs (use modal). */
469
+ }
470
+
471
+ /* Responsive downscale — mobile mode (below the md breakpoint, 768px → max-width 767px). */
472
+ /* Overrides Layer-1 font-size primitives; semantic --font-size-* aliases inherit via var(). */
473
+ @media (max-width: 767px) {
474
+ :root {
475
+ --ds-font-size-heading-h1: 1.5rem;
476
+ --ds-font-size-heading-h2: 1.375rem;
477
+ --ds-font-size-heading-h3: 1.125rem;
478
+ --ds-font-size-heading-h4: 1rem;
479
+ --ds-font-size-heading-h5: 0.875rem;
480
+ --ds-font-size-display-d1: 2.5rem;
481
+ --ds-font-size-display-d2: 2rem;
482
+ --ds-font-size-display-d3: 1.625rem;
483
+ }
484
+ }