@jcsoftdev/ui 0.5.0 → 0.7.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 (392) hide show
  1. package/CHANGELOG.md +361 -0
  2. package/README.md +31 -5
  3. package/bin/ui-theme.mjs +40 -6
  4. package/dist/ai/code-block/code-block.js +1 -1
  5. package/dist/atoms/avatar/avatar.d.ts +6 -1
  6. package/dist/atoms/avatar/avatar.js +3 -2
  7. package/dist/atoms/big-date/big-date.js +2 -2
  8. package/dist/atoms/button/button.d.ts +6 -1
  9. package/dist/atoms/button/button.js +2 -2
  10. package/dist/atoms/chip/chip.d.ts +5 -0
  11. package/dist/atoms/chip/chip.js +3 -3
  12. package/dist/atoms/icon-button/icon-button.js +1 -1
  13. package/dist/atoms/internal/hit-area.d.ts +5 -4
  14. package/dist/atoms/internal/hit-area.js +1 -1
  15. package/dist/atoms/progress/index.d.ts +1 -1
  16. package/dist/atoms/progress/index.js +4 -1
  17. package/dist/atoms/progress/progress.d.ts +6 -1
  18. package/dist/atoms/progress/progress.js +19 -1
  19. package/dist/atoms/radio-group/radio-group.js +1 -1
  20. package/dist/atoms/status-pill/status-pill.d.ts +16 -5
  21. package/dist/atoms/status-pill/status-pill.js +43 -18
  22. package/dist/brand/logo-forge.js +1 -1
  23. package/dist/charts/candlestick-chart/candlestick-chart.js +2 -2
  24. package/dist/charts/chart-grid/chart-grid.js +2 -2
  25. package/dist/charts/chord-chart/chord-chart.js +1 -1
  26. package/dist/charts/core/axes.js +2 -2
  27. package/dist/charts/core/cartesian/annotations.js +2 -2
  28. package/dist/charts/core/cartesian/marks.js +1 -1
  29. package/dist/charts/core/distribution/marks.js +1 -1
  30. package/dist/charts/core/distribution/xy-points.js +1 -1
  31. package/dist/charts/core/export-menu.js +1 -1
  32. package/dist/charts/funnel-chart/funnel-chart.js +1 -1
  33. package/dist/charts/gantt-chart/gantt-chart.js +4 -4
  34. package/dist/charts/gantt-chart/gantt-marks.js +3 -3
  35. package/dist/charts/index.d.ts +2 -0
  36. package/dist/charts/index.js +2 -0
  37. package/dist/charts/maps/geo/map-data-table.js +1 -1
  38. package/dist/charts/polar-area-chart/polar-area-chart.js +1 -1
  39. package/dist/charts/radar-chart/radar-chart.js +1 -1
  40. package/dist/charts/stock-chart/stock-chart.js +1 -1
  41. package/dist/charts/stock-chart/stock-drawing-layer.js +3 -3
  42. package/dist/charts/stock-chart/stock-plot.js +2 -2
  43. package/dist/containers/chat-thread/chat-thread.d.ts +98 -0
  44. package/dist/containers/chat-thread/chat-thread.js +219 -0
  45. package/dist/containers/chat-thread/format.d.ts +20 -0
  46. package/dist/containers/chat-thread/format.js +50 -0
  47. package/dist/containers/chat-thread/index.d.ts +1 -0
  48. package/dist/containers/chat-thread/index.js +8 -0
  49. package/dist/containers/cols/cols.d.ts +1 -1
  50. package/dist/containers/cols/cols.js +7 -0
  51. package/dist/containers/comment/comment.js +1 -1
  52. package/dist/containers/context-rail/context-rail.d.ts +62 -0
  53. package/dist/containers/context-rail/context-rail.js +175 -0
  54. package/dist/containers/context-rail/index.d.ts +1 -0
  55. package/dist/containers/context-rail/index.js +6 -0
  56. package/dist/containers/dashboard/dashboard.d.ts +40 -0
  57. package/dist/containers/dashboard/dashboard.js +84 -0
  58. package/dist/containers/dashboard/index.d.ts +1 -0
  59. package/dist/containers/dashboard/index.js +14 -0
  60. package/dist/containers/data-grid/data-grid.demos.js +4 -4
  61. package/dist/containers/data-grid/data-grid.js +6 -6
  62. package/dist/containers/data-grid/filter-builder-editor.js +2 -2
  63. package/dist/containers/data-grid/grid-toolbar.js +1 -1
  64. package/dist/containers/data-grid/spreadsheet.demos.d.ts +1 -1
  65. package/dist/containers/data-grid/spreadsheet.demos.js +1 -1
  66. package/dist/containers/detail-header/detail-header.d.ts +24 -0
  67. package/dist/containers/detail-header/detail-header.js +32 -0
  68. package/dist/containers/detail-header/index.d.ts +1 -0
  69. package/dist/containers/detail-header/index.js +6 -0
  70. package/dist/containers/facts/facts.js +1 -1
  71. package/dist/containers/filter-bar/filter-bar.d.ts +58 -0
  72. package/dist/containers/filter-bar/filter-bar.js +123 -0
  73. package/dist/containers/filter-bar/index.d.ts +1 -0
  74. package/dist/containers/filter-bar/index.js +6 -0
  75. package/dist/containers/hbars/hbars.js +2 -2
  76. package/dist/containers/index.d.ts +9 -0
  77. package/dist/containers/index.js +9 -0
  78. package/dist/containers/kanban/kanban.d.ts +23 -2
  79. package/dist/containers/kanban/kanban.js +103 -21
  80. package/dist/containers/kanban/model.d.ts +12 -0
  81. package/dist/containers/kanban/model.js +8 -0
  82. package/dist/containers/kpi/kpi.js +1 -1
  83. package/dist/containers/kpi-group/kpi-group.d.ts +6 -1
  84. package/dist/containers/kpi-group/kpi-group.js +6 -2
  85. package/dist/containers/list-detail/index.d.ts +1 -1
  86. package/dist/containers/list-detail/index.js +4 -0
  87. package/dist/containers/list-detail/list-detail.d.ts +51 -3
  88. package/dist/containers/list-detail/list-detail.js +111 -15
  89. package/dist/containers/page/page.d.ts +17 -4
  90. package/dist/containers/page/page.js +33 -4
  91. package/dist/containers/page-header/back.d.ts +10 -0
  92. package/dist/containers/page-header/back.js +28 -0
  93. package/dist/containers/page-header/index.d.ts +1 -0
  94. package/dist/containers/page-header/index.js +1 -0
  95. package/dist/containers/page-header/page-header.d.ts +19 -2
  96. package/dist/containers/page-header/page-header.js +26 -2
  97. package/dist/containers/pagination/cursor-pagination.d.ts +28 -0
  98. package/dist/containers/pagination/cursor-pagination.js +48 -0
  99. package/dist/containers/pagination/index.d.ts +3 -0
  100. package/dist/containers/pagination/index.js +10 -0
  101. package/dist/containers/pagination/pagination.d.ts +52 -0
  102. package/dist/containers/pagination/pagination.js +216 -0
  103. package/dist/containers/pagination/range.d.ts +29 -0
  104. package/dist/containers/pagination/range.js +42 -0
  105. package/dist/containers/pagination/use-pagination.d.ts +18 -0
  106. package/dist/containers/pagination/use-pagination.js +22 -0
  107. package/dist/containers/responsive-list/responsive-list.d.ts +29 -3
  108. package/dist/containers/responsive-list/responsive-list.js +202 -82
  109. package/dist/containers/row-actions/index.d.ts +1 -0
  110. package/dist/containers/row-actions/index.js +4 -0
  111. package/dist/containers/row-actions/row-actions.d.ts +26 -0
  112. package/dist/containers/row-actions/row-actions.js +78 -0
  113. package/dist/containers/selectable-card/index.d.ts +1 -0
  114. package/dist/containers/selectable-card/index.js +6 -0
  115. package/dist/containers/selectable-card/selectable-card.d.ts +26 -0
  116. package/dist/containers/selectable-card/selectable-card.js +57 -0
  117. package/dist/containers/settings-layout/settings-layout.d.ts +24 -7
  118. package/dist/containers/settings-layout/settings-layout.js +63 -8
  119. package/dist/containers/shortcuts/shortcuts.js +1 -1
  120. package/dist/containers/table/cell-padding.d.ts +2 -0
  121. package/dist/containers/table/cell-padding.js +4 -0
  122. package/dist/containers/table/index.d.ts +1 -0
  123. package/dist/containers/table/index.js +8 -0
  124. package/dist/containers/table/sort.d.ts +14 -0
  125. package/dist/containers/table/sort.js +11 -0
  126. package/dist/containers/table/table-parts.d.ts +24 -0
  127. package/dist/containers/table/table-parts.js +52 -0
  128. package/dist/containers/table/table.d.ts +37 -3
  129. package/dist/containers/table/table.js +120 -19
  130. package/dist/containers/table-columns-menu/index.d.ts +1 -0
  131. package/dist/containers/table-columns-menu/index.js +6 -0
  132. package/dist/containers/table-columns-menu/table-columns-menu.d.ts +14 -0
  133. package/dist/containers/table-columns-menu/table-columns-menu.js +46 -0
  134. package/dist/dashboards/layout.d.ts +1 -27
  135. package/dist/dashboards/layout.js +8 -40
  136. package/dist/forms/chip-group/chip-group.d.ts +5 -0
  137. package/dist/forms/chip-group/chip-group.js +3 -1
  138. package/dist/forms/combobox/combobox.js +1 -1
  139. package/dist/forms/copy-field/copy-field.js +1 -1
  140. package/dist/forms/date-picker/date-picker.d.ts +3 -1
  141. package/dist/forms/date-picker/date-picker.js +4 -2
  142. package/dist/forms/date-picker/date-time-picker.d.ts +8 -2
  143. package/dist/forms/date-picker/date-time-picker.js +13 -2
  144. package/dist/forms/field/field.d.ts +9 -2
  145. package/dist/forms/field/field.js +18 -4
  146. package/dist/forms/fieldset/fieldset.d.ts +11 -0
  147. package/dist/forms/fieldset/fieldset.js +12 -0
  148. package/dist/forms/fieldset/index.d.ts +1 -0
  149. package/dist/forms/fieldset/index.js +4 -0
  150. package/dist/forms/form-footer/form-footer.d.ts +26 -0
  151. package/dist/forms/form-footer/form-footer.js +44 -0
  152. package/dist/forms/form-footer/index.d.ts +1 -0
  153. package/dist/forms/form-footer/index.js +4 -0
  154. package/dist/forms/form-grid/form-grid.d.ts +21 -4
  155. package/dist/forms/form-grid/form-grid.js +20 -3
  156. package/dist/forms/form-grid/index.d.ts +1 -1
  157. package/dist/forms/form-grid/index.js +6 -2
  158. package/dist/forms/form-section/form-section.d.ts +12 -0
  159. package/dist/forms/form-section/form-section.js +30 -0
  160. package/dist/forms/form-section/index.d.ts +1 -0
  161. package/dist/forms/form-section/index.js +4 -0
  162. package/dist/forms/index.d.ts +3 -0
  163. package/dist/forms/index.js +3 -0
  164. package/dist/forms/input/input.d.ts +6 -2
  165. package/dist/forms/input/input.js +4 -1
  166. package/dist/forms/internal/listbox-items.d.ts +1 -1
  167. package/dist/forms/internal/listbox-items.js +3 -2
  168. package/dist/forms/native-select/native-select.js +1 -1
  169. package/dist/forms/number-stepper/index.d.ts +1 -1
  170. package/dist/forms/number-stepper/number-stepper.d.ts +7 -0
  171. package/dist/forms/number-stepper/number-stepper.js +37 -6
  172. package/dist/forms/select/index.d.ts +1 -1
  173. package/dist/forms/select/select.d.ts +5 -2
  174. package/dist/forms/select/select.js +7 -2
  175. package/dist/forms/select-menu/select-menu.js +1 -1
  176. package/dist/forms/time-input/time-input.d.ts +4 -2
  177. package/dist/forms/time-input/time-input.js +3 -1
  178. package/dist/i18n/strings.d.ts +94 -0
  179. package/dist/i18n/strings.js +50 -0
  180. package/dist/motion/count-up.d.ts +20 -0
  181. package/dist/motion/count-up.js +59 -0
  182. package/dist/motion/cross-fade.d.ts +21 -0
  183. package/dist/motion/cross-fade.js +86 -0
  184. package/dist/motion/index.d.ts +5 -0
  185. package/dist/motion/index.js +14 -0
  186. package/dist/motion/model.d.ts +15 -0
  187. package/dist/motion/model.js +68 -0
  188. package/dist/motion/motion-styles.d.ts +1 -0
  189. package/dist/motion/motion-styles.js +35 -0
  190. package/dist/motion/reveal.d.ts +37 -0
  191. package/dist/motion/reveal.js +69 -0
  192. package/dist/motion/use-enter-phase.d.ts +11 -0
  193. package/dist/motion/use-enter-phase.js +40 -0
  194. package/dist/motion/use-highlight-row.d.ts +22 -0
  195. package/dist/motion/use-highlight-row.js +38 -0
  196. package/dist/navigation/tabs/tabs.js +1 -1
  197. package/dist/navigation/wizard/wizard.d.ts +4 -1
  198. package/dist/navigation/wizard/wizard.js +3 -0
  199. package/dist/overlays/alert-dialog/alert-dialog.js +8 -1
  200. package/dist/overlays/context-menu/context-menu.js +3 -1
  201. package/dist/overlays/dialog/dialog.d.ts +1 -0
  202. package/dist/overlays/dialog/dialog.js +11 -3
  203. package/dist/overlays/drawer/drawer.d.ts +18 -4
  204. package/dist/overlays/drawer/drawer.js +53 -4
  205. package/dist/overlays/drawer/index.d.ts +1 -1
  206. package/dist/overlays/dropdown-menu/dropdown-menu.d.ts +1 -1
  207. package/dist/overlays/dropdown-menu/dropdown-menu.js +5 -4
  208. package/dist/overlays/hover-card/hover-card.js +2 -0
  209. package/dist/overlays/popover/popover.js +2 -0
  210. package/dist/overlays/toaster/index.d.ts +1 -1
  211. package/dist/overlays/toaster/toast-store.d.ts +2 -0
  212. package/dist/overlays/toaster/toast-store.js +6 -1
  213. package/dist/overlays/toaster/toaster.d.ts +28 -2
  214. package/dist/overlays/toaster/toaster.js +86 -29
  215. package/dist/overlays/tooltip/tooltip.js +2 -0
  216. package/dist/primitives/use-presence.js +9 -0
  217. package/dist/shell/app-shell/app-shell.d.ts +8 -1
  218. package/dist/shell/app-shell/app-shell.js +50 -3
  219. package/dist/shell/index.d.ts +1 -0
  220. package/dist/shell/index.js +1 -0
  221. package/dist/shell/sidebar/sidebar.d.ts +17 -1
  222. package/dist/shell/sidebar/sidebar.js +126 -76
  223. package/dist/shell/topbar/topbar.d.ts +4 -2
  224. package/dist/shell/topbar/topbar.js +2 -0
  225. package/dist/showcase/operations-bento.js +2 -2
  226. package/dist/states/empty-state/empty-state.d.ts +10 -3
  227. package/dist/states/empty-state/empty-state.js +46 -5
  228. package/dist/states/error-state/error-state.js +1 -1
  229. package/dist/states/skeleton/skeleton.d.ts +16 -1
  230. package/dist/states/skeleton/skeleton.js +13 -5
  231. package/dist/utils/class-tokens.generated.js +4 -6
  232. package/dist/utils/focus-chain.d.ts +11 -0
  233. package/dist/utils/focus-chain.js +39 -0
  234. package/dist/utils/focus-rescue.d.ts +13 -0
  235. package/dist/utils/focus-rescue.js +48 -0
  236. package/dist/utils/list-navigation.d.ts +14 -0
  237. package/dist/utils/list-navigation.js +44 -0
  238. package/dist/utils/overlay-motion.d.ts +12 -0
  239. package/dist/utils/overlay-motion.js +14 -0
  240. package/dist/utils/use-container-width.d.ts +6 -0
  241. package/dist/utils/use-container-width.js +19 -0
  242. package/package.json +2 -2
  243. package/scripts/build-theme.mjs +46 -5
  244. package/src/ai/code-block/code-block.tsx +1 -1
  245. package/src/atoms/avatar/avatar.tsx +8 -2
  246. package/src/atoms/big-date/big-date.tsx +2 -2
  247. package/src/atoms/button/button.tsx +8 -3
  248. package/src/atoms/chip/chip.tsx +8 -3
  249. package/src/atoms/icon-button/icon-button.tsx +1 -1
  250. package/src/atoms/internal/hit-area.ts +5 -4
  251. package/src/atoms/progress/index.ts +8 -1
  252. package/src/atoms/progress/progress.tsx +30 -1
  253. package/src/atoms/radio-group/radio-group.tsx +1 -1
  254. package/src/atoms/status-pill/status-pill.tsx +59 -18
  255. package/src/brand/logo-forge.tsx +1 -1
  256. package/src/charts/candlestick-chart/candlestick-chart.tsx +2 -2
  257. package/src/charts/chart-grid/chart-grid.tsx +2 -2
  258. package/src/charts/chord-chart/chord-chart.tsx +1 -1
  259. package/src/charts/core/axes.tsx +2 -2
  260. package/src/charts/core/cartesian/annotations.tsx +2 -2
  261. package/src/charts/core/cartesian/marks.tsx +1 -1
  262. package/src/charts/core/distribution/marks.tsx +1 -1
  263. package/src/charts/core/distribution/xy-points.tsx +1 -1
  264. package/src/charts/core/export-menu.tsx +1 -1
  265. package/src/charts/funnel-chart/funnel-chart.tsx +1 -1
  266. package/src/charts/gantt-chart/gantt-chart.tsx +4 -4
  267. package/src/charts/gantt-chart/gantt-marks.tsx +3 -3
  268. package/src/charts/index.ts +2 -0
  269. package/src/charts/maps/geo/map-data-table.tsx +1 -1
  270. package/src/charts/polar-area-chart/polar-area-chart.tsx +1 -1
  271. package/src/charts/radar-chart/radar-chart.tsx +1 -1
  272. package/src/charts/stock-chart/stock-chart.tsx +1 -1
  273. package/src/charts/stock-chart/stock-drawing-layer.tsx +3 -3
  274. package/src/charts/stock-chart/stock-plot.tsx +2 -2
  275. package/src/containers/chat-thread/chat-thread.tsx +331 -0
  276. package/src/containers/chat-thread/format.ts +67 -0
  277. package/src/containers/chat-thread/index.ts +12 -0
  278. package/src/containers/cols/cols.tsx +13 -1
  279. package/src/containers/comment/comment.tsx +1 -1
  280. package/src/containers/context-rail/context-rail.tsx +229 -0
  281. package/src/containers/context-rail/index.ts +7 -0
  282. package/src/containers/dashboard/dashboard.tsx +142 -0
  283. package/src/containers/dashboard/index.ts +12 -0
  284. package/src/containers/data-grid/data-grid.demos.tsx +4 -4
  285. package/src/containers/data-grid/data-grid.tsx +6 -6
  286. package/src/containers/data-grid/filter-builder-editor.tsx +2 -2
  287. package/src/containers/data-grid/grid-toolbar.tsx +1 -1
  288. package/src/containers/data-grid/spreadsheet.demos.tsx +1 -1
  289. package/src/containers/detail-header/detail-header.tsx +64 -0
  290. package/src/containers/detail-header/index.ts +5 -0
  291. package/src/containers/facts/facts.tsx +1 -1
  292. package/src/containers/filter-bar/filter-bar.tsx +201 -0
  293. package/src/containers/filter-bar/index.ts +7 -0
  294. package/src/containers/hbars/hbars.tsx +2 -2
  295. package/src/containers/index.ts +9 -0
  296. package/src/containers/kanban/kanban.tsx +148 -39
  297. package/src/containers/kanban/model.ts +20 -0
  298. package/src/containers/kpi/kpi.tsx +1 -1
  299. package/src/containers/kpi-group/kpi-group.tsx +17 -2
  300. package/src/containers/list-detail/index.ts +5 -0
  301. package/src/containers/list-detail/list-detail.tsx +159 -9
  302. package/src/containers/page/page.tsx +61 -7
  303. package/src/containers/page-header/back.tsx +42 -0
  304. package/src/containers/page-header/index.ts +1 -0
  305. package/src/containers/page-header/page-header.tsx +49 -3
  306. package/src/containers/pagination/cursor-pagination.tsx +79 -0
  307. package/src/containers/pagination/index.ts +7 -0
  308. package/src/containers/pagination/pagination.tsx +266 -0
  309. package/src/containers/pagination/range.ts +68 -0
  310. package/src/containers/pagination/use-pagination.ts +44 -0
  311. package/src/containers/responsive-list/responsive-list.tsx +190 -47
  312. package/src/containers/row-actions/index.ts +1 -0
  313. package/src/containers/row-actions/row-actions.tsx +114 -0
  314. package/src/containers/selectable-card/index.ts +5 -0
  315. package/src/containers/selectable-card/selectable-card.tsx +84 -0
  316. package/src/containers/settings-layout/settings-layout.tsx +104 -13
  317. package/src/containers/shortcuts/shortcuts.tsx +1 -1
  318. package/src/containers/table/cell-padding.ts +2 -0
  319. package/src/containers/table/index.ts +6 -0
  320. package/src/containers/table/sort.ts +23 -0
  321. package/src/containers/table/table-parts.tsx +81 -0
  322. package/src/containers/table/table.tsx +212 -45
  323. package/src/containers/table-columns-menu/index.ts +5 -0
  324. package/src/containers/table-columns-menu/table-columns-menu.tsx +68 -0
  325. package/src/dashboards/layout.tsx +8 -75
  326. package/src/forms/chip-group/chip-group.tsx +8 -1
  327. package/src/forms/combobox/combobox.tsx +1 -1
  328. package/src/forms/copy-field/copy-field.tsx +1 -1
  329. package/src/forms/date-picker/date-picker.tsx +7 -2
  330. package/src/forms/date-picker/date-time-picker.tsx +28 -2
  331. package/src/forms/field/field.tsx +30 -3
  332. package/src/forms/fieldset/fieldset.tsx +22 -0
  333. package/src/forms/fieldset/index.ts +1 -0
  334. package/src/forms/form-footer/form-footer.tsx +74 -0
  335. package/src/forms/form-footer/index.ts +1 -0
  336. package/src/forms/form-grid/form-grid.tsx +42 -5
  337. package/src/forms/form-grid/index.ts +8 -1
  338. package/src/forms/form-section/form-section.tsx +41 -0
  339. package/src/forms/form-section/index.ts +1 -0
  340. package/src/forms/index.ts +3 -0
  341. package/src/forms/input/input.tsx +10 -3
  342. package/src/forms/internal/listbox-items.tsx +3 -4
  343. package/src/forms/native-select/native-select.tsx +1 -1
  344. package/src/forms/number-stepper/index.ts +1 -0
  345. package/src/forms/number-stepper/number-stepper.tsx +51 -6
  346. package/src/forms/select/index.ts +1 -1
  347. package/src/forms/select/select.tsx +14 -3
  348. package/src/forms/select-menu/select-menu.tsx +1 -1
  349. package/src/forms/time-input/time-input.tsx +6 -2
  350. package/src/i18n/strings.ts +94 -0
  351. package/src/motion/count-up.tsx +83 -0
  352. package/src/motion/cross-fade.tsx +139 -0
  353. package/src/motion/index.ts +5 -0
  354. package/src/motion/model.ts +86 -0
  355. package/src/motion/motion-styles.tsx +47 -0
  356. package/src/motion/reveal.tsx +115 -0
  357. package/src/motion/use-enter-phase.ts +50 -0
  358. package/src/motion/use-highlight-row.ts +63 -0
  359. package/src/navigation/tabs/tabs.tsx +1 -1
  360. package/src/navigation/wizard/wizard.tsx +6 -1
  361. package/src/overlays/alert-dialog/alert-dialog.tsx +5 -1
  362. package/src/overlays/context-menu/context-menu.tsx +3 -2
  363. package/src/overlays/dialog/dialog.tsx +9 -3
  364. package/src/overlays/drawer/drawer.tsx +68 -6
  365. package/src/overlays/drawer/index.ts +1 -0
  366. package/src/overlays/dropdown-menu/dropdown-menu.tsx +5 -4
  367. package/src/overlays/hover-card/hover-card.tsx +2 -0
  368. package/src/overlays/popover/popover.tsx +2 -0
  369. package/src/overlays/toaster/index.ts +2 -0
  370. package/src/overlays/toaster/toast-store.ts +8 -0
  371. package/src/overlays/toaster/toaster.tsx +127 -17
  372. package/src/overlays/tooltip/tooltip.tsx +2 -0
  373. package/src/primitives/use-presence.ts +13 -0
  374. package/src/shell/app-shell/app-shell.tsx +54 -2
  375. package/src/shell/index.ts +1 -0
  376. package/src/shell/sidebar/sidebar.tsx +154 -75
  377. package/src/shell/topbar/topbar.tsx +8 -0
  378. package/src/showcase/operations-bento.tsx +2 -2
  379. package/src/states/empty-state/empty-state.tsx +52 -9
  380. package/src/states/error-state/error-state.tsx +1 -1
  381. package/src/states/skeleton/skeleton.tsx +33 -5
  382. package/src/utils/class-tokens.generated.ts +4 -6
  383. package/src/utils/focus-chain.ts +53 -0
  384. package/src/utils/focus-rescue.ts +68 -0
  385. package/src/utils/list-navigation.ts +63 -0
  386. package/src/utils/overlay-motion.ts +33 -0
  387. package/src/utils/use-container-width.ts +24 -0
  388. package/styles/Theme.kt +15 -18
  389. package/styles/tailwind.css +29 -28
  390. package/styles/theme.css +29 -28
  391. package/styles/tokens.css +46 -0
  392. package/tokens/default.json +51 -29
