@mono-lit/helper 0.0.0-stage → 0.0.2

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 (539) hide show
  1. package/LICENSE.md +55 -0
  2. package/README.md +35 -3
  3. package/dist/breakpoints-CAbhDUht.js +84 -0
  4. package/dist/checkbox-Cqpie9Ap.js +4 -0
  5. package/dist/chip-DBUUa2eB.js +4 -0
  6. package/dist/chip-limits-BMoO31JM.js +213 -0
  7. package/dist/chip-strip-Cw3gyz0q.js +213 -0
  8. package/dist/color-DHYrfXsX.js +253 -0
  9. package/dist/css-class-BRKRzHx-.js +60 -0
  10. package/dist/css-size-DhHSVZJK.js +37 -0
  11. package/dist/data/theme/presets.json.d.ts +140 -0
  12. package/dist/data-source-controller-B_rgHCjw.js +241 -0
  13. package/dist/data-source-controller-Dbb4fd8I.js +241 -0
  14. package/dist/data-source-options-CP-X62Pa.js +535 -0
  15. package/dist/data-source-options-Jqj7LU3Z.js +537 -0
  16. package/dist/data-source-read-B4DGp6UQ.js +216 -0
  17. package/dist/data-source-read-DL88aH8t.js +217 -0
  18. package/dist/decorate-DEXtNagw.js +141 -0
  19. package/dist/element-props-CLB6yvbm.js +114 -0
  20. package/dist/esm-Ptok4SQZ.js +2026 -0
  21. package/dist/excel-CY6zGkcx.js +608 -0
  22. package/dist/excel-DopRbEMK.js +608 -0
  23. package/dist/export-BiGVyxt6.js +2302 -0
  24. package/dist/export.d.ts +1 -0
  25. package/dist/export.js +2302 -0
  26. package/dist/field-icons-DELrSdqJ.js +86 -0
  27. package/dist/field-path-C92eGLg3.js +251 -0
  28. package/dist/filter-builder-Bke3qOgJ.js +205 -0
  29. package/dist/filter-builder-CE4zE0V5.js +205 -0
  30. package/dist/filter-eval-DIfU2EAn.js +173 -0
  31. package/dist/filter-odata-C1vSGZaY.js +591 -0
  32. package/dist/form-control-core-B8d7k6vk.js +223 -0
  33. package/dist/form-control-core-eeRr0zLU.js +223 -0
  34. package/dist/hydration-flush-RB5Tz5nl.js +1001 -0
  35. package/dist/icon-CJkTlmTb.js +55 -0
  36. package/dist/icon-dVhYJUIH.js +17 -0
  37. package/dist/import-BgJdkwBI.js +606 -0
  38. package/dist/import.d.ts +1 -0
  39. package/dist/import.js +606 -0
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.js +16 -0
  42. package/dist/index.node-BIqEGehH.js +396 -0
  43. package/dist/index.node.d.ts +1 -0
  44. package/dist/index.node.js +16 -0
  45. package/dist/input-zGOULADt.js +4 -0
  46. package/dist/layout-var-CZnzMC0s.js +73 -0
  47. package/dist/light-slots-BVJwyg_2.js +244 -0
  48. package/dist/light-slots-DW1WgfgT.js +254 -0
  49. package/dist/markdown-DfqrfOJN.js +20146 -0
  50. package/dist/mono-button-simcTQdW.js +873 -0
  51. package/dist/mono-button.shadow-B_rKOY9N.js +784 -0
  52. package/dist/mono-data-chart-CEv29_NS.js +779 -0
  53. package/dist/mono-data-dropdown-Wnoke6zO.js +357 -0
  54. package/dist/mono-data-grid-CjkEqxgE.js +3913 -0
  55. package/dist/mono-data-grid-YjR3n9Ar.js +3915 -0
  56. package/dist/mono-element-B0kP_96P.js +232 -0
  57. package/dist/mono-event-Bi1qP9uN.js +129 -0
  58. package/dist/mono-form-controller-5PfsU4qa.js +409 -0
  59. package/dist/mono-modal-controller-BMO3n3rP.js +223 -0
  60. package/dist/mono-ui-CPV7rrdo.js +358 -0
  61. package/dist/normalize-error-Gcgmgh5i.js +871 -0
  62. package/dist/notifier-CE4yxMUQ.js +88 -0
  63. package/dist/nuxt.d.ts +1 -0
  64. package/dist/nuxt.js +130 -0
  65. package/dist/popup-portal-BziRX1yG.js +465 -0
  66. package/dist/popup-stack-CEEMib__.js +189 -0
  67. package/dist/rate-limit-BBa2PO79.js +521 -0
  68. package/dist/reactive-D3EERqgO.js +47 -0
  69. package/dist/reactive-Di3mTMnV.js +1087 -0
  70. package/dist/search.d.ts +1 -0
  71. package/dist/search.js +97 -0
  72. package/dist/src/components/accordion/accordion-core.d.ts +62 -0
  73. package/dist/src/components/accordion/accordion-types.d.ts +62 -0
  74. package/dist/src/components/accordion/index.d.ts +3 -0
  75. package/dist/src/components/accordion/index.shadow.d.ts +5 -0
  76. package/dist/src/components/accordion/mono-accordion.d.ts +55 -0
  77. package/dist/src/components/accordion/mono-accordion.shadow.d.ts +56 -0
  78. package/dist/src/components/alert/alert-core.d.ts +46 -0
  79. package/dist/src/components/alert/alert-types.d.ts +44 -0
  80. package/dist/src/components/alert/index.d.ts +3 -0
  81. package/dist/src/components/alert/index.shadow.d.ts +5 -0
  82. package/dist/src/components/alert/mono-alert.d.ts +44 -0
  83. package/dist/src/components/alert/mono-alert.shadow.d.ts +34 -0
  84. package/dist/src/components/breadcrumb/breadcrumb-core.d.ts +61 -0
  85. package/dist/src/components/breadcrumb/breadcrumb-list-core.d.ts +49 -0
  86. package/dist/src/components/breadcrumb/breadcrumb-render.d.ts +31 -0
  87. package/dist/src/components/breadcrumb/breadcrumb-types.d.ts +117 -0
  88. package/dist/src/components/breadcrumb/breadcrumb-utils.d.ts +43 -0
  89. package/dist/src/components/breadcrumb/index.d.ts +6 -0
  90. package/dist/src/components/breadcrumb/index.shadow.d.ts +8 -0
  91. package/dist/src/components/breadcrumb/mono-breadcrumb-list.d.ts +29 -0
  92. package/dist/src/components/breadcrumb/mono-breadcrumb-list.shadow.d.ts +48 -0
  93. package/dist/src/components/breadcrumb/mono-breadcrumb.d.ts +38 -0
  94. package/dist/src/components/breadcrumb/mono-breadcrumb.shadow.d.ts +73 -0
  95. package/dist/src/components/button/button-core.d.ts +90 -0
  96. package/dist/src/components/button/button-dropdown-core.d.ts +57 -0
  97. package/dist/src/components/button/button-dropdown-types.d.ts +129 -0
  98. package/dist/src/components/button/button-types.d.ts +219 -0
  99. package/dist/src/components/button/button-utils.d.ts +18 -0
  100. package/dist/src/components/button/index.button-dropdown.d.ts +4 -0
  101. package/dist/src/components/button/index.button-dropdown.shadow.d.ts +4 -0
  102. package/dist/src/components/button/index.d.ts +8 -0
  103. package/dist/src/components/button/index.shadow.d.ts +5 -0
  104. package/dist/src/components/button/mono-button-dropdown.d.ts +35 -0
  105. package/dist/src/components/button/mono-button-dropdown.shadow.d.ts +45 -0
  106. package/dist/src/components/button/mono-button.d.ts +123 -0
  107. package/dist/src/components/button/mono-button.shadow.d.ts +56 -0
  108. package/dist/src/components/card/card-core.d.ts +75 -0
  109. package/dist/src/components/card/card-types.d.ts +137 -0
  110. package/dist/src/components/card/card-utils.d.ts +23 -0
  111. package/dist/src/components/card/index.d.ts +4 -0
  112. package/dist/src/components/card/index.shadow.d.ts +6 -0
  113. package/dist/src/components/card/mono-card.d.ts +56 -0
  114. package/dist/src/components/card/mono-card.shadow.d.ts +52 -0
  115. package/dist/src/components/chart/chart-core.d.ts +43 -0
  116. package/dist/src/components/chart/chart-odata.d.ts +52 -0
  117. package/dist/src/components/chart/chart-types.d.ts +356 -0
  118. package/dist/src/components/chart/index.d.ts +8 -0
  119. package/dist/src/components/chart/index.shadow.d.ts +7 -0
  120. package/dist/src/components/chart/mono-chart-presets.d.ts +43 -0
  121. package/dist/src/components/chart/mono-chart-presets.shadow.d.ts +43 -0
  122. package/dist/src/components/chart/mono-chart.d.ts +30 -0
  123. package/dist/src/components/chart/mono-chart.shadow.d.ts +22 -0
  124. package/dist/src/components/chart/mono-data-chart.d.ts +27 -0
  125. package/dist/src/components/checkbox/checkbox-core.d.ts +53 -0
  126. package/dist/src/components/checkbox/checkbox-types.d.ts +69 -0
  127. package/dist/src/components/checkbox/checkbox-utils.d.ts +35 -0
  128. package/dist/src/components/checkbox/index.d.ts +4 -0
  129. package/dist/src/components/checkbox/index.shadow.d.ts +5 -0
  130. package/dist/src/components/checkbox/mono-checkbox.d.ts +34 -0
  131. package/dist/src/components/checkbox/mono-checkbox.shadow.d.ts +45 -0
  132. package/dist/src/components/chip/chip-core.d.ts +58 -0
  133. package/dist/src/components/chip/chip-types.d.ts +142 -0
  134. package/dist/src/components/chip/chip-utils.d.ts +24 -0
  135. package/dist/src/components/chip/index.d.ts +8 -0
  136. package/dist/src/components/chip/index.shadow.d.ts +6 -0
  137. package/dist/src/components/chip/mono-chip.d.ts +48 -0
  138. package/dist/src/components/chip/mono-chip.shadow.d.ts +33 -0
  139. package/dist/src/components/chip/mono-status-dot.d.ts +34 -0
  140. package/dist/src/components/date/date-core.d.ts +80 -0
  141. package/dist/src/components/date/date-types.d.ts +163 -0
  142. package/dist/src/components/date/index.d.ts +3 -0
  143. package/dist/src/components/date/index.shadow.d.ts +4 -0
  144. package/dist/src/components/date/mono-date.d.ts +22 -0
  145. package/dist/src/components/date/mono-date.shadow.d.ts +31 -0
  146. package/dist/src/components/drawer/drawer-core.d.ts +99 -0
  147. package/dist/src/components/drawer/drawer-types.d.ts +153 -0
  148. package/dist/src/components/drawer/index.d.ts +3 -0
  149. package/dist/src/components/drawer/index.shadow.d.ts +4 -0
  150. package/dist/src/components/drawer/mono-drawer.d.ts +45 -0
  151. package/dist/src/components/drawer/mono-drawer.shadow.d.ts +46 -0
  152. package/dist/src/components/dropdown/dropdown-core.d.ts +33 -0
  153. package/dist/src/components/dropdown/dropdown-types.d.ts +88 -0
  154. package/dist/src/components/dropdown/index.d.ts +3 -0
  155. package/dist/src/components/dropdown/index.shadow.d.ts +4 -0
  156. package/dist/src/components/dropdown/mono-dropdown.d.ts +34 -0
  157. package/dist/src/components/dropdown/mono-dropdown.shadow.d.ts +28 -0
  158. package/dist/src/components/dropdown-table/dropdown-table-core.d.ts +65 -0
  159. package/dist/src/components/dropdown-table/dropdown-table-types.d.ts +278 -0
  160. package/dist/src/components/dropdown-table/index.d.ts +5 -0
  161. package/dist/src/components/dropdown-table/index.shadow.d.ts +6 -0
  162. package/dist/src/components/dropdown-table/mono-data-dropdown.d.ts +152 -0
  163. package/dist/src/components/dropdown-table/mono-dropdown-table.d.ts +46 -0
  164. package/dist/src/components/dropdown-table/mono-dropdown-table.shadow.d.ts +22 -0
  165. package/dist/src/components/file-upload/file-upload-core.d.ts +60 -0
  166. package/dist/src/components/file-upload/file-upload-types.d.ts +145 -0
  167. package/dist/src/components/file-upload/file-upload-utils.d.ts +16 -0
  168. package/dist/src/components/file-upload/index.d.ts +4 -0
  169. package/dist/src/components/file-upload/index.shadow.d.ts +5 -0
  170. package/dist/src/components/file-upload/mono-file-upload.d.ts +33 -0
  171. package/dist/src/components/file-upload/mono-file-upload.shadow.d.ts +50 -0
  172. package/dist/src/components/filter/filter-builder-core.d.ts +36 -0
  173. package/dist/src/components/filter/filter-builder.d.ts +23 -0
  174. package/dist/src/components/filter/filter-odata.d.ts +27 -0
  175. package/dist/src/components/filter/filter-operators.d.ts +13 -0
  176. package/dist/src/components/filter/filter-types.d.ts +253 -0
  177. package/dist/src/components/filter/index.d.ts +6 -0
  178. package/dist/src/components/filter/index.shadow.d.ts +7 -0
  179. package/dist/src/components/filter/mono-filter-builder.d.ts +21 -0
  180. package/dist/src/components/filter/mono-filter-builder.shadow.d.ts +17 -0
  181. package/dist/src/components/form/form-control-core.d.ts +37 -0
  182. package/dist/src/components/form/form-rules.d.ts +25 -0
  183. package/dist/src/components/form/form-types.d.ts +307 -0
  184. package/dist/src/components/form/index.d.ts +6 -0
  185. package/dist/src/components/form/mono-form-controller.d.ts +16 -0
  186. package/dist/src/components/input/index.d.ts +6 -0
  187. package/dist/src/components/input/index.shadow.d.ts +8 -0
  188. package/dist/src/components/input/input-core.d.ts +91 -0
  189. package/dist/src/components/input/input-format.d.ts +118 -0
  190. package/dist/src/components/input/input-types.d.ts +179 -0
  191. package/dist/src/components/input/input-utils.d.ts +10 -0
  192. package/dist/src/components/input/mono-input.d.ts +46 -0
  193. package/dist/src/components/input/mono-input.shadow.d.ts +34 -0
  194. package/dist/src/components/menu/index.d.ts +6 -0
  195. package/dist/src/components/menu/index.shadow.d.ts +7 -0
  196. package/dist/src/components/menu/menu-core.d.ts +65 -0
  197. package/dist/src/components/menu/menu-render.d.ts +55 -0
  198. package/dist/src/components/menu/menu-types.d.ts +195 -0
  199. package/dist/src/components/menu/menu-utils.d.ts +53 -0
  200. package/dist/src/components/menu/mono-menu-list.d.ts +118 -0
  201. package/dist/src/components/menu/mono-menu.d.ts +39 -0
  202. package/dist/src/components/menu/mono-menu.shadow.d.ts +40 -0
  203. package/dist/src/components/modal/index.d.ts +4 -0
  204. package/dist/src/components/modal/index.shadow.d.ts +5 -0
  205. package/dist/src/components/modal/modal-core.d.ts +110 -0
  206. package/dist/src/components/modal/modal-types.d.ts +304 -0
  207. package/dist/src/components/modal/mono-modal-controller.d.ts +4 -0
  208. package/dist/src/components/modal/mono-modal.d.ts +45 -0
  209. package/dist/src/components/modal/mono-modal.shadow.d.ts +50 -0
  210. package/dist/src/components/nav/index.d.ts +4 -0
  211. package/dist/src/components/nav/index.shadow.d.ts +6 -0
  212. package/dist/src/components/nav/mono-nav.d.ts +41 -0
  213. package/dist/src/components/nav/mono-nav.shadow.d.ts +21 -0
  214. package/dist/src/components/nav/nav-core.d.ts +34 -0
  215. package/dist/src/components/nav/nav-types.d.ts +48 -0
  216. package/dist/src/components/nav/nav-utils.d.ts +12 -0
  217. package/dist/src/components/radio/index.d.ts +4 -0
  218. package/dist/src/components/radio/index.shadow.d.ts +5 -0
  219. package/dist/src/components/radio/mono-radio.d.ts +31 -0
  220. package/dist/src/components/radio/mono-radio.shadow.d.ts +35 -0
  221. package/dist/src/components/radio/radio-core.d.ts +45 -0
  222. package/dist/src/components/radio/radio-types.d.ts +58 -0
  223. package/dist/src/components/radio/radio-utils.d.ts +12 -0
  224. package/dist/src/components/rich-text-editor/index.d.ts +5 -0
  225. package/dist/src/components/rich-text-editor/index.shadow.d.ts +6 -0
  226. package/dist/src/components/rich-text-editor/mono-rich-text-editor.d.ts +31 -0
  227. package/dist/src/components/rich-text-editor/mono-rich-text-editor.shadow.d.ts +34 -0
  228. package/dist/src/components/rich-text-editor/rich-text-editor-core.d.ts +100 -0
  229. package/dist/src/components/rich-text-editor/rich-text-editor-loader.d.ts +17 -0
  230. package/dist/src/components/rich-text-editor/rich-text-editor-toolbar.d.ts +65 -0
  231. package/dist/src/components/rich-text-editor/rich-text-editor-types.d.ts +231 -0
  232. package/dist/src/components/select/index.d.ts +4 -0
  233. package/dist/src/components/select/index.shadow.d.ts +5 -0
  234. package/dist/src/components/select/mono-select.d.ts +69 -0
  235. package/dist/src/components/select/mono-select.shadow.d.ts +48 -0
  236. package/dist/src/components/select/select-core.d.ts +98 -0
  237. package/dist/src/components/select/select-types.d.ts +284 -0
  238. package/dist/src/components/select/select-utils.d.ts +7 -0
  239. package/dist/src/components/sidebar/index.d.ts +4 -0
  240. package/dist/src/components/sidebar/index.shadow.d.ts +6 -0
  241. package/dist/src/components/sidebar/mono-sidebar.d.ts +34 -0
  242. package/dist/src/components/sidebar/mono-sidebar.shadow.d.ts +27 -0
  243. package/dist/src/components/sidebar/sidebar-core.d.ts +51 -0
  244. package/dist/src/components/sidebar/sidebar-types.d.ts +119 -0
  245. package/dist/src/components/sidebar/sidebar-utils.d.ts +55 -0
  246. package/dist/src/components/switch/index.d.ts +4 -0
  247. package/dist/src/components/switch/index.shadow.d.ts +5 -0
  248. package/dist/src/components/switch/mono-switch.d.ts +31 -0
  249. package/dist/src/components/switch/mono-switch.shadow.d.ts +36 -0
  250. package/dist/src/components/switch/switch-core.d.ts +49 -0
  251. package/dist/src/components/switch/switch-types.d.ts +64 -0
  252. package/dist/src/components/switch/switch-utils.d.ts +12 -0
  253. package/dist/src/components/table/array-source.d.ts +44 -0
  254. package/dist/src/components/table/date-filter-tree.d.ts +93 -0
  255. package/dist/src/components/table/grouping.d.ts +55 -0
  256. package/dist/src/components/table/index.d.ts +33 -0
  257. package/dist/src/components/table/index.shadow.d.ts +47 -0
  258. package/dist/src/components/table/mono-data-grid.d.ts +1756 -0
  259. package/dist/src/components/table/mono-table-checkbox-core.d.ts +76 -0
  260. package/dist/src/components/table/mono-table-checkbox.d.ts +34 -0
  261. package/dist/src/components/table/mono-table-checkbox.shadow.d.ts +26 -0
  262. package/dist/src/components/table/mono-table-detail-core.d.ts +87 -0
  263. package/dist/src/components/table/mono-table-detail.d.ts +32 -0
  264. package/dist/src/components/table/mono-table-detail.shadow.d.ts +31 -0
  265. package/dist/src/components/table/mono-table-empty-core.d.ts +60 -0
  266. package/dist/src/components/table/mono-table-empty.d.ts +35 -0
  267. package/dist/src/components/table/mono-table-empty.shadow.d.ts +40 -0
  268. package/dist/src/components/table/mono-table-error-core.d.ts +84 -0
  269. package/dist/src/components/table/mono-table-error.d.ts +28 -0
  270. package/dist/src/components/table/mono-table-error.shadow.d.ts +21 -0
  271. package/dist/src/components/table/mono-table-info-core.d.ts +13 -0
  272. package/dist/src/components/table/mono-table-info.d.ts +19 -0
  273. package/dist/src/components/table/mono-table-info.shadow.d.ts +14 -0
  274. package/dist/src/components/table/mono-table-loading-core.d.ts +41 -0
  275. package/dist/src/components/table/mono-table-loading.d.ts +50 -0
  276. package/dist/src/components/table/mono-table-loading.shadow.d.ts +14 -0
  277. package/dist/src/components/table/mono-table-page-size-core.d.ts +14 -0
  278. package/dist/src/components/table/mono-table-page-size.d.ts +16 -0
  279. package/dist/src/components/table/mono-table-page-size.shadow.d.ts +11 -0
  280. package/dist/src/components/table/mono-table-paging-core.d.ts +22 -0
  281. package/dist/src/components/table/mono-table-paging-group-core.d.ts +18 -0
  282. package/dist/src/components/table/mono-table-paging-group.d.ts +20 -0
  283. package/dist/src/components/table/mono-table-paging-group.shadow.d.ts +13 -0
  284. package/dist/src/components/table/mono-table-paging.d.ts +16 -0
  285. package/dist/src/components/table/mono-table-paging.shadow.d.ts +11 -0
  286. package/dist/src/components/table/mono-table-search-core.d.ts +74 -0
  287. package/dist/src/components/table/mono-table-search.d.ts +34 -0
  288. package/dist/src/components/table/mono-table-search.shadow.d.ts +21 -0
  289. package/dist/src/components/table/mono-table-sort-core.d.ts +35 -0
  290. package/dist/src/components/table/mono-table-sort.d.ts +38 -0
  291. package/dist/src/components/table/mono-table-sort.shadow.d.ts +20 -0
  292. package/dist/src/components/table/mono-table-summary-core.d.ts +26 -0
  293. package/dist/src/components/table/mono-table-summary.d.ts +24 -0
  294. package/dist/src/components/table/mono-table-summary.shadow.d.ts +14 -0
  295. package/dist/src/components/table/mono-table-th-core.d.ts +56 -0
  296. package/dist/src/components/table/mono-table-th.d.ts +41 -0
  297. package/dist/src/components/table/mono-table-th.shadow.d.ts +19 -0
  298. package/dist/src/components/table/store-group-source.d.ts +24 -0
  299. package/dist/src/components/table/table-controller-core.d.ts +40 -0
  300. package/dist/src/components/table/table-filter-icons.d.ts +3 -0
  301. package/dist/src/components/table/table-menu-core.d.ts +65 -0
  302. package/dist/src/components/table/table-overlay.d.ts +165 -0
  303. package/dist/src/components/table/table-sort-icons.d.ts +4 -0
  304. package/dist/src/components/table/table-sort-utils.d.ts +20 -0
  305. package/dist/src/components/table/table-types.d.ts +475 -0
  306. package/dist/src/components/tabs/index.d.ts +3 -0
  307. package/dist/src/components/tabs/index.shadow.d.ts +4 -0
  308. package/dist/src/components/tabs/mono-tabs.d.ts +33 -0
  309. package/dist/src/components/tabs/mono-tabs.shadow.d.ts +37 -0
  310. package/dist/src/components/tabs/tabs-core.d.ts +57 -0
  311. package/dist/src/components/tabs/tabs-types.d.ts +65 -0
  312. package/dist/src/components/tag-input/index.d.ts +4 -0
  313. package/dist/src/components/tag-input/index.shadow.d.ts +5 -0
  314. package/dist/src/components/tag-input/mono-tag-input.d.ts +66 -0
  315. package/dist/src/components/tag-input/mono-tag-input.shadow.d.ts +40 -0
  316. package/dist/src/components/tag-input/tag-input-core.d.ts +108 -0
  317. package/dist/src/components/tag-input/tag-input-types.d.ts +420 -0
  318. package/dist/src/components/tag-input/tag-input-utils.d.ts +8 -0
  319. package/dist/src/components/textarea/index.d.ts +4 -0
  320. package/dist/src/components/textarea/index.shadow.d.ts +5 -0
  321. package/dist/src/components/textarea/mono-textarea.d.ts +29 -0
  322. package/dist/src/components/textarea/mono-textarea.shadow.d.ts +31 -0
  323. package/dist/src/components/textarea/textarea-core.d.ts +60 -0
  324. package/dist/src/components/textarea/textarea-types.d.ts +131 -0
  325. package/dist/src/components/textarea/textarea-utils.d.ts +7 -0
  326. package/dist/src/components/tooltip/control-tooltip.d.ts +36 -0
  327. package/dist/src/components/tooltip/index.d.ts +6 -0
  328. package/dist/src/components/tooltip/tooltip-config.d.ts +27 -0
  329. package/dist/src/components/tooltip/tooltip-declarative.d.ts +41 -0
  330. package/dist/src/components/tooltip/tooltip-loader.d.ts +1 -0
  331. package/dist/src/components/tooltip/tooltip-types.d.ts +110 -0
  332. package/dist/src/composables/breakpoints.d.ts +59 -0
  333. package/dist/src/composables/chip-limits.d.ts +48 -0
  334. package/dist/src/composables/chip-strip.d.ts +93 -0
  335. package/dist/src/composables/color.d.ts +103 -0
  336. package/dist/src/composables/css-class.d.ts +27 -0
  337. package/dist/src/composables/css-size.d.ts +40 -0
  338. package/dist/src/composables/data-source-controller.d.ts +113 -0
  339. package/dist/src/composables/element-props.d.ts +46 -0
  340. package/dist/src/composables/field-icons.d.ts +15 -0
  341. package/dist/src/composables/hybird-prop.d.ts +79 -0
  342. package/dist/src/composables/hydration-flush.d.ts +34 -0
  343. package/dist/src/composables/icon.d.ts +17 -0
  344. package/dist/src/composables/layout-var.d.ts +34 -0
  345. package/dist/src/composables/light-slots.d.ts +133 -0
  346. package/dist/src/composables/mdi-glyphs.d.ts +4 -0
  347. package/dist/src/composables/mono-element.d.ts +9 -0
  348. package/dist/src/composables/mono-event.d.ts +55 -0
  349. package/dist/src/composables/mono-pending.d.ts +8 -0
  350. package/dist/src/composables/mono-skeleton.d.ts +193 -0
  351. package/dist/src/composables/mono-ui.d.ts +58 -0
  352. package/dist/src/composables/notifier.d.ts +46 -0
  353. package/dist/src/composables/popup-portal.d.ts +226 -0
  354. package/dist/src/composables/popup-stack.d.ts +70 -0
  355. package/dist/src/composables/rate-limit.d.ts +108 -0
  356. package/dist/src/composables/reactive.d.ts +53 -0
  357. package/dist/src/composables/shadow-css.d.ts +42 -0
  358. package/dist/src/composables/visibility.d.ts +36 -0
  359. package/dist/src/data/theme/index.d.ts +30 -0
  360. package/dist/src/data/theme/presets.d.ts +94 -0
  361. package/dist/src/entries/index.d.ts +2 -0
  362. package/dist/src/entries/index.node.d.ts +42 -0
  363. package/dist/src/entries/search.d.ts +3 -0
  364. package/dist/src/export/detail.d.ts +29 -0
  365. package/dist/src/export/download.d.ts +9 -0
  366. package/dist/src/export/excel/index.d.ts +27 -0
  367. package/dist/src/export/excel/nodes.d.ts +123 -0
  368. package/dist/src/export/expression.d.ts +36 -0
  369. package/dist/src/export/helpers.d.ts +6 -0
  370. package/dist/src/export/index.d.ts +13 -0
  371. package/dist/src/export/markdown.d.ts +52 -0
  372. package/dist/src/export/resolve-data.d.ts +31 -0
  373. package/dist/src/export/sentinel.d.ts +97 -0
  374. package/dist/src/export/sheet-name.d.ts +45 -0
  375. package/dist/src/export/styles.d.ts +33 -0
  376. package/dist/src/export/template.d.ts +10 -0
  377. package/dist/src/export/types.d.ts +259 -0
  378. package/dist/src/import/coerce.d.ts +38 -0
  379. package/dist/src/import/index.d.ts +16 -0
  380. package/dist/src/import/match.d.ts +54 -0
  381. package/dist/src/import/parse.d.ts +15 -0
  382. package/dist/src/import/types.d.ts +153 -0
  383. package/dist/src/nuxt/index.d.ts +94 -0
  384. package/dist/src/search/data-search.d.ts +207 -0
  385. package/dist/src/search/field-path.d.ts +107 -0
  386. package/dist/src/search/filter-eval.d.ts +30 -0
  387. package/dist/src/search/index.d.ts +22 -0
  388. package/dist/src/search/odata-search.d.ts +18 -0
  389. package/dist/src/search/search-expr.d.ts +160 -0
  390. package/dist/src/utils/data-source-apply.d.ts +97 -0
  391. package/dist/src/utils/data-source-options.d.ts +116 -0
  392. package/dist/src/utils/data-source-read.d.ts +85 -0
  393. package/dist/src/utils/data-source-summary.d.ts +55 -0
  394. package/dist/src/utils/normalize-error.d.ts +90 -0
  395. package/dist/src/vite/index.d.ts +48 -0
  396. package/dist/src/vite/mono-client-only.d.ts +35 -0
  397. package/dist/src/vite/mono-ssr-stub.d.ts +20 -0
  398. package/dist/src/vite/shadow-manifest.d.ts +8 -0
  399. package/dist/styles-BIJ31TM4.js +20146 -0
  400. package/dist/tooltip-DQqNpqk2.js +795 -0
  401. package/dist/tooltip.d.ts +1 -0
  402. package/dist/tooltip.js +2 -0
  403. package/dist/ui/accordion.d.ts +1 -0
  404. package/dist/ui/accordion.js +466 -0
  405. package/dist/ui/alert.d.ts +1 -0
  406. package/dist/ui/alert.js +221 -0
  407. package/dist/ui/breadcrumb.d.ts +1 -0
  408. package/dist/ui/breadcrumb.js +902 -0
  409. package/dist/ui/button-dropdown.d.ts +1 -0
  410. package/dist/ui/button-dropdown.js +679 -0
  411. package/dist/ui/button.d.ts +1 -0
  412. package/dist/ui/button.js +63 -0
  413. package/dist/ui/card.d.ts +1 -0
  414. package/dist/ui/card.js +524 -0
  415. package/dist/ui/chart.d.ts +1 -0
  416. package/dist/ui/chart.js +885 -0
  417. package/dist/ui/checkbox.d.ts +1 -0
  418. package/dist/ui/checkbox.js +413 -0
  419. package/dist/ui/chip.d.ts +1 -0
  420. package/dist/ui/chip.js +558 -0
  421. package/dist/ui/date.d.ts +1 -0
  422. package/dist/ui/date.js +686 -0
  423. package/dist/ui/drawer.d.ts +1 -0
  424. package/dist/ui/drawer.js +901 -0
  425. package/dist/ui/dropdown-table.d.ts +1 -0
  426. package/dist/ui/dropdown-table.js +1291 -0
  427. package/dist/ui/dropdown.d.ts +1 -0
  428. package/dist/ui/dropdown.js +586 -0
  429. package/dist/ui/file-upload.d.ts +1 -0
  430. package/dist/ui/file-upload.js +688 -0
  431. package/dist/ui/filter.d.ts +1 -0
  432. package/dist/ui/filter.js +400 -0
  433. package/dist/ui/font/files/geist-47c091c9.woff2 +0 -0
  434. package/dist/ui/font/files/geist-8dd77544.woff2 +0 -0
  435. package/dist/ui/font/files/geist-b9248b1e.woff2 +0 -0
  436. package/dist/ui/font/files/geist-d40d74b4.woff2 +0 -0
  437. package/dist/ui/font/files/geist-f493429a.woff2 +0 -0
  438. package/dist/ui/font/files/geistmono-03737868.woff2 +0 -0
  439. package/dist/ui/font/files/geistmono-421a7e38.woff2 +0 -0
  440. package/dist/ui/font/files/geistmono-48ef518d.woff2 +0 -0
  441. package/dist/ui/font/files/geistmono-5df35d39.woff2 +0 -0
  442. package/dist/ui/font/files/geistmono-7de289a4.woff2 +0 -0
  443. package/dist/ui/font/files/geistmono-e976128f.woff2 +0 -0
  444. package/dist/ui/font/files/inter-05cf802c.woff2 +0 -0
  445. package/dist/ui/font/files/inter-2b2f25a4.woff2 +0 -0
  446. package/dist/ui/font/files/inter-467acc7a.woff2 +0 -0
  447. package/dist/ui/font/files/inter-6e85163c.woff2 +0 -0
  448. package/dist/ui/font/files/inter-7048add3.woff2 +0 -0
  449. package/dist/ui/font/files/inter-9be0371e.woff2 +0 -0
  450. package/dist/ui/font/files/inter-a28b7e31.woff2 +0 -0
  451. package/dist/ui/font/files/poppins-054df55a.woff2 +0 -0
  452. package/dist/ui/font/files/poppins-0ee5dc9a.woff2 +0 -0
  453. package/dist/ui/font/files/poppins-0f44cb18.woff2 +0 -0
  454. package/dist/ui/font/files/poppins-0ff0d30c.woff2 +0 -0
  455. package/dist/ui/font/files/poppins-13045147.woff2 +0 -0
  456. package/dist/ui/font/files/poppins-1db57cd9.woff2 +0 -0
  457. package/dist/ui/font/files/poppins-2cf2a902.woff2 +0 -0
  458. package/dist/ui/font/files/poppins-39e7f079.woff2 +0 -0
  459. package/dist/ui/font/files/poppins-9607042d.woff2 +0 -0
  460. package/dist/ui/font/files/poppins-9a88fc1f.woff2 +0 -0
  461. package/dist/ui/font/files/poppins-b8f4f752.woff2 +0 -0
  462. package/dist/ui/font/files/poppins-f5e57db4.woff2 +0 -0
  463. package/dist/ui/font/geist-mono.css +104 -0
  464. package/dist/ui/font/geist.css +168 -0
  465. package/dist/ui/font/inter.css +232 -0
  466. package/dist/ui/font/poppins.css +104 -0
  467. package/dist/ui/form.d.ts +1 -0
  468. package/dist/ui/form.js +3 -0
  469. package/dist/ui/index.css +21989 -0
  470. package/dist/ui/input.d.ts +1 -0
  471. package/dist/ui/input.js +1176 -0
  472. package/dist/ui/menu.d.ts +1 -0
  473. package/dist/ui/menu.js +1289 -0
  474. package/dist/ui/modal.d.ts +1 -0
  475. package/dist/ui/modal.js +996 -0
  476. package/dist/ui/nav.d.ts +1 -0
  477. package/dist/ui/nav.js +295 -0
  478. package/dist/ui/radio.d.ts +1 -0
  479. package/dist/ui/radio.js +379 -0
  480. package/dist/ui/rich-text-editor.d.ts +1 -0
  481. package/dist/ui/rich-text-editor.js +1338 -0
  482. package/dist/ui/select.d.ts +1 -0
  483. package/dist/ui/select.js +2200 -0
  484. package/dist/ui/shadow/accordion.js +442 -0
  485. package/dist/ui/shadow/alert.js +218 -0
  486. package/dist/ui/shadow/breadcrumb.js +919 -0
  487. package/dist/ui/shadow/button-dropdown.js +696 -0
  488. package/dist/ui/shadow/button.js +63 -0
  489. package/dist/ui/shadow/card.js +538 -0
  490. package/dist/ui/shadow/chart.js +1685 -0
  491. package/dist/ui/shadow/checkbox.js +457 -0
  492. package/dist/ui/shadow/chip.js +559 -0
  493. package/dist/ui/shadow/date.js +712 -0
  494. package/dist/ui/shadow/drawer.js +869 -0
  495. package/dist/ui/shadow/dropdown-table.js +1620 -0
  496. package/dist/ui/shadow/dropdown.js +547 -0
  497. package/dist/ui/shadow/file-upload.js +731 -0
  498. package/dist/ui/shadow/filter.js +402 -0
  499. package/dist/ui/shadow/input.js +1150 -0
  500. package/dist/ui/shadow/menu.js +899 -0
  501. package/dist/ui/shadow/modal.js +1194 -0
  502. package/dist/ui/shadow/nav.js +240 -0
  503. package/dist/ui/shadow/radio.js +408 -0
  504. package/dist/ui/shadow/rich-text-editor.js +1344 -0
  505. package/dist/ui/shadow/select.js +2167 -0
  506. package/dist/ui/shadow/sidebar.js +606 -0
  507. package/dist/ui/shadow/switch.js +428 -0
  508. package/dist/ui/shadow/table.js +4755 -0
  509. package/dist/ui/shadow/tabs.js +372 -0
  510. package/dist/ui/shadow/tag-input.js +2974 -0
  511. package/dist/ui/shadow/textarea.js +816 -0
  512. package/dist/ui/sidebar.d.ts +1 -0
  513. package/dist/ui/sidebar.js +659 -0
  514. package/dist/ui/switch.d.ts +1 -0
  515. package/dist/ui/switch.js +398 -0
  516. package/dist/ui/table.d.ts +1 -0
  517. package/dist/ui/table.js +4654 -0
  518. package/dist/ui/tabs.d.ts +1 -0
  519. package/dist/ui/tabs.js +379 -0
  520. package/dist/ui/tag-input.d.ts +1 -0
  521. package/dist/ui/tag-input.js +2947 -0
  522. package/dist/ui/textarea.d.ts +1 -0
  523. package/dist/ui/textarea.js +819 -0
  524. package/dist/ui/theme/legacy.css +293 -0
  525. package/dist/ui/theme/luma.css +743 -0
  526. package/dist/ui/theme/lyra.css +754 -0
  527. package/dist/ui/theme/maia.css +673 -0
  528. package/dist/ui/theme/mira.css +802 -0
  529. package/dist/ui/theme/nova.css +662 -0
  530. package/dist/ui/theme/one.css +699 -0
  531. package/dist/ui/theme/rhea.css +742 -0
  532. package/dist/ui/theme/sera.css +845 -0
  533. package/dist/ui/theme/tokens.css +261 -0
  534. package/dist/ui/theme/vega.css +467 -0
  535. package/dist/vite-C5iUK7so.js +329 -0
  536. package/dist/vite.d.ts +1 -0
  537. package/dist/vite.js +2 -0
  538. package/dist/vue.d.ts +282 -0
  539. package/package.json +411 -3
