@nanahoshi/mona-ui 0.45.0 → 0.46.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 (305) hide show
  1. package/THIRD_PARTY_NOTICES.md +34 -0
  2. package/alert/package.json +3 -2
  3. package/auto-complete/package.json +3 -2
  4. package/avatar/package.json +3 -2
  5. package/badge/package.json +3 -2
  6. package/breadcrumb/package.json +3 -2
  7. package/button/package.json +3 -2
  8. package/button-group/package.json +3 -2
  9. package/calendar/package.json +3 -2
  10. package/card/package.json +3 -2
  11. package/chart/package.json +3 -2
  12. package/chat/package.json +3 -2
  13. package/check-box/package.json +3 -2
  14. package/chip/package.json +3 -2
  15. package/circular-progress-bar/package.json +3 -2
  16. package/collapsible/package.json +3 -2
  17. package/color-gradient/package.json +3 -2
  18. package/color-palette/package.json +3 -2
  19. package/color-picker/package.json +3 -2
  20. package/combo-box/package.json +3 -2
  21. package/command/package.json +3 -2
  22. package/common/package.json +3 -2
  23. package/contextmenu/package.json +3 -2
  24. package/date-input/package.json +3 -2
  25. package/date-picker/package.json +3 -2
  26. package/date-range-picker/package.json +3 -2
  27. package/datetime-picker/package.json +3 -2
  28. package/dialog/package.json +3 -2
  29. package/docs/api/index.json +1 -1
  30. package/docs/api/theme.json +1 -1
  31. package/docs/api/theme.md +14 -6
  32. package/docs/installation.md +1 -1
  33. package/docs/manifest.json +1 -1
  34. package/docs/theming-built-in-themes.md +25 -12
  35. package/docs/theming-custom-themes.md +19 -0
  36. package/docs/theming.md +2 -1
  37. package/dropdown-button/package.json +3 -2
  38. package/dropdown-list/package.json +3 -2
  39. package/dropdown-tree/package.json +3 -2
  40. package/dropdowns/package.json +3 -2
  41. package/editor/package.json +3 -2
  42. package/expansion-panel/package.json +3 -2
  43. package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-DpszxgFY.mjs → grid-colgroup.component-B4jx10Yi.mjs} +5 -5
  44. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CpvzAcX8.mjs → grid-footer-row.component-CVUltI39.mjs} +12 -12
  45. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-tRmEWiQR.mjs → grid-list.component-Cv1KB5VQ.mjs} +14 -14
  46. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-eET6dh2Q.mjs → grid-row.component-BauMmps5.mjs} +42 -42
  47. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-8h2EMexB.mjs → grid-virtual-list.component-DNjoZfHq.mjs} +10 -10
  48. package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-wAf6jsT9.mjs → grid.styles-BJHVTT_v.mjs} +27 -27
  49. package/fesm2022/nanahoshi-mona-ui-alert.mjs +9 -9
  50. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +15 -15
  51. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +7 -7
  52. package/fesm2022/nanahoshi-mona-ui-badge.mjs +3 -3
  53. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +15 -15
  54. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +7 -7
  55. package/fesm2022/nanahoshi-mona-ui-button.mjs +9 -9
  56. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +32 -32
  57. package/fesm2022/nanahoshi-mona-ui-card.mjs +25 -25
  58. package/fesm2022/nanahoshi-mona-ui-chart.mjs +170 -170
  59. package/fesm2022/nanahoshi-mona-ui-chat.mjs +19 -19
  60. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +12 -12
  61. package/fesm2022/nanahoshi-mona-ui-chip.mjs +9 -9
  62. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +7 -7
  63. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +9 -9
  64. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +13 -13
  65. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +5 -5
  66. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +20 -20
  67. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +15 -15
  68. package/fesm2022/nanahoshi-mona-ui-command.mjs +48 -48
  69. package/fesm2022/nanahoshi-mona-ui-common.mjs +12 -12
  70. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +37 -37
  71. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +14 -14
  72. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +16 -16
  73. package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +16 -16
  74. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +20 -20
  75. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +33 -33
  76. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +38 -38
  77. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +16 -16
  78. package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +12 -12
  79. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +68 -68
  80. package/fesm2022/nanahoshi-mona-ui-editor.mjs +100 -100
  81. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +18 -18
  82. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +8 -8
  83. package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +6 -6
  84. package/fesm2022/nanahoshi-mona-ui-filter.mjs +19 -19
  85. package/fesm2022/nanahoshi-mona-ui-form-field.mjs +14 -14
  86. package/fesm2022/nanahoshi-mona-ui-grid.mjs +154 -154
  87. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -7
  88. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +6 -6
  89. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +4 -4
  90. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +35 -35
  91. package/fesm2022/nanahoshi-mona-ui-internal-live-announcer.mjs +1 -1
  92. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +1 -1
  93. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +39 -39
  94. package/fesm2022/nanahoshi-mona-ui-internal.mjs +4 -4
  95. package/fesm2022/nanahoshi-mona-ui-kanban.mjs +17 -17
  96. package/fesm2022/nanahoshi-mona-ui-label.mjs +8 -8
  97. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +20 -20
  98. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +38 -38
  99. package/fesm2022/nanahoshi-mona-ui-locales.mjs +1 -1
  100. package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +13 -13
  101. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +51 -51
  102. package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +9 -9
  103. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +26 -26
  104. package/fesm2022/nanahoshi-mona-ui-notification.mjs +18 -18
  105. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +20 -20
  106. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +11 -11
  107. package/fesm2022/nanahoshi-mona-ui-pager.mjs +22 -22
  108. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -3
  109. package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -14
  110. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +145 -64
  111. package/fesm2022/nanahoshi-mona-ui-popup.mjs +19 -19
  112. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +6 -6
  113. package/fesm2022/nanahoshi-mona-ui-qr-code.mjs +4 -4
  114. package/fesm2022/nanahoshi-mona-ui-query.mjs +1 -1
  115. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +16 -16
  116. package/fesm2022/nanahoshi-mona-ui-rating.mjs +14 -14
  117. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +15 -15
  118. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +8 -8
  119. package/fesm2022/nanahoshi-mona-ui-separator.mjs +3 -3
  120. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +9 -9
  121. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +85 -85
  122. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -3
  123. package/fesm2022/nanahoshi-mona-ui-slider.mjs +31 -31
  124. package/fesm2022/nanahoshi-mona-ui-sortable.mjs +16 -16
  125. package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +4 -4
  126. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +10 -10
  127. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +44 -44
  128. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +21 -21
  129. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +19 -19
  130. package/fesm2022/nanahoshi-mona-ui-switch.mjs +17 -17
  131. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +26 -26
  132. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +6 -6
  133. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +19 -19
  134. package/fesm2022/nanahoshi-mona-ui-theme.mjs +302 -58
  135. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +15 -15
  136. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +14 -14
  137. package/fesm2022/nanahoshi-mona-ui-timeline.mjs +17 -17
  138. package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +8 -8
  139. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -13
  140. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +27 -27
  141. package/fesm2022/nanahoshi-mona-ui-window.mjs +40 -40
  142. package/fesm2022/nanahoshi-mona-ui.mjs +2 -0
  143. package/fieldset/package.json +3 -2
  144. package/file-upload/package.json +3 -2
  145. package/filter/package.json +3 -2
  146. package/form-field/package.json +3 -2
  147. package/grid/package.json +3 -2
  148. package/i18n/icu/package.json +3 -2
  149. package/i18n/package.json +3 -2
  150. package/internal/filter-input/package.json +3 -2
  151. package/internal/indicator-icon/package.json +3 -2
  152. package/internal/list/package.json +3 -2
  153. package/internal/live-announcer/package.json +3 -2
  154. package/internal/package.json +3 -2
  155. package/internal/popup-menu/package.json +3 -2
  156. package/internal/tree/package.json +3 -2
  157. package/kanban/package.json +3 -2
  158. package/label/package.json +3 -2
  159. package/list/package.json +3 -2
  160. package/list-box/package.json +3 -2
  161. package/list-view/package.json +3 -2
  162. package/llms.txt +2 -2
  163. package/locales/ar-sa/package.json +3 -2
  164. package/locales/de-de/package.json +3 -2
  165. package/locales/es-es/package.json +3 -2
  166. package/locales/fr-fr/package.json +3 -2
  167. package/locales/id-id/package.json +3 -2
  168. package/locales/it-it/package.json +3 -2
  169. package/locales/ja-jp/package.json +3 -2
  170. package/locales/ko-kr/package.json +3 -2
  171. package/locales/package.json +3 -2
  172. package/locales/pl-pl/package.json +3 -2
  173. package/locales/pt-br/package.json +3 -2
  174. package/locales/ru-ru/package.json +3 -2
  175. package/locales/tr-tr/package.json +3 -2
  176. package/locales/zh-cn/package.json +3 -2
  177. package/locales/zh-tw/package.json +3 -2
  178. package/masked-text-box/package.json +3 -2
  179. package/menubar/package.json +3 -2
  180. package/multi-select/package.json +3 -2
  181. package/multi-select-tree/package.json +3 -2
  182. package/notification/package.json +3 -2
  183. package/numeric-text-box/package.json +3 -2
  184. package/otp-input/package.json +3 -2
  185. package/package.json +170 -169
  186. package/pager/package.json +3 -2
  187. package/placeholder/package.json +3 -2
  188. package/popover/package.json +3 -2
  189. package/popup/package.json +3 -2
  190. package/popup-menu/package.json +3 -2
  191. package/progress-bar/package.json +3 -2
  192. package/qr-code/package.json +3 -2
  193. package/query/package.json +3 -2
  194. package/radio-button/package.json +3 -2
  195. package/rating/package.json +3 -2
  196. package/scroll-view/package.json +3 -2
  197. package/segmented/package.json +3 -2
  198. package/separator/package.json +3 -2
  199. package/sheet/package.json +3 -2
  200. package/sidebar/package.json +3 -2
  201. package/skeleton/package.json +3 -2
  202. package/slider/package.json +3 -2
  203. package/sortable/package.json +3 -2
  204. package/sparkline/package.json +3 -2
  205. package/spinner/package.json +3 -2
  206. package/split-button/package.json +3 -2
  207. package/splitter/package.json +3 -2
  208. package/stepper/package.json +3 -2
  209. package/switch/package.json +3 -2
  210. package/tabs/package.json +3 -2
  211. package/text-area/package.json +3 -2
  212. package/text-box/package.json +3 -2
  213. package/theme/package.json +3 -2
  214. package/time-picker/package.json +3 -2
  215. package/time-selector/package.json +3 -2
  216. package/timeline/package.json +3 -2
  217. package/toolbar/package.json +3 -2
  218. package/tooltip/package.json +3 -2
  219. package/tree-view/package.json +3 -2
  220. package/types/nanahoshi-mona-ui-alert.d.ts +2 -2
  221. package/types/nanahoshi-mona-ui-auto-complete.d.ts +9 -9
  222. package/types/nanahoshi-mona-ui-badge.d.ts +7 -7
  223. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +2 -2
  224. package/types/nanahoshi-mona-ui-button-group.d.ts +9 -9
  225. package/types/nanahoshi-mona-ui-button.d.ts +15 -15
  226. package/types/nanahoshi-mona-ui-calendar.d.ts +9 -9
  227. package/types/nanahoshi-mona-ui-card.d.ts +5 -5
  228. package/types/nanahoshi-mona-ui-chart.d.ts +7 -7
  229. package/types/nanahoshi-mona-ui-chat.d.ts +2 -2
  230. package/types/nanahoshi-mona-ui-check-box.d.ts +7 -7
  231. package/types/nanahoshi-mona-ui-chip.d.ts +9 -9
  232. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +1 -1
  233. package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -2
  234. package/types/nanahoshi-mona-ui-color-gradient.d.ts +7 -7
  235. package/types/nanahoshi-mona-ui-color-palette.d.ts +6 -6
  236. package/types/nanahoshi-mona-ui-color-picker.d.ts +9 -9
  237. package/types/nanahoshi-mona-ui-combo-box.d.ts +10 -10
  238. package/types/nanahoshi-mona-ui-command.d.ts +2 -2
  239. package/types/nanahoshi-mona-ui-contextmenu.d.ts +2 -2
  240. package/types/nanahoshi-mona-ui-date-input.d.ts +7 -7
  241. package/types/nanahoshi-mona-ui-date-picker.d.ts +12 -12
  242. package/types/nanahoshi-mona-ui-date-range-picker.d.ts +12 -12
  243. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +13 -13
  244. package/types/nanahoshi-mona-ui-dialog.d.ts +8 -8
  245. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +4 -4
  246. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +9 -9
  247. package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +9 -9
  248. package/types/nanahoshi-mona-ui-dropdowns.d.ts +9 -9
  249. package/types/nanahoshi-mona-ui-editor.d.ts +3 -3
  250. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +4 -4
  251. package/types/nanahoshi-mona-ui-fieldset.d.ts +4 -4
  252. package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -1
  253. package/types/nanahoshi-mona-ui-filter.d.ts +8 -8
  254. package/types/nanahoshi-mona-ui-grid.d.ts +50 -49
  255. package/types/nanahoshi-mona-ui-i18n.d.ts +2 -2
  256. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +1 -1
  257. package/types/nanahoshi-mona-ui-internal-list.d.ts +5 -5
  258. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +1 -1
  259. package/types/nanahoshi-mona-ui-internal-tree.d.ts +2 -2
  260. package/types/nanahoshi-mona-ui-internal.d.ts +2 -2
  261. package/types/nanahoshi-mona-ui-kanban.d.ts +2 -2
  262. package/types/nanahoshi-mona-ui-list-box.d.ts +7 -7
  263. package/types/nanahoshi-mona-ui-list-view.d.ts +9 -9
  264. package/types/nanahoshi-mona-ui-locales.d.ts +1 -1
  265. package/types/nanahoshi-mona-ui-masked-text-box.d.ts +6 -6
  266. package/types/nanahoshi-mona-ui-menubar.d.ts +8 -8
  267. package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +8 -8
  268. package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -11
  269. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +9 -9
  270. package/types/nanahoshi-mona-ui-otp-input.d.ts +7 -7
  271. package/types/nanahoshi-mona-ui-pager.d.ts +7 -7
  272. package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -2
  273. package/types/nanahoshi-mona-ui-popover.d.ts +5 -5
  274. package/types/nanahoshi-mona-ui-popup-menu.d.ts +9 -9
  275. package/types/nanahoshi-mona-ui-popup.d.ts +4 -4
  276. package/types/nanahoshi-mona-ui-progress-bar.d.ts +5 -5
  277. package/types/nanahoshi-mona-ui-qr-code.d.ts +1 -1
  278. package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -8
  279. package/types/nanahoshi-mona-ui-rating.d.ts +10 -10
  280. package/types/nanahoshi-mona-ui-scroll-view.d.ts +6 -6
  281. package/types/nanahoshi-mona-ui-segmented.d.ts +9 -9
  282. package/types/nanahoshi-mona-ui-separator.d.ts +1 -1
  283. package/types/nanahoshi-mona-ui-sheet.d.ts +4 -4
  284. package/types/nanahoshi-mona-ui-sidebar.d.ts +5 -5
  285. package/types/nanahoshi-mona-ui-skeleton.d.ts +3 -3
  286. package/types/nanahoshi-mona-ui-slider.d.ts +8 -8
  287. package/types/nanahoshi-mona-ui-sortable.d.ts +2 -2
  288. package/types/nanahoshi-mona-ui-sparkline.d.ts +1 -1
  289. package/types/nanahoshi-mona-ui-spinner.d.ts +6 -6
  290. package/types/nanahoshi-mona-ui-split-button.d.ts +10 -10
  291. package/types/nanahoshi-mona-ui-splitter.d.ts +3 -3
  292. package/types/nanahoshi-mona-ui-stepper.d.ts +6 -6
  293. package/types/nanahoshi-mona-ui-switch.d.ts +7 -7
  294. package/types/nanahoshi-mona-ui-tabs.d.ts +13 -13
  295. package/types/nanahoshi-mona-ui-text-area.d.ts +4 -4
  296. package/types/nanahoshi-mona-ui-text-box.d.ts +9 -9
  297. package/types/nanahoshi-mona-ui-theme.d.ts +107 -37
  298. package/types/nanahoshi-mona-ui-time-picker.d.ts +12 -12
  299. package/types/nanahoshi-mona-ui-time-selector.d.ts +8 -8
  300. package/types/nanahoshi-mona-ui-toolbar.d.ts +3 -3
  301. package/types/nanahoshi-mona-ui-tooltip.d.ts +6 -6
  302. package/types/nanahoshi-mona-ui-tree-view.d.ts +2 -2
  303. package/types/nanahoshi-mona-ui-window.d.ts +7 -7
  304. package/types/nanahoshi-mona-ui.d.ts +2 -1
  305. package/window/package.json +3 -2