@@ -93,6 +93,7 @@
93
93
  --spacing-top-height: var(--top-height);
94
94
  --spacing-control-height: var(--control-height);
95
95
  --spacing-control-height-sm: var(--control-height-sm);
96
+ --spacing-control-height-md: var(--control-height-md);
96
97
  --spacing-control-height-lg: var(--control-height-lg);
97
98
  --spacing-input-height: var(--input-height);
98
99
  --spacing-agenda-hour: var(--agenda-hour);
@@ -101,34 +102,34 @@
101
102
  --spacing-m-tray: var(--m-tray);
102
103
  --spacing-m-chip: var(--m-chip);
103
104
  --spacing-m-hour: var(--m-hour);
104
- --text-kpi-number: 30px;
105
- --text-kpi-number--line-height: 1.15;
105
+ --text-kpi-number: 24px;
106
+ --text-kpi-number--line-height: 1.2;
106
107
  --text-kpi-number--font-weight: 800;
107
- --text-kpi-number--letter-spacing: -0.03em;
108
- --text-page-title: 26px;
109
- --text-page-title--line-height: 1.18;
108
+ --text-kpi-number--letter-spacing: -0.025em;
109
+ --text-page-title: 22px;
110
+ --text-page-title--line-height: 1.25;
110
111
  --text-page-title--font-weight: 800;
