@nanahoshi/mona-ui 0.27.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/docs/api/auto-complete.md +67 -0
  2. package/docs/api/avatar.md +31 -0
  3. package/docs/api/breadcrumb.md +74 -0
  4. package/docs/api/button-group.md +71 -0
  5. package/docs/api/button.md +84 -0
  6. package/docs/api/calendar.md +123 -0
  7. package/docs/api/card.md +97 -0
  8. package/docs/api/chart.md +4380 -0
  9. package/docs/api/check-box.md +70 -0
  10. package/docs/api/chip.md +55 -0
  11. package/docs/api/circular-progress-bar.md +71 -0
  12. package/docs/api/collapsible.md +71 -0
  13. package/docs/api/color-gradient.md +54 -0
  14. package/docs/api/color-palette.md +52 -0
  15. package/docs/api/color-picker.md +89 -0
  16. package/docs/api/combo-box.md +69 -0
  17. package/docs/api/command.md +282 -0
  18. package/docs/api/common.md +599 -0
  19. package/docs/api/contextmenu.md +239 -0
  20. package/docs/api/date-input.md +119 -0
  21. package/docs/api/date-picker.md +67 -0
  22. package/docs/api/datetime-picker.md +72 -0
  23. package/docs/api/dialog.md +291 -0
  24. package/docs/api/dropdown-button.md +248 -0
  25. package/docs/api/dropdown-list.md +72 -0
  26. package/docs/api/dropdowns.md +172 -0
  27. package/docs/api/editor.md +117 -0
  28. package/docs/api/expansion-panel.md +85 -0
  29. package/docs/api/fieldset.md +33 -0
  30. package/docs/api/filter.md +116 -0
  31. package/docs/api/grid.md +1445 -0
  32. package/docs/api/i18n.md +1699 -0
  33. package/docs/api/label.md +58 -0
  34. package/docs/api/list-box.md +301 -0
  35. package/docs/api/list-view.md +294 -0
  36. package/docs/api/list.md +119 -0
  37. package/docs/api/locales.md +134 -0
  38. package/docs/api/menubar.md +275 -0
  39. package/docs/api/multi-select.md +92 -0
  40. package/docs/api/notification.md +164 -0
  41. package/docs/api/numeric-text-box.md +130 -0
  42. package/docs/api/otp-input.md +100 -0
  43. package/docs/api/pager.md +371 -0
  44. package/docs/api/placeholder.md +18 -0
  45. package/docs/api/popover.md +170 -0
  46. package/docs/api/popup-menu.md +328 -0
  47. package/docs/api/popup.md +299 -0
  48. package/docs/api/progress-bar.md +79 -0
  49. package/docs/api/query.md +367 -0
  50. package/docs/api/radio-button.md +113 -0
  51. package/docs/api/rating.md +187 -0
  52. package/docs/api/scroll-view.md +93 -0
  53. package/docs/api/segmented.md +114 -0
  54. package/docs/api/sheet.md +65 -0
  55. package/docs/api/sidebar.md +583 -0
  56. package/docs/api/skeleton.md +26 -0
  57. package/docs/api/slider.md +173 -0
  58. package/docs/api/spinner.md +132 -0
  59. package/docs/api/split-button.md +261 -0
  60. package/docs/api/splitter.md +57 -0
  61. package/docs/api/stepper.md +148 -0
  62. package/docs/api/switch.md +78 -0
  63. package/docs/api/tabs.md +139 -0
  64. package/docs/api/text-area.md +20 -0
  65. package/docs/api/text-box.md +106 -0
  66. package/docs/api/theme.md +627 -0
  67. package/docs/api/time-picker.md +69 -0
  68. package/docs/api/time-selector.md +54 -0
  69. package/docs/api/tooltip.md +112 -0
  70. package/docs/api/tree-view.md +631 -0
  71. package/docs/api/window.md +245 -0
  72. package/docs/auto-complete.md +28 -329
  73. package/docs/avatar.md +4 -24
  74. package/docs/breadcrumb.md +10 -65
  75. package/docs/button-group.md +7 -60
  76. package/docs/button.md +8 -67
  77. package/docs/calendar.md +16 -121
  78. package/docs/card.md +16 -79
  79. package/docs/chart-bar.md +16 -234
  80. package/docs/chart-financial.md +10 -121
  81. package/docs/chart-funnel.md +13 -176
  82. package/docs/chart-heatmap.md +15 -131
  83. package/docs/chart-line-area.md +12 -137
  84. package/docs/chart-pie.md +17 -221
  85. package/docs/chart-radar.md +13 -129
  86. package/docs/chart-radial.md +13 -211
  87. package/docs/chart-scatter.md +6 -74
  88. package/docs/chart-treemap.md +14 -196
  89. package/docs/chart.md +168 -1892
  90. package/docs/checkbox.md +5 -61
  91. package/docs/chip.md +7 -42
  92. package/docs/circular-progress-bar.md +9 -61
  93. package/docs/collapsible.md +5 -87
  94. package/docs/color-gradient.md +8 -81
  95. package/docs/color-palette.md +7 -69
  96. package/docs/color-picker.md +9 -105
  97. package/docs/combo-box.md +28 -331
  98. package/docs/command.md +25 -236
  99. package/docs/contextmenu.md +15 -140
  100. package/docs/date-picker.md +7 -110
  101. package/docs/datetime-picker.md +7 -129
  102. package/docs/decimal-textbox.md +6 -69
  103. package/docs/dialog.md +23 -263
  104. package/docs/dropdown-button.md +15 -146
  105. package/docs/dropdown-list.md +29 -332
  106. package/docs/editor.md +10 -164
  107. package/docs/expansion-panel.md +7 -69
  108. package/docs/fieldset.md +5 -24
  109. package/docs/grid-columns.md +12 -92
  110. package/docs/grid-editing.md +29 -291
  111. package/docs/grid-grouping.md +11 -50
  112. package/docs/grid-rows.md +10 -74
  113. package/docs/grid-selection.md +7 -36
  114. package/docs/grid-server.md +8 -293
  115. package/docs/grid-sorting-filtering.md +10 -333
  116. package/docs/grid-state-export.md +17 -228
  117. package/docs/grid.md +23 -216
  118. package/docs/input.md +7 -19
  119. package/docs/installation.md +147 -15
  120. package/docs/introduction.md +37 -15
  121. package/docs/label.md +8 -39
  122. package/docs/list-box.md +21 -253
  123. package/docs/list-view.md +25 -232
  124. package/docs/menubar.md +21 -167
  125. package/docs/multi-select.md +31 -350
  126. package/docs/notification.md +17 -116
  127. package/docs/numeric-textbox.md +9 -78
  128. package/docs/otp-input.md +9 -95
  129. package/docs/pager.md +19 -239
  130. package/docs/placeholder.md +5 -18
  131. package/docs/popover.md +13 -123
  132. package/docs/popup-menu.md +22 -243
  133. package/docs/popup.md +24 -248
  134. package/docs/progress-bar.md +10 -75
  135. package/docs/radio-button.md +8 -96
  136. package/docs/range-slider.md +9 -82
  137. package/docs/rating.md +15 -163
  138. package/docs/scroll-view.md +9 -86
  139. package/docs/segmented.md +8 -90
  140. package/docs/sheet.md +10 -74
  141. package/docs/sidebar-menus.md +20 -155
  142. package/docs/sidebar-state.md +16 -134
  143. package/docs/sidebar.md +18 -218
  144. package/docs/skeleton.md +5 -26
  145. package/docs/slider.md +9 -97
  146. package/docs/spinner.md +15 -95
  147. package/docs/split-button.md +21 -166
  148. package/docs/splitter.md +9 -56
  149. package/docs/stepper.md +13 -127
  150. package/docs/switch.md +8 -58
  151. package/docs/tabs.md +13 -111
  152. package/docs/textarea.md +4 -13
  153. package/docs/textbox.md +10 -77
  154. package/docs/theming-built-in-themes.md +67 -0
  155. package/docs/theming-custom-colors.md +274 -0
  156. package/docs/theming-custom-themes.md +168 -0
  157. package/docs/theming.md +164 -248
  158. package/docs/time-picker.md +7 -112
  159. package/docs/tooltip-directive.md +12 -96
  160. package/docs/tooltip.md +12 -96
  161. package/docs/tree-view.md +42 -495
  162. package/docs/window.md +19 -230
  163. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  164. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  165. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  166. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  167. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  168. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2070 -1573
  169. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  170. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  171. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  172. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  173. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  174. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -389
  175. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  176. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  177. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  178. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  179. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  180. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -740
  181. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  182. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -254
  183. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  184. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  185. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  186. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  187. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  188. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -729
  189. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  190. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  191. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  192. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  193. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  194. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  195. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  196. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  197. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  198. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  199. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  200. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  201. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5068
  202. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  203. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  204. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  205. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  206. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  207. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  208. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  209. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  210. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  211. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  212. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  213. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  214. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  215. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  216. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  217. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  218. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  219. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  220. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  221. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  222. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  223. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  224. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  225. package/fesm2022/nanahoshi-mona-ui-locales.mjs +59 -77
  226. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  227. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  228. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  229. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  230. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  231. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  232. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  233. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  234. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  235. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  236. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  237. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  238. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  239. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  240. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  241. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  242. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  243. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  244. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  245. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  246. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  247. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  248. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  249. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  250. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  251. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  252. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  253. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  254. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  255. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  256. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  257. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  258. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  259. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  260. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  261. package/llms.txt +80 -2
  262. package/package.json +62 -23
  263. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  264. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  265. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  266. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  267. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  268. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  269. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  270. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  271. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  272. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  273. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  274. package/types/nanahoshi-mona-ui-collapsible.d.ts +105 -87
  275. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  276. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  277. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  278. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  279. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  280. package/types/nanahoshi-mona-ui-common.d.ts +360 -385
  281. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  282. package/types/nanahoshi-mona-ui-date-input.d.ts +97 -97
  283. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  284. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  285. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  286. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  287. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  288. package/types/nanahoshi-mona-ui-dropdowns.d.ts +255 -235
  289. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  290. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  291. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  292. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  293. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  294. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  295. package/types/nanahoshi-mona-ui-i18n.d.ts +999 -1052
  296. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  297. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  298. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  299. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  300. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  301. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  302. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  303. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  304. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  305. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  306. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  307. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  308. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  309. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  310. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  311. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  312. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  313. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  314. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  315. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  316. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  317. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  318. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  319. package/types/nanahoshi-mona-ui-locales.d.ts +17 -19
  320. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  321. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  322. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  323. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  324. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  325. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  326. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  327. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  328. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  329. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  330. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  331. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  332. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  333. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  334. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  335. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  336. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  337. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  338. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  339. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  340. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  341. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  342. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  343. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  344. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  345. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  346. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  347. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  348. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  349. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  350. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  351. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  352. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  353. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  354. package/types/nanahoshi-mona-ui.d.ts +1 -2
  355. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  356. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  357. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  358. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  359. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
