@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,742 @@
1
+ /* ============================================================
2
+ The vega base — prepended to every Basecoat-style flavor at build time
3
+ (vite.config.ts `mono-emit-flavor-themes` replaces `rhea` with the
4
+ flavor's name; `ui/theme/vega.css` is this block alone).
5
+
6
+ ONE is @mono-lit/helper's DEFAULT flavor: `flavors/one.css` is imported by
7
+ index.css on `:root`, so its font, radius ladder, shadows and ring are what
8
+ a page starts with. A Basecoat style is a delta against vega, so before a
9
+ style's own knobs apply, this resets everything ONE changed back to
10
+ Basecoat's vega values (the same values the component CSS uses as
11
+ fallbacks). Not a source of truth — every value here is vega's, as
12
+ generated in src/data/theme/generated/tokens.css.
13
+ ============================================================ */
14
+ .theme-rhea {
15
+ font-family: var(--font-sans);
16
+ /* vega's own family; an imported font sheet (@mono-lit/helper/ui/font/*.css) sets
17
+ --mono-font-sans on :root and wins here, whichever theme is active */
18
+ --font-sans: var(--mono-font-sans, "Geist Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
19
+
20
+ --radius: 0.625rem;
21
+ --mono-radius-sm: calc(var(--radius) - 4px);
22
+ --mono-radius-md: calc(var(--radius) - 2px);
23
+ --mono-radius-lg: var(--radius);
24
+ --mono-radius-xl: calc(var(--radius) + 4px);
25
+ --mono-radius-2xl: 1rem;
26
+
27
+ --mono-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
28
+ --mono-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
29
+ --mono-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
30
+ --mono-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
31
+ --mono-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
32
+
33
+ --mono-ease: cubic-bezier(0.4, 0, 0.2, 1);
34
+ --mono-ease-out: cubic-bezier(0, 0, 0.2, 1);
35
+ --mono-duration: 150ms;
36
+ --mono-duration-fast: 100ms;
37
+ --mono-duration-slow: 200ms;
38
+
39
+ --mono-font-weight-normal: 400;
40
+ --mono-font-weight-medium: 500;
41
+ --mono-font-weight-semibold: 600;
42
+ --mono-font-weight-bold: 700;
43
+ --mono-label-font-weight: 500;
44
+ --mono-title-font-weight: 500;
45
+
46
+ --mono-border-width: 1px;
47
+ --mono-ring-width: 3px;
48
+ --mono-ring-alpha: 50%;
49
+ --mono-ring-color: color-mix(in oklab, var(--ring) var(--mono-ring-alpha), transparent);
50
+
51
+ /* ONE's public component knobs, neutralised: `initial` makes a custom
52
+ property guaranteed-invalid, so the component's own var() fallback — the
53
+ vega value — applies. Add a line here for every knob one.css sets. */
54
+ --mono-button-font-weight: initial;
55
+ --mono-button-text-transform: initial;
56
+ --mono-button-letter-spacing: initial;
57
+ --mono-button-md-radius: initial;
58
+ --mono-button-xs-radius: initial;
59
+ --mono-button-sm-radius: initial;
60
+ --mono-button-md-padding-inline: initial;
61
+ --mono-button-md-icon-padding: initial;
62
+ --mono-button-sm-padding-inline: initial;
63
+ --mono-button-sm-icon-padding: initial;
64
+ --mono-button-lg-padding-inline: initial;
65
+ --mono-button-lg-icon-padding: initial;
66
+ --mono-button-outline-shadow: initial;
67
+
68
+ /* dropdown-font */
69
+ --mono-dropdown-font-lg: initial;
70
+ --mono-dropdown-font-md: initial;
71
+ --mono-dropdown-font-sm: initial;
72
+ --mono-dropdown-font-xl: initial;
73
+ --mono-dropdown-font-xs: initial;
74
+ --mono-dropdown-font-xxl: initial;
75
+
76
+ /* dropdown-max */
77
+ --mono-dropdown-max-width-lg: initial;
78
+ --mono-dropdown-max-width-md: initial;
79
+ --mono-dropdown-max-width-sm: initial;
80
+ --mono-dropdown-max-width-xl: initial;
81
+ --mono-dropdown-max-width-xs: initial;
82
+ --mono-dropdown-max-width-xxl: initial;
83
+
84
+ /* dropdown-min */
85
+ --mono-dropdown-min-width-lg: initial;
86
+ --mono-dropdown-min-width-md: initial;
87
+ --mono-dropdown-min-width-sm: initial;
88
+ --mono-dropdown-min-width-xl: initial;
89
+ --mono-dropdown-min-width-xs: initial;
90
+ --mono-dropdown-min-width-xxl: initial;
91
+
92
+ /* dropdown-pad */
93
+ --mono-dropdown-pad-x-lg: initial;
94
+ --mono-dropdown-pad-x-md: initial;
95
+ --mono-dropdown-pad-x-sm: initial;
96
+ --mono-dropdown-pad-x-xl: initial;
97
+ --mono-dropdown-pad-x-xs: initial;
98
+ --mono-dropdown-pad-x-xxl: initial;
99
+ --mono-dropdown-pad-y-lg: initial;
100
+ --mono-dropdown-pad-y-md: initial;
101
+ --mono-dropdown-pad-y-sm: initial;
102
+ --mono-dropdown-pad-y-xl: initial;
103
+ --mono-dropdown-pad-y-xs: initial;
104
+ --mono-dropdown-pad-y-xxl: initial;
105
+
106
+ /* dropdown-radius */
107
+ --mono-dropdown-radius: initial;
108
+
109
+ /* dropdown-shadow */
110
+ --mono-dropdown-shadow: initial;
111
+
112
+ /* modal */
113
+ --mono-modal-body-font-md: initial;
114
+ --mono-modal-body-line-height: initial;
115
+ --mono-modal-close-glyph: initial;
116
+ --mono-modal-close-size-md: initial;
117
+ --mono-modal-footer-gap-md: initial;
118
+ --mono-modal-gap-md: initial;
119
+ --mono-modal-header-gap-md: initial;
120
+ --mono-modal-overlay-backdrop-filter: initial;
121
+ --mono-modal-overlay-bg: initial;
122
+ --mono-modal-pad-md: initial;
123
+ --mono-modal-radius: initial;
124
+ --mono-modal-shadow: initial;
125
+ --mono-modal-title-font-md: initial;
126
+ --mono-modal-title-weight: initial;
127
+ --mono-modal-width: initial;
128
+
129
+ /* drawer */
130
+ --mono-drawer-body-font-md: initial;
131
+ --mono-drawer-body-line-height: initial;
132
+ --mono-drawer-close-glyph: initial;
133
+ --mono-drawer-close-radius: initial;
134
+ --mono-drawer-close-size-md: initial;
135
+ --mono-drawer-duration: initial;
136
+ --mono-drawer-ease: initial;
137
+ --mono-drawer-footer-align: initial;
138
+ --mono-drawer-footer-direction: initial;
139
+ --mono-drawer-footer-gap-md: initial;
140
+ --mono-drawer-footer-justify: initial;
141
+ --mono-drawer-header-gap-md: initial;
142
+ --mono-drawer-height: initial;
143
+ --mono-drawer-overlay-backdrop-filter: initial;
144
+ --mono-drawer-overlay-bg: initial;
145
+ --mono-drawer-pad-md: initial;
146
+ --mono-drawer-radius: initial;
147
+ --mono-drawer-shadow: initial;
148
+ --mono-drawer-title-font-md: initial;
149
+ --mono-drawer-title-line-height: initial;
150
+ --mono-drawer-title-tracking: initial;
151
+ --mono-drawer-title-weight: initial;
152
+ --mono-drawer-width: initial;
153
+
154
+ /* nav */
155
+ --mono-nav-border-lite: initial;
156
+ --mono-nav-pad-x-comfortable: initial;
157
+ --mono-nav-radius: initial;
158
+ --mono-nav-ring-color: initial;
159
+ --mono-nav-shadow: initial;
160
+ --mono-nav-text-soft: initial;
161
+
162
+ /* breadcrumb */
163
+ --mono-breadcrumb-contained-pad-x: initial;
164
+ --mono-breadcrumb-contained-pad-y: initial;
165
+ --mono-breadcrumb-current-tracking: initial;
166
+ --mono-breadcrumb-current-transform: initial;
167
+ --mono-breadcrumb-current-weight: initial;
168
+ --mono-breadcrumb-font-md: initial;
169
+ --mono-breadcrumb-font-weight: initial;
170
+ --mono-breadcrumb-gap-md: initial;
171
+ --mono-breadcrumb-gap-wide-md: initial;
172
+ --mono-breadcrumb-icon-size-md: initial;
173
+ --mono-breadcrumb-pad-x: initial;
174
+ --mono-breadcrumb-pad-y: initial;
175
+ --mono-breadcrumb-radius-md: initial;
176
+ --mono-breadcrumb-sep-font-md: initial;
177
+
178
+ /* menu */
179
+ --mono-menu-active-weight: initial;
180
+ --mono-menu-font-comfortable: initial;
181
+ --mono-menu-gap-comfortable: initial;
182
+ --mono-menu-height-comfortable: initial;
183
+ --mono-menu-icon-size-comfortable: initial;
184
+ --mono-menu-pad-x-comfortable: initial;
185
+ --mono-menu-pad-y-comfortable: initial;
186
+ --mono-menu-radius-comfortable: initial;
187
+ --mono-menu-subheader-pad-x: initial;
188
+ --mono-menu-subheader-radius: initial;
189
+ --mono-menu-subheader-tracking: initial;
190
+ --mono-menu-subheader-transform: initial;
191
+ --mono-menu-subheader-weight: initial;
192
+ /* ONE paints the menu's hover itself and re-tints its active pill; a Basecoat
193
+ flavour wants upstream's `--sidebar-accent` wash and the shared tint. */
194
+ --mono-menu-hover-bg: initial;
195
+ --mono-menu-hover-border-color: initial;
196
+ --_mono-menu-active-tint-preset: initial;
197
+
198
+ /* sidebar — ONE's shell signature is a deep brand-primary slab with muted
199
+ white ink, written to the `-preset` tier so the `color` prop can still beat
200
+ it. That tier is neutral ground the flavour layer has to clear too: left
201
+ standing, every Basecoat flavour rendered the same navy slab instead of
202
+ upstream's `--sidebar` / `--sidebar-foreground`, in light AND in dark. */
203
+ --_mono-sidebar-surface-preset: initial;
204
+ --_mono-sidebar-bg-preset: initial;
205
+ --_mono-sidebar-text-preset: initial;
206
+ --_mono-sidebar-text-soft-preset: initial;
207
+ --_mono-sidebar-border-preset: initial;
208
+ --_mono-sidebar-border-lite-preset: initial;
209
+ --_mono-sidebar-accent-preset: initial;
210
+ --mono-sidebar-surface-soft: initial;
211
+ --mono-sidebar-gap-comfortable: initial;
212
+
213
+ /* table */
214
+ --mono-table-surface: initial;
215
+ --mono-table-zebra: initial;
216
+ --mono-table-border-lite: initial;
217
+ --mono-table-head-bg: initial;
218
+ --mono-table-group-bg: initial;
219
+ --mono-table-group-hover-bg: initial;
220
+ --mono-table-soft: initial;
221
+ --mono-table-foot-bg: initial;
222
+ --mono-table-cell-font: initial;
223
+ --mono-table-ink-mid: initial;
224
+ --mono-table-th-height: initial;
225
+ --mono-table-th-pad-x: initial;
226
+ --mono-table-th-font: initial;
227
+ --mono-table-th-weight: initial;
228
+ --mono-table-th-color: initial;
229
+ --mono-table-th-transform: initial;
230
+ --mono-table-th-tracking: initial;
231
+ --mono-table-cell-pad: initial;
232
+ --mono-table-font: initial;
233
+ --mono-table-line-height: initial;
234
+ --mono-table-radius: initial;
235
+ --mono-table-panel-radius: initial;
236
+ --mono-table-panel-shadow: initial;
237
+ --mono-table-panel-ring: initial;
238
+ --mono-table-panel-bg: initial;
239
+ --mono-table-panel-color: initial;
240
+ --mono-sidebar-pad-x-comfortable: initial;
241
+ --mono-sidebar-pad-y-comfortable: initial;
242
+ --mono-sidebar-radius: initial;
243
+ --mono-sidebar-shadow: initial;
244
+ --mono-sidebar-width: initial;
245
+
246
+ /* tabs */
247
+ --mono-tabs-badge-font: initial;
248
+ --mono-tabs-badge-size: initial;
249
+ --mono-tabs-font-weight: initial;
250
+ --mono-tabs-height-md: initial;
251
+ --mono-tabs-icon-size-md: initial;
252
+ --mono-tabs-line-offset: initial;
253
+ --mono-tabs-line-size: initial;
254
+ --mono-tabs-line-track-color: initial;
255
+ --mono-tabs-line-track-size: initial;
256
+ --mono-tabs-padding-md: initial;
257
+ --mono-tabs-radius-md: initial;
258
+ --mono-tabs-tab-font-md: initial;
259
+ --mono-tabs-tab-gap-md: initial;
260
+ --mono-tabs-tab-pad-x-md: initial;
261
+ --mono-tabs-tab-pad-y-md: initial;
262
+ --mono-tabs-tab-radius-md: initial;
263
+ --mono-tabs-text-transform: initial;
264
+
265
+ /* accordion */
266
+ --mono-accordion-arrow-size: initial;
267
+ --mono-accordion-body-color: initial;
268
+ --mono-accordion-body-font-md: initial;
269
+ --mono-accordion-body-line-height: initial;
270
+ --mono-accordion-description-font: initial;
271
+ --mono-accordion-gap: initial;
272
+ --mono-accordion-group-gap: initial;
273
+ --mono-accordion-head-hover-tint: initial;
274
+ --mono-accordion-open-bg: initial;
275
+ --mono-accordion-open-border-color: initial;
276
+ --mono-accordion-open-shadow: initial;
277
+ --mono-accordion-pad-x-md: initial;
278
+ --mono-accordion-pad-y-md: initial;
279
+ /* ONE's full size ladder (see flavors/one.css) */
280
+ --mono-accordion-pad-x-xs: initial;
281
+ --mono-accordion-pad-y-xs: initial;
282
+ --mono-accordion-pad-x-sm: initial;
283
+ --mono-accordion-pad-y-sm: initial;
284
+ --mono-accordion-pad-x-lg: initial;
285
+ --mono-accordion-pad-y-lg: initial;
286
+ --mono-accordion-pad-x-xl: initial;
287
+ --mono-accordion-pad-y-xl: initial;
288
+ --mono-accordion-pad-x-xxl: initial;
289
+ --mono-accordion-pad-y-xxl: initial;
290
+ --mono-accordion-title-font-xs: initial;
291
+ --mono-accordion-title-font-sm: initial;
292
+ --mono-accordion-title-font-lg: initial;
293
+ --mono-accordion-title-font-xl: initial;
294
+ --mono-accordion-title-font-xxl: initial;
295
+ --mono-accordion-body-font-xs: initial;
296
+ --mono-accordion-body-font-sm: initial;
297
+ --mono-accordion-body-font-lg: initial;
298
+ --mono-accordion-body-font-xl: initial;
299
+ --mono-accordion-body-font-xxl: initial;
300
+ --mono-accordion-radius: initial;
301
+ --mono-accordion-shadow: initial;
302
+ --mono-accordion-title-font-md: initial;
303
+ --mono-accordion-title-hover-decoration: initial;
304
+ --mono-accordion-title-weight: initial;
305
+
306
+ /* button-dropdown */
307
+ --mono-button-dropdown-gap: initial;
308
+ --mono-button-dropdown-item-base-hover-bg: initial;
309
+ --mono-button-dropdown-item-base-hover-color: initial;
310
+ --mono-button-dropdown-item-radius: initial;
311
+ --mono-button-dropdown-list-gap: initial;
312
+ --mono-button-dropdown-min-width: initial;
313
+ --mono-button-dropdown-padding: initial;
314
+ --mono-button-dropdown-radius: initial;
315
+ --mono-button-dropdown-ring-color: initial;
316
+ --mono-button-dropdown-shadow: initial;
317
+ --mono-button-dropdown-text: initial;
318
+
319
+ /* chip */
320
+ --mono-chip-dot-size: initial;
321
+ --mono-chip-font-size-lg: initial;
322
+ --mono-chip-font-size-md: initial;
323
+ --mono-chip-font-size-sm: initial;
324
+ --mono-chip-font-size-xl: initial;
325
+ --mono-chip-font-size-xs: initial;
326
+ --mono-chip-font-size-xxl: initial;
327
+ --mono-chip-gap-lg: initial;
328
+ --mono-chip-gap-md: initial;
329
+ --mono-chip-gap-sm: initial;
330
+ --mono-chip-gap-xl: initial;
331
+ --mono-chip-gap-xs: initial;
332
+ --mono-chip-gap-xxl: initial;
333
+ --mono-chip-glyph-size-lg: initial;
334
+ --mono-chip-glyph-size-md: initial;
335
+ --mono-chip-glyph-size-sm: initial;
336
+ --mono-chip-glyph-size-xl: initial;
337
+ --mono-chip-glyph-size-xs: initial;
338
+ --mono-chip-glyph-size-xxl: initial;
339
+ --mono-chip-height-lg: initial;
340
+ --mono-chip-height-md: initial;
341
+ --mono-chip-height-sm: initial;
342
+ --mono-chip-height-xl: initial;
343
+ --mono-chip-height-xs: initial;
344
+ --mono-chip-height-xxl: initial;
345
+ --mono-chip-padding-x-lg: initial;
346
+ --mono-chip-padding-x-md: initial;
347
+ --mono-chip-padding-x-sm: initial;
348
+ --mono-chip-padding-x-xl: initial;
349
+ --mono-chip-padding-x-xs: initial;
350
+ --mono-chip-padding-x-xxl: initial;
351
+ /* the radius is written at the PRESET tier because the `rounded` prop drives
352
+ the same value — a flavor setting the public `--mono-chip-radius` would
353
+ out-rank the prop and freeze every chip at one shape */
354
+ --_mono-chip-radius-preset: initial;
355
+ --mono-chip-soft-bg: initial;
356
+ --mono-chip-soft-border-color: initial;
357
+
358
+ /* alert (what one.css sets) */
359
+ --mono-alert-radius: initial;
360
+ --mono-alert-padding-x: initial;
361
+ --mono-alert-padding-y: initial;
362
+ --mono-alert-font-size: initial;
363
+ --mono-alert-title-weight: initial;
364
+ --mono-alert-subtitle-font-size: initial;
365
+
366
+ /* card */
367
+ --mono-card-actions-gap-md: initial;
368
+ --mono-card-gap-lg: initial;
369
+ --mono-card-gap-md: initial;
370
+ --mono-card-gap-sm: initial;
371
+ --mono-card-gap-xl: initial;
372
+ --mono-card-gap-xs: initial;
373
+ --mono-card-gap-xxl: initial;
374
+ --mono-card-header-gap-md: initial;
375
+ --mono-card-padding-lg: initial;
376
+ --mono-card-padding-md: initial;
377
+ --mono-card-padding-sm: initial;
378
+ --mono-card-padding-xl: initial;
379
+ --mono-card-padding-xs: initial;
380
+ --mono-card-padding-xxl: initial;
381
+ /* ONE writes the card radius at the PRESET tier (the `rounded` prop drives
382
+ the public knob, so a flavor that set it would out-rank the prop). That
383
+ tier is a private, but it is still a declaration ONE makes on :root, so it
384
+ needs the same twin as every public knob — without it vega and nova, the
385
+ two flavors that do not set a card radius of their own, inherited ONE's
386
+ rounded-lg where upstream .card is rounded-xl. */
387
+ --_mono-card-radius-preset: initial;
388
+ --mono-card-ring-color: initial;
389
+ --mono-card-shadow-elevated: initial;
390
+ --mono-card-subtitle-font-lg: initial;
391
+ --mono-card-subtitle-font-md: initial;
392
+ --mono-card-subtitle-font-sm: initial;
393
+ --mono-card-subtitle-font-xl: initial;
394
+ --mono-card-subtitle-font-xs: initial;
395
+ --mono-card-subtitle-font-xxl: initial;
396
+ --mono-card-subtitle-line-height: initial;
397
+ --mono-card-title-font-lg: initial;
398
+ --mono-card-title-font-md: initial;
399
+ --mono-card-title-font-sm: initial;
400
+ --mono-card-title-font-weight: initial;
401
+ --mono-card-title-font-xl: initial;
402
+ --mono-card-title-font-xs: initial;
403
+ --mono-card-title-font-xxl: initial;
404
+ --mono-card-title-line-height: initial;
405
+
406
+ /* file-upload */
407
+ --mono-file-upload-border-width: initial;
408
+ --mono-file-upload-dropzone-bg: initial;
409
+ --mono-file-upload-dropzone-gap: initial;
410
+ --mono-file-upload-dropzone-padding: initial;
411
+ --mono-file-upload-gap: initial;
412
+ --mono-file-upload-icon-bg: initial;
413
+ --mono-file-upload-icon-color: initial;
414
+ --mono-file-upload-icon-glyph-size: initial;
415
+ --mono-file-upload-icon-offset: initial;
416
+ --mono-file-upload-icon-radius: initial;
417
+ --mono-file-upload-icon-size: initial;
418
+ --mono-file-upload-item-bg: initial;
419
+ --mono-file-upload-item-border-color: initial;
420
+ --mono-file-upload-item-gap: initial;
421
+ --mono-file-upload-item-padding-x: initial;
422
+ --mono-file-upload-item-padding-y: initial;
423
+ --mono-file-upload-item-radius: initial;
424
+ --mono-file-upload-label-font-weight: initial;
425
+ --mono-file-upload-list-gap: initial;
426
+ --mono-file-upload-message-color: initial;
427
+ --mono-file-upload-message-font-size: initial;
428
+ --mono-file-upload-message-line-height: initial;
429
+ --mono-file-upload-meta-color: initial;
430
+ --mono-file-upload-meta-font-size: initial;
431
+ --mono-file-upload-meta-line-height: initial;
432
+ --mono-file-upload-name-font-size: initial;
433
+ --mono-file-upload-name-font-weight: initial;
434
+ --mono-file-upload-name-line-height: initial;
435
+ --mono-file-upload-radius: initial;
436
+ --mono-file-upload-remove-radius: initial;
437
+ --mono-file-upload-remove-size: initial;
438
+ --mono-file-upload-subtext-color: initial;
439
+ --mono-file-upload-subtext-font-size: initial;
440
+ --mono-file-upload-subtext-line-height: initial;
441
+ --mono-file-upload-thumb-bg: initial;
442
+ --mono-file-upload-thumb-color: initial;
443
+ --mono-file-upload-thumb-radius: initial;
444
+ --mono-file-upload-thumb-size: initial;
445
+ --mono-file-upload-title-font-size: initial;
446
+ --mono-file-upload-title-font-weight: initial;
447
+ --mono-file-upload-title-line-height: initial;
448
+ --mono-file-upload-title-tracking: initial;
449
+
450
+ /* chip */
451
+ --mono-chip-font-weight: initial;
452
+
453
+ /* switch */
454
+ --mono-switch-thumb-shadow: initial;
455
+
456
+ /* textarea */
457
+ --mono-textarea-rows-lg: initial;
458
+ --mono-textarea-rows-md: initial;
459
+
460
+ --mono-control-height-xs: 1.5rem;
461
+ --mono-control-height-sm: 2rem;
462
+ --mono-control-height-md: 2.25rem;
463
+ --mono-control-height-lg: 2.5rem;
464
+ --mono-control-height-xl: 2.75rem;
465
+ --mono-control-height-xxl: 3rem;
466
+ }
467
+
468
+ /* ============================================================
469
+ Basecoat "rhea" style (basecoat-css@1.0.2 styles/rhea.css) as a
470
+ @mono-lit/helper flavor. Compact, rounded-2xl.
471
+
472
+ Basecoat is the source of truth. A style never touches tokens or fonts —
473
+ it is a per-component set of metrics — so everything here is a knob a
474
+ ported component reads, inherited through the shadow boundary. Vega is
475
+ the default (its values are baked into the component CSS as fallbacks);
476
+ this sheet is rhea's DELTA against vega, read off
477
+ `node scripts/basecoat-styles.mjs --varying "<selector>"`.
478
+
479
+ Deltas: one step shorter ladder (h-7 / h-8 / h-9), rounded-2xl at every size, wider padding, a 30% focus ring, no shadow on the outline surface (transparent in dark mode).
480
+
481
+ Usage: import "@mono-lit/helper/ui/theme/rhea.css" then add
482
+ class="theme-rhea" on <html> (or any ancestor). Composes with a
483
+ .theme-color-* preset; dark mode follows html.dark as usual.
484
+
485
+ Ported components carried here: button, input, select, date, tag-input, checkbox, radio, switch, card, textarea, file-upload, chip, dropdown, button-dropdown, accordion, tabs, modal, drawer, nav, breadcrumb, menu, sidebar, table.
486
+ Every component is ported. dropdown-table, filter and rich-text-editor are
487
+ EXTENSIONS that read the ported components' public knobs (tag-input's, input's,
488
+ button's, textarea's, the select panel's) and carry nothing here on purpose;
489
+ chart reads the page tokens (--chart-1…5, --border, --foreground, --popover) directly.
490
+ ============================================================ */
491
+
492
+ .theme-rhea {
493
+ /* control ladder — .btn / .input / .select: sm h-7, default h-8, lg h-9 (xl/xxl continue the grid) */
494
+ --mono-control-height-xs: 1.5rem;
495
+ --mono-control-height-sm: 1.75rem;
496
+ --mono-control-height-md: 2rem;
497
+ --mono-control-height-lg: 2.25rem;
498
+ --mono-control-height-xl: 2.5rem;
499
+ --mono-control-height-xxl: 2.75rem;
500
+
501
+ /* focus-visible:ring-ring/30 */
502
+ --mono-ring-alpha: 30%;
503
+
504
+ /* button — .btn rounded-2xl (no xs/sm clamp); default px-3 (icon side 2.5);
505
+ xs px-2.5 (2); sm px-3 (2); lg px-4 (3); outline: no shadow-xs,
506
+ dark:bg-transparent dark:hover:bg-input/30 */
507
+ --mono-button-md-radius: var(--mono-radius-2xl);
508
+ --mono-button-xs-radius: var(--mono-radius-2xl);
509
+ --mono-button-sm-radius: var(--mono-radius-2xl);
510
+ --mono-button-md-padding-inline: calc(var(--mono-spacing) * 3);
511
+ --mono-button-md-icon-padding: calc(var(--mono-spacing) * 2.5);
512
+ --mono-button-xs-padding-inline: calc(var(--mono-spacing) * 2.5);
513
+ --mono-button-xs-icon-padding: calc(var(--mono-spacing) * 2);
514
+ --mono-button-sm-padding-inline: calc(var(--mono-spacing) * 3);
515
+ --mono-button-sm-icon-padding: calc(var(--mono-spacing) * 2);
516
+ --mono-button-lg-padding-inline: calc(var(--mono-spacing) * 4);
517
+ --mono-button-lg-icon-padding: calc(var(--mono-spacing) * 3);
518
+ --mono-button-xl-padding-inline: calc(var(--mono-spacing) * 5);
519
+ --mono-button-xl-icon-padding: calc(var(--mono-spacing) * 4);
520
+ --mono-button-xxl-padding-inline: calc(var(--mono-spacing) * 6);
521
+ --mono-button-xxl-icon-padding: calc(var(--mono-spacing) * 5);
522
+ --mono-button-outline-shadow: 0 0 #0000;
523
+
524
+ /* input — .input-group h-8 rounded-2xl border-transparent bg-input/50 (both
525
+ modes), no shadow-xs, ring-ring/30; the affix icon button rounded-xl */
526
+ --mono-input-outline-radius: var(--mono-radius-2xl);
527
+ --mono-input-outline-border-color: transparent;
528
+ --mono-input-outline-bg: color-mix(in oklab, var(--input) 50%, transparent);
529
+ --mono-input-outline-shadow: 0 0 #0000;
530
+ --mono-input-clear-radius: var(--mono-radius-xl);
531
+
532
+ /* select — .select > button h-8 rounded-2xl border-transparent bg-input/50 (both
533
+ modes, no hover) px-3, no shadow-xs, ring-ring/30; [data-popover] rounded-2xl
534
+ shadow-lg ring-foreground/5 (dark /10); [role=option] min-h-7 rounded-xl;
535
+ [role=heading] py-1; listbox scroll-py-1.5 */
536
+ --mono-select-outline-radius: var(--mono-radius-2xl);
537
+ --mono-select-outline-border-color: transparent;
538
+ --mono-select-outline-bg: color-mix(in oklab, var(--input) 50%, transparent);
539
+ --mono-select-outline-hover-bg: color-mix(in oklab, var(--input) 50%, transparent);
540
+ --mono-select-outline-shadow: 0 0 #0000;
541
+ --mono-select-outline-padding-x: calc(var(--mono-spacing) * 3);
542
+ --mono-select-dropdown-radius: var(--mono-radius-2xl);
543
+ /* basecoat@1.0.2 styles/rhea.css [data-tooltip]::before — rounded-xl (every tooltip's corner: SunEditor's, and any of mono's) */
544
+ --mono-tooltip-radius: var(--mono-radius-xl);
545
+ --mono-select-dropdown-shadow: var(--mono-shadow-lg);
546
+ --mono-select-dropdown-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 5%, transparent);
547
+ --mono-select-option-min-height: calc(var(--mono-spacing) * 7);
548
+ --mono-select-option-radius: var(--mono-radius-xl);
549
+ --mono-select-group-padding-y: var(--mono-spacing);
550
+ --mono-select-clear-radius: var(--mono-radius-xl);
551
+
552
+ /* date — the input's box + [data-popover] rounded-3xl shadow-lg ring-foreground/5 (dark /10) */
553
+ --mono-date-outline-radius: var(--mono-radius-2xl);
554
+ --mono-date-outline-border-color: transparent;
555
+ --mono-date-outline-bg: color-mix(in oklab, var(--input) 50%, transparent);
556
+ --mono-date-outline-shadow: 0 0 #0000;
557
+ --mono-date-clear-radius: var(--mono-radius-xl);
558
+ --mono-date-calendar-radius: var(--mono-radius-3xl);
559
+ --mono-date-calendar-shadow: var(--mono-shadow-lg);
560
+ --mono-date-calendar-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 5%, transparent);
561
+ --mono-date-calendar-day-radius: var(--mono-radius-xl);
562
+
563
+ /* tag-input — .combobox-chips min-h-8 gap-1 rounded-2xl border-transparent
564
+ bg-input/50 (both modes) px-1 py-1, no shadow-xs, ring-ring/30; .combobox-chip
565
+ h-5.25 rounded-2xl bg-input (dark:bg-input/60); [data-popover] rounded-2xl
566
+ shadow-lg ring-foreground/5 (dark /10); options min-h-7 rounded-xl */
567
+ --mono-tag-input-outline-radius: var(--mono-radius-2xl);
568
+ --mono-tag-input-outline-border-color: transparent;
569
+ --mono-tag-input-outline-bg: color-mix(in oklab, var(--input) 50%, transparent);
570
+ --mono-tag-input-outline-shadow: 0 0 #0000;
571
+ --mono-tag-input-chip-gap: var(--mono-spacing);
572
+ --mono-tag-input-padding-x: var(--mono-spacing);
573
+ --mono-tag-input-padding-y: var(--mono-spacing);
574
+ --mono-tag-input-chip-height-md: calc(var(--mono-spacing) * 5.25);
575
+ --mono-tag-input-chip-radius: var(--mono-radius-2xl);
576
+ --mono-tag-input-chip-bg: var(--input);
577
+ --mono-tag-input-dropdown-radius: var(--mono-radius-2xl);
578
+ --mono-tag-input-dropdown-shadow: var(--mono-shadow-lg);
579
+ --mono-tag-input-dropdown-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 5%, transparent);
580
+ --mono-tag-input-option-min-height: calc(var(--mono-spacing) * 7);
581
+ --mono-tag-input-option-radius: var(--mono-radius-xl);
582
+ --mono-tag-input-group-padding-y: var(--mono-spacing);
583
+ --mono-tag-input-clear-radius: var(--mono-radius-xl);
584
+
585
+ /* checkbox — .input[type='checkbox'] bg-input/90 border-transparent rounded-[5px], ring-ring/30 */
586
+ --mono-checkbox-bg: color-mix(in oklab, var(--input) 90%, transparent);
587
+ --mono-checkbox-border-color: transparent;
588
+ --mono-checkbox-radius: 5px;
589
+ --mono-checkbox-shadow: 0 0 #0000;
590
+
591
+ /* radio — .input[type='radio'] bg-input/90 border-transparent rounded-2xl, ring-ring/30 */
592
+ --mono-radio-bg: color-mix(in oklab, var(--input) 90%, transparent);
593
+ --mono-radio-border-color: transparent;
594
+ --mono-radio-radius: var(--mono-radius-2xl);
595
+
596
+ /* switch — [role='switch'] h-5 w-8 rounded-2xl, border-2 not-checked:border-transparent
597
+ checked:border-primary, not-checked:bg-input/90, ring-ring/30 */
598
+ --mono-switch-shadow: 0 0 #0000;
599
+ --mono-switch-radius: var(--mono-radius-2xl);
600
+ --mono-switch-track-height-md: calc(var(--mono-spacing) * 5);
601
+ --mono-switch-track-ratio: 1.6;
602
+ --mono-switch-border-width: 2px;
603
+ --mono-switch-checked-border-color: currentColor;
604
+ --mono-switch-track-off: color-mix(in oklab, var(--input) 90%, transparent);
605
+ /* :before size-4 rounded-2xl shadow-sm */
606
+ --mono-switch-thumb-ratio: 0.8;
607
+ --mono-switch-thumb-radius: var(--mono-radius-2xl);
608
+ --mono-switch-thumb-shadow: var(--mono-shadow-sm);
609
+
610
+ /* alert — .alert rounded-2xl */
611
+ --mono-alert-radius: var(--mono-radius-2xl);
612
+ /* card — .card rounded-3xl shadow-sm, ring-foreground/5, gap-5 py-5 (px-5),
613
+ header gap-1.5 */
614
+ --_mono-card-radius-preset: var(--mono-radius-3xl);
615
+ --mono-card-shadow: var(--mono-shadow-sm);
616
+ --mono-card-ring-color: color-mix(in oklab, var(--foreground) 5%, transparent);
617
+ --mono-card-padding-md: calc(var(--mono-spacing) * 5);
618
+ --mono-card-gap-md: calc(var(--mono-spacing) * 5);
619
+ --mono-card-header-gap-md: calc(var(--mono-spacing) * 1.5);
620
+
621
+ /* textarea — .textarea bg-input/50 border-transparent rounded-2xl resize-none,
622
+ ring-ring/30 */
623
+ --mono-textarea-outline-radius: var(--mono-radius-2xl);
624
+ --mono-textarea-outline-bg: color-mix(in oklab, var(--input) 50%, transparent);
625
+ --mono-textarea-outline-border-color: transparent;
626
+ --mono-textarea-outline-shadow: 0 0 #0000;
627
+ --mono-textarea-resize: none;
628
+
629
+ /* file-upload — .empty rounded-3xl with a rounded-xl figure and a size-5 glyph;
630
+ .item rounded-2xl with gap-3.5 px-3.5 py-3 rows and a rounded-xl image figure */
631
+ --mono-file-upload-radius: var(--mono-radius-3xl);
632
+ --mono-file-upload-icon-radius: var(--mono-radius-xl);
633
+ --mono-file-upload-icon-glyph-size: calc(var(--mono-spacing) * 5);
634
+ --mono-file-upload-item-radius: var(--mono-radius-2xl);
635
+ --mono-file-upload-item-gap: calc(var(--mono-spacing) * 3.5);
636
+ --mono-file-upload-item-padding-x: calc(var(--mono-spacing) * 3.5);
637
+ --mono-file-upload-item-padding-y: calc(var(--mono-spacing) * 3);
638
+ --mono-file-upload-thumb-radius: var(--mono-radius-xl);
639
+
640
+ /* card — .card rounded-3xl shadow-sm, ring-foreground/5, gap-5 py-5 (px-5),
641
+ header gap-1.5 */
642
+ --mono-card-radius: var(--mono-radius-3xl);
643
+ --mono-card-shadow: var(--mono-shadow-sm);
644
+ --mono-card-ring-color: color-mix(in oklab, var(--foreground) 5%, transparent);
645
+ --mono-card-padding-md: calc(var(--mono-spacing) * 5);
646
+ --mono-card-gap-md: calc(var(--mono-spacing) * 5);
647
+ --mono-card-header-gap-md: calc(var(--mono-spacing) * 1.5);
648
+
649
+ /* chip — .badge rounded-2xl */
650
+ /* the radius is written at the PRESET tier because the `rounded` prop drives
651
+ the same value — a flavor setting the public `--mono-chip-radius` would
652
+ out-rank the prop and freeze every chip at one shape */
653
+ --_mono-chip-radius-preset: var(--mono-radius-2xl);
654
+
655
+ /* dropdown — [data-popover] ring-foreground/5 (dark /10) rounded-3xl shadow-lg */
656
+ --mono-dropdown-radius-md: var(--mono-radius-3xl);
657
+ --mono-dropdown-ring-base: color-mix(in oklab, var(--foreground) 5%, transparent);
658
+ --mono-dropdown-shadow: var(--mono-shadow-lg);
659
+ /* button-dropdown — [data-popover] ring-foreground/5 (dark /10) rounded-2xl shadow-lg;
660
+ [role='menuitem'] min-h-7 rounded-xl */
661
+ --mono-button-dropdown-radius-md: var(--mono-radius-2xl);
662
+ --mono-button-dropdown-ring-color: color-mix(in oklab, var(--foreground) 5%, transparent);
663
+ --mono-button-dropdown-shadow: var(--mono-shadow-lg);
664
+ --mono-button-dropdown-item-radius: var(--mono-radius-xl);
665
+ /* accordion — .accordion overflow-hidden rounded-2xl border; details open:bg-muted/50;
666
+ summary gap-6 p-4; body px-4 */
667
+ --mono-accordion-radius-md: var(--mono-radius-2xl);
668
+ --mono-accordion-gap: calc(var(--mono-spacing) * 6);
669
+ --mono-accordion-open-bg: color-mix(in oklab, var(--muted) 50%, var(--card));
670
+ --mono-accordion-group-radius: var(--mono-radius-2xl);
671
+ --mono-accordion-group-border-width: var(--mono-border-width);
672
+ /* tabs — tablist rounded-2xl h-8 (vertical p-1); tab rounded-2xl px-1.5 py-0.5 */
673
+ --mono-tabs-radius-md: var(--mono-radius-2xl);
674
+ --mono-tabs-height-md: var(--mono-control-height-sm);
675
+ --mono-tabs-tab-radius-md: var(--mono-radius-2xl);
676
+ --mono-tabs-tab-pad-x-md: calc(var(--mono-spacing) * 1.5);
677
+ --mono-tabs-tab-pad-y-md: calc(var(--mono-spacing) * 0.5);
678
+ --mono-tabs-tab-icon-pad: var(--mono-spacing);
679
+ /* modal — .dialog > * ring-foreground/5 rounded-3xl shadow-xl; backdrop
680
+ bg-black/30 backdrop-blur-sm; header gap-1.5; h2 text-base; close bg-secondary */
681
+ --mono-modal-radius-md: var(--mono-radius-3xl);
682
+ --mono-modal-ring-color: color-mix(in oklab, var(--foreground) 5%, transparent);
683
+ --mono-modal-shadow: var(--mono-shadow-xl);
684
+ --mono-modal-header-gap-md: calc(var(--mono-spacing) * 1.5);
685
+ --mono-modal-title-font-md: var(--mono-text-base);
686
+ --mono-modal-overlay-bg: color-mix(in oklab, black 30%, transparent);
687
+ --mono-modal-overlay-backdrop-filter: blur(8px);
688
+ --mono-modal-close-bg: var(--secondary);
689
+ /* drawer — an INSET CARD whose radius is capped at 24px
690
+ (before:rounded-[min(var(--radius-4xl),24px)]) with before:shadow-xl;
691
+ backdrop bg-black/30 backdrop-blur-sm. */
692
+ --mono-drawer-overlay-bg: color-mix(in oklab, black 30%, transparent);
693
+ --mono-drawer-overlay-backdrop-filter: blur(8px);
694
+ --mono-drawer-inset: calc(var(--mono-spacing) * 2);
695
+ --mono-drawer-panel-pad: calc(var(--mono-spacing) * 4);
696
+ --mono-drawer-inset-radius: min(var(--mono-radius-4xl), 24px);
697
+ --mono-drawer-inset-border-width: var(--mono-border-width);
698
+ --mono-drawer-shadow: var(--mono-shadow-xl);
699
+ /* nav — EXTENSION, and the nav IS a card (see nav.css): rhea's card is
700
+ rounded-3xl, shadow-sm, a fainter ring and p-5 */
701
+ --mono-nav-radius: var(--mono-radius-3xl);
702
+ --mono-nav-shadow: var(--mono-shadow-sm);
703
+ --mono-nav-ring-color: color-mix(in oklab, var(--foreground) 5%, transparent);
704
+ --mono-nav-pad-x-comfortable: calc(var(--mono-spacing) * 5);
705
+ --mono-nav-bar-height-comfortable: calc(var(--mono-spacing) * 13);
706
+ --mono-nav-extension-height-comfortable: calc(var(--mono-spacing) * 10);
707
+ /* breadcrumb — .breadcrumb = vega, but rhea rounds every chrome row to
708
+ rounded-xl with a px-3 gutter, and its badge is rounded-2xl */
709
+ --mono-breadcrumb-badge-radius: var(--mono-radius-2xl);
710
+ --mono-breadcrumb-radius-md: var(--mono-radius-xl);
711
+ --mono-breadcrumb-contained-pad-x: calc(var(--mono-spacing) * 3);
712
+ --mono-breadcrumb-contained-pad-y: calc(var(--mono-spacing) * 1.5);
713
+ /* menu — .sidebar nav li > a rounded-xl px-3 py-2; h3 rounded-xl px-3;
714
+ ul gap-0.5 */
715
+ --mono-menu-radius-comfortable: var(--mono-radius-xl);
716
+ --mono-menu-pad-x-comfortable: calc(var(--mono-spacing) * 3);
717
+ --mono-menu-pad-y-comfortable: calc(var(--mono-spacing) * 2);
718
+ --mono-menu-gap-comfortable: calc(var(--mono-spacing) * 0.5);
719
+ --mono-menu-subheader-radius: var(--mono-radius-xl);
720
+ --mono-menu-subheader-pad-x: calc(var(--mono-spacing) * 3);
721
+ /* sidebar */
722
+ --mono-sidebar-radius: var(--mono-radius-xl);
723
+ /* table — rhea follows vega's table but rounds the frame like its cards */
724
+ --mono-table-radius: var(--mono-radius-xl);
725
+ /* [data-popover] — the portaled filter / menu / suggestion panels */
726
+ --mono-table-panel-radius: var(--mono-radius-2xl);
727
+ --mono-table-panel-shadow: var(--mono-shadow-lg);
728
+ --mono-table-panel-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 5%, transparent);
729
+ }
730
+
731
+ :is(html, body, .mono-theme).dark .theme-rhea,
732
+ .theme-rhea:is(html, body, .mono-theme).dark {
733
+ --mono-modal-ring-color: color-mix(in oklab, var(--foreground) 10%, transparent);
734
+ --mono-button-dropdown-ring-color: color-mix(in oklab, var(--foreground) 10%, transparent);
735
+ --mono-dropdown-ring-base: color-mix(in oklab, var(--foreground) 10%, transparent);
736
+ --mono-button-outline-bg: transparent;
737
+ --mono-button-outline-hover-bg: color-mix(in oklab, var(--input) 30%, transparent);
738
+ --mono-select-dropdown-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent);
739
+ --mono-date-calendar-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent);
740
+ --mono-tag-input-chip-bg: color-mix(in oklab, var(--input) 60%, transparent);
741
+ --mono-tag-input-dropdown-ring: 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent);
742
+ }