111
- --text-page-title--letter-spacing: -0.025em;
112
+ --text-page-title--letter-spacing: -0.02em;
112
113
  --text-dialog-title: 16px;
113
114
  --text-dialog-title--line-height: 1.4;
114
115
  --text-dialog-title--font-weight: 750;
115
- --text-card-title: 14px;
116
- --text-card-title--line-height: 1.5;
116
+ --text-card-title: 15px;
117
+ --text-card-title--line-height: 1.4;
117
118
  --text-card-title--font-weight: 700;
118
119
  --text-card-title--letter-spacing: -0.01em;
119
- --text-lede: 14.5px;
120
+ --text-lede: 14px;
120
121
  --text-lede--line-height: 1.5;
121
122
  --text-lede--font-weight: 400;
122
123
  --text-body: 14px;
123
124
  --text-body--line-height: 1.5;
124
125
  --text-body--font-weight: 400;
125
- --text-row-title: 13.5px;
126
+ --text-row-title: 14px;
126
127
  --text-row-title--line-height: 1.5;
127
128
  --text-row-title--font-weight: 650;
128
129
  --text-control: 13px;
129
130
  --text-control--line-height: 1.5;
130
131
  --text-control--font-weight: 650;
131
- --text-meta: 12.5px;
132
+ --text-meta: 12px;
132
133
  --text-meta--line-height: 1.5;