@@ -1,28 +1,26 @@
1
- import * as i0 from '@angular/core';
2
- import { Signal, EnvironmentProviders, InjectionToken } from '@angular/core';
3
- import * as _nanahoshi_mona_ui_theme from '@nanahoshi/mona-ui/theme';
4
-
5
- type BuiltInThemeName = "anna" | "luna" | "mona";
6
- type ThemeName = string;
7
- type ThemeVariant = "light" | "dark";
1
+ import * as i0 from "@angular/core";
2
+ import { EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
3
+ import "culori/css";
4
+ export type BuiltInThemeName = "anna" | "luna" | "mona";
5
+ export type ThemeName = string;
6
+ export type ThemeVariant = "light" | "dark";
8
7
  /** A variant, or `"system"` to follow the operating system's light or dark setting. */
9
- type ThemeVariantPreference = ThemeVariant | "system";
8
+ export type ThemeVariantPreference = ThemeVariant | "system";
10
9
  /** A registered theme and the variants it has. */
11
- interface ThemeAvailability {
12
- readonly name: ThemeName;
13
- readonly variants: readonly ThemeVariant[];
10
+ export interface ThemeAvailability {
11
+ readonly name: ThemeName;
12
+ readonly variants: readonly ThemeVariant[];
14
13
  }
15
14
  /** What's asked for: a theme and a variant, which can be `"system"`. */
16
- interface ThemePreference {
17
- readonly name: ThemeName;
18
- readonly variant: ThemeVariantPreference;
15
+ export interface ThemePreference {
16
+ readonly name: ThemeName;
17
+ readonly variant: ThemeVariantPreference;
19
18
  }
20
19
  /** What's in effect: a theme and the variant it came to. */
21
- interface ThemeSelection {
22
- readonly name: ThemeName;
23
- readonly variant: ThemeVariant;
20
+ export interface ThemeSelection {
21
+ readonly name: ThemeName;
22
+ readonly variant: ThemeVariant;
24
23
  }
25
-
26
24
  type ThemeColorVariable = `--color-${string}`;
27
25
  type ThemeColors = Readonly<Record<ThemeColorVariable, string>>;
28
26
  type ThemeShadowVariable = `--shadow-${string}`;
@@ -39,55 +37,55 @@ type ThemeShape = Readonly<Record<ThemeShapeVariable, string>>;
39
37
  type ThemeComponentVariable = "--mona-calendar-background" | "--mona-calendar-shadow" | "--mona-list-background" | "--mona-list-disabled-background" | "--mona-list-group-background" | "--mona-list-group-border-width" | "--mona-list-group-font-weight" | "--mona-menubar-background" | "--mona-menubar-shadow" | "--mona-pager-background" | "--mona-slider-handle-border-color";
40
38
  type ThemeComponents = Readonly<Record<ThemeComponentVariable, string>>;
41
39
  interface ThemeProfile {
42
- readonly colors: ThemeColors;
43
- readonly components: ThemeComponents;
44
- readonly custom?: ThemeVariables;
45
- readonly effects: ThemeEffects;
46
- readonly motion: ThemeMotion;
47
- readonly shadows: ThemeShadows;
48
- readonly shape: ThemeShape;
40
+ readonly colors: ThemeColors;
41
+ readonly components: ThemeComponents;
42
+ readonly custom?: ThemeVariables;
43
+ readonly effects: ThemeEffects;
44
+ readonly motion: ThemeMotion;
45
+ readonly shadows: ThemeShadows;
46
+ readonly shape: ThemeShape;
49
47
  }
50
48
  interface ThemeProfileOverrides {
51
- readonly colors?: ThemeColors;
52
- readonly components?: Partial<ThemeComponents>;
53
- readonly custom?: ThemeVariables;
54
- readonly effects?: Partial<ThemeEffects>;
55
- readonly motion?: Partial<ThemeMotion>;
56
- readonly shadows?: ThemeShadows;
57
- readonly shape?: Partial<ThemeShape>;
49
+ readonly colors?: ThemeColors;
50
+ readonly components?: Partial<ThemeComponents>;
51
+ readonly custom?: ThemeVariables;
52
+ readonly effects?: Partial<ThemeEffects>;
53
+ readonly motion?: Partial<ThemeMotion>;
54
+ readonly shadows?: ThemeShadows;
55
+ readonly shape?: Partial<ThemeShape>;
58
56
  }
59
57
  type ThemeFamilyVariants = Readonly<{
60
- readonly dark: ThemeProfile;
61
- readonly light?: ThemeProfile;
58
+ readonly dark: ThemeProfile;
59
+ readonly light?: ThemeProfile;
62
60
  } | {
63
- readonly dark?: ThemeProfile;
64
- readonly light: ThemeProfile;
61
+ readonly dark?: ThemeProfile;
62
+ readonly light: ThemeProfile;
65
63
  }>;
66
64
  interface ThemeFamilyRegistration {
67
- readonly name: ThemeName;
68
- readonly variants: ThemeFamilyVariants;
65
+ readonly name: ThemeName;
66
+ readonly variants: ThemeFamilyVariants;
69
67
  }
70
68
  interface ThemeOverrideRegistration {
71
- readonly common?: ThemeProfileOverrides;
72
- readonly dark?: ThemeProfileOverrides;
73
- readonly light?: ThemeProfileOverrides;
74
- readonly theme: ThemeName;
69
+ readonly common?: ThemeProfileOverrides;
70
+ readonly dark?: ThemeProfileOverrides;
71
+ readonly light?: ThemeProfileOverrides;
72
+ readonly theme: ThemeName;
75
73
  }
76
74
  interface ThemeOptions {
77
- readonly initialTheme: ThemePreference;
78
- /**
79
- * Remembers the theme under this key, in `THEME_STORAGE`, and restores it in place of `initialTheme`. Nothing is
80
- * stored without one. A runtime color palette isn't part of what's remembered.
81
- */
82
- readonly persistKey?: string;
75
+ readonly initialTheme: ThemePreference;
76
+ /**
77
+ * Remembers the theme under this key, in `THEME_STORAGE`, and restores it in place of `initialTheme`. Nothing is
78
+ * stored without one. A runtime color palette isn't part of what's remembered.
79
+ */
80
+ readonly persistKey?: string;
83
81
  }
84
82
  interface ThemeColorPaletteSeeds {
85
- readonly error?: string;
86
- readonly info?: string;
87
- readonly primary: string;
88
- readonly secondary?: string;
89
- readonly success?: string;
90
- readonly warning?: string;
83
+ readonly error?: string;
84
+ readonly info?: string;
85
+ readonly primary: string;
86
+ readonly secondary?: string;
87
+ readonly success?: string;
88
+ readonly warning?: string;
91
89
  }
92
90
  type GeneratedThemeColorPalette = Readonly<Record<ThemeVariant, ThemeColors>>;
93
91
  /**
@@ -95,349 +93,366 @@ type GeneratedThemeColorPalette = Readonly<Record<ThemeVariant, ThemeColors>>;
95
93
  * corresponding page role, so a theme only states what it wants the sidebar to do differently.
96
94
  */
97
95
  interface SidebarColorRoleSeeds {
98
- readonly accent?: string;
99
- readonly accentForeground?: string;
100
- readonly background: string;
101
- readonly border?: string;
102
- readonly foreground?: string;
103
- readonly primary?: string;
104
- readonly primaryForeground?: string;
105
- readonly ring?: string;
96
+ readonly accent?: string;
97
+ readonly accentForeground?: string;
98
+ readonly background: string;
99
+ readonly border?: string;
100
+ readonly foreground?: string;
101
+ readonly primary?: string;
102
+ readonly primaryForeground?: string;
103
+ readonly ring?: string;
106
104
  }
107
105
  interface ThemeColorPaletteRegistration {
108
- readonly seeds: ThemeColorPaletteSeeds;
109
- readonly theme: ThemeName;
106
+ readonly seeds: ThemeColorPaletteSeeds;
107
+ readonly theme: ThemeName;
110
108
  }
111
- declare function flattenThemeProfile(profile: ThemeProfile): ThemeVariables;
112
-
113
- declare class ThemeService {
114
- #private;
115
- /** The consumer-provided seeds for the active runtime color palette, or `null` when provider defaults are active. */
116
- readonly colorPaletteSeeds: Signal<ThemeColorPaletteSeeds | null>;
117
- /** What was asked for, which is where `"system"` shows. `selection` says what that came to. */
118
- readonly preference: Signal<ThemePreference>;
119
- readonly profile: Signal<ThemeProfile>;
120
- /** The theme and variant in effect. It's always `light` or `dark`, whatever was asked for. */
121
- readonly selection: Signal<ThemeSelection>;
122
- readonly themeName: Signal<string>;
123
- readonly themeVariant: Signal<ThemeVariant>;
124
- constructor();
125
- /**
126
- * The registered themes and the variants each one has. A custom `ThemeStrategy` reports them through its
127
- * optional `availableThemes()`, and this is empty for one that doesn't.
128
- */
129
- availableThemes(): readonly ThemeAvailability[];
130
- /** Removes the runtime color palette and restores the registered profile and provider overrides. */
131
- clearColorPalette(): void;
132
- /**
133
- * Applies a runtime-generated semantic color palette after all registered profile overrides.
134
- * The palette remains active across theme and light/dark switches until cleared.
135
- */
136
- setColorPalette(seeds: ThemeColorPaletteSeeds): void;
137
- /** Updates only the runtime primary seed while retaining any other active runtime seeds. */
138
- setPrimaryColor(primary: string): void;
139
- /**
140
- * Switches the theme, and remembers it if a `persistKey` was given. `"system"` follows the operating system's
141
- * setting from then on, and takes the variant a theme has when it only has one.
142
- * @throws if the theme isn't registered, or doesn't have the variant asked for
143
- */
144
- setTheme(preference: ThemePreference): void;
145
- /** Whether `setTheme` would accept this. A saved choice can be checked with it before it's restored. */
146
- supportsVariant(name: ThemeName, variant: ThemeVariant): boolean;
147
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
148
- static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
109
+ export declare function flattenThemeProfile(profile: ThemeProfile): ThemeVariables;
110
+ export declare class ThemeService {
111
+ #private;
112
+ /** The consumer-provided seeds for the active runtime color palette, or `null` when provider defaults are active. */
113
+ readonly colorPaletteSeeds: Signal<ThemeColorPaletteSeeds | null>;
114
+ /** What was asked for, which is where `"system"` shows. `selection` says what that came to. */
115
+ readonly preference: Signal<ThemePreference>;
116
+ readonly profile: Signal<ThemeProfile>;
117
+ /** The theme and variant in effect. It's always `light` or `dark`, whatever was asked for. */
118
+ readonly selection: Signal<ThemeSelection>;
119
+ readonly themeName: Signal<string>;
120
+ readonly themeVariant: Signal<ThemeVariant>;
121
+ constructor();
122
+ /**
123
+ * The registered themes and the variants each one has. A custom `ThemeStrategy` reports them through its
124
+ * optional `availableThemes()`, and this is empty for one that doesn't.
125
+ */
126
+ availableThemes(): readonly ThemeAvailability[];
127
+ /** Removes the runtime color palette and restores the registered profile and provider overrides. */
128
+ clearColorPalette(): void;
129
+ /**
130
+ * Applies a runtime-generated semantic color palette after all registered profile overrides.
131
+ * The palette remains active across theme and light/dark switches until cleared.
132
+ */
133
+ setColorPalette(seeds: ThemeColorPaletteSeeds): void;
134
+ /** Updates only the runtime primary seed while retaining any other active runtime seeds. */
135
+ setPrimaryColor(primary: string): void;
136
+ /**
137
+ * Switches the theme, and remembers it if a `persistKey` was given. `"system"` follows the operating system's
138
+ * setting from then on, and takes the variant a theme has when it only has one.
139
+ * @throws if the theme isn't registered, or doesn't have the variant asked for
140
+ */
141
+ setTheme(preference: ThemePreference): void;
142
+ /** Whether `setTheme` would accept this. A saved choice can be checked with it before it's restored. */
143
+ supportsVariant(name: ThemeName, variant: ThemeVariant): boolean;
144
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
145
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
149
146
  }
150
-
151
147
  /**
152
148
  * Where the theme is remembered. Supplied through `THEME_STORAGE`, and only ever consulted when
153
149
  * `provideThemeOptions()` was given a `persistKey`.
154
150
  */
155
- interface ThemeStorage {
156
- /**
157
- * The remembered preference for `key`, or `null` when nothing has been stored under it, including when this
158
- * storage can't answer, such as on the server. A `null` leaves the theme on `initialTheme`.
159
- */
160
- read(key: string): ThemePreference | null;
161
- /** Records the preference for `key`. Failing to store it must not throw. */
162
- write(key: string, preference: ThemePreference): void;
151
+ export interface ThemeStorage {
152
+ /**
153
+ * The remembered preference for `key`, or `null` when nothing has been stored under it, including when this
154
+ * storage can't answer, such as on the server. A `null` leaves the theme on `initialTheme`.
155
+ */
156
+ read(key: string): ThemePreference | null;
157
+ /** Records the preference for `key`. Failing to store it must not throw. */
158
+ write(key: string, preference: ThemePreference): void;
163
159
  }
164
-
165
- declare const annaTheme: Readonly<{
166
- name: string;
167
- variants: {
168
- dark: Readonly<{
169
- colors: Readonly<Record<`--color-${string}`, string>>;
170
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
171
- custom: Readonly<{
172
- "--mona-indicator-color": "var(--color-primary-border)";
173
- "--mona-indicator-foreground": "#161718";
174
- }>;
175
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
176
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
177
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
178
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
179
- }>;
180
- };
181
- }>;
182
-
183
- declare const builtInThemes: Readonly<{
184
- anna: Readonly<{
185
- name: string;
186
- variants: {
187
- dark: Readonly<{
188
- colors: Readonly<Record<`--color-${string}`, string>>;
189
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
190
- custom: Readonly<{
191
- "--mona-indicator-color": "var(--color-primary-border)";
192
- "--mona-indicator-foreground": "#161718";
193
- }>;
194
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
195
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
196
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
197
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
198
- }>;
199
- };
200
- }>;
201
- luna: Readonly<{
202
- name: string;
203
- variants: {
204
- light: Readonly<{
205
- colors: Readonly<Record<`--color-${string}`, string>>;
206
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
207
- motion: Readonly<{
208
- "--mona-motion-fast": "180ms";
209
- "--mona-motion-standard": "320ms";
210
- }>;
211
- effects: Readonly<{
212
- "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
213
- "--mona-effect-control-fallback-background-color": "#f3f4f5";
214
- "--mona-effect-control-background-image": "none";
215
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
216
- "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
217
- "--mona-effect-raised-fallback-background-color": "#fbfbfb";
218
- "--mona-effect-raised-background-image": "none";
219
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
220
- "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
221
- "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
222
- "--mona-effect-overlay-background-image": "none";
223
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
224
- }>;
225
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
226
- custom: Readonly<{
227
- "--mona-date-popup-calendar-backdrop-filter": "none";
228
- "--mona-date-popup-calendar-background": "transparent";
229
- "--mona-date-popup-calendar-background-image": "none";
230
- "--mona-dropdown-popup-list-background": "transparent";
231
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
232
- "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
233
- "--mona-menu-item-hover-foreground": "var(--color-foreground)";
234
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
235
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
236
- }>;
237
- components: Readonly<{
238
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
239
- "--mona-calendar-shadow": "var(--shadow-raised)";
240
- "--mona-list-background": "var(--color-surface)";
241
- "--mona-list-disabled-background": "var(--color-disabled-background)";
242
- "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
243
- "--mona-list-group-border-width": "1px";
244
- "--mona-list-group-font-weight": "650";
245
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
246
- "--mona-menubar-shadow": "var(--shadow-control)";
247
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
248
- "--mona-slider-handle-border-color": "var(--color-border-control)";
249
- }>;
250
- }>;
251
- dark: Readonly<{
252
- colors: Readonly<Record<`--color-${string}`, string>>;
253
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
254
- motion: Readonly<{
255
- "--mona-motion-fast": "180ms";
256
- "--mona-motion-standard": "320ms";
257
- }>;
258
- effects: Readonly<{
259
- "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
260
- "--mona-effect-control-fallback-background-color": "#252527";
261
- "--mona-effect-control-background-image": "none";
262
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
263
- "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
264
- "--mona-effect-raised-fallback-background-color": "#202022";
265
- "--mona-effect-raised-background-image": "none";
266
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
267
- "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
268
- "--mona-effect-overlay-fallback-background-color": "#262628";
269
- "--mona-effect-overlay-background-image": "none";
270
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
271
- }>;
272
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
273
- custom: Readonly<{
274
- "--mona-date-popup-calendar-backdrop-filter": "none";
275
- "--mona-date-popup-calendar-background": "transparent";
276
- "--mona-date-popup-calendar-background-image": "none";
277
- "--mona-dropdown-popup-list-background": "transparent";
278
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
279
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
280
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
281
- }>;
282
- components: Readonly<{
283
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
284
- "--mona-calendar-shadow": "var(--shadow-raised)";
285
- "--mona-list-background": "var(--color-surface)";
286
- "--mona-list-disabled-background": "var(--color-disabled-background)";
287
- "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
288
- "--mona-list-group-border-width": "1px";
289
- "--mona-list-group-font-weight": "650";
290
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
291
- "--mona-menubar-shadow": "var(--shadow-control)";
292
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
293
- "--mona-slider-handle-border-color": "var(--color-border-control)";
294
- }>;
295
- }>;
296
- };
160
+ export declare const annaTheme: Readonly<{
161
+ name: string;
162
+ variants: {
163
+ light: Readonly<{
164
+ colors: Readonly<Record<`--color-${string}`, string>>;
165
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
166
+ custom: Readonly<{
167
+ "--mona-indicator-color": "var(--color-primary)";
168
+ "--mona-indicator-foreground": "var(--color-primary-foreground)";
169
+ }>;
170
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
171
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
172
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
173
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
297
174
  }>;
298
- mona: Readonly<{
299
- name: string;
300
- variants: {
301
- light: Readonly<{
302
- colors: Readonly<Record<`--color-${string}`, string>>;
303
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
304
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
305
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
306
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
307
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
308
- }>;
309
- dark: Readonly<{
310
- colors: Readonly<Record<`--color-${string}`, string>>;
311
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
312
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
313
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
314
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
315
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
316
- }>;
317
- };
175
+ dark: Readonly<{
176
+ colors: Readonly<Record<`--color-${string}`, string>>;
177
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
178
+ custom: Readonly<{
179
+ "--mona-indicator-color": "var(--color-primary-border)";
180
+ "--mona-indicator-foreground": "#161718";
181
+ }>;
182
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
183
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
184
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
185
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
318
186
  }>;
187
+ };
319
188
  }>;
320
-
321
- declare const lunaTheme: Readonly<{
189
+ export declare const builtInThemes: Readonly<{
190
+ anna: Readonly<{
322
191
  name: string;
323
192
  variants: {
324
- light: Readonly<{
325
- colors: Readonly<Record<`--color-${string}`, string>>;
326
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
327
- motion: Readonly<{
328
- "--mona-motion-fast": "180ms";
329
- "--mona-motion-standard": "320ms";
330
- }>;
331
- effects: Readonly<{
332
- "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
333
- "--mona-effect-control-fallback-background-color": "#f3f4f5";
334
- "--mona-effect-control-background-image": "none";
335
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
336
- "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
337
- "--mona-effect-raised-fallback-background-color": "#fbfbfb";
338
- "--mona-effect-raised-background-image": "none";
339
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
340
- "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
341
- "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
342
- "--mona-effect-overlay-background-image": "none";
343
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
344
- }>;
345
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
346
- custom: Readonly<{
347
- "--mona-date-popup-calendar-backdrop-filter": "none";
348
- "--mona-date-popup-calendar-background": "transparent";
349
- "--mona-date-popup-calendar-background-image": "none";
350
- "--mona-dropdown-popup-list-background": "transparent";
351
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
352
- "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
353
- "--mona-menu-item-hover-foreground": "var(--color-foreground)";
354
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
355
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
356
- }>;
357
- components: Readonly<{
358
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
359
- "--mona-calendar-shadow": "var(--shadow-raised)";
360
- "--mona-list-background": "var(--color-surface)";
361
- "--mona-list-disabled-background": "var(--color-disabled-background)";
362
- "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
363
- "--mona-list-group-border-width": "1px";
364
- "--mona-list-group-font-weight": "650";
365
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
366
- "--mona-menubar-shadow": "var(--shadow-control)";
367
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
368
- "--mona-slider-handle-border-color": "var(--color-border-control)";
369
- }>;
193
+ light: Readonly<{
194
+ colors: Readonly<Record<`--color-${string}`, string>>;
195
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
196
+ custom: Readonly<{
197
+ "--mona-indicator-color": "var(--color-primary)";
198
+ "--mona-indicator-foreground": "var(--color-primary-foreground)";
370
199
  }>;
371
- dark: Readonly<{
372
- colors: Readonly<Record<`--color-${string}`, string>>;
373
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
374
- motion: Readonly<{
375
- "--mona-motion-fast": "180ms";
376
- "--mona-motion-standard": "320ms";
377
- }>;
378
- effects: Readonly<{
379
- "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
380
- "--mona-effect-control-fallback-background-color": "#252527";
381
- "--mona-effect-control-background-image": "none";
382
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
383
- "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
384
- "--mona-effect-raised-fallback-background-color": "#202022";
385
- "--mona-effect-raised-background-image": "none";
386
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
387
- "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
388
- "--mona-effect-overlay-fallback-background-color": "#262628";
389
- "--mona-effect-overlay-background-image": "none";
390
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
391
- }>;
392
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
393
- custom: Readonly<{
394
- "--mona-date-popup-calendar-backdrop-filter": "none";
395
- "--mona-date-popup-calendar-background": "transparent";
396
- "--mona-date-popup-calendar-background-image": "none";
397
- "--mona-dropdown-popup-list-background": "transparent";
398
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
399
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
400
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
401
- }>;
402
- components: Readonly<{
403
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
404
- "--mona-calendar-shadow": "var(--shadow-raised)";
405
- "--mona-list-background": "var(--color-surface)";
406
- "--mona-list-disabled-background": "var(--color-disabled-background)";
407
- "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
408
- "--mona-list-group-border-width": "1px";
409
- "--mona-list-group-font-weight": "650";
410
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
411
- "--mona-menubar-shadow": "var(--shadow-control)";
412
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
413
- "--mona-slider-handle-border-color": "var(--color-border-control)";
414
- }>;
200
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
201
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
202
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
203
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
204
+ }>;
205
+ dark: Readonly<{
206
+ colors: Readonly<Record<`--color-${string}`, string>>;
207
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
208
+ custom: Readonly<{
209
+ "--mona-indicator-color": "var(--color-primary-border)";
210
+ "--mona-indicator-foreground": "#161718";
415
211
  }>;
212
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
213
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
214
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
215
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
216
+ }>;
416
217
  };
417
- }>;
418
-
419
- declare const monaTheme: Readonly<{
218
+ }>;
219
+ luna: Readonly<{
420
220
  name: string;
421
221
  variants: {
422
- light: Readonly<{
423
- colors: Readonly<Record<`--color-${string}`, string>>;
424
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
425
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
426
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
427
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
428
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
222
+ light: Readonly<{
223
+ colors: Readonly<Record<`--color-${string}`, string>>;
224
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
225
+ motion: Readonly<{
226
+ "--mona-motion-fast": "180ms";
227
+ "--mona-motion-standard": "320ms";
228
+ }>;
229
+ effects: Readonly<{
230
+ "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
231
+ "--mona-effect-control-fallback-background-color": "#f3f4f5";
232
+ "--mona-effect-control-background-image": "none";
233
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
234
+ "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
235
+ "--mona-effect-raised-fallback-background-color": "#fbfbfb";
236
+ "--mona-effect-raised-background-image": "none";
237
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
238
+ "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
239
+ "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
240
+ "--mona-effect-overlay-background-image": "none";
241
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
242
+ }>;
243
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
244
+ custom: Readonly<{
245
+ "--mona-date-popup-calendar-backdrop-filter": "none";
246
+ "--mona-date-popup-calendar-background": "transparent";
247
+ "--mona-date-popup-calendar-background-image": "none";
248
+ "--mona-dropdown-popup-list-background": "transparent";
249
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
250
+ "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
251
+ "--mona-menu-item-hover-foreground": "var(--color-foreground)";
252
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
253
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
254
+ }>;
255
+ components: Readonly<{
256
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
257
+ "--mona-calendar-shadow": "var(--shadow-raised)";
258
+ "--mona-list-background": "var(--color-surface)";
259
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
260
+ "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
261
+ "--mona-list-group-border-width": "1px";
262
+ "--mona-list-group-font-weight": "650";
263
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
264
+ "--mona-menubar-shadow": "var(--shadow-control)";
265
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
266
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
267
+ }>;
268
+ }>;
269
+ dark: Readonly<{
270
+ colors: Readonly<Record<`--color-${string}`, string>>;
271
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
272
+ motion: Readonly<{
273
+ "--mona-motion-fast": "180ms";
274
+ "--mona-motion-standard": "320ms";
429
275
  }>;
430
- dark: Readonly<{
431
- colors: Readonly<Record<`--color-${string}`, string>>;
432
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
433
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
434
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
435
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
436
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
276
+ effects: Readonly<{
277
+ "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
278
+ "--mona-effect-control-fallback-background-color": "#252527";
279
+ "--mona-effect-control-background-image": "none";
280
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
281
+ "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
282
+ "--mona-effect-raised-fallback-background-color": "#202022";
283
+ "--mona-effect-raised-background-image": "none";
284
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
285
+ "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
286
+ "--mona-effect-overlay-fallback-background-color": "#262628";
287
+ "--mona-effect-overlay-background-image": "none";
288
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
437
289
  }>;
290
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
291
+ custom: Readonly<{
292
+ "--mona-date-popup-calendar-backdrop-filter": "none";
293
+ "--mona-date-popup-calendar-background": "transparent";
294
+ "--mona-date-popup-calendar-background-image": "none";
295
+ "--mona-dropdown-popup-list-background": "transparent";
296
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
297
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
298
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
299
+ }>;
300
+ components: Readonly<{
301
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
302
+ "--mona-calendar-shadow": "var(--shadow-raised)";
303
+ "--mona-list-background": "var(--color-surface)";
304
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
305
+ "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
306
+ "--mona-list-group-border-width": "1px";
307
+ "--mona-list-group-font-weight": "650";
308
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
309
+ "--mona-menubar-shadow": "var(--shadow-control)";
310
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
311
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
312
+ }>;
313
+ }>;
314
+ };
315
+ }>;
316
+ mona: Readonly<{
317
+ name: string;
318
+ variants: {
319
+ light: Readonly<{
320
+ colors: Readonly<Record<`--color-${string}`, string>>;
321
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
322
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
323
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
324
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
325
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
326
+ }>;
327
+ dark: Readonly<{
328
+ colors: Readonly<Record<`--color-${string}`, string>>;
329
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
330
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
331
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
332
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
333
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
334
+ }>;
438
335
  };
336
+ }>;
337
+ }>;
338
+ export declare const lunaTheme: Readonly<{
339
+ name: string;
340
+ variants: {
341
+ light: Readonly<{
342
+ colors: Readonly<Record<`--color-${string}`, string>>;
343
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
344
+ motion: Readonly<{
345
+ "--mona-motion-fast": "180ms";
346
+ "--mona-motion-standard": "320ms";
347
+ }>;
348
+ effects: Readonly<{
349
+ "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
350
+ "--mona-effect-control-fallback-background-color": "#f3f4f5";
351
+ "--mona-effect-control-background-image": "none";
352
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
353
+ "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
354
+ "--mona-effect-raised-fallback-background-color": "#fbfbfb";
355
+ "--mona-effect-raised-background-image": "none";
356
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
357
+ "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
358
+ "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
359
+ "--mona-effect-overlay-background-image": "none";
360
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
361
+ }>;
362
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
363
+ custom: Readonly<{
364
+ "--mona-date-popup-calendar-backdrop-filter": "none";
365
+ "--mona-date-popup-calendar-background": "transparent";
366
+ "--mona-date-popup-calendar-background-image": "none";
367
+ "--mona-dropdown-popup-list-background": "transparent";
368
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
369
+ "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
370
+ "--mona-menu-item-hover-foreground": "var(--color-foreground)";
371
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
372
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
373
+ }>;
374
+ components: Readonly<{
375
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
376
+ "--mona-calendar-shadow": "var(--shadow-raised)";
377
+ "--mona-list-background": "var(--color-surface)";
378
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
379
+ "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
380
+ "--mona-list-group-border-width": "1px";
381
+ "--mona-list-group-font-weight": "650";
382
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
383
+ "--mona-menubar-shadow": "var(--shadow-control)";
384
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
385
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
386
+ }>;
387
+ }>;
388
+ dark: Readonly<{
389
+ colors: Readonly<Record<`--color-${string}`, string>>;
390
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
391
+ motion: Readonly<{
392
+ "--mona-motion-fast": "180ms";
393
+ "--mona-motion-standard": "320ms";
394
+ }>;
395
+ effects: Readonly<{
396
+ "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
397
+ "--mona-effect-control-fallback-background-color": "#252527";
398
+ "--mona-effect-control-background-image": "none";
399
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
400
+ "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
401
+ "--mona-effect-raised-fallback-background-color": "#202022";
402
+ "--mona-effect-raised-background-image": "none";
403
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
404
+ "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
405
+ "--mona-effect-overlay-fallback-background-color": "#262628";
406
+ "--mona-effect-overlay-background-image": "none";
407
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
408
+ }>;
409
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
410
+ custom: Readonly<{
411
+ "--mona-date-popup-calendar-backdrop-filter": "none";
412
+ "--mona-date-popup-calendar-background": "transparent";
413
+ "--mona-date-popup-calendar-background-image": "none";
414
+ "--mona-dropdown-popup-list-background": "transparent";
415
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
416
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
417
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
418
+ }>;
419
+ components: Readonly<{
420
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
421
+ "--mona-calendar-shadow": "var(--shadow-raised)";
422
+ "--mona-list-background": "var(--color-surface)";
423
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
424
+ "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
425
+ "--mona-list-group-border-width": "1px";
426
+ "--mona-list-group-font-weight": "650";
427
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
428
+ "--mona-menubar-shadow": "var(--shadow-control)";
429
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
430
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
431
+ }>;
432
+ }>;
433
+ };
434
+ }>;
435
+ export declare const monaTheme: Readonly<{
436
+ name: string;
437
+ variants: {
438
+ light: Readonly<{
439
+ colors: Readonly<Record<`--color-${string}`, string>>;
440
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
441
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
442
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
443
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
444
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
445
+ }>;
446
+ dark: Readonly<{
447
+ colors: Readonly<Record<`--color-${string}`, string>>;
448
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
449
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
450
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
451
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
452
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
453
+ }>;
454
+ };
439
455
  }>;
440
-
441
456
  /**
442
457
  * Builds the sidebar's own colour roles. The sidebar is a persistent chrome region rather than page
443
458
  * content, so it is given a surface of its own instead of borrowing the page's — which is what lets a
@@ -448,43 +463,39 @@ declare const monaTheme: Readonly<{
448
463
  * reserves identity colour for the current item, and makes runtime primary-palette changes flow through
449
464
  * without rebuilding the sidebar recipe.
450
465
  */
451
- declare function createSidebarColorRoles(seeds: SidebarColorRoleSeeds): ThemeColors;
452
-
453
- declare function provideThemeFamily(registration: ThemeFamilyRegistration): EnvironmentProviders;
454
- declare function provideThemeOverrides(registration: ThemeOverrideRegistration): EnvironmentProviders;
455
- declare function provideThemeOptions(options: ThemeOptions): EnvironmentProviders;
466
+ export declare function createSidebarColorRoles(seeds: SidebarColorRoleSeeds): ThemeColors;
467
+ export declare function provideThemeFamily(registration: ThemeFamilyRegistration): EnvironmentProviders;
468
+ export declare function provideThemeOverrides(registration: ThemeOverrideRegistration): EnvironmentProviders;
469
+ export declare function provideThemeOptions(options: ThemeOptions): EnvironmentProviders;
456
470
  /**
457
471
  * Generates a light and a dark palette from the seeds, and applies whichever the theme has.
458
472
  */
459
- declare function provideThemeColorPalette(registration: ThemeColorPaletteRegistration): EnvironmentProviders;
473
+ export declare function provideThemeColorPalette(registration: ThemeColorPaletteRegistration): EnvironmentProviders;
460
474
  /**
461
475
  * Applies the theme to an element in place of `<html>`, for an application embedded in part of a page. Overlays
462
476
  * render outside any such element, so the overlay container gets the theme too. Each application has its own
463
477
  * overlay container, so two embedded applications can have two themes.
464
478
  * @param root the element, or a factory for it that runs in an injection context. It has to exist at startup.
465
479
  */
466
- declare function provideThemeRoot(root: HTMLElement | (() => HTMLElement | null)): EnvironmentProviders;
480
+ export declare function provideThemeRoot(root: HTMLElement | (() => HTMLElement | null)): EnvironmentProviders;
467
481
  /**
468
482
  * Replaces where the theme is remembered, which is `localStorage` by default. Only used when
469
483
  * `provideThemeOptions()` has a `persistKey`. Supply something the server can read too, such as a cookie, to have a
470
484
  * server-rendered application render the remembered theme rather than correcting it on hydration.
471
485
  * @param storage the storage, or a factory for it that runs in an injection context
472
486
  */
473
- declare function provideThemeStorage(storage: ThemeStorage | (() => ThemeStorage)): EnvironmentProviders;
474
-
487
+ export declare function provideThemeStorage(storage: ThemeStorage | (() => ThemeStorage)): EnvironmentProviders;
475
488
  interface ThemeStrategy {
476
- /** The registered themes and their variants, for `ThemeService.availableThemes()`. */
477
- availableThemes?(): readonly ThemeAvailability[];
478
- resolve(selection: ThemeSelection): ThemeProfile;
489
+ /** The registered themes and their variants, for `ThemeService.availableThemes()`. */
490
+ availableThemes?(): readonly ThemeAvailability[];
491
+ resolve(selection: ThemeSelection): ThemeProfile;
479
492
  }
480
-
481
- declare class DefaultThemeStrategy implements ThemeStrategy {
482
- #private;
483
- constructor(registrations: readonly ThemeFamilyRegistration[], overrides: readonly ThemeOverrideRegistration[]);
484
- availableThemes(): readonly ThemeAvailability[];
485
- resolve(selection: ThemeSelection): ThemeProfile;
493
+ export declare class DefaultThemeStrategy implements ThemeStrategy {
494
+ #private;
495
+ constructor(registrations: readonly ThemeFamilyRegistration[], overrides: readonly ThemeOverrideRegistration[]);
496
+ availableThemes(): readonly ThemeAvailability[];
497
+ resolve(selection: ThemeSelection): ThemeProfile;
486
498
  }
487
-
488
499
  /**
489
500
  * The default `ThemeStorage`: `localStorage`, as JSON, under the `persistKey`.
490
501
  *
@@ -496,30 +507,26 @@ declare class DefaultThemeStrategy implements ThemeStrategy {
496
507
  * shows as a flash. Storage that the server can read too, such as a cookie, avoids it; supply it through
497
508
  * `provideThemeStorage()`.
498
509
  */
499
- declare class LocalStorageThemeStorage implements ThemeStorage {
500
- #private;
501
- /** Takes the value of `PLATFORM_ID`, which is a string in practice though typed loosely. */
502
- constructor(platformId: string | object);
503
- read(key: string): ThemePreference | null;
504
- write(key: string, preference: ThemePreference): void;
510
+ export declare class LocalStorageThemeStorage implements ThemeStorage {
511
+ #private;
512
+ /** Takes the value of `PLATFORM_ID`, which is a string in practice though typed loosely. */
513
+ constructor(platformId: string | object);
514
+ read(key: string): ThemePreference | null;
515
+ write(key: string, preference: ThemePreference): void;
505
516
  }
506
-
507
517
  /**
508
518
  * The element the theme is written to. Defaults to `<html>`. Replace it with `provideThemeRoot()`.
509
519
  */
510
- declare const THEME_ROOT: InjectionToken<HTMLElement | null>;
520
+ export declare const THEME_ROOT: InjectionToken<HTMLElement | null>;
511
521
  /**
512
522
  * Where the theme is remembered when `provideThemeOptions()` has a `persistKey`. Defaults to `localStorage`.
513
523
  * Replace it with `provideThemeStorage()`.
514
524
  */
515
- declare const THEME_STORAGE: InjectionToken<ThemeStorage>;
516
- declare const THEME_STRATEGY: InjectionToken<ThemeStrategy>;
517
-
525
+ export declare const THEME_STORAGE: InjectionToken<ThemeStorage>;
526
+ export declare const THEME_STRATEGY: InjectionToken<ThemeStrategy>;
518
527
  /**
519
528
  * Generates accessible light and dark color-role overrides from consumer-provided CSS colors.
520
529
  * Seed lightness is treated as source identity; the generated variants use fixed tonal anchors.
521
530
  */
522
- declare function generateThemeColorPalette(seeds: ThemeColorPaletteSeeds): GeneratedThemeColorPalette;
523
-
524
- export { DefaultThemeStrategy, LocalStorageThemeStorage, THEME_ROOT, THEME_STORAGE, THEME_STRATEGY, ThemeService, annaTheme, builtInThemes, createSidebarColorRoles, flattenThemeProfile, generateThemeColorPalette, lunaTheme, monaTheme, provideThemeColorPalette, provideThemeFamily, provideThemeOptions, provideThemeOverrides, provideThemeRoot, provideThemeStorage };
525
- export type { BuiltInThemeName, GeneratedThemeColorPalette, SidebarColorRoleSeeds, ThemeAvailability, ThemeColorPaletteRegistration, ThemeColorPaletteSeeds, ThemeColorVariable, ThemeColors, ThemeComponentVariable, ThemeComponents, ThemeEffectLevel, ThemeEffectVariable, ThemeEffects, ThemeFamilyRegistration, ThemeFamilyVariants, ThemeMotion, ThemeMotionVariable, ThemeName, ThemeOptions, ThemeOverrideRegistration, ThemePreference, ThemeProfile, ThemeProfileOverrides, ThemeSelection, ThemeShadowVariable, ThemeShadows, ThemeShape, ThemeShapeVariable, ThemeStorage, ThemeStrategy, ThemeVariable, ThemeVariables, ThemeVariant, ThemeVariantPreference };
531
+ export declare function generateThemeColorPalette(seeds: ThemeColorPaletteSeeds): GeneratedThemeColorPalette;
532
+ export type { GeneratedThemeColorPalette, SidebarColorRoleSeeds, ThemeColorPaletteRegistration, ThemeColorPaletteSeeds, ThemeColorVariable, ThemeColors, ThemeComponentVariable, ThemeComponents, ThemeEffectLevel, ThemeEffectVariable, ThemeEffects, ThemeFamilyRegistration, ThemeFamilyVariants, ThemeMotion, ThemeMotionVariable, ThemeOptions, ThemeOverrideRegistration, ThemeProfile, ThemeProfileOverrides, ThemeShadowVariable, ThemeShadows, ThemeShape, ThemeShapeVariable, ThemeStrategy, ThemeVariable, ThemeVariables };