@@ -0,0 +1,699 @@
1
+ /* ============================================================
2
+ ONE theme (structure only) — radius, typography, elevation,
3
+ and component shapes derived from the EJI ONE Design System
4
+ (PT Eka Jaya Internasional, brand core #1f2664).
5
+
6
+ Colors are NOT here; they come from the default theme +
7
+ .theme-color-* presets in index.css. Pair with .theme-color-one
8
+ for the full ONE look — but this flavor composes with any
9
+ color preset, so every brand color below is read through
10
+ var(--theme-*) rather than hardcoded.
11
+
12
+ ONE is @mono-lit/helper's DEFAULT flavor: index.css imports this sheet and
13
+ the block below applies at :root, so nothing needs importing or
14
+ classing. `class="theme-one"` re-applies it inside a subtree that sits
15
+ under another flavor. The Basecoat styles (vega, nova, …) are the opt-in
16
+ ones — each of their sheets starts with a vega reset of what this file
17
+ sets (flavors/_vega-base.css).
18
+
19
+ The guide mandates self-hosted "Poppins" (the system runs on an
20
+ internal 192.168.x network where font CDNs are unreachable). We
21
+ only name the family; the consuming app ships the .woff2 files.
22
+
23
+ ── WHY THIS FILE IS ALMOST ALL CUSTOM PROPERTIES ──
24
+ A flavor must restyle BOTH the light build (`<mono-card>`) and the
25
+ shadow build (`<mono-shadow-card>`). A descendant rule like
26
+ `.theme-one .mono-card { … }` reaches only the light one: the shadow
27
+ host carries no class, its `.mono-card` lives INSIDE the shadow root,
28
+ and the `.theme-one` ancestor is outside the boundary — so the rule
29
+ can never match. Custom properties, by contrast, inherit THROUGH the
30
+ boundary. So everything themable is expressed as a var set on the
31
+ flavor root, and `font-family` is set once and inherited (every
32
+ component root declares `font-family: inherit`).
33
+
34
+ The only descendant rules left are for things that are genuinely
35
+ light DOM: the `<table class="mono-table">` a consumer authors, and
36
+ flatpickr's calendar, which renders into <body>.
37
+
38
+ -- ONE OWNS ITS GEOMETRY --
39
+ ONE is the DEFAULT flavor, so it follows the EJI guide's own ladder rather
40
+ than Basecoat's: 40px controls at md (the guide's one control height),
41
+ stepping 4px per size like every Basecoat style does. Text sizes for the
42
+ un-ported components still inherit mono's (the --theme-* literals below);
43
+ ported components read the Basecoat vocabulary and get 14px body text,
44
+ which is also the guide's base.
45
+
46
+ What ONE changes: font family, the control ladder, radius, elevation,
47
+ motion, border width, font WEIGHTS, focus ring, and per-component shapes.
48
+ Every public knob set here must have an `initial` twin in
49
+ flavors/_vega-base.css, or it leaks into the Basecoat styles.
50
+ ============================================================ */
51
+ :root,
52
+ .theme-one {
53
+ /* The one inheritable property we set directly. Every component root is
54
+ `font-family: inherit`, so this reaches every light AND shadow component
55
+ in one declaration; a consumer's own body font rule still wins below it. */
56
+ font-family: var(--font-sans);
57
+
58
+ /* ── Basecoat vocabulary ──────────────────────────────────────────────
59
+ Components ported to Basecoat read these (see src/data/theme/generated/
60
+ tokens.css); the --theme-* lines further down keep the un-ported ones
61
+ exactly as they were and go in 2.0. The EJI ladder (6/8/12/16px) is set
62
+ explicitly rather than derived from `--radius`. */
63
+ /* ONE's own family (Poppins). An imported font sheet (@mono-lit/helper/ui/font/*.css) sets
64
+ --mono-font-sans on :root, and that wins here and in every other theme. */
65
+ --font-sans: var(--mono-font-sans, "Poppins", "Inter", -apple-system, BlinkMacSystemFont,
66
+ "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
67
+ --radius: 0.5rem;
68
+ --mono-radius-sm: 0.375rem;
69
+ --mono-radius-md: 0.5rem;
70
+ --mono-radius-lg: 0.75rem;
71
+ --mono-radius-xl: 1rem;
72
+ --mono-radius-2xl: 1.25rem;
73
+ /* --eji-sh-* — deliberately soft */
74
+ --mono-shadow-xs: 0 1px 2px rgba(16, 24, 64, 0.05);
75
+ --mono-shadow-sm: 0 1px 2px rgba(16, 24, 64, 0.04), 0 1px 3px rgba(16, 24, 64, 0.06);
76
+ --mono-shadow-md: 0 2px 4px rgba(16, 24, 64, 0.04), 0 4px 12px rgba(16, 24, 64, 0.07);
77
+ --mono-shadow-lg: 0 8px 24px rgba(16, 24, 64, 0.1);
78
+ --mono-shadow-xl: 0 12px 32px rgba(16, 24, 64, 0.14);
79
+ --mono-ease: cubic-bezier(0.4, 0, 0.2, 1);
80
+ --mono-ease-out: cubic-bezier(0.4, 0, 0.2, 1);
81
+ --mono-duration: 160ms;
82
+ --mono-duration-fast: 120ms;
83
+ --mono-duration-slow: 240ms;
84
+ --mono-label-font-weight: 600;
85
+ --mono-title-font-weight: 700;
86
+ --mono-border-width: 1px;
87
+ /* --eji-sh-focus: a 3px primary-100 halo */
88
+ --mono-ring-alpha: 18%;
89
+
90
+ /* EJI control ladder — the guide mandates ONE height, 40px (h-10), for
91
+ inputs and buttons; the other steps continue Basecoat's 4px grid around it
92
+ (xs h-7 … xxl h-13, the same ladder as the sera style). */
93
+ --mono-control-height-xs: 1.75rem;
94
+ --mono-control-height-sm: 2.25rem;
95
+ --mono-control-height-md: 2.5rem;
96
+ --mono-control-height-lg: 2.75rem;
97
+ --mono-control-height-xl: 3rem;
98
+ --mono-control-height-xxl: 3.25rem;
99
+
100
+ /* EJI radius scale (--eji-r-*): 6px badges, 8px controls, 12px cards,
101
+ 16px hero surfaces. Notably flatter than mono, rounder than Material. */
102
+ --theme-radius-xs: 0.25rem; /* 4px — checkbox box, small chips */
103
+ --theme-radius-sm: 0.375rem; /* 6px — --eji-r-sm */
104
+ --theme-radius-md: 0.5rem; /* 8px — --eji-r-md: input, button */
105
+ --theme-radius-lg: 0.75rem; /* 12px — --eji-r-lg: card, panel */
106
+ --theme-radius-xl: 1rem; /* 16px — --eji-r-xl: hero */
107
+ --theme-radius-2xl: 1.25rem; /* 20px */
108
+ --theme-radius-full: 9999px;
109
+
110
+ /* EJI elevation (--eji-sh-*) — deliberately soft; the guide forbids
111
+ heavy drop shadows. elev-5 extrapolates one step past sh-lg for modals. */
112
+ --theme-elev-0: none;
113
+ --theme-elev-1: 0 1px 2px rgba(16, 24, 64, 0.05);
114
+ --theme-elev-2: 0 1px 2px rgba(16, 24, 64, 0.04), 0 1px 3px rgba(16, 24, 64, 0.06);
115
+ --theme-elev-3: 0 2px 4px rgba(16, 24, 64, 0.04), 0 4px 12px rgba(16, 24, 64, 0.07);
116
+ --theme-elev-4: 0 8px 24px rgba(16, 24, 64, 0.1);
117
+ --theme-elev-5: 0 12px 32px rgba(16, 24, 64, 0.14);
118
+
119
+ /* EJI motion — a single easing (--eji-transition: 160ms cubic-bezier(.4,0,.2,1)). */
120
+ --theme-motion-standard: cubic-bezier(0.4, 0, 0.2, 1);
121
+ --theme-motion-emphasized: cubic-bezier(0.4, 0, 0.2, 1);
122
+ --theme-duration-fast: 120ms;
123
+ --theme-duration-base: 160ms;
124
+ --theme-duration-slow: 240ms;
125
+
126
+ /* EJI spacing (--eji-sp-*) is a 4px ladder — same as the mono default. */
127
+ --theme-space-1: 0.25rem;
128
+ --theme-space-2: 0.5rem;
129
+ --theme-space-3: 0.75rem;
130
+ --theme-space-4: 1rem;
131
+ --theme-space-5: 1.5rem;
132
+ --theme-space-6: 2rem;
133
+
134
+ /* EJI typography — one family system-wide. Only the family and the weight
135
+ ramp are ONE's: every SIZE (base scale, control text, labels, headings,
136
+ subtitles) and both line-heights are left unset so they inherit Mono's.
137
+ See the dimensions note at the top of this file. */
138
+ --theme-font-family: var(--mono-font-sans, "Poppins", "Inter", -apple-system, BlinkMacSystemFont,
139
+ "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
140
+ --theme-font-weight-regular: 400;
141
+ --theme-font-weight-medium: 500;
142
+ --theme-font-weight-semibold: 600;
143
+ --theme-font-weight-bold: 700;
144
+ --theme-letter-spacing-button: 0; /* EJI buttons are sentence case */
145
+
146
+ /* Field labels are semibold where Mono is bold — a weight, not a size. The
147
+ uppercase 11px label is the guide's signature, but pinning its size would
148
+ break the promise above, so only the weight carries over. */
149
+ --theme-label-font-weight: var(--theme-font-weight-semibold);
150
+ --theme-title-font-weight: var(--theme-font-weight-bold);
151
+ --theme-subtitle-font-weight: var(--theme-font-weight-regular);
152
+
153
+ /* EJI borders are a hairline 1px; the focus ring is a 3px primary-100 halo
154
+ (--eji-sh-focus). Written through the rgb var, not a hardcoded #D8E0FA,
155
+ so the ring follows each component's `color` prop. */
156
+ --theme-border-width: 1px;
157
+ --theme-focus-ring: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.18);
158
+ --theme-focus-ring-offset: 0;
159
+
160
+ /* ------------------------------------------------------------------ */
161
+ /* Component API — all inherit through the shadow boundary */
162
+ /* ------------------------------------------------------------------ */
163
+
164
+ /* Form controls — EJI focus is a border-colour shift PLUS a 3px soft halo
165
+ (--eji-sh-focus), so unlike Material we keep the outset ring and only
166
+ retune its spread/alpha. These land on the wrapper in the light build and
167
+ inherit in the shadow build; the `underlined` variant still wins because
168
+ it re-declares the same vars on the field itself. Every text field is ported
169
+ now — they read --mono-ring-alpha above — so the only thing left here is
170
+ what EJI does DIFFERENTLY from Basecoat: a textarea one line shorter at md
171
+ (the guide's 3-row box), and the tighter control font. */
172
+ --mono-textarea-rows-md: 3;
173
+ --mono-textarea-rows-lg: 3;
174
+
175
+ /* Buttons — --eji-r-md 8px at every size (no xs/sm clamp), semibold,
176
+ SENTENCE CASE. The uppercase treatment is reserved for 11px labels and
177
+ table headers; applying it to buttons too (the Material signature) would
178
+ flatten that distinction. Padding is INFERRED for a 40px control (px-4,
179
+ icon side 3; sm px-3, lg px-5) — the guide gives no button padding. */
180
+ --mono-button-font-weight: var(--mono-font-weight-semibold);
181
+ --mono-button-text-transform: none;
182
+ --mono-button-md-radius: var(--mono-radius-md);
183
+ --mono-button-xs-radius: var(--mono-radius-md);
184
+ --mono-button-sm-radius: var(--mono-radius-md);
185
+ --mono-button-md-padding-inline: calc(var(--mono-spacing) * 4);
186
+ --mono-button-md-icon-padding: calc(var(--mono-spacing) * 3);
187
+ --mono-button-sm-padding-inline: calc(var(--mono-spacing) * 3);
188
+ --mono-button-sm-icon-padding: calc(var(--mono-spacing) * 2);
189
+ --mono-button-lg-padding-inline: calc(var(--mono-spacing) * 5);
190
+ --mono-button-lg-icon-padding: calc(var(--mono-spacing) * 4);
191
+ --mono-button-outline-shadow: var(--mono-shadow-xs);
192
+
193
+ /* Checkbox — the EJI box is a small rounded square. Deliberately NOT set here:
194
+ the component default is `25%`, which is ~4px on the default box and stays a
195
+ rounded square at every size. A fixed radius (the old `--theme-radius-xs`
196
+ descendant rule) clamps the small sizes into circles. */
197
+
198
+ /* Radio — ported: the accent IS the `color` prop's role token, so pinning it
199
+ here would freeze every radio to primary. `--mono-radio-accent-soft` and
200
+ `--mono-radio-ring` are no longer read (the focus ring is
201
+ `--mono-radio-ring-color` over `--ring`); both stay documented as no-ops
202
+ until 2.0.
203
+
204
+ Switch — ported: the accent IS the `color` prop's role token and the OFF
205
+ track is `--input` (Basecoat's `not-checked:bg-input`), so neither is pinned
206
+ here. EJI keeps its soft thumb shadow. `--mono-switch-track-off-hover` is no
207
+ longer read (Basecoat has no hover on the track); it stays documented as a
208
+ no-op until 2.0. */
209
+ --mono-switch-thumb-shadow: var(--theme-elev-1);
210
+
211
+ /* Chip — the EJI status badge: a full pill at 11px / semibold. The guide is
212
+ emphatic that status is a labelled badge, never coloured text. */
213
+ /* Chip — EJI's badge, not Basecoat's. One step taller than vega at every
214
+ size (24px at md, not 20px), a true pill, and a SOFT variant that carries a
215
+ tinted border over an opaque tint rather than a flat alpha wash. Without
216
+ these ONE inherits vega's badge, which is what "ONE looks like vega" meant.
217
+ `currentColor` in the two mixes is the chip's own role colour, so one
218
+ declaration covers all ten. */
219
+ --mono-chip-font-weight: var(--mono-font-weight-semibold);
220
+ /* the radius is written at the PRESET tier because the `rounded` prop drives
221
+ the same value — a flavor setting the public `--mono-chip-radius` would
222
+ out-rank the prop and freeze every chip at one shape */
223
+ --_mono-chip-radius-preset: var(--mono-radius-full);
224
+ --mono-chip-soft-bg: color-mix(in srgb, currentColor 12%, white);
225
+ --mono-chip-soft-border-color: color-mix(in srgb, currentColor 22%, white);
226
+ --mono-chip-height-xs: 1rem;
227
+ --mono-chip-height-sm: 1.25rem;
228
+ --mono-chip-height-md: 1.5rem;
229
+ --mono-chip-height-lg: 1.75rem;
230
+ --mono-chip-height-xl: 2rem;
231
+ --mono-chip-height-xxl: 2.25rem;
232
+ --mono-chip-padding-x-xs: 0.4rem;
233
+ --mono-chip-padding-x-sm: 0.5rem;
234
+ --mono-chip-padding-x-md: 0.6rem;
235
+ --mono-chip-padding-x-lg: 0.75rem;
236
+ --mono-chip-padding-x-xl: 0.88rem;
237
+ --mono-chip-padding-x-xxl: 1rem;
238
+ --mono-chip-gap-xs: 0.2rem;
239
+ --mono-chip-gap-sm: 0.25rem;
240
+ --mono-chip-gap-md: 0.3rem;
241
+ --mono-chip-gap-lg: 0.35rem;
242
+ --mono-chip-gap-xl: 0.4rem;
243
+ --mono-chip-gap-xxl: 0.45rem;
244
+ --mono-chip-font-size-xs: 0.74rem;
245
+ --mono-chip-font-size-sm: 0.78rem;
246
+ --mono-chip-font-size-md: 0.78rem;
247
+ --mono-chip-font-size-lg: 0.78rem;
248
+ --mono-chip-font-size-xl: 0.82rem;
249
+ --mono-chip-font-size-xxl: 0.9rem;
250
+ /* the ✕ and the dot were one fixed size at every step */
251
+ --mono-chip-glyph-size-xs: 1rem;
252
+ --mono-chip-glyph-size-sm: 1rem;
253
+ --mono-chip-glyph-size-md: 1rem;
254
+ --mono-chip-glyph-size-lg: 1rem;
255
+ --mono-chip-glyph-size-xl: 1rem;
256
+ --mono-chip-glyph-size-xxl: 1rem;
257
+ --mono-chip-dot-size: 0.42rem;
258
+ /* Font size deliberately NOT pinned. The guide specifies one 11px badge size
259
+ regardless of chip size, but that flattens chip's per-size ladder — the
260
+ ladder wins, per the dimensions note at the top of this file. */
261
+
262
+ /* Alert — no pre-port alert existed, so ONE's is built from the EJI rhythm the
263
+ card and accordion use: the 12px panel radius, the solid --border line, a
264
+ tighter pad than vega's px-4 py-3, and EJI's title/subtitle type (bold
265
+ title over the subtitle ramp). Sizes scale from these md values. */
266
+ --mono-alert-radius: var(--theme-radius-lg);
267
+ --mono-alert-padding-x: 0.875rem;
268
+ --mono-alert-padding-y: 0.7rem;
269
+ --mono-alert-font-size: var(--theme-title-font-md);
270
+ --mono-alert-title-weight: var(--theme-title-font-weight);
271
+ --mono-alert-subtitle-font-size: var(--theme-subtitle-font-md);
272
+
273
+ /* Card — the EJI card is edged AND shadowed (unlike MUI Paper, which drops the
274
+ edge when elevated): 12px radius, a solid 1px line, sh-sm, and a tighter
275
+ rhythm than Basecoat's — 16px padding, a 14.4px/700 title over a 12.8px
276
+ subtitle, where vega has 24px and 16px/500.
277
+
278
+ Every number here is what ONE painted before the port (measured from the
279
+ built CSS at bb10385c). Without them ONE inherits vega's card, which is what
280
+ "ONE looks like vega" meant.
281
+
282
+ `--mono-card-elevated-border-color` is no longer read (the edge is
283
+ `--mono-card-ring-color`, and `bordered` adds a real border on top); it
284
+ stays documented as a no-op until 2.0. The radius is written at the PRESET
285
+ tier because the `rounded` prop drives the same value — a flavor that sets
286
+ the public `--mono-card-radius` would out-rank the prop. */
287
+ --_mono-card-radius-preset: var(--mono-radius-lg);
288
+ --mono-card-shadow-elevated: var(--theme-elev-2);
289
+ /* the EJI line, not Basecoat's translucent ring */
290
+ --mono-card-ring-color: var(--border);
291
+ --mono-card-padding-xs: 0.6rem;
292
+ --mono-card-padding-sm: 0.8rem;
293
+ --mono-card-padding-md: 1rem;
294
+ --mono-card-padding-lg: 1.25rem;
295
+ --mono-card-padding-xl: 1.5rem;
296
+ --mono-card-padding-xxl: 1.75rem;
297
+ --mono-card-gap-xs: 0.6rem;
298
+ --mono-card-gap-sm: 0.8rem;
299
+ --mono-card-gap-md: 1rem;
300
+ --mono-card-gap-lg: 1.25rem;
301
+ --mono-card-gap-xl: 1.5rem;
302
+ --mono-card-gap-xxl: 1.75rem;
303
+ /* title↔subtitle, and the icon↔text / action↔action gap */
304
+ --mono-card-header-gap-md: 0.25rem;
305
+ --mono-card-actions-gap-md: 0.75rem;
306
+ --mono-card-title-font-weight: var(--mono-font-weight-bold);
307
+ /* EJI's type ramp is tighter than Basecoat's leading-normal */
308
+ --mono-card-title-line-height: 1.3;
309
+ --mono-card-subtitle-line-height: 1.45;
310
+ --mono-card-title-font-xs: 0.74rem;
311
+ --mono-card-title-font-sm: 0.82rem;
312
+ --mono-card-title-font-md: 0.9rem;
313
+ --mono-card-title-font-lg: 1rem;
314
+ --mono-card-title-font-xl: 1.1rem;
315
+ --mono-card-title-font-xxl: 1.25rem;
316
+ --mono-card-subtitle-font-xs: 0.66rem;
317
+ --mono-card-subtitle-font-sm: 0.74rem;
318
+ --mono-card-subtitle-font-md: 0.8rem;
319
+ --mono-card-subtitle-font-lg: 0.9rem;
320
+ --mono-card-subtitle-font-xl: 1rem;
321
+ --mono-card-subtitle-font-xxl: 1.1rem;
322
+
323
+
324
+ /* File upload — EJI's uploader, not Basecoat's `.empty`. Every number here is
325
+ what ONE painted before the port (measured from the built CSS at 331bef32):
326
+ a 2px dashed tinted box padded 1.2rem, a bare brand-coloured 2rem glyph with
327
+ no muted plate, a bold 0.9rem prompt, and white file rows. Without them ONE
328
+ inherits vega's uploader — a 3rem-padded drop target with a grey icon tile. */
329
+ --mono-file-upload-gap: 0.5rem;
330
+ --mono-file-upload-dropzone-padding: 1.2rem;
331
+ --mono-file-upload-dropzone-gap: 0.2rem;
332
+ --mono-file-upload-dropzone-bg: color-mix(in srgb, var(--background) 64%, white);
333
+ --mono-file-upload-border-width: 2px;
334
+ /* the glyph stands on its own — no plate behind it */
335
+ --mono-file-upload-icon-bg: transparent;
336
+ --mono-file-upload-icon-radius: 0;
337
+ --mono-file-upload-icon-size: 2rem;
338
+ --mono-file-upload-icon-glyph-size: 2rem;
339
+ --mono-file-upload-icon-color: var(--primary);
340
+ --mono-file-upload-icon-offset: 0.45rem;
341
+ --mono-file-upload-title-font-size: 0.9rem;
342
+ --mono-file-upload-title-line-height: 1.3;
343
+ --mono-file-upload-title-font-weight: var(--mono-font-weight-bold);
344
+ --mono-file-upload-title-tracking: normal;
345
+ --mono-file-upload-subtext-font-size: 0.74rem;
346
+ --mono-file-upload-subtext-line-height: 1.35;
347
+ --mono-file-upload-subtext-color: color-mix(in oklab, var(--foreground) 62%, transparent);
348
+ --mono-file-upload-list-gap: 0.45rem;
349
+ --mono-file-upload-item-bg: var(--card);
350
+ --mono-file-upload-item-border-color: color-mix(in srgb, var(--border) 76%, white);
351
+ --mono-file-upload-item-radius: 0.6rem;
352
+ --mono-file-upload-item-gap: 0.7rem;
353
+ --mono-file-upload-item-padding-x: 0.7rem;
354
+ --mono-file-upload-item-padding-y: 0.55rem;
355
+ --mono-file-upload-thumb-size: 2.25rem;
356
+ --mono-file-upload-thumb-radius: 0.45rem;
357
+ --mono-file-upload-thumb-bg: color-mix(in srgb, var(--background) 70%, white);
358
+ --mono-file-upload-thumb-color: color-mix(in oklab, var(--foreground) 85%, transparent);
359
+ --mono-file-upload-name-font-size: 0.82rem;
360
+ --mono-file-upload-name-line-height: 1.3;
361
+ --mono-file-upload-name-font-weight: var(--mono-font-weight-semibold);
362
+ --mono-file-upload-meta-font-size: 0.7rem;
363
+ --mono-file-upload-meta-line-height: 1.35;
364
+ --mono-file-upload-meta-color: color-mix(in oklab, var(--foreground) 56%, transparent);
365
+ --mono-file-upload-remove-size: 1.5rem;
366
+ --mono-file-upload-remove-radius: 0.35rem;
367
+ --mono-file-upload-message-font-size: 0.78rem;
368
+ --mono-file-upload-message-line-height: 1.4;
369
+ --mono-file-upload-message-color: color-mix(in oklab, var(--foreground) 68%, transparent);
370
+
371
+ /* Accordion — guide v2: a BORDER-ONLY panel. The previous build gave it an
372
+ elevation; the new spec has no shadow at all, open or closed, and a neutral
373
+ open state (all category colour moved onto badges). */
374
+ --mono-accordion-radius: var(--theme-radius-lg);
375
+ --mono-accordion-shadow: none;
376
+ --mono-accordion-open-shadow: none;
377
+ --mono-accordion-open-border-color: var(--theme-border);
378
+ --mono-accordion-open-bg: var(--theme-surface-soft);
379
+ /* …and the metrics the pre-port sheet had, so a ONE page keeps the panel it
380
+ had: a tighter row than vega's `p-4`, EJI's title/subtitle type rather than
381
+ `text-sm`, and no hover underline (the head tints instead). */
382
+ --mono-accordion-pad-x-md: 0.85rem;
383
+ --mono-accordion-pad-y-md: 0.55rem;
384
+ /* The REST of the size ladder around that tighter md. Overriding md alone left
385
+ md shorter than the component's default sm and a cliff up to its default lg;
386
+ every step here stays between its neighbours. */
387
+ --mono-accordion-pad-x-xs: 0.55rem;
388
+ --mono-accordion-pad-y-xs: 0.35rem;
389
+ --mono-accordion-pad-x-sm: 0.7rem;
390
+ --mono-accordion-pad-y-sm: 0.45rem;
391
+ --mono-accordion-pad-x-lg: 1rem;
392
+ --mono-accordion-pad-y-lg: 0.7rem;
393
+ --mono-accordion-pad-x-xl: 1.15rem;
394
+ --mono-accordion-pad-y-xl: 0.85rem;
395
+ --mono-accordion-pad-x-xxl: 1.3rem;
396
+ --mono-accordion-pad-y-xxl: 1rem;
397
+ --mono-accordion-title-font-xs: 0.74rem;
398
+ --mono-accordion-title-font-sm: 0.78rem;
399
+ --mono-accordion-title-font-lg: 0.9rem;
400
+ --mono-accordion-title-font-xl: 1rem;
401
+ --mono-accordion-title-font-xxl: 1.125rem;
402
+ --mono-accordion-body-font-xs: 0.72rem;
403
+ --mono-accordion-body-font-sm: 0.75rem;
404
+ --mono-accordion-body-font-lg: 0.85rem;
405
+ --mono-accordion-body-font-xl: 0.92rem;
406
+ --mono-accordion-body-font-xxl: 1rem;
407
+ --mono-accordion-gap: 0.75rem;
408
+ --mono-accordion-title-font-md: var(--theme-title-font-md);
409
+ --mono-accordion-title-weight: var(--theme-title-font-weight);
410
+ --mono-accordion-description-font: var(--theme-subtitle-font-md);
411
+ --mono-accordion-body-font-md: 0.79rem;
412
+ --mono-accordion-body-line-height: 1.6;
413
+ --mono-accordion-body-color: color-mix(in oklab, var(--foreground) 78%, transparent);
414
+ --mono-accordion-title-hover-decoration: none;
415
+ --mono-accordion-head-hover-tint: 6%;
416
+ --mono-accordion-arrow-size: var(--mono-icon-md);
417
+ --mono-accordion-group-gap: 0.55rem;
418
+
419
+ /* Tabs — EJI's strip, not Basecoat's: sentence-case medium labels, a content-
420
+ height row with no track padding, and the underline variant's own 2px
421
+ baseline rule with the active bar sitting ON it (upstream draws the bar 5px
422
+ BELOW a bare strip and has no rule at all). Measured off the pre-port sheet,
423
+ so a ONE page keeps the tabs it had. */
424
+ --mono-tabs-font-weight: var(--theme-font-weight-medium);
425
+ --mono-tabs-text-transform: none;
426
+ --mono-tabs-height-md: auto;
427
+ --mono-tabs-padding-md: 0;
428
+ --mono-tabs-radius-md: 0.7rem;
429
+ --mono-tabs-tab-radius-md: 0.55rem;
430
+ --mono-tabs-tab-pad-x-md: 0.75rem;
431
+ --mono-tabs-tab-pad-y-md: 0.4rem;
432
+ --mono-tabs-tab-gap-md: 0.35rem;
433
+ --mono-tabs-tab-font-md: var(--theme-title-font-sm);
434
+ --mono-tabs-icon-size-md: 0.85rem;
435
+ --mono-tabs-line-size: 2.5px;
436
+ --mono-tabs-line-offset: 0px;
437
+ --mono-tabs-line-track-color: var(--theme-border);
438
+ --mono-tabs-line-track-size: 2px;
439
+ --mono-tabs-badge-size: 1.1rem;
440
+ --mono-tabs-badge-font: 0.66rem;
441
+
442
+ /* Topbar — a white surface separated by a hairline, not a coloured glow. */
443
+ --mono-nav-shadow: var(--theme-elev-1);
444
+
445
+ /* Sidebar — the EJI shell signature: a deep brand-primary panel with muted
446
+ white menu text. Read through --theme-* so the flavor still composes with
447
+ any colour preset rather than pinning EJI navy.
448
+
449
+ These go to the `-preset` slot, NOT the public `--mono-sidebar-*` one. The public
450
+ var sits earlier in the resolver chain
451
+ (`var(--mono-sidebar-bg, var(--_mono-sidebar-bg-preset, …))`), so setting it here
452
+ beat the `color` prop's own preset and every sidebar rendered brand-navy however it
453
+ was configured. Writing the preset instead makes this a DEFAULT the prop can
454
+ override — theme < flavor < prop < a consumer's public var — while `color="surface"`
455
+ (which sets no preset of its own) still inherits the EJI slab. */
456
+ --_mono-sidebar-surface-preset: var(--theme-primary);
457
+ --mono-sidebar-surface-soft: rgba(255, 255, 255, 0.07);
458
+ --_mono-sidebar-bg-preset: var(--theme-primary);
459
+ --_mono-sidebar-text-preset: rgba(255, 255, 255, 0.82);
460
+ --_mono-sidebar-text-soft-preset: rgba(255, 255, 255, 0.58);
461
+ --_mono-sidebar-border-preset: rgba(255, 255, 255, 0.1);
462
+ --_mono-sidebar-border-lite-preset: rgba(255, 255, 255, 0.07);
463
+ --_mono-sidebar-accent-preset: #ffffff;
464
+ --mono-sidebar-shadow: var(--theme-elev-2);
465
+
466
+ /* Menu — guide v2 `.eji-menu`: a faint neutral hover that keeps the label
467
+ colour, and a FLAT accent-tinted active pill (no gradient, no shadow). */
468
+ --mono-menu-hover-bg: color-mix(in oklab, var(--foreground) 5%, transparent);
469
+ --mono-menu-hover-border-color: transparent;
470
+ /* A TINT PERCENTAGE, not a colour. A flavor block is on <body>, where neither
471
+ `--_mono-menu-accent` (private, declared on `.mono-menu`) nor `--mono-menu-accent`
472
+ (only ever set by a consumer or by the sidebar bridge) resolves — so any value
473
+ naming the accent here either drops as invalid or freezes to a fallback. A plain
474
+ percentage inherits cleanly and `.mono-menu` does the compositing where the accent
475
+ actually exists, which also means the pill now follows the `color` prop. */
476
+ --_mono-menu-active-tint-preset: 14%;
477
+ /* A 14% tint is a light pill, so it is inked in the ACCENT — white on a 14%
478
+ tint is invisible. The port makes that the default, so only the tint is
479
+ left to say. */
480
+
481
+ /* Dialog — an EJI card at 12px with sh-lg, over a plain ink-900 scrim
482
+ (rgba(15,23,42,.5)) with no blur, and EJI's own type and density. The
483
+ tinted head bar is NOT restored: removing it is a decision of the port, not
484
+ a flavor's (see modal.css) — the knobs are there if a page wants it back. */
485
+ --mono-modal-radius: var(--theme-radius-lg);
486
+ --mono-modal-overlay-bg: rgba(var(--theme-text-rgb), 0.5);
487
+ --mono-modal-shadow: var(--theme-elev-4);
488
+ --mono-modal-overlay-backdrop-filter: none;
489
+ --mono-modal-pad-md: 1.4rem;
490
+ --mono-modal-gap-md: 1.1rem;
491
+ --mono-modal-header-gap-md: 0.85rem;
492
+ --mono-modal-footer-gap-md: 0.55rem;
493
+ --mono-modal-title-font-md: var(--theme-title-font-lg);
494
+ --mono-modal-title-weight: var(--theme-title-font-weight);
495
+ --mono-modal-body-font-md: var(--theme-subtitle-font-lg);
496
+ --mono-modal-body-line-height: 1.55;
497
+ --mono-modal-close-size-md: 28px;
498
+ --mono-modal-close-glyph: var(--mono-icon-md);
499
+ --mono-modal-width: min(90vw, 520px);
500
+ /* Drawer — the pre-port EJI panel: square, 420x50vh, sh-lg over the same
501
+ ink-900 scrim, EJI type and density, and the footer back to a RIGHT-ALIGNED
502
+ ROW (upstream's drawer footer is a stacked mobile sheet). The tinted head /
503
+ foot bars are NOT restored — dropping them is a decision of the port, not a
504
+ flavor's (see drawer.css); the knobs are there if a page wants them back. */
505
+ --mono-drawer-overlay-bg: rgba(var(--theme-text-rgb), 0.5);
506
+ --mono-drawer-overlay-backdrop-filter: none;
507
+ --mono-drawer-shadow: var(--theme-elev-4);
508
+ --mono-drawer-radius: 0px;
509
+ --mono-drawer-width: 420px;
510
+ --mono-drawer-height: 50vh;
511
+ --mono-drawer-pad-md: 1.4rem;
512
+ --mono-drawer-header-gap-md: 0.75rem;
513
+ --mono-drawer-footer-gap-md: 0.5rem;
514
+ --mono-drawer-footer-direction: row;
515
+ --mono-drawer-footer-align: center;
516
+ --mono-drawer-footer-justify: flex-end;
517
+ --mono-drawer-title-font-md: var(--theme-title-font-lg);
518
+ --mono-drawer-title-weight: var(--theme-title-font-weight);
519
+ --mono-drawer-title-line-height: var(--theme-title-line-height);
520
+ --mono-drawer-title-tracking: normal;
521
+ --mono-drawer-body-font-md: var(--theme-subtitle-font-lg);
522
+ --mono-drawer-body-line-height: 1.55;
523
+ --mono-drawer-close-size-md: 28px;
524
+ --mono-drawer-close-glyph: var(--mono-icon-md);
525
+ --mono-drawer-close-radius: 8px;
526
+ --mono-drawer-duration: 0.28s;
527
+ --mono-drawer-ease: cubic-bezier(0.4, 0, 0.2, 1);
528
+
529
+ /* Nav — the pre-port EJI top bar. Its density IS the port's default (56px
530
+ bar, 20px gutter, 12px gap, 44px extension), so only the chrome differs:
531
+ an EJI elevation instead of Basecoat's shadow-sm, and the softer muted ink
532
+ and hairline the old sheet mixed by hand. The translucent blurred (surface)
533
+ bar is NOT restored — dropping it is a decision of the port, not a
534
+ flavor's, and --mono-nav-backdrop-filter brings it back for a page that
535
+ wants it. */
536
+ --mono-nav-radius: var(--mono-radius-lg);
537
+ --mono-nav-shadow: var(--theme-elev-2);
538
+ --mono-nav-ring-color: var(--border);
539
+ --mono-nav-pad-x-comfortable: 1rem;
540
+ --mono-nav-text-soft: color-mix(in oklab, var(--foreground) 62%, transparent);
541
+ --mono-nav-border-lite: color-mix(in oklab, var(--border) 55%, transparent);
542
+
543
+ /* Breadcrumb — the pre-port EJI row. Upstream's segments are bare text with a
544
+ normal-weight current crumb; ONE padded every segment into a small chip and
545
+ bolded the last one, so it restores exactly that. */
546
+ --mono-breadcrumb-pad-x: 0.35rem;
547
+ --mono-breadcrumb-pad-y: 0.18rem;
548
+ --mono-breadcrumb-radius-md: 5px;
549
+ --mono-breadcrumb-gap-md: 0.25rem;
550
+ --mono-breadcrumb-gap-wide-md: 0.25rem;
551
+ --mono-breadcrumb-font-md: var(--theme-title-font-sm);
552
+ --mono-breadcrumb-font-weight: var(--theme-font-weight-medium);
553
+ --mono-breadcrumb-current-weight: var(--theme-font-weight-bold);
554
+ --mono-breadcrumb-icon-size-md: 0.8rem;
555
+ --mono-breadcrumb-sep-font-md: 0.66rem;
556
+
557
+ /* Menu — the pre-port EJI row: a rounded chip with EJI's own density, and an
558
+ active pill inked in the brand rather than upstream's neutral wash. */
559
+ --mono-menu-radius-comfortable: var(--theme-radius-md, 8px);
560
+ --mono-menu-pad-x-comfortable: 0.7rem;
561
+ --mono-menu-pad-y-comfortable: 0.45rem;
562
+ --mono-menu-height-comfortable: 2.2rem;
563
+ --mono-menu-gap-comfortable: 0.15rem;
564
+ --mono-menu-font-comfortable: var(--theme-subtitle-font-lg);
565
+ --mono-menu-icon-size-comfortable: 1.05rem;
566
+ --mono-menu-subheader-transform: uppercase;
567
+ --mono-menu-subheader-tracking: 0.06em;
568
+ --mono-menu-active-weight: var(--theme-font-weight-bold);
569
+
570
+ /* Sidebar — EJI's panel: its own measure and elevation, square. */
571
+ --mono-sidebar-width: 264px;
572
+ --mono-sidebar-pad-x-comfortable: 0.85rem;
573
+ --mono-sidebar-pad-y-comfortable: 0.85rem;
574
+ --mono-sidebar-gap-comfortable: 0.4rem;
575
+ --mono-sidebar-shadow: var(--theme-elev-3);
576
+ --mono-sidebar-radius: 0;
577
+
578
+ /* Table — the EJI ONE grid of the Budgeting reference (`.tw` / `thead th` /
579
+ `th,td` / `tr.l0` / `tr.gt` in its "EJI ONE theme overrides"):
580
+ - WHITE rows (`--surface`), not the grey page, and NO zebra;
581
+ - a hairline between rows lighter than the frame (#eef0f5 vs the #e4e7ef line);
582
+ - a `#f7f8fc` head band: 11px, 600, muted grey, uppercase, .08em;
583
+ - 12px cells at 13px, a 12px frame radius;
584
+ - group rows on the #f0f3fd wash, the total row on #f7f8fc. */
585
+ --mono-table-surface: var(--card);
586
+ /* cells in the full ink (the reference sets no softer body colour) */
587
+ --mono-table-ink-mid: var(--foreground);
588
+ --mono-table-zebra: var(--card);
589
+ --mono-table-border-lite: #eef0f5;
590
+ --mono-table-head-bg: var(--muted);
591
+ --mono-table-th-height: 2.5rem;
592
+ --mono-table-th-pad-x: 0.75rem;
593
+ --mono-table-th-font: 0.6875rem;
594
+ --mono-table-th-weight: var(--theme-font-weight-semibold, 600);
595
+ --mono-table-th-color: var(--muted-foreground);
596
+ --mono-table-th-transform: uppercase;
597
+ --mono-table-th-tracking: 0.08em;
598
+ --mono-table-cell-pad: 0.75rem;
599
+ --mono-table-font: 0.8125rem;
600
+ /* body cells read their own size (see table.css `[mono-table] td`) */
601
+ --mono-table-cell-font: 0.8125rem;
602
+ --mono-table-radius: var(--theme-radius-lg, 12px);
603
+ --mono-table-group-bg: var(--accent);
604
+ --mono-table-group-hover-bg: #eceffb;
605
+ --mono-table-soft: var(--accent);
606
+ --mono-table-foot-bg: var(--muted);
607
+
608
+ /* Menu / popover surfaces — guide v2 raises the panel to sh-lg (elev-4). */
609
+ /* Dropdown — EJI's panel, not Basecoat's. Tighter at every step (9.6/12px
610
+ padding and 11.84px type at md, against vega's 16/16 and 14px) and one
611
+ radius at every size — there is no `rounded` prop here, so the
612
+ size-agnostic knob is a deliberate "always --eji-r-lg", not a frozen
613
+ ladder. Without these ONE inherits vega's popover.
614
+ The ring is vega's; ONE's own elevation rides behind it. */
615
+ --mono-dropdown-radius: var(--theme-radius-lg);
616
+ --mono-dropdown-shadow: var(--theme-elev-4);
617
+ --mono-dropdown-pad-x-xs: 0.48rem;
618
+ --mono-dropdown-pad-y-xs: 0.36rem;
619
+ --mono-dropdown-font-xs: 0.56rem;
620
+ --mono-dropdown-min-width-xs: 170px;
621
+ --mono-dropdown-max-width-xs: 240px;
622
+ --mono-dropdown-pad-x-sm: 0.6rem;
623
+ --mono-dropdown-pad-y-sm: 0.45rem;
624
+ --mono-dropdown-font-sm: 0.7rem;
625
+ --mono-dropdown-min-width-sm: 170px;
626
+ --mono-dropdown-max-width-sm: 240px;
627
+ --mono-dropdown-pad-x-md: 0.75rem;
628
+ --mono-dropdown-pad-y-md: 0.6rem;
629
+ --mono-dropdown-font-md: 0.74rem;
630
+ --mono-dropdown-min-width-md: 200px;
631
+ --mono-dropdown-max-width-md: 280px;
632
+ --mono-dropdown-pad-x-lg: 1rem;
633
+ --mono-dropdown-pad-y-lg: 0.85rem;
634
+ --mono-dropdown-font-lg: 0.82rem;
635
+ --mono-dropdown-min-width-lg: 240px;
636
+ --mono-dropdown-max-width-lg: 340px;
637
+ --mono-dropdown-pad-x-xl: 1.15rem;
638
+ --mono-dropdown-pad-y-xl: 1rem;
639
+ --mono-dropdown-font-xl: 0.9rem;
640
+ --mono-dropdown-min-width-xl: 280px;
641
+ --mono-dropdown-max-width-xl: 420px;
642
+ --mono-dropdown-pad-x-xxl: 1.3rem;
643
+ --mono-dropdown-pad-y-xxl: 1.15rem;
644
+ --mono-dropdown-font-xxl: 0.98rem;
645
+ --mono-dropdown-min-width-xxl: 320px;
646
+ --mono-dropdown-max-width-xxl: 480px;
647
+ /* Button dropdown — EJI's action menu, not Basecoat's. Square rows with a
648
+ hairline gap between them, a blue-tinted hover, and ONE's own elevation
649
+ instead of vega's shadow-md ring. Measured off the pre-port sheet, so a
650
+ ONE page keeps the menu it had. The item ink rides the BASE tier: the
651
+ consumer tier would out-rank an entry's `color` and flatten all ten roles. */
652
+ --mono-button-dropdown-radius: var(--theme-radius-md);
653
+ --mono-button-dropdown-shadow: 0 8px 24px rgba(16, 24, 64, 0.14);
654
+ --mono-button-dropdown-ring-color: var(--theme-border);
655
+ --mono-button-dropdown-padding: 0.25rem;
656
+ --mono-button-dropdown-list-gap: 0.1rem;
657
+ --mono-button-dropdown-min-width: 9rem;
658
+ --mono-button-dropdown-gap: 0.35rem;
659
+ --mono-button-dropdown-text: var(--theme-text);
660
+ --mono-button-dropdown-item-radius: 0;
661
+ --mono-button-dropdown-item-base-hover-bg: #f0f3fd;
662
+ --mono-button-dropdown-item-base-hover-color: var(--theme-text);
663
+
664
+ /* Dropzone — guide v2 `.eji-dropzone`: card radius, dashed, on the bg-alt
665
+ tint, with a semibold label. */
666
+ --mono-file-upload-radius: var(--theme-radius-lg);
667
+ --mono-file-upload-label-font-weight: var(--theme-font-weight-semibold);
668
+ }
669
+
670
+ /* ------------------------------------------------------------------ */
671
+ /* Light-DOM only — these have no shadow build, so a descendant rule */
672
+ /* is correct here. */
673
+ /* ------------------------------------------------------------------ */
674
+
675
+ /* The table's ONE look is the ported table.css driven by the `--mono-table-*`
676
+ knobs in the block above — no descendant rules here. The pre-port
677
+ `.mono-table thead/th` band rules that lived here had been dead since the
678
+ attribute port, and came back unasked once the legacy class aliases landed —
679
+ so they are gone. The table is consumer-authored markup, spelled
680
+ `<table mono-table>` or, on the pre-port class contract,
681
+ `<table class="mono-table">`; both paint the same through
682
+ scripts/legacy-class-alias.mjs. */
683
+
684
+ /* flatpickr renders its calendar into <body>, outside any shadow root, so it is
685
+ styled by the global bundle in both builds. An EJI card: 12px radius, sh-md.
686
+ Day cells stay square-ish (6px) — EJI has no circular-day signature. */
687
+ :is(:root, .theme-one) .flatpickr-calendar.mono-flatpickr {
688
+ border-radius: var(--theme-radius-lg);
689
+ box-shadow: var(--theme-elev-3);
690
+ }
691
+
692
+ :is(:root, .theme-one) .flatpickr-calendar.mono-flatpickr .flatpickr-day {
693
+ border-radius: var(--theme-radius-sm);
694
+ }
695
+
696
+ /* keep the range band continuous between the endpoints */
697
+ :is(:root, .theme-one) .flatpickr-calendar.mono-flatpickr .flatpickr-day.inRange {
698
+ border-radius: 0;
699
+ }