133
134
  --text-meta--font-weight: 400;
134
135
  --text-chip-text: 12px;
@@ -138,50 +139,49 @@
138
139
  --text-overline--line-height: 1.5;
139
140
  --text-overline--font-weight: 700;
140
141
  --text-overline--letter-spacing: 0.08em;
141
- --text-clock: 17px;
142
+ --text-clock: 16px;
142
143
  --text-clock--line-height: 1;
143
144
  --text-clock--font-weight: 700;
144
- --text-data: 12.5px;
145
- --text-data--line-height: 1.6;
145
+ --text-data: 13px;
146
+ --text-data--line-height: 1.5;
146
147
  --text-data--font-weight: 600;
147
148
  --text-count: 12px;
148
149
  --text-count--line-height: 1.2;
149
150
  --text-count--font-weight: 700;
150
- --text-m-title: 34px;
151
- --text-m-title--line-height: 41px;
151
+ --text-m-title: 22px;
152
+ --text-m-title--line-height: 1.25;
152
153
  --text-m-title--font-weight: 800;
153
- --text-m-title--letter-spacing: -0.025em;
154
- --text-m-card-title: 26px;
155
- --text-m-card-title--line-height: 1.1;
154
+ --text-m-title--letter-spacing: -0.02em;
155
+ --text-m-card-title: 20px;
156
+ --text-m-card-title--line-height: 1.2;
156
157
  --text-m-card-title--font-weight: 800;