@@ -1,18 +1,18 @@
1
1
  import { NgTemplateOutlet } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
- import { Component, DOCUMENT, DestroyRef, ElementRef, Injector, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, forwardRef, inject, input, linkedSignal, model, output, untracked, viewChild } from "@angular/core";
3
+ import { Component, DOCUMENT as DOCUMENT$1, DestroyRef, ElementRef, Injector, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, forwardRef, inject, input, linkedSignal, model, output, untracked, viewChild } from "@angular/core";
4
+ import { FilterChangeEvent } from "@nanahoshi/mona-ui/common";
5
+ import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
6
+ import { twMerge } from "tailwind-merge";
7
+ import { cva } from "class-variance-authority";
4
8
  import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
5
9
  import { FIELD_ASSOCIATION_BOUNDARY, createElementControlId, injectEffectiveDisabled, injectLabelAssociation, rxTimeout, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
6
- import { FilterChangeEvent } from "@nanahoshi/mona-ui/common";
7
10
  import { IndicatorIconComponent } from "@nanahoshi/mona-ui/internal/indicator-icon";
8
11
  import { ListComponent, ListFooterTemplateDirective, ListGroupHeaderTemplateDirective, ListHeaderTemplateDirective, ListItemTemplateDirective, ListNoDataTemplateDirective, ListService } from "@nanahoshi/mona-ui/internal/list";
9
12
  import * as i1 from "@nanahoshi/mona-ui/dropdowns";
10
13
  import { DROPDOWN_DATA_INPUT_TOKEN, DROPDOWN_POPUP_INPUT_TOKEN, DropdownDataHandlerDirective, DropdownFooterTemplateDirective, DropdownGroupHeaderTemplateDirective, DropdownHeaderTemplateDirective, DropdownItemTemplateDirective, DropdownListPopupHandlerDirective, DropdownLiveRegionDirective, DropdownNoDataTemplateDirective, DropdownPrefixTemplateDirective, DropdownService, DropdownSuffixTemplateDirective, dropdownPopupThemeVariants, dropdownSheetInputClasses, dropdownSheetInputContainerClasses, dropdownSheetSurfaceClasses, injectSmallScreen, matchesSmallScreen } from "@nanahoshi/mona-ui/dropdowns";
11
14
  import { TextBoxDirective } from "@nanahoshi/mona-ui/text-box";
12
- import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
13
15
  import { Subject, debounceTime, filter, identity, take, tap } from "rxjs";
14
- import { twMerge } from "tailwind-merge";
15
- import { cva } from "class-variance-authority";
16
16
  const AUTO_COMPLETE_DEFAULT_MESSAGES = { clear: "Clear" };
17
17
  const autoCompleteBaseThemeVariants = cva(`
18
18
  flex
@@ -20,7 +20,7 @@ const autoCompleteBaseThemeVariants = cva(`
20
20
  border border-input-border shadow-(--shadow-control) outline-none focus-visible:outline-hidden
21
21
  transition-[color,box-shadow,border] duration-(--mona-motion-standard) ease-in-out
22
22
  data-[readonly='true']:cursor-default
23
- focus-within:border-focus-indicator focus-within:ring-2 focus-within:ring-focus-indicator/35
23
+ focus-within:border-focus-indicator focus-within:ring-(length:--mona-focus-ring-width,2px) focus-within:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
24
24
  `, {
25
25
  variants: {
26
26
  disabled: { true: `
@@ -28,10 +28,10 @@ const autoCompleteBaseThemeVariants = cva(`
28
28
  bg-disabled-background text-disabled-foreground
29
29
  border-disabled-border shadow-none
30
30
  ` },
31
- expanded: { true: "border-focus-indicator ring-2 ring-focus-indicator/35" },
32
- focused: { true: "border-focus-indicator ring-2 ring-focus-indicator/35" },
31
+ expanded: { true: "border-focus-indicator ring-(length:--mona-focus-ring-width,2px) ring-focus-indicator/(--mona-focus-ring-opacity,35%)" },
32
+ focused: { true: "border-focus-indicator ring-(length:--mona-focus-ring-width,2px) ring-focus-indicator/(--mona-focus-ring-opacity,35%)" },
33
33
  invalid: {
34
- true: "border-error ring-2 ring-error/35 focus-within:border-error focus-within:ring-error/35",
34
+ true: "border-error ring-(length:--mona-focus-ring-width,2px) ring-error/(--mona-focus-ring-opacity,35%) focus-within:border-error focus-within:ring-error/(--mona-focus-ring-opacity,35%)",
35
35
  false: ""
36
36
  },
37
37
  rounded: {
@@ -50,11 +50,11 @@ const autoCompleteBaseThemeVariants = cva(`
50
50
  compoundVariants: [{
51
51
  expanded: true,
52
52
  invalid: true,
53
- class: "border-error ring-error/35"
53
+ class: "border-error ring-error/(--mona-focus-ring-opacity,35%)"
54
54
  }, {
55
55
  focused: true,
56
56
  invalid: true,
57
- class: "border-error ring-error/35"
57
+ class: "border-error ring-error/(--mona-focus-ring-opacity,35%)"
58
58
  }],
59
59
  defaultVariants: {
60
60
  disabled: false,
@@ -90,7 +90,7 @@ var AutoCompleteComponent = class AutoCompleteComponent {
90
90
  #closingSheet;
91
91
  constructor() {
92
92
  this.#destroyRef = inject(DestroyRef);
93
- this.#document = inject(DOCUMENT);
93
+ this.#document = inject(DOCUMENT$1);
94
94
  this.#dropdownService = inject(DropdownService);
95
95
  this.#hostElementRef = inject(ElementRef);
96
96
  this.#i18n = inject(MonaI18nService);
@@ -439,7 +439,7 @@ var AutoCompleteComponent = class AutoCompleteComponent {
439
439
  static {
440
440
  this.ɵfac = i0.ɵɵngDeclareFactory({
441
441
  minVersion: "12.0.0",
442
- version: "22.2.6",
442
+ version: "22.3.0",
443
443
  ngImport: i0,
444
444
  type: AutoCompleteComponent,
445
445
  deps: [],
@@ -449,7 +449,7 @@ var AutoCompleteComponent = class AutoCompleteComponent {
449
449
  static {
450
450
  this.ɵcmp = i0.ɵɵngDeclareComponent({
451
451
  minVersion: "17.0.0",
452
- version: "22.2.6",
452
+ version: "22.3.0",
453
453
  type: AutoCompleteComponent,
454
454
  isStandalone: true,
455
455
  selector: "mona-auto-complete",
@@ -838,7 +838,7 @@ var AutoCompleteComponent = class AutoCompleteComponent {
838
838
  };
839
839
  i0.ɵɵngDeclareClassMetadata({
840
840
  minVersion: "12.0.0",
841
- version: "22.2.6",
841
+ version: "22.3.0",
842
842
  ngImport: i0,
843
843
  type: AutoCompleteComponent,
844
844
  decorators: [{
@@ -1,7 +1,7 @@
1
- import { MonaI18nService, formatNumber } from "@nanahoshi/mona-ui/i18n";
2
1
  import * as i0 from "@angular/core";
3
2
  import { Component, InjectionToken, computed, contentChildren, inject, input, linkedSignal, numberAttribute } from "@angular/core";
4
3
  import { classInputToClass } from "@nanahoshi/mona-ui/common";
4
+ import { MonaI18nService, formatNumber } from "@nanahoshi/mona-ui/i18n";
5
5
  import { twMerge } from "tailwind-merge";
6
6
  import { cva } from "class-variance-authority";
7
7
  function localizeNumber(value, options) {
@@ -103,7 +103,7 @@ var AvatarComponent = class AvatarComponent {
103
103
  static {
104
104
  this.ɵfac = i0.ɵɵngDeclareFactory({
105
105
  minVersion: "12.0.0",
106
- version: "22.2.6",
106
+ version: "22.3.0",
107
107
  ngImport: i0,
108
108
  type: AvatarComponent,
109
109
  deps: [],
@@ -113,7 +113,7 @@ var AvatarComponent = class AvatarComponent {
113
113
  static {
114
114
  this.ɵcmp = i0.ɵɵngDeclareComponent({
115
115
  minVersion: "17.0.0",
116
- version: "22.2.6",
116
+ version: "22.3.0",
117
117
  type: AvatarComponent,
118
118
  isStandalone: true,
119
119
  selector: "mona-avatar",
@@ -237,7 +237,7 @@ var AvatarComponent = class AvatarComponent {
237
237
  };
238
238
  i0.ɵɵngDeclareClassMetadata({
239
239
  minVersion: "12.0.0",
240
- version: "22.2.6",
240
+ version: "22.3.0",
241
241
  ngImport: i0,
242
242
  type: AvatarComponent,
243
243
  decorators: [{
@@ -434,7 +434,7 @@ var AvatarGroupComponent = class AvatarGroupComponent {
434
434
  static {
435
435
  this.ɵfac = i0.ɵɵngDeclareFactory({
436
436
  minVersion: "12.0.0",
437
- version: "22.2.6",
437
+ version: "22.3.0",
438
438
  ngImport: i0,
439
439
  type: AvatarGroupComponent,
440
440
  deps: [],
@@ -444,7 +444,7 @@ var AvatarGroupComponent = class AvatarGroupComponent {
444
444
  static {
445
445
  this.ɵcmp = i0.ɵɵngDeclareComponent({
446
446
  minVersion: "17.0.0",
447
- version: "22.2.6",
447
+ version: "22.3.0",
448
448
  type: AvatarGroupComponent,
449
449
  isStandalone: true,
450
450
  selector: "mona-avatar-group",
@@ -493,7 +493,7 @@ var AvatarGroupComponent = class AvatarGroupComponent {
493
493
  };
494
494
  i0.ɵɵngDeclareClassMetadata({
495
495
  minVersion: "12.0.0",
496
- version: "22.2.6",
496
+ version: "22.3.0",
497
497
  ngImport: i0,
498
498
  type: AvatarGroupComponent,
499
499
  decorators: [{
@@ -157,7 +157,7 @@ var BadgeDirective = class BadgeDirective {
157
157
  static {
158
158
  this.ɵfac = i0.ɵɵngDeclareFactory({
159
159
  minVersion: "12.0.0",
160
- version: "22.2.6",
160
+ version: "22.3.0",
161
161
  ngImport: i0,
162
162
  type: BadgeDirective,
163
163
  deps: [],
@@ -167,7 +167,7 @@ var BadgeDirective = class BadgeDirective {
167
167
  static {
168
168
  this.ɵdir = i0.ɵɵngDeclareDirective({
169
169
  minVersion: "17.1.0",
170
- version: "22.2.6",
170
+ version: "22.3.0",
171
171
  type: BadgeDirective,
172
172
  isStandalone: true,
173
173
  selector: "[monaBadge]",
@@ -215,7 +215,7 @@ var BadgeDirective = class BadgeDirective {
215
215
  };
216
216
  i0.ɵɵngDeclareClassMetadata({
217
217
  minVersion: "12.0.0",
218
- version: "22.2.6",
218
+ version: "22.3.0",
219
219
  ngImport: i0,
220
220
  type: BadgeDirective,
221
221
  decorators: [{
@@ -73,7 +73,7 @@ var BreadcrumbItemDirective = class BreadcrumbItemDirective {
73
73
  static {
74
74
  this.ɵfac = i0.ɵɵngDeclareFactory({
75
75
  minVersion: "12.0.0",
76
- version: "22.2.6",
76
+ version: "22.3.0",
77
77
  ngImport: i0,
78
78
  type: BreadcrumbItemDirective,
79
79
  deps: [],
@@ -83,7 +83,7 @@ var BreadcrumbItemDirective = class BreadcrumbItemDirective {
83
83
  static {
84
84
  this.ɵdir = i0.ɵɵngDeclareDirective({
85
85
  minVersion: "17.1.0",
86
- version: "22.2.6",
86
+ version: "22.3.0",
87
87
  type: BreadcrumbItemDirective,
88
88
  isStandalone: true,
89
89
  selector: "button[monaBreadcrumbItem]",
@@ -113,7 +113,7 @@ var BreadcrumbItemDirective = class BreadcrumbItemDirective {
113
113
  };
114
114
  i0.ɵɵngDeclareClassMetadata({
115
115
  minVersion: "12.0.0",
116
- version: "22.2.6",
116
+ version: "22.3.0",
117
117
  ngImport: i0,
118
118
  type: BreadcrumbItemDirective,
119
119
  decorators: [{
@@ -149,7 +149,7 @@ var BreadcrumbSeparatorTemplateDirective = class BreadcrumbSeparatorTemplateDire
149
149
  static {
150
150
  this.ɵfac = i0.ɵɵngDeclareFactory({
151
151
  minVersion: "12.0.0",
152
- version: "22.2.6",
152
+ version: "22.3.0",
153
153
  ngImport: i0,
154
154
  type: BreadcrumbSeparatorTemplateDirective,
155
155
  deps: [],
@@ -159,7 +159,7 @@ var BreadcrumbSeparatorTemplateDirective = class BreadcrumbSeparatorTemplateDire
159
159
  static {
160
160
  this.ɵdir = i0.ɵɵngDeclareDirective({
161
161
  minVersion: "14.0.0",
162
- version: "22.2.6",
162
+ version: "22.3.0",
163
163
  type: BreadcrumbSeparatorTemplateDirective,
164
164
  isStandalone: true,
165
165
  selector: "ng-template[monaBreadcrumbSeparatorTemplate]",
@@ -169,7 +169,7 @@ var BreadcrumbSeparatorTemplateDirective = class BreadcrumbSeparatorTemplateDire
169
169
  };
170
170
  i0.ɵɵngDeclareClassMetadata({
171
171
  minVersion: "12.0.0",
172
- version: "22.2.6",
172
+ version: "22.3.0",
173
173
  ngImport: i0,
174
174
  type: BreadcrumbSeparatorTemplateDirective,
175
175
  decorators: [{
@@ -211,7 +211,7 @@ var BreadcrumbLinkDirective = class BreadcrumbLinkDirective {
211
211
  static {
212
212
  this.ɵfac = i0.ɵɵngDeclareFactory({
213
213
  minVersion: "12.0.0",
214
- version: "22.2.6",
214
+ version: "22.3.0",
215
215
  ngImport: i0,
216
216
  type: BreadcrumbLinkDirective,
217
217
  deps: [],
@@ -221,7 +221,7 @@ var BreadcrumbLinkDirective = class BreadcrumbLinkDirective {
221
221
  static {
222
222
  this.ɵdir = i0.ɵɵngDeclareDirective({
223
223
  minVersion: "17.1.0",
224
- version: "22.2.6",
224
+ version: "22.3.0",
225
225
  type: BreadcrumbLinkDirective,
226
226
  isStandalone: true,
227
227
  selector: "a[monaBreadcrumbLink]",
@@ -244,7 +244,7 @@ var BreadcrumbLinkDirective = class BreadcrumbLinkDirective {
244
244
  };
245
245
  i0.ɵɵngDeclareClassMetadata({
246
246
  minVersion: "12.0.0",
247
- version: "22.2.6",
247
+ version: "22.3.0",
248
248
  ngImport: i0,
249
249
  type: BreadcrumbLinkDirective,
250
250
  decorators: [{
@@ -286,7 +286,7 @@ var BreadcrumbItemComponent = class BreadcrumbItemComponent {
286
286
  static {
287
287
  this.ɵfac = i0.ɵɵngDeclareFactory({
288
288
  minVersion: "12.0.0",
289
- version: "22.2.6",
289
+ version: "22.3.0",
290
290
  ngImport: i0,
291
291
  type: BreadcrumbItemComponent,
292
292
  deps: [],
@@ -296,7 +296,7 @@ var BreadcrumbItemComponent = class BreadcrumbItemComponent {
296
296
  static {
297
297
  this.ɵcmp = i0.ɵɵngDeclareComponent({
298
298
  minVersion: "17.2.0",
299
- version: "22.2.6",
299
+ version: "22.3.0",
300
300
  type: BreadcrumbItemComponent,
301
301
  isStandalone: true,
302
302
  selector: "mona-breadcrumb-item",
@@ -333,7 +333,7 @@ var BreadcrumbItemComponent = class BreadcrumbItemComponent {
333
333
  };
334
334
  i0.ɵɵngDeclareClassMetadata({
335
335
  minVersion: "12.0.0",
336
- version: "22.2.6",
336
+ version: "22.3.0",
337
337
  ngImport: i0,
338
338
  type: BreadcrumbItemComponent,
339
339
  decorators: [{
@@ -479,7 +479,7 @@ var BreadcrumbComponent = class BreadcrumbComponent {
479
479
  static {
480
480
  this.ɵfac = i0.ɵɵngDeclareFactory({
481
481
  minVersion: "12.0.0",
482
- version: "22.2.6",
482
+ version: "22.3.0",
483
483
  ngImport: i0,
484
484
  type: BreadcrumbComponent,
485
485
  deps: [],
@@ -489,7 +489,7 @@ var BreadcrumbComponent = class BreadcrumbComponent {
489
489
  static {
490
490
  this.ɵcmp = i0.ɵɵngDeclareComponent({
491
491
  minVersion: "17.0.0",
492
- version: "22.2.6",
492
+ version: "22.3.0",
493
493
  type: BreadcrumbComponent,
494
494
  isStandalone: true,
495
495
  selector: "mona-breadcrumb",
@@ -595,7 +595,7 @@ var BreadcrumbComponent = class BreadcrumbComponent {
595
595
  };
596
596
  i0.ɵɵngDeclareClassMetadata({
597
597
  minVersion: "12.0.0",
598
- version: "22.2.6",
598
+ version: "22.3.0",
599
599
  ngImport: i0,
600
600
  type: BreadcrumbComponent,
601
601
  decorators: [{
@@ -1,18 +1,18 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Component, DestroyRef, ElementRef, afterNextRender, booleanAttribute, computed, contentChildren, effect, inject, input, model, output, untracked } from "@angular/core";
3
- import { outputFromObservable, takeUntilDestroyed } from "@angular/core/rxjs-interop";
4
3
  import { BUTTON_GROUP_MEMBER, ButtonDirective, ButtonService } from "@nanahoshi/mona-ui/button";
5
4
  import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
6
- import { injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
7
- import { filter, map } from "rxjs";
8
5
  import { twMerge } from "tailwind-merge";
9
6
  import { cva } from "class-variance-authority";
7
+ import { outputFromObservable, takeUntilDestroyed } from "@angular/core/rxjs-interop";
8
+ import { injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
9
+ import { filter, map } from "rxjs";
10
10
  const BUTTON_GROUP_DEFAULT_MESSAGES = { buttonGroup: "Button group" };
11
11
  const buttonGroupThemeVariants = cva(`
12
12
  inline-flex items-center justify-center
13
13
  border border-input-border
14
14
  data-[invalid='true']:border-error
15
- data-[invalid='true']:ring-2 data-[invalid='true']:ring-error/35
15
+ data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
16
16
  data-[readonly='true']:[&_button[aria-pressed]]:cursor-default
17
17
  [&>button]:border-0
18
18
  [&>button]:shadow-none
@@ -273,7 +273,7 @@ var ButtonGroupComponent = class ButtonGroupComponent {
273
273
  static {
274
274
  this.ɵfac = i0.ɵɵngDeclareFactory({
275
275
  minVersion: "12.0.0",
276
- version: "22.2.6",
276
+ version: "22.3.0",
277
277
  ngImport: i0,
278
278
  type: ButtonGroupComponent,
279
279
  deps: [],
@@ -283,7 +283,7 @@ var ButtonGroupComponent = class ButtonGroupComponent {
283
283
  static {
284
284
  this.ɵcmp = i0.ɵɵngDeclareComponent({
285
285
  minVersion: "17.2.0",
286
- version: "22.2.6",
286
+ version: "22.3.0",
287
287
  type: ButtonGroupComponent,
288
288
  isStandalone: true,
289
289
  selector: "mona-button-group",
@@ -422,7 +422,7 @@ var ButtonGroupComponent = class ButtonGroupComponent {
422
422
  };
423
423
  i0.ɵɵngDeclareClassMetadata({
424
424
  minVersion: "12.0.0",
425
- version: "22.2.6",
425
+ version: "22.3.0",
426
426
  ngImport: i0,
427
427
  type: ButtonGroupComponent,
428
428
  decorators: [{
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { ApplicationRef, DestroyRef, Directive, ElementRef, Injectable, InjectionToken, Injector, Renderer2, afterNextRender, afterRenderEffect, booleanAttribute, computed, createComponent, effect, inject, input, isDevMode, model, numberAttribute, signal, untracked } from "@angular/core";
3
- import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
4
- import { IndicatorIconComponent } from "@nanahoshi/mona-ui/internal/indicator-icon";
5
- import { Subject, fromEvent, takeWhile } from "rxjs";
6
3
  import { twMerge } from "tailwind-merge";
7
4
  import { cva } from "class-variance-authority";
5
+ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
8
6
  import { themeControlSurfaceClasses, themeSelectionBorderClasses } from "@nanahoshi/mona-ui/internal";
7
+ import { IndicatorIconComponent } from "@nanahoshi/mona-ui/internal/indicator-icon";
8
+ import { Subject, fromEvent, takeWhile } from "rxjs";
9
9
  var ButtonService = class ButtonService {
10
10
  constructor() {
11
11
  this.#members = signal(null, ...ngDevMode ? [{ debugName: "#members" }] : /* istanbul ignore next */ []);
@@ -26,7 +26,7 @@ var ButtonService = class ButtonService {
26
26
  static {
27
27
  this.ɵfac = i0.ɵɵngDeclareFactory({
28
28
  minVersion: "12.0.0",
29
- version: "22.2.6",
29
+ version: "22.3.0",
30
30
  ngImport: i0,
31
31
  type: ButtonService,
32
32
  deps: [],
@@ -36,7 +36,7 @@ var ButtonService = class ButtonService {
36
36
  static {
37
37
  this.ɵprov = i0.ɵɵngDeclareInjectable({
38
38
  minVersion: "12.0.0",
39
- version: "22.2.6",
39
+ version: "22.3.0",
40
40
  ngImport: i0,
41
41
  type: ButtonService
42
42
  });
@@ -44,7 +44,7 @@ var ButtonService = class ButtonService {
44
44
  };
45
45
  i0.ɵɵngDeclareClassMetadata({
46
46
  minVersion: "12.0.0",
47
- version: "22.2.6",
47
+ version: "22.3.0",
48
48
  ngImport: i0,
49
49
  type: ButtonService,
50
50
  decorators: [{ type: Injectable }]
@@ -457,7 +457,7 @@ var ButtonDirective = class ButtonDirective {
457
457
  static {
458
458
  this.ɵfac = i0.ɵɵngDeclareFactory({
459
459
  minVersion: "12.0.0",
460
- version: "22.2.6",
460
+ version: "22.3.0",
461
461
  ngImport: i0,
462
462
  type: ButtonDirective,
463
463
  deps: [],
@@ -467,7 +467,7 @@ var ButtonDirective = class ButtonDirective {
467
467
  static {
468
468
  this.ɵdir = i0.ɵɵngDeclareDirective({
469
469
  minVersion: "17.1.0",
470
- version: "22.2.6",
470
+ version: "22.3.0",
471
471
  type: ButtonDirective,
472
472
  isStandalone: true,
473
473
  selector: "button[monaButton]",
@@ -586,7 +586,7 @@ var ButtonDirective = class ButtonDirective {
586
586
  };
587
587
  i0.ɵɵngDeclareClassMetadata({
588
588
  minVersion: "12.0.0",
589
- version: "22.2.6",
589
+ version: "22.3.0",
590
590
  ngImport: i0,
591
591
  type: ButtonDirective,
592
592
  decorators: [{
@@ -1,18 +1,18 @@
1
1
  import { NgTemplateOutlet } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, DestroyRef, Directive, ElementRef, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, linkedSignal, model, numberAttribute, output, signal, untracked } from "@angular/core";
4
- import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
5
4
  import { LucideChevronLeft, LucideChevronRight } from "@lucide/angular";
6
- import { firstOrDefault, index, lastOrDefault, range, select } from "@mirei/ts-collections";
7
5
  import { ButtonDirective } from "@nanahoshi/mona-ui/button";
8
6
  import { PreventableEvent } from "@nanahoshi/mona-ui/common";
9
- import { CalendarService } from "@nanahoshi/mona-ui/date-input";
10
- import { createElementControlId, injectEffectiveDisabled, rxTimeout, themeRaisedBackdropClasses } from "@nanahoshi/mona-ui/internal";
11
- import { DateTime } from "luxon";
12
- import { fromEvent, skip } from "rxjs";
13
- import { twMerge } from "tailwind-merge";
14
7
  import { MonaI18nService, formatGregorianDateRangeToLocaleString, formatGregorianDateToLocaleString, formatNumber, getLocaleFirstDayOfWeek, gregorianDateTime, gregorianDateTimeFromObject, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
8
+ import { twMerge } from "tailwind-merge";
15
9
  import { cva } from "class-variance-authority";
10
+ import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
11
+ import { createElementControlId, injectEffectiveDisabled, rxTimeout, themeRaisedBackdropClasses } from "@nanahoshi/mona-ui/internal";
12
+ import { fromEvent, skip } from "rxjs";
13
+ import { firstOrDefault, index, lastOrDefault, range, select } from "@mirei/ts-collections";
14
+ import { CalendarService } from "@nanahoshi/mona-ui/date-input";
15
+ import { DateTime } from "luxon";
16
16
  function localizeNumber(value, options) {
17
17
  return formatNumber(value, "en-US", options);
18
18
  }
@@ -40,7 +40,7 @@ var CalendarDecadeCellTemplateDirective = class CalendarDecadeCellTemplateDirect
40
40
  static {
41
41
  this.ɵfac = i0.ɵɵngDeclareFactory({
42
42
  minVersion: "12.0.0",
43
- version: "22.2.6",
43
+ version: "22.3.0",
44
44
  ngImport: i0,
45
45
  type: CalendarDecadeCellTemplateDirective,
46
46
  deps: [],
@@ -50,7 +50,7 @@ var CalendarDecadeCellTemplateDirective = class CalendarDecadeCellTemplateDirect
50
50
  static {
51
51
  this.ɵdir = i0.ɵɵngDeclareDirective({
52
52
  minVersion: "14.0.0",
53
- version: "22.2.6",
53
+ version: "22.3.0",
54
54
  type: CalendarDecadeCellTemplateDirective,
55
55
  isStandalone: true,
56
56
  selector: "ng-template[monaCalendarDecadeCellTemplate]",
@@ -60,7 +60,7 @@ var CalendarDecadeCellTemplateDirective = class CalendarDecadeCellTemplateDirect
60
60
  };
61
61
  i0.ɵɵngDeclareClassMetadata({
62
62
  minVersion: "12.0.0",
63
- version: "22.2.6",
63
+ version: "22.3.0",
64
64
  ngImport: i0,
65
65
  type: CalendarDecadeCellTemplateDirective,
66
66
  decorators: [{
@@ -75,7 +75,7 @@ var CalendarMonthCellTemplateDirective = class CalendarMonthCellTemplateDirectiv
75
75
  static {
76
76
  this.ɵfac = i0.ɵɵngDeclareFactory({
77
77
  minVersion: "12.0.0",
78
- version: "22.2.6",
78
+ version: "22.3.0",
79
79
  ngImport: i0,
80
80
  type: CalendarMonthCellTemplateDirective,
81
81
  deps: [],
@@ -85,7 +85,7 @@ var CalendarMonthCellTemplateDirective = class CalendarMonthCellTemplateDirectiv
85
85
  static {
86
86
  this.ɵdir = i0.ɵɵngDeclareDirective({
87
87
  minVersion: "14.0.0",
88
- version: "22.2.6",
88
+ version: "22.3.0",
89
89
  type: CalendarMonthCellTemplateDirective,
90
90
  isStandalone: true,
91
91
  selector: "ng-template[monaCalendarMonthCellTemplate]",
@@ -95,7 +95,7 @@ var CalendarMonthCellTemplateDirective = class CalendarMonthCellTemplateDirectiv
95
95
  };
96
96
  i0.ɵɵngDeclareClassMetadata({
97
97
  minVersion: "12.0.0",
98
- version: "22.2.6",
98
+ version: "22.3.0",
99
99
  ngImport: i0,
100
100
  type: CalendarMonthCellTemplateDirective,
101
101
  decorators: [{
@@ -110,7 +110,7 @@ var CalendarYearCellTemplateDirective = class CalendarYearCellTemplateDirective
110
110
  static {
111
111
  this.ɵfac = i0.ɵɵngDeclareFactory({
112
112
  minVersion: "12.0.0",
113
- version: "22.2.6",
113
+ version: "22.3.0",
114
114
  ngImport: i0,
115
115
  type: CalendarYearCellTemplateDirective,
116
116
  deps: [],
@@ -120,7 +120,7 @@ var CalendarYearCellTemplateDirective = class CalendarYearCellTemplateDirective
120
120
  static {
121
121
  this.ɵdir = i0.ɵɵngDeclareDirective({
122
122
  minVersion: "14.0.0",
123
- version: "22.2.6",
123
+ version: "22.3.0",
124
124
  type: CalendarYearCellTemplateDirective,
125
125
  isStandalone: true,
126
126
  selector: "ng-template[monaCalendarYearCellTemplate]",
@@ -130,7 +130,7 @@ var CalendarYearCellTemplateDirective = class CalendarYearCellTemplateDirective
130
130
  };
131
131
  i0.ɵɵngDeclareClassMetadata({
132
132
  minVersion: "12.0.0",
133
- version: "22.2.6",
133
+ version: "22.3.0",
134
134
  ngImport: i0,
135
135
  type: CalendarYearCellTemplateDirective,
136
136
  decorators: [{
@@ -144,7 +144,7 @@ const calendarBaseThemeVariants = cva(`
144
144
  bg-(--mona-calendar-background) ${themeRaisedBackdropClasses} text-foreground
145
145
  border border-border shadow-(--mona-calendar-shadow)
146
146
  data-[invalid='true']:border-error
147
- data-[invalid='true']:ring-2 data-[invalid='true']:ring-error/35
147
+ data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
148
148
  `, { variants: {
149
149
  disabled: { true: "pointer-events-none cursor-not-allowed opacity-50" },
150
150
  readonly: { true: "pointer-events-none" },
@@ -171,7 +171,7 @@ const calendarMonthViewDayThemeVariants = cva(`
171
171
  `, {
172
172
  variants: {
173
173
  disabled: { true: "pointer-events-none cursor-not-allowed text-disabled-foreground" },
174
- focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-2 ring-inset ring-focus-indicator/35" },
174
+ focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-(length:--mona-focus-ring-width,2px) ring-inset ring-focus-indicator/(--mona-focus-ring-opacity,35%)" },
175
175
  outside: { true: "text-muted-foreground" },
176
176
  rangeMiddle: { true: `
177
177
  bg-(--color-selected) text-(--color-selected-foreground)
@@ -220,7 +220,7 @@ const calendarYearViewCellThemeVariants = cva(`
220
220
  cursor-pointer py-2
221
221
  hover:bg-hover active:bg-active
222
222
  `, { variants: {
223
- focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-2 ring-inset ring-focus-indicator/35" },
223
+ focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-(length:--mona-focus-ring-width,2px) ring-inset ring-focus-indicator/(--mona-focus-ring-opacity,35%)" },
224
224
  rounded: {
225
225
  none: "rounded-none",
226
226
  small: "rounded-sm",
@@ -238,7 +238,7 @@ const calendarDecadeViewCellThemeVariants = cva(`
238
238
  cursor-pointer py-2
239
239
  hover:bg-hover active:bg-active
240
240
  `, { variants: {
241
- focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-2 ring-inset ring-focus-indicator/35" },
241
+ focused: { true: "bg-hover outline-none focus-visible:outline-hidden ring-(length:--mona-focus-ring-width,2px) ring-inset ring-focus-indicator/(--mona-focus-ring-opacity,35%)" },
242
242
  rounded: {
243
243
  none: "rounded-none",
244
244
  small: "rounded-sm",
@@ -282,7 +282,7 @@ var DecadeYearDirective = class DecadeYearDirective {
282
282
  static {
283
283
  this.ɵfac = i0.ɵɵngDeclareFactory({
284
284
  minVersion: "12.0.0",
285
- version: "22.2.6",
285
+ version: "22.3.0",
286
286
  ngImport: i0,
287
287
  type: DecadeYearDirective,
288
288
  deps: [],
@@ -292,7 +292,7 @@ var DecadeYearDirective = class DecadeYearDirective {
292
292
  static {
293
293
  this.ɵdir = i0.ɵɵngDeclareDirective({
294
294
  minVersion: "17.1.0",
295
- version: "22.2.6",
295
+ version: "22.3.0",
296
296
  type: DecadeYearDirective,
297
297
  isStandalone: true,
298
298
  selector: "[monaDecadeYear]",
@@ -350,7 +350,7 @@ var DecadeYearDirective = class DecadeYearDirective {
350
350
  };
351
351
  i0.ɵɵngDeclareClassMetadata({
352
352
  minVersion: "12.0.0",
353
- version: "22.2.6",
353
+ version: "22.3.0",
354
354
  ngImport: i0,
355
355
  type: DecadeYearDirective,
356
356
  decorators: [{
@@ -525,7 +525,7 @@ var MonthDayDirective = class MonthDayDirective {
525
525
  static {
526
526
  this.ɵfac = i0.ɵɵngDeclareFactory({
527
527
  minVersion: "12.0.0",
528
- version: "22.2.6",
528
+ version: "22.3.0",
529
529
  ngImport: i0,
530
530
  type: MonthDayDirective,
531
531
  deps: [],
@@ -535,7 +535,7 @@ var MonthDayDirective = class MonthDayDirective {
535
535
  static {
536
536
  this.ɵdir = i0.ɵɵngDeclareDirective({
537
537
  minVersion: "17.1.0",
538
- version: "22.2.6",
538
+ version: "22.3.0",
539
539
  type: MonthDayDirective,
540
540
  isStandalone: true,
541
541
  selector: "[monaMonthDay]",
@@ -638,7 +638,7 @@ var MonthDayDirective = class MonthDayDirective {
638
638
  };
639
639
  i0.ɵɵngDeclareClassMetadata({
640
640
  minVersion: "12.0.0",
641
- version: "22.2.6",
641
+ version: "22.3.0",
642
642
  ngImport: i0,
643
643
  type: MonthDayDirective,
644
644
  decorators: [{
@@ -795,7 +795,7 @@ var YearMonthDirective = class YearMonthDirective {
795
795
  static {
796
796
  this.ɵfac = i0.ɵɵngDeclareFactory({
797
797
  minVersion: "12.0.0",
798
- version: "22.2.6",
798
+ version: "22.3.0",
799
799
  ngImport: i0,
800
800
  type: YearMonthDirective,
801
801
  deps: [],
@@ -805,7 +805,7 @@ var YearMonthDirective = class YearMonthDirective {
805
805
  static {
806
806
  this.ɵdir = i0.ɵɵngDeclareDirective({
807
807
  minVersion: "17.1.0",
808
- version: "22.2.6",
808
+ version: "22.3.0",
809
809
  type: YearMonthDirective,
810
810
  isStandalone: true,
811
811
  selector: "[monaYearMonth]",
@@ -863,7 +863,7 @@ var YearMonthDirective = class YearMonthDirective {
863
863
  };
864
864
  i0.ɵɵngDeclareClassMetadata({
865
865
  minVersion: "12.0.0",
866
- version: "22.2.6",
866
+ version: "22.3.0",
867
867
  ngImport: i0,
868
868
  type: YearMonthDirective,
869
869
  decorators: [{
@@ -1804,7 +1804,7 @@ var CalendarComponent = class CalendarComponent {
1804
1804
  static {
1805
1805
  this.ɵfac = i0.ɵɵngDeclareFactory({
1806
1806
  minVersion: "12.0.0",
1807
- version: "22.2.6",
1807
+ version: "22.3.0",
1808
1808
  ngImport: i0,
1809
1809
  type: CalendarComponent,
1810
1810
  deps: [],
@@ -1814,7 +1814,7 @@ var CalendarComponent = class CalendarComponent {
1814
1814
  static {
1815
1815
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1816
1816
  minVersion: "17.0.0",
1817
- version: "22.2.6",
1817
+ version: "22.3.0",
1818
1818
  type: CalendarComponent,
1819
1819
  isStandalone: true,
1820
1820
  selector: "mona-calendar",
@@ -2064,7 +2064,7 @@ var CalendarComponent = class CalendarComponent {
2064
2064
  };
2065
2065
  i0.ɵɵngDeclareClassMetadata({
2066
2066
  minVersion: "12.0.0",
2067
- version: "22.2.6",
2067
+ version: "22.3.0",
2068
2068
  ngImport: i0,
2069
2069
  type: CalendarComponent,
2070
2070
  decorators: [{