157
- --text-m-card-title--letter-spacing: -0.02em;
158
- --text-m-row-title: 15.5px;
158
+ --text-m-card-title--letter-spacing: -0.015em;
159
+ --text-m-row-title: 15px;
159
160
  --text-m-row-title--line-height: 1.3;
160
161
  --text-m-row-title--font-weight: 700;
161
162
  --text-m-body: 15px;
162
163
  --text-m-body--line-height: 1.45;
163
164
  --text-m-body--font-weight: 400;
164
- --text-m-button: 15.5px;
165
+ --text-m-button: 15px;
165
166
  --text-m-button--line-height: 1;
166
167
  --text-m-button--font-weight: 700;
167
168
  --text-m-meta: 13px;
168
169
  --text-m-meta--line-height: 1.4;
169
170
  --text-m-meta--font-weight: 400;
170
171
  /* Size-only scale (px x 10, no line-height or weight) for dense UI text that must not inherit a role's weight. */
171
- --text-fs-95: 9.5px;
172
172
  --text-fs-100: 10px;
173
- --text-fs-105: 10.5px;
174
173
  --text-fs-110: 11px;
175
- --text-fs-115: 11.5px;
176
174
  --text-fs-120: 12px;
177
- --text-fs-125: 12.5px;
178
175
  --text-fs-130: 13px;
179
176
  --text-fs-140: 14px;
180
177
  --text-fs-150: 15px;
181
178
  --text-fs-160: 16px;
182
- --text-fs-220: 22px;
183
- --text-fs-300: 30px;
179
+ --text-fs-200: 20px;
180
+ --text-fs-240: 24px;
184
181
  --text-fs-440: 44px;
182
+ --container-page-m: 720px;
183
+ --container-page-w: 1280px;
184
+ --container-page-xw: 1600px;
185
185
  --color-surface-card: var(--surface-card);
186
186
  --color-surface-control: var(--surface-control);
187
187
  --color-surface-overlay: var(--surface-overlay);
@@ -193,6 +193,7 @@
193
193
  --ease-style: var(--motion-ease);
194
194
  --spacing-control: var(--control-height);
195
195
  --spacing-control-sm: var(--control-height-sm);
196
+ --spacing-control-md: var(--control-height-md);
196
197
  --spacing-control-lg: var(--control-height-lg);
197
198
  --spacing-input: var(--input-height);
198
199
  --spacing-control-x: var(--pad-control-x);
package/styles/theme.css CHANGED
@@ -93,6 +93,7 @@
93
93
  --spacing-top-height: var(--top-height);
94
94
  --spacing-control-height: var(--control-height);
95
95
  --spacing-control-height-sm: var(--control-height-sm);
96
+ --spacing-control-height-md: var(--control-height-md);
96
97
  --spacing-control-height-lg: var(--control-height-lg);
97
98
  --spacing-input-height: var(--input-height);
98
99
  --spacing-agenda-hour: var(--agenda-hour);
@@ -101,34 +102,34 @@
101
102
  --spacing-m-tray: var(--m-tray);
102
103
  --spacing-m-chip: var(--m-chip);
103
104
  --spacing-m-hour: var(--m-hour);
104
- --text-kpi-number: 30px;
105
- --text-kpi-number--line-height: 1.15;
105
+ --text-kpi-number: 24px;
106
+ --text-kpi-number--line-height: 1.2;
106
107
  --text-kpi-number--font-weight: 800;
107
- --text-kpi-number--letter-spacing: -0.03em;
108
- --text-page-title: 26px;
109
- --text-page-title--line-height: 1.18;
108
+ --text-kpi-number--letter-spacing: -0.025em;
109
+ --text-page-title: 22px;
110
+ --text-page-title--line-height: 1.25;
110
111
  --text-page-title--font-weight: 800;
111
- --text-page-title--letter-spacing: -0.025em;
112
+ --text-page-title--letter-spacing: -0.02em;
112
113
  --text-dialog-title: 16px;
113
114
  --text-dialog-title--line-height: 1.4;
114
115
  --text-dialog-title--font-weight: 750;
115
- --text-card-title: 14px;
116
- --text-card-title--line-height: 1.5;
116
+ --text-card-title: 15px;
117
+ --text-card-title--line-height: 1.4;
117
118
  --text-card-title--font-weight: 700;
118
119
  --text-card-title--letter-spacing: -0.01em;
119
- --text-lede: 14.5px;
120
+ --text-lede: 14px;
120
121
  --text-lede--line-height: 1.5;
121
122
  --text-lede--font-weight: 400;
122
123
  --text-body: 14px;
123
124
  --text-body--line-height: 1.5;
124
125
  --text-body--font-weight: 400;
125
- --text-row-title: 13.5px;
126
+ --text-row-title: 14px;
126
127
  --text-row-title--line-height: 1.5;
127
128
  --text-row-title--font-weight: 650;
128
129
  --text-control: 13px;
129
130
  --text-control--line-height: 1.5;
130
131
  --text-control--font-weight: 650;
131
- --text-meta: 12.5px;
132
+ --text-meta: 12px;
132
133
  --text-meta--line-height: 1.5;
133
134
  --text-meta--font-weight: 400;
134
135
  --text-chip-text: 12px;
@@ -138,50 +139,49 @@
138
139
  --text-overline--line-height: 1.5;
139
140
  --text-overline--font-weight: 700;
140
141
  --text-overline--letter-spacing: 0.08em;
141
- --text-clock: 17px;
142
+ --text-clock: 16px;
142
143
  --text-clock--line-height: 1;
143
144
  --text-clock--font-weight: 700;
144
- --text-data: 12.5px;
145
- --text-data--line-height: 1.6;
145
+ --text-data: 13px;
146
+ --text-data--line-height: 1.5;
146
147
  --text-data--font-weight: 600;
147
148
  --text-count: 12px;
148
149
  --text-count--line-height: 1.2;
149
150
  --text-count--font-weight: 700;
150
- --text-m-title: 34px;
151
- --text-m-title--line-height: 41px;
151
+ --text-m-title: 22px;
152
+ --text-m-title--line-height: 1.25;
152
153
  --text-m-title--font-weight: 800;
153
- --text-m-title--letter-spacing: -0.025em;
154
- --text-m-card-title: 26px;
155
- --text-m-card-title--line-height: 1.1;
154
+ --text-m-title--letter-spacing: -0.02em;
155
+ --text-m-card-title: 20px;
156
+ --text-m-card-title--line-height: 1.2;
156
157
  --text-m-card-title--font-weight: 800;
157
- --text-m-card-title--letter-spacing: -0.02em;
158
- --text-m-row-title: 15.5px;
158
+ --text-m-card-title--letter-spacing: -0.015em;
159
+ --text-m-row-title: 15px;
159
160
  --text-m-row-title--line-height: 1.3;
160
161
  --text-m-row-title--font-weight: 700;
161
162
  --text-m-body: 15px;
162
163
  --text-m-body--line-height: 1.45;
163
164
  --text-m-body--font-weight: 400;
164
- --text-m-button: 15.5px;
165
+ --text-m-button: 15px;
165
166
  --text-m-button--line-height: 1;
166
167
  --text-m-button--font-weight: 700;
167
168
  --text-m-meta: 13px;
168
169
  --text-m-meta--line-height: 1.4;
169
170
  --text-m-meta--font-weight: 400;
170
171
  /* Size-only scale (px x 10, no line-height or weight) for dense UI text that must not inherit a role's weight. */
171
- --text-fs-95: 9.5px;
172
172
  --text-fs-100: 10px;
173
- --text-fs-105: 10.5px;
174
173
  --text-fs-110: 11px;
175
- --text-fs-115: 11.5px;
176
174
  --text-fs-120: 12px;
177
- --text-fs-125: 12.5px;
178
175
  --text-fs-130: 13px;
179
176
  --text-fs-140: 14px;
180
177
  --text-fs-150: 15px;
181
178
  --text-fs-160: 16px;
182
- --text-fs-220: 22px;
183
- --text-fs-300: 30px;
179
+ --text-fs-200: 20px;
180
+ --text-fs-240: 24px;
184
181
  --text-fs-440: 44px;
182
+ --container-page-m: 720px;
183
+ --container-page-w: 1280px;
184
+ --container-page-xw: 1600px;
185
185
  --color-surface-card: var(--surface-card);
186
186
  --color-surface-control: var(--surface-control);
187
187
  --color-surface-overlay: var(--surface-overlay);
@@ -193,6 +193,7 @@
193
193
  --ease-style: var(--motion-ease);
194
194
  --spacing-control: var(--control-height);
195
195
  --spacing-control-sm: var(--control-height-sm);
196
+ --spacing-control-md: var(--control-height-md);
196
197
  --spacing-control-lg: var(--control-height-lg);
197
198
  --spacing-input: var(--input-height);
198
199
  --spacing-control-x: var(--pad-control-x);
package/styles/tokens.css CHANGED
@@ -119,6 +119,7 @@
119
119
  --top-height: 58px;
120
120
  --control-height: 36px;
121
121
  --control-height-sm: 30px;
122
+ --control-height-md: 38px;
122
123
  --control-height-lg: 52px;
123
124
  --input-height: 38px;
124
125
  --agenda-hour: 48px;
@@ -220,6 +221,7 @@
220
221
  --gap-density: 12px;
221
222
  --gap-density-lg: 18px;
222
223
  --touch-target: 0px;
224
+ --touch: 0;
223
225
  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
224
226
  }
225
227
 
@@ -1689,6 +1691,7 @@
1689
1691
  [data-density="compact"] {
1690
1692
  --control-height: calc(36px * var(--density));
1691
1693
  --control-height-sm: calc(30px * var(--density));
1694
+ --control-height-md: calc(38px * var(--density));
1692
1695
  --control-height-lg: calc(52px * var(--density));
1693
1696
  --input-height: calc(38px * var(--density));
1694
1697
  --density: 0.875;
@@ -1698,12 +1701,14 @@
1698
1701
  --gap-density: calc(12px * var(--density));
1699
1702
  --gap-density-lg: calc(18px * var(--density));
1700
1703
  --touch-target: calc(0px * var(--density));
1704
+ --touch: 0;
1701
1705
  }
1702
1706
 
1703
1707
  :root[data-density="normal"],
1704
1708
  [data-density="normal"] {
1705
1709
  --control-height: calc(36px * var(--density));
1706
1710
  --control-height-sm: calc(30px * var(--density));
1711
+ --control-height-md: calc(38px * var(--density));
1707
1712
  --control-height-lg: calc(52px * var(--density));
1708
1713
  --input-height: calc(38px * var(--density));
1709
1714
  --density: 1;
@@ -1713,12 +1718,14 @@
1713
1718
  --gap-density: calc(12px * var(--density));
1714
1719
  --gap-density-lg: calc(18px * var(--density));
1715
1720
  --touch-target: calc(0px * var(--density));
1721
+ --touch: 0;
1716
1722
  }
1717
1723
 
1718
1724
  :root[data-density="comfortable"],
1719
1725
  [data-density="comfortable"] {
1720
1726
  --control-height: calc(36px * var(--density));
1721
1727
  --control-height-sm: calc(30px * var(--density));
1728
+ --control-height-md: calc(38px * var(--density));
1722
1729
  --control-height-lg: calc(52px * var(--density));
1723
1730
  --input-height: calc(38px * var(--density));
1724
1731
  --density: 1.125;
@@ -1728,12 +1735,14 @@
1728
1735
  --gap-density: calc(12px * var(--density));
1729
1736
  --gap-density-lg: calc(18px * var(--density));
1730
1737
  --touch-target: calc(0px * var(--density));
1738
+ --touch: 0;
1731
1739
  }
1732
1740
 
1733
1741
  :root[data-density="touch"],
1734
1742
  [data-density="touch"] {
1735
1743
  --control-height: 44px;
1736
1744
  --control-height-sm: 44px;
1745
+ --control-height-md: 48px;
1737
1746
  --control-height-lg: 52px;
1738
1747
  --input-height: 48px;
1739
1748
  --density: 1.125;
@@ -1743,6 +1752,43 @@
1743
1752
  --gap-density: calc(12px * var(--density));
1744
1753
  --gap-density-lg: calc(18px * var(--density));
1745
1754
  --touch-target: 44px;
1755
+ --touch: 1;
1756
+ }
1757
+
1758
+ :root[data-density="auto"],
1759
+ [data-density="auto"] {
1760
+ --control-height: calc(36px * var(--density));
1761
+ --control-height-sm: calc(30px * var(--density));
1762
+ --control-height-md: calc(38px * var(--density));
1763
+ --control-height-lg: calc(52px * var(--density));
1764
+ --input-height: calc(38px * var(--density));
1765
+ --density: 1;
1766
+ --pad-control-x: calc(16px * var(--density));
1767
+ --pad-card: calc(16px * var(--density));
1768
+ --gap-density-sm: calc(8px * var(--density));
1769
+ --gap-density: calc(12px * var(--density));
1770
+ --gap-density-lg: calc(18px * var(--density));
1771
+ --touch-target: calc(0px * var(--density));
1772
+ --touch: 0;
1773
+ }
1774
+
1775
+ @media (pointer: coarse) {
1776
+ :root[data-density="auto"],
1777
+ [data-density="auto"] {
1778
+ --control-height: 44px;
1779
+ --control-height-sm: 44px;
1780
+ --control-height-md: 48px;
1781
+ --control-height-lg: 52px;
1782
+ --input-height: 48px;
1783
+ --density: 1.125;
1784
+ --pad-control-x: calc(16px * var(--density));
1785
+ --pad-card: calc(16px * var(--density));
1786
+ --gap-density-sm: calc(8px * var(--density));
1787
+ --gap-density: calc(12px * var(--density));
1788
+ --gap-density-lg: calc(18px * var(--density));
1789
+ --touch-target: 44px;
1790
+ --touch: 1;
1791
+ }
1746
1792
  }
1747
1793
 
1748
1794
  :root[data-radius="none"],
@@ -739,19 +739,15 @@
739
739
  "sans": "\"Figtree\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif"
740
740
  },
741
741
  "sizeScale": [
742
- { "name": "fs-95", "fontSize": "9.5px" },
743
742
  { "name": "fs-100", "fontSize": "10px" },
744
- { "name": "fs-105", "fontSize": "10.5px" },
745
743
  { "name": "fs-110", "fontSize": "11px" },
746
- { "name": "fs-115", "fontSize": "11.5px" },
747
744
  { "name": "fs-120", "fontSize": "12px" },
748
- { "name": "fs-125", "fontSize": "12.5px" },
749
745
  { "name": "fs-130", "fontSize": "13px" },
750
746
  { "name": "fs-140", "fontSize": "14px" },
751
747
  { "name": "fs-150", "fontSize": "15px" },
752
748
  { "name": "fs-160", "fontSize": "16px" },
753
- { "name": "fs-220", "fontSize": "22px" },
754
- { "name": "fs-300", "fontSize": "30px" },
749
+ { "name": "fs-200", "fontSize": "20px" },
750
+ { "name": "fs-240", "fontSize": "24px" },
755
751
  { "name": "fs-440", "fontSize": "44px" }
756
752
  ],
757
753
  "groups": [
@@ -761,19 +757,19 @@
761
757
  "styles": [
762
758
  {
763
759
  "name": "kpi-number",
764
- "fontSize": "30px",
765
- "lineHeight": 1.15,
760
+ "fontSize": "24px",
761
+ "lineHeight": 1.2,
766
762
  "fontWeight": 800,
767
- "letterSpacing": "-0.03em",
763
+ "letterSpacing": "-0.025em",
768
764
  "usage": "Cifra de un indicador: citas de hoy, en espera, ítems bajo mínimo.",
769
765
  "sample": "18"
770
766
  },
771
767
  {
772
768
  "name": "page-title",
773
- "fontSize": "26px",
774
- "lineHeight": 1.18,
769
+ "fontSize": "22px",
770
+ "lineHeight": 1.25,
775
771
  "fontWeight": 800,
776
- "letterSpacing": "-0.025em",
772
+ "letterSpacing": "-0.02em",
777
773
  "usage": "Título de página del panel. Uno por vista; puede llevar una palabra en accent-word.",
778
774
  "sample": "Agenda de hoy"
779
775
  },
@@ -787,8 +783,8 @@
787
783
  },
788
784
  {
789
785
  "name": "card-title",
790
- "fontSize": "14px",
791
- "lineHeight": 1.5,
786
+ "fontSize": "15px",
787
+ "lineHeight": 1.4,
792
788
  "fontWeight": 700,
793
789
  "letterSpacing": "-0.01em",
794
790
  "usage": "Título de tarjeta.",
@@ -802,7 +798,7 @@
802
798
  "styles": [
803
799
  {
804
800
  "name": "lede",
805
- "fontSize": "14.5px",
801
+ "fontSize": "14px",
806
802
  "lineHeight": 1.5,
807
803
  "fontWeight": 400,
808
804
  "usage": "Frase bajo el título de página, en ink-2. Máximo 68 caracteres por línea.",
@@ -818,7 +814,7 @@
818
814
  },
819
815
  {
820
816
  "name": "row-title",
821
- "fontSize": "13.5px",
817
+ "fontSize": "14px",
822
818
  "lineHeight": 1.5,
823
819
  "fontWeight": 650,
824
820
  "usage": "Nombre del cliente, del servicio o del ítem en filas y tablas.",
@@ -834,7 +830,7 @@
834
830
  },
835
831
  {
836
832
  "name": "meta",
837
- "fontSize": "12.5px",
833
+ "fontSize": "12px",
838
834
  "lineHeight": 1.5,
839
835
  "fontWeight": 400,
840
836
  "usage": "Metadatos bajo un título de fila, en ink-3.",
@@ -865,7 +861,7 @@
865
861
  "styles": [
866
862
  {
867
863
  "name": "clock",
868
- "fontSize": "17px",
864
+ "fontSize": "16px",
869
865
  "lineHeight": 1,
870
866
  "fontWeight": 700,
871
867
  "usage": "Número del día en la tira de la semana. Cifras tabulares.",
@@ -873,8 +869,8 @@
873
869
  },
874
870
  {
875
871
  "name": "data",
876
- "fontSize": "12.5px",
877
- "lineHeight": 1.6,
872
+ "fontSize": "13px",
873
+ "lineHeight": 1.5,
878
874
  "fontWeight": 600,
879
875
  "usage": "Horas, duraciones, cantidades, precios y códigos. Misma familia, con cifras tabulares (clase mono).",
880
876
  "sample": "15:30 · 45 min · S/ 35.00"
@@ -895,25 +891,25 @@
895
891
  "styles": [
896
892
  {
897
893
  "name": "m-title",
898
- "fontSize": "34px",
899
- "lineHeight": "41px",
894
+ "fontSize": "22px",
895
+ "lineHeight": 1.25,
900
896
  "fontWeight": 800,
901
- "letterSpacing": "-0.025em",
897
+ "letterSpacing": "-0.02em",
902
898
  "usage": "Título de pantalla en la app, con una palabra en accent-word.",
903
899
  "sample": "Hoy tienes 6 citas"
904
900
  },
905
901
  {
906
902
  "name": "m-card-title",
907
- "fontSize": "26px",
908
- "lineHeight": 1.1,
903
+ "fontSize": "20px",
904
+ "lineHeight": 1.2,
909
905
  "fontWeight": 800,
910
- "letterSpacing": "-0.02em",
906
+ "letterSpacing": "-0.015em",
911
907
  "usage": "Nombre del cliente en la tarjeta principal.",
912
908
  "sample": "Renzo Quispe"
913
909
  },
914
910
  {
915
911
  "name": "m-row-title",
916
- "fontSize": "15.5px",
912
+ "fontSize": "15px",
917
913
  "lineHeight": 1.3,
918
914
  "fontWeight": 700,
919
915
  "usage": "Nombre en un bloque de la línea de tiempo y en filas.",
@@ -929,7 +925,7 @@
929
925
  },
930
926
  {
931
927
  "name": "m-button",
932
- "fontSize": "15.5px",
928
+ "fontSize": "15px",
933
929
  "lineHeight": 1,
934
930
  "fontWeight": 700,
935
931
  "usage": "Etiqueta del botón principal de 54 px.",
@@ -1121,6 +1117,11 @@
1121
1117
  "value": "30px",
1122
1118
  "usage": "Alto de botones dentro de filas."
1123
1119
  },
1120
+ {
1121
+ "name": "control-height-md",
1122
+ "value": "38px",
1123
+ "usage": "Alto de todo control en tamaño md (botón, campo, select, selector de fecha u hora), para que se alineen en una fila."
1124
+ },
1124
1125
  {
1125
1126
  "name": "control-height-lg",
1126
1127
  "value": "52px",
@@ -1174,6 +1175,11 @@
1174
1175
  "grafito": "chart-cat-6"
1175
1176
  }
1176
1177
  },
1178
+ "containers": {
1179
+ "page-m": "720px",
1180
+ "page-w": "1280px",
1181
+ "page-xw": "1600px"
1182
+ },
1177
1183
  "styles": {
1178
1184
  "default": "soft",
1179
1185
  "tokens": [
@@ -1971,11 +1977,24 @@
1971
1977
  "name": "touch-target",
1972
1978
  "value": "0px",
1973
1979
  "usage": "Alto mínimo de un control interactivo pequeño: 0 salvo en data-density=touch, donde es 44px."
1980
+ },
1981
+ {
1982
+ "name": "touch",
1983
+ "value": "0",
1984
+ "usage": "Interruptor 0/1 del nivel táctil (1 en data-density=touch, y en auto con puntero grueso). Los componentes con área de pulsación fija lo leen para crecer a 44px."
1974
1985
  }
1975
1986
  ],
1987
+ "fixed": [
1988
+ "touch"
1989
+ ],
1990
+ "auto": {
1991
+ "fine": "normal",
1992
+ "coarse": "touch"
1993
+ },
1976
1994
  "scaled": [
1977
1995
  "control-height",
1978
1996
  "control-height-sm",
1997
+ "control-height-md",
1979
1998
  "control-height-lg",
1980
1999
  "input-height",
1981
2000
  "pad-control-x",
@@ -2008,9 +2027,11 @@
2008
2027
  "values": {
2009
2028
  "control-height": "44px",
2010
2029
  "control-height-sm": "44px",
2030
+ "control-height-md": "48px",
2011
2031
  "control-height-lg": "52px",
2012
2032
  "input-height": "48px",
2013
- "touch-target": "44px"
2033
+ "touch-target": "44px",
2034
+ "touch": "1"
2014
2035
  }
2015
2036
  }
2016
2037
  ]
@@ -2145,6 +2166,7 @@
2145
2166
  "--ease-style": "motion-ease",
2146
2167
  "--spacing-control": "control-height",
2147
2168
  "--spacing-control-sm": "control-height-sm",
2169
+ "--spacing-control-md": "control-height-md",
2148
2170
  "--spacing-control-lg": "control-height-lg",
2149
2171
  "--spacing-input": "input-height",
2150
2172
  "--spacing-control-x": "pad-control-x",