@mozaic-ds/web-components 1.5.1 → 1.6.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 (367) hide show
  1. package/dist/Condition20.js +1 -1
  2. package/dist/Condition20.js.map +1 -1
  3. package/dist/accordion-list.state.svelte.js +1 -1
  4. package/dist/attributes.js +1 -1
  5. package/dist/attributes.js.map +1 -1
  6. package/dist/branches.js +1 -1
  7. package/dist/branches.js.map +1 -1
  8. package/dist/bundle.d.ts +14 -0
  9. package/dist/bundle.d.ts.map +1 -1
  10. package/dist/bundle.js +14 -0
  11. package/dist/components/accordionlist/AccordionList.js +4 -4
  12. package/dist/components/accordionlist/AccordionList.js.map +1 -1
  13. package/dist/components/accordionlist/AccordionList.stories.js +2 -2
  14. package/dist/components/accordionlist/AccordionList.svelte +19 -17
  15. package/dist/components/accordionlistItem/AccordionListItem.js +4 -4
  16. package/dist/components/accordionlistItem/AccordionListItem.js.map +1 -1
  17. package/dist/components/accordionlistItem/AccordionListItem.svelte +19 -17
  18. package/dist/components/actionbottombar/ActionBottomBar.js +2 -2
  19. package/dist/components/actionlistbox/ActionListbox.js +6 -4
  20. package/dist/components/actionlistbox/ActionListbox.js.map +1 -1
  21. package/dist/components/actionlistbox/ActionListbox.spec.js +73 -16
  22. package/dist/components/actionlistbox/ActionListbox.stories.d.ts +2 -0
  23. package/dist/components/actionlistbox/ActionListbox.stories.d.ts.map +1 -1
  24. package/dist/components/actionlistbox/ActionListbox.stories.js +73 -2
  25. package/dist/components/actionlistbox/ActionListbox.svelte +157 -11
  26. package/dist/components/actionlistbox/ActionListbox.svelte.d.ts +11 -1
  27. package/dist/components/actionlistbox/ActionListbox.svelte.d.ts.map +1 -1
  28. package/dist/components/actionlistbox/README.md +3 -0
  29. package/dist/components/actionlistboxitem/ActionListboxItem.js +2 -2
  30. package/dist/components/actionlistboxitem/ActionListboxItem.js.map +1 -1
  31. package/dist/components/actionlistboxitem/ActionListboxItem.svelte +21 -5
  32. package/dist/components/actionlistboxitem/ActionListboxItem.svelte.d.ts +6 -1
  33. package/dist/components/actionlistboxitem/ActionListboxItem.svelte.d.ts.map +1 -1
  34. package/dist/components/avatar/Avatar.js +2 -2
  35. package/dist/components/breadcrumb/Breadcrumb.js +4 -6
  36. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
  37. package/dist/components/breadcrumb/Breadcrumb.svelte +7 -14
  38. package/dist/components/breadcrumb/Breadcrumb.svelte.d.ts.map +1 -1
  39. package/dist/components/builtinmenu/BuiltInMenu.js +2 -2
  40. package/dist/components/builtinmenu/BuiltInMenu.stories.d.ts +1 -1
  41. package/dist/components/builtinmenu/BuiltInMenu.stories.d.ts.map +1 -1
  42. package/dist/components/builtinmenu/BuiltInMenu.stories.js +2 -2
  43. package/dist/components/builtinmenu/BuiltInMenu.svelte +1 -1
  44. package/dist/components/builtinmenuitem/BuiltInMenuItem.js +3 -3
  45. package/dist/components/builtinmenuitem/BuiltInMenuItem.svelte +1 -1
  46. package/dist/components/button/Button.js +3 -3
  47. package/dist/components/button/Button.js.map +1 -1
  48. package/dist/components/button/Button.svelte +16 -1
  49. package/dist/components/button/Button.svelte.d.ts +6 -1
  50. package/dist/components/button/Button.svelte.d.ts.map +1 -1
  51. package/dist/components/callout/Callout.js +2 -2
  52. package/dist/components/callout/Callout.stories.d.ts +3 -3
  53. package/dist/components/callout/Callout.stories.d.ts.map +1 -1
  54. package/dist/components/callout/Callout.stories.js +3 -3
  55. package/dist/components/carousel/Carousel.js +2 -2
  56. package/dist/components/carousel/Carousel.js.map +1 -1
  57. package/dist/components/carousel/Carousel.svelte +1 -0
  58. package/dist/components/checkbox/Checkbox.js +4 -4
  59. package/dist/components/checkbox/Checkbox.js.map +1 -1
  60. package/dist/components/checkbox/Checkbox.svelte +30 -10
  61. package/dist/components/checkboxgroup/CheckboxGroup.js +4 -4
  62. package/dist/components/checkboxgroup/CheckboxGroup.js.map +1 -1
  63. package/dist/components/checkboxgroup/CheckboxGroup.svelte +30 -10
  64. package/dist/components/checklistmenu/CheckListMenu.js +2 -2
  65. package/dist/components/checklistmenu/CheckListMenu.js.map +1 -1
  66. package/dist/components/checklistmenu/CheckListMenu.stories.js +1 -1
  67. package/dist/components/circularprogressbar/CircularProgressbar.js +2 -2
  68. package/dist/components/container/Container.js +2 -2
  69. package/dist/components/datepicker/Datepicker.js +3 -3
  70. package/dist/components/datepicker/Datepicker.js.map +1 -1
  71. package/dist/components/datepicker/Datepicker.stories.d.ts +1 -1
  72. package/dist/components/datepicker/Datepicker.stories.d.ts.map +1 -1
  73. package/dist/components/datepicker/Datepicker.stories.js +2 -2
  74. package/dist/components/datepicker/Datepicker.svelte +32 -8
  75. package/dist/components/divider/Divider.js +2 -2
  76. package/dist/components/divider/Divider.js.map +1 -1
  77. package/dist/components/divider/Divider.svelte +6 -1
  78. package/dist/components/divider/Divider.svelte.d.ts.map +1 -1
  79. package/dist/components/drawer/Drawer.js +2 -2
  80. package/dist/components/drawer/Drawer.js.map +1 -1
  81. package/dist/components/drawer/Drawer.svelte +4 -1
  82. package/dist/components/field/Field.js +3 -3
  83. package/dist/components/field/Field.js.map +1 -1
  84. package/dist/components/field/Field.spec.js +1 -1
  85. package/dist/components/field/Field.svelte +7 -3
  86. package/dist/components/fileuploader/FileUploader.js +2 -2
  87. package/dist/components/fileuploader/FileUploader.js.map +1 -1
  88. package/dist/components/fileuploader/FileUploader.stories.js +3 -3
  89. package/dist/components/fileuploader/FileUploader.svelte +4 -1
  90. package/dist/components/fileuploaderitem/FileUploaderItem.js +2 -2
  91. package/dist/components/flag/Flag.js +2 -2
  92. package/dist/components/iconbutton/IconButton.js +2 -2
  93. package/dist/components/iconbutton/IconButton.js.map +1 -1
  94. package/dist/components/iconbutton/IconButton.svelte +11 -1
  95. package/dist/components/iconbutton/IconButton.svelte.d.ts +3 -1
  96. package/dist/components/iconbutton/IconButton.svelte.d.ts.map +1 -1
  97. package/dist/components/kpiitem/KpiItem.js +2 -2
  98. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js +2 -2
  99. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js +2 -2
  100. package/dist/components/link/Link.js +2 -2
  101. package/dist/components/link/Link.stories.js +2 -2
  102. package/dist/components/loader/Loader.js +2 -2
  103. package/dist/components/loadingoverlay/LoadingOverlay.js +2 -2
  104. package/dist/components/modal/Modal.js +3 -3
  105. package/dist/components/modal/Modal.js.map +1 -1
  106. package/dist/components/modal/Modal.svelte +5 -1
  107. package/dist/components/navigationindicator/NavigationIndicator.js +4 -0
  108. package/dist/components/navigationindicator/NavigationIndicator.js.map +1 -0
  109. package/dist/components/navigationindicator/NavigationIndicator.spec.js +130 -0
  110. package/dist/components/navigationindicator/NavigationIndicator.stories.d.ts +8 -0
  111. package/dist/components/navigationindicator/NavigationIndicator.stories.d.ts.map +1 -0
  112. package/dist/components/navigationindicator/NavigationIndicator.stories.js +40 -0
  113. package/dist/components/navigationindicator/NavigationIndicator.svelte +156 -0
  114. package/dist/components/navigationindicator/NavigationIndicator.svelte.d.ts +34 -0
  115. package/dist/components/navigationindicator/NavigationIndicator.svelte.d.ts.map +1 -0
  116. package/dist/components/navigationindicator/README.md +21 -0
  117. package/dist/components/numberbadge/NumberBadge.js +2 -2
  118. package/dist/components/overlay/Overlay.js +2 -2
  119. package/dist/components/pageheader/PageHeader.js +24 -0
  120. package/dist/components/pageheader/PageHeader.js.map +1 -0
  121. package/dist/components/pageheader/PageHeader.spec.js +75 -0
  122. package/dist/components/pageheader/PageHeader.stories.d.ts +12 -0
  123. package/dist/components/pageheader/PageHeader.stories.d.ts.map +1 -0
  124. package/dist/components/pageheader/PageHeader.stories.js +82 -0
  125. package/dist/components/pageheader/PageHeader.svelte +268 -0
  126. package/dist/components/pageheader/PageHeader.svelte.d.ts +66 -0
  127. package/dist/components/pageheader/PageHeader.svelte.d.ts.map +1 -0
  128. package/dist/components/pageheader/README.md +32 -0
  129. package/dist/components/pagination/Pagination.js +8 -8
  130. package/dist/components/pagination/Pagination.js.map +1 -1
  131. package/dist/components/pagination/Pagination.svelte +44 -28
  132. package/dist/components/pagination/Pagination.svelte.d.ts.map +1 -1
  133. package/dist/components/passwordinput/PasswordInput.js +3 -3
  134. package/dist/components/passwordinput/PasswordInput.js.map +1 -1
  135. package/dist/components/passwordinput/PasswordInput.stories.d.ts +1 -1
  136. package/dist/components/passwordinput/PasswordInput.stories.d.ts.map +1 -1
  137. package/dist/components/passwordinput/PasswordInput.stories.js +2 -2
  138. package/dist/components/passwordinput/PasswordInput.svelte +14 -5
  139. package/dist/components/phonenumber/PhoneNumber.js +13 -11
  140. package/dist/components/phonenumber/PhoneNumber.js.map +1 -1
  141. package/dist/components/phonenumber/PhoneNumber.stories.d.ts +1 -1
  142. package/dist/components/phonenumber/PhoneNumber.stories.d.ts.map +1 -1
  143. package/dist/components/phonenumber/PhoneNumber.stories.js +2 -2
  144. package/dist/components/phonenumber/PhoneNumber.svelte +84 -37
  145. package/dist/components/phonenumber/PhoneNumber.svelte.d.ts.map +1 -1
  146. package/dist/components/pincode/Pincode.js +2 -2
  147. package/dist/components/pincode/Pincode.js.map +1 -1
  148. package/dist/components/pincode/Pincode.stories.d.ts +1 -1
  149. package/dist/components/pincode/Pincode.stories.d.ts.map +1 -1
  150. package/dist/components/pincode/Pincode.stories.js +2 -2
  151. package/dist/components/popover/Popover.js +6 -0
  152. package/dist/components/popover/Popover.js.map +1 -0
  153. package/dist/components/popover/Popover.spec.js +69 -0
  154. package/dist/components/popover/Popover.stories.d.ts +36 -0
  155. package/dist/components/popover/Popover.stories.d.ts.map +1 -0
  156. package/dist/components/popover/Popover.stories.js +124 -0
  157. package/dist/components/popover/Popover.svelte +348 -0
  158. package/dist/components/popover/Popover.svelte.d.ts +79 -0
  159. package/dist/components/popover/Popover.svelte.d.ts.map +1 -0
  160. package/dist/components/popover/README.md +25 -0
  161. package/dist/components/quantityselector/QuantitySelector.js +2 -2
  162. package/dist/components/quantityselector/QuantitySelector.js.map +1 -1
  163. package/dist/components/quantityselector/QuantitySelector.stories.js +1 -1
  164. package/dist/components/quantityselector/QuantitySelector.svelte +3 -3
  165. package/dist/components/radio/Radio.js +2 -2
  166. package/dist/components/radio/Radio.js.map +1 -1
  167. package/dist/components/radiogroup/RadioGroup.js +2 -2
  168. package/dist/components/radiogroup/RadioGroup.js.map +1 -1
  169. package/dist/components/radiogroup/RadioGroup.svelte +6 -2
  170. package/dist/components/segmentedcontrol/SegmentedControl.js +2 -2
  171. package/dist/components/segmentedcontrol/SegmentedControl.js.map +1 -1
  172. package/dist/components/select/Select.js +3 -3
  173. package/dist/components/select/Select.js.map +1 -1
  174. package/dist/components/select/Select.spec.js +2 -2
  175. package/dist/components/select/Select.stories.d.ts +1 -1
  176. package/dist/components/select/Select.stories.d.ts.map +1 -1
  177. package/dist/components/select/Select.stories.js +2 -2
  178. package/dist/components/select/Select.svelte +50 -31
  179. package/dist/components/select/Select.svelte.d.ts.map +1 -1
  180. package/dist/components/sidebar/README.md +28 -0
  181. package/dist/components/sidebar/Sidebar.js +18 -0
  182. package/dist/components/sidebar/Sidebar.js.map +1 -0
  183. package/dist/components/sidebar/Sidebar.spec.js +74 -0
  184. package/dist/components/sidebar/Sidebar.stories.d.ts +23 -0
  185. package/dist/components/sidebar/Sidebar.stories.d.ts.map +1 -0
  186. package/dist/components/sidebar/Sidebar.stories.js +333 -0
  187. package/dist/components/sidebar/Sidebar.svelte +570 -0
  188. package/dist/components/sidebar/Sidebar.svelte.d.ts +47 -0
  189. package/dist/components/sidebar/Sidebar.svelte.d.ts.map +1 -0
  190. package/dist/components/sidebar/floating-item.spec.js +96 -0
  191. package/dist/components/sidebar/floating-item.svelte.d.ts +13 -0
  192. package/dist/components/sidebar/floating-item.svelte.d.ts.map +1 -0
  193. package/dist/components/sidebar/floating-item.svelte.js +95 -0
  194. package/dist/components/sidebar/sidebar-state.spec.js +112 -0
  195. package/dist/components/sidebar/sidebar-state.svelte.d.ts +9 -0
  196. package/dist/components/sidebar/sidebar-state.svelte.d.ts.map +1 -0
  197. package/dist/components/sidebar/sidebar-state.svelte.js +36 -0
  198. package/dist/components/sidebarexpandableitem/README.md +19 -0
  199. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.js +18 -0
  200. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.js.map +1 -0
  201. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.spec.js +85 -0
  202. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte +578 -0
  203. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte.d.ts +49 -0
  204. package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte.d.ts.map +1 -0
  205. package/dist/components/sidebarfooter/README.md +29 -0
  206. package/dist/components/sidebarfooter/SidebarFooter.js +18 -0
  207. package/dist/components/sidebarfooter/SidebarFooter.js.map +1 -0
  208. package/dist/components/sidebarfooter/SidebarFooter.spec.js +132 -0
  209. package/dist/components/sidebarfooter/SidebarFooter.svelte +1018 -0
  210. package/dist/components/sidebarfooter/SidebarFooter.svelte.d.ts +60 -0
  211. package/dist/components/sidebarfooter/SidebarFooter.svelte.d.ts.map +1 -0
  212. package/dist/components/sidebarfooter/_SidebarFooterMenu.js +18 -0
  213. package/dist/components/sidebarfooter/_SidebarFooterMenu.js.map +1 -0
  214. package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte +517 -0
  215. package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte.d.ts +36 -0
  216. package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte.d.ts.map +1 -0
  217. package/dist/components/sidebarheader/README.md +11 -0
  218. package/dist/components/sidebarheader/SidebarHeader.js +18 -0
  219. package/dist/components/sidebarheader/SidebarHeader.js.map +1 -0
  220. package/dist/components/sidebarheader/SidebarHeader.spec.js +37 -0
  221. package/dist/components/sidebarheader/SidebarHeader.svelte +499 -0
  222. package/dist/components/sidebarheader/SidebarHeader.svelte.d.ts +17 -0
  223. package/dist/components/sidebarheader/SidebarHeader.svelte.d.ts.map +1 -0
  224. package/dist/components/sidebarnavitem/README.md +30 -0
  225. package/dist/components/sidebarnavitem/SidebarNavItem.js +18 -0
  226. package/dist/components/sidebarnavitem/SidebarNavItem.js.map +1 -0
  227. package/dist/components/sidebarnavitem/SidebarNavItem.spec.js +95 -0
  228. package/dist/components/sidebarnavitem/SidebarNavItem.svelte +617 -0
  229. package/dist/components/sidebarnavitem/SidebarNavItem.svelte.d.ts +58 -0
  230. package/dist/components/sidebarnavitem/SidebarNavItem.svelte.d.ts.map +1 -0
  231. package/dist/components/sidebarshortcutitem/README.md +17 -0
  232. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.js +18 -0
  233. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.js.map +1 -0
  234. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.spec.js +34 -0
  235. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte +509 -0
  236. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte.d.ts +35 -0
  237. package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte.d.ts.map +1 -0
  238. package/dist/components/sidebarshortcuts/README.md +23 -0
  239. package/dist/components/sidebarshortcuts/SidebarShortcuts.js +18 -0
  240. package/dist/components/sidebarshortcuts/SidebarShortcuts.js.map +1 -0
  241. package/dist/components/sidebarshortcuts/SidebarShortcuts.spec.js +82 -0
  242. package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte +583 -0
  243. package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte.d.ts +42 -0
  244. package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte.d.ts.map +1 -0
  245. package/dist/components/starrating/StarRating.js +2 -2
  246. package/dist/components/starrating/StarRating.js.map +1 -1
  247. package/dist/components/starrating/StarRating.stories.d.ts +5 -5
  248. package/dist/components/starrating/StarRating.stories.d.ts.map +1 -1
  249. package/dist/components/starrating/StarRating.stories.js +5 -5
  250. package/dist/components/statusbadge/StatusBadge.js +2 -2
  251. package/dist/components/statusdot/StatusDot.js +2 -2
  252. package/dist/components/statusmessage/StatusMessage.js +2 -2
  253. package/dist/components/statusnotification/StatusNotification.js +2 -2
  254. package/dist/components/statusnotification/StatusNotification.js.map +1 -1
  255. package/dist/components/statusnotification/StatusNotification.stories.d.ts +3 -3
  256. package/dist/components/statusnotification/StatusNotification.stories.d.ts.map +1 -1
  257. package/dist/components/statusnotification/StatusNotification.stories.js +3 -3
  258. package/dist/components/statusnotification/StatusNotification.svelte +4 -1
  259. package/dist/components/stepperbottombar/StepperBottomBar.js +3 -3
  260. package/dist/components/stepperbottombar/StepperBottomBar.svelte +5 -1
  261. package/dist/components/stepperbottombar/StepperBottomBar.svelte.d.ts +1 -1
  262. package/dist/components/steppercompact/StepperCompact.js +2 -2
  263. package/dist/components/stepperinline/StepperInline.js +3 -3
  264. package/dist/components/stepperinline/StepperInline.svelte +1 -1
  265. package/dist/components/stepperinline/StepperInline.svelte.d.ts +1 -1
  266. package/dist/components/tab/Tab.js +2 -2
  267. package/dist/components/tabs/Tabs.js +2 -2
  268. package/dist/components/tabs/Tabs.stories.js +1 -1
  269. package/dist/components/tag/Tag.js +2 -2
  270. package/dist/components/tag/Tag.js.map +1 -1
  271. package/dist/components/tag/Tag.svelte +8 -5
  272. package/dist/components/textarea/Textarea.js +2 -2
  273. package/dist/components/textarea/Textarea.js.map +1 -1
  274. package/dist/components/textarea/Textarea.stories.d.ts +1 -1
  275. package/dist/components/textarea/Textarea.stories.d.ts.map +1 -1
  276. package/dist/components/textarea/Textarea.stories.js +2 -2
  277. package/dist/components/textinput/README.md +2 -0
  278. package/dist/components/textinput/Textinput.js +3 -3
  279. package/dist/components/textinput/Textinput.js.map +1 -1
  280. package/dist/components/textinput/Textinput.stories.d.ts +11 -1
  281. package/dist/components/textinput/Textinput.stories.d.ts.map +1 -1
  282. package/dist/components/textinput/Textinput.stories.js +20 -29
  283. package/dist/components/textinput/Textinput.svelte +28 -4
  284. package/dist/components/textinput/Textinput.svelte.d.ts +8 -0
  285. package/dist/components/textinput/Textinput.svelte.d.ts.map +1 -1
  286. package/dist/components/tile/README.md +19 -0
  287. package/dist/components/tile/Tile.js +111 -0
  288. package/dist/components/tile/Tile.js.map +1 -0
  289. package/dist/components/tile/Tile.spec.js +21 -0
  290. package/dist/components/tile/Tile.stories.d.ts +10 -0
  291. package/dist/components/tile/Tile.stories.d.ts.map +1 -0
  292. package/dist/components/tile/Tile.stories.js +37 -0
  293. package/dist/components/tile/Tile.svelte +894 -0
  294. package/dist/components/tile/Tile.svelte.d.ts +48 -0
  295. package/dist/components/tile/Tile.svelte.d.ts.map +1 -0
  296. package/dist/components/tileclickable/README.md +31 -0
  297. package/dist/components/tileclickable/TileClickable.js +114 -0
  298. package/dist/components/tileclickable/TileClickable.js.map +1 -0
  299. package/dist/components/tileclickable/TileClickable.spec.js +62 -0
  300. package/dist/components/tileclickable/TileClickable.stories.d.ts +10 -0
  301. package/dist/components/tileclickable/TileClickable.stories.d.ts.map +1 -0
  302. package/dist/components/tileclickable/TileClickable.stories.js +52 -0
  303. package/dist/components/tileclickable/TileClickable.svelte +954 -0
  304. package/dist/components/tileclickable/TileClickable.svelte.d.ts +65 -0
  305. package/dist/components/tileclickable/TileClickable.svelte.d.ts.map +1 -0
  306. package/dist/components/tileexpandable/README.md +20 -0
  307. package/dist/components/tileexpandable/TileExpandable.js +114 -0
  308. package/dist/components/tileexpandable/TileExpandable.js.map +1 -0
  309. package/dist/components/tileexpandable/TileExpandable.spec.js +65 -0
  310. package/dist/components/tileexpandable/TileExpandable.stories.d.ts +7 -0
  311. package/dist/components/tileexpandable/TileExpandable.stories.d.ts.map +1 -0
  312. package/dist/components/tileexpandable/TileExpandable.stories.js +38 -0
  313. package/dist/components/tileexpandable/TileExpandable.svelte +956 -0
  314. package/dist/components/tileexpandable/TileExpandable.svelte.d.ts +53 -0
  315. package/dist/components/tileexpandable/TileExpandable.svelte.d.ts.map +1 -0
  316. package/dist/components/tileselectable/README.md +21 -0
  317. package/dist/components/tileselectable/TileSelectable.js +108 -0
  318. package/dist/components/tileselectable/TileSelectable.js.map +1 -0
  319. package/dist/components/tileselectable/TileSelectable.spec.js +57 -0
  320. package/dist/components/tileselectable/TileSelectable.stories.d.ts +9 -0
  321. package/dist/components/tileselectable/TileSelectable.stories.d.ts.map +1 -0
  322. package/dist/components/tileselectable/TileSelectable.stories.js +44 -0
  323. package/dist/components/tileselectable/TileSelectable.svelte +939 -0
  324. package/dist/components/tileselectable/TileSelectable.svelte.d.ts +57 -0
  325. package/dist/components/tileselectable/TileSelectable.svelte.d.ts.map +1 -0
  326. package/dist/components/toaster/Toaster.js +3 -3
  327. package/dist/components/toaster/Toaster.js.map +1 -1
  328. package/dist/components/toaster/Toaster.stories.d.ts +2 -2
  329. package/dist/components/toaster/Toaster.stories.d.ts.map +1 -1
  330. package/dist/components/toaster/Toaster.stories.js +2 -2
  331. package/dist/components/toaster/Toaster.svelte +5 -2
  332. package/dist/components/toggle/Toggle.js +2 -2
  333. package/dist/components/toggle/Toggle.js.map +1 -1
  334. package/dist/components/toggle/Toggle.svelte +0 -14
  335. package/dist/components/togglegroup/ToggleGroup.js +2 -2
  336. package/dist/components/togglegroup/ToggleGroup.js.map +1 -1
  337. package/dist/components/togglegroup/ToggleGroup.svelte +6 -16
  338. package/dist/components/tooltip/README.md +1 -0
  339. package/dist/components/tooltip/Tooltip.js +2 -2
  340. package/dist/components/tooltip/Tooltip.js.map +1 -1
  341. package/dist/components/tooltip/Tooltip.svelte +18 -10
  342. package/dist/components/tooltip/Tooltip.svelte.d.ts +4 -0
  343. package/dist/components/tooltip/Tooltip.svelte.d.ts.map +1 -1
  344. package/dist/custom-element.js +3 -3
  345. package/dist/custom-element.js.map +1 -1
  346. package/dist/each.js +1 -1
  347. package/dist/each.js.map +1 -1
  348. package/dist/floating-item.svelte.js +2 -0
  349. package/dist/floating-item.svelte.js.map +1 -0
  350. package/dist/if.js +1 -1
  351. package/dist/if.js.map +1 -1
  352. package/dist/index-client.js +1 -1
  353. package/dist/index-client.js.map +1 -1
  354. package/dist/input.js +1 -1
  355. package/dist/main.d.ts +15 -1
  356. package/dist/main.d.ts.map +1 -1
  357. package/dist/main.js +15 -1
  358. package/dist/media-query.js +2 -0
  359. package/dist/media-query.js.map +1 -0
  360. package/dist/sidebar-state.svelte.js +2 -0
  361. package/dist/sidebar-state.svelte.js.map +1 -0
  362. package/dist/slot.js +1 -1
  363. package/dist/svelte-component.js +1 -1
  364. package/dist/svelte-element.js +1 -1
  365. package/dist/svelte-element.js.map +1 -1
  366. package/dist/this.js +1 -1
  367. package/package.json +2 -2
@@ -114,6 +114,16 @@
114
114
  transition: all ease 200ms;
115
115
  height: 1.25rem;
116
116
  width: 1.25rem;
117
+ position: relative;
118
+ }
119
+ .mc-checkbox__input::after {
120
+ content: "";
121
+ position: absolute;
122
+ inset: 0;
123
+ background-color: var(--forms-color-icon-inverse, #ffffff);
124
+ opacity: 0;
125
+ transform: scale(0.6);
126
+ transition: 0.15s ease;
117
127
  }
118
128
  .mc-checkbox__input:hover {
119
129
  border-color: var(--forms-color-border-hover, #4d4d4d);
@@ -123,11 +133,17 @@
123
133
  outline: 0.125rem solid transparent;
124
134
  outline-offset: 0.125rem;
125
135
  }
126
- .mc-checkbox__input:checked {
127
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");
136
+ .mc-checkbox__input:checked::after {
137
+ opacity: 1;
138
+ transform: scale(1);
139
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;
140
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;
128
141
  }
129
- .mc-checkbox__input:indeterminate {
130
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");
142
+ .mc-checkbox__input:indeterminate::after {
143
+ opacity: 1;
144
+ transform: scale(1);
145
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;
146
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;
131
147
  }
132
148
  .mc-checkbox__input:checked, .mc-checkbox__input:indeterminate {
133
149
  background-color: var(--forms-color-background-checked, #117f03);
@@ -141,11 +157,11 @@
141
157
  background-color: var(--forms-color-background-disabled, #d9d9d9);
142
158
  cursor: not-allowed;
143
159
  }
144
- .mc-checkbox__input:disabled:checked {
145
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");
160
+ .mc-checkbox__input:disabled:checked::after {
161
+ background-color: var(--forms-color-icon-disabled, #737373);
146
162
  }
147
- .mc-checkbox__input:disabled:indeterminate {
148
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");
163
+ .mc-checkbox__input:disabled:indeterminate::after {
164
+ background-color: var(--forms-color-icon-disabled, #737373);
149
165
  }
150
166
  .mc-checkbox__input:disabled + .mc-checkbox__label {
151
167
  color: var(--forms-color-text-disabled, #737373);
@@ -202,13 +218,17 @@
202
218
  color: var(--field-color-validation-valid, #117f03);
203
219
  }
204
220
  .mc-field__validation-message.is-valid::before {
205
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-valid, %23117f03)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E");
221
+ background-color: var(--field-color-validation-valid, #117f03);
222
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
223
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
206
224
  }
207
225
  .mc-field__validation-message.is-invalid {
208
226
  color: var(--field-color-validation-invalid, #c61112);
209
227
  }
210
228
  .mc-field__validation-message.is-invalid::before {
211
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-invalid, %23c61112)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E");
229
+ background-color: var(--field-color-validation-invalid, #c61112);
230
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
231
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
212
232
  }
213
233
  .mc-field__validation-message.is-loading {
214
234
  color: var(--field-color-validation-loading, #666666);
@@ -1,10 +1,10 @@
1
- import{c as q,p as H,a as j,b as t,k as A,f as u,g as D,h as p,i as F,j as s,r as _,d as k,s as G,n as r,t as E,l as L,m as S,e as V}from"../../custom-element.js";import{i as I}from"../../if.js";import{e as J}from"../../each.js";import{a as K,r as N,s as v}from"../../attributes.js";import{b as O}from"../../input.js";import{c as P}from"../../custom-element-forward-events.js";import"../../branches.js";var Q=p('<label class="mc-checkbox__label svelte-11asba7"> </label>'),R=p('<div class="mc-checkbox mc-field__item svelte-11asba7"><input type="checkbox"/> <!></div>'),T=p("<div></div>");const U={hash:"svelte-11asba7",code:`/**
1
+ import{c as q,e as H,a as L,p as l,g as V,b as u,d as j,f as p,n as A,i as o,r as _,j as x,k as D,l as t,t as E,s as F,h as G,m as S}from"../../custom-element.js";import{i as I}from"../../if.js";import{e as J}from"../../each.js";import{a as K,r as N,s as v}from"../../attributes.js";import{b as O}from"../../input.js";import{c as P}from"../../custom-element-forward-events.js";import"../../branches.js";var Q=p('<label class="mc-checkbox__label svelte-11asba7"> </label>'),R=p('<div class="mc-checkbox mc-field__item svelte-11asba7"><input type="checkbox"/> <!></div>'),T=p("<div></div>");const U={hash:"svelte-11asba7",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
- /* stylelint-disable string-no-newline */.mc-checkbox.svelte-11asba7 {align-items:center;display:flex;gap:0.5rem;padding:0.375rem;}.mc-checkbox--indented.svelte-11asba7 {margin-left:1.75rem;}.mc-checkbox__label.svelte-11asba7 {font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);color:var(--forms-color-text-default, #000000);cursor:pointer;}.mc-checkbox__input.svelte-11asba7 {appearance:none;margin:0;cursor:pointer;flex-shrink:0;transition:box-shadow 200ms ease;background-color:var(--forms-color-background-default, #ffffff);border:var(--border-width-m, 0.125rem) solid var(--forms-color-border-default, #666666);border-radius:var(--forms-border-radius, 0.25rem);transition:all ease 200ms;height:1.25rem;width:1.25rem;}.mc-checkbox__input.svelte-11asba7:hover {border-color:var(--forms-color-border-hover, #4d4d4d);}.mc-checkbox__input.svelte-11asba7:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-checkbox__input.svelte-11asba7:checked {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");}.mc-checkbox__input.svelte-11asba7:indeterminate {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");}.mc-checkbox__input.svelte-11asba7:checked, .mc-checkbox__input.svelte-11asba7:indeterminate {background-color:var(--forms-color-background-checked, #117f03);background-size:1rem 1rem;background-position:center;}.mc-checkbox__input.svelte-11asba7:checked, .mc-checkbox__input.svelte-11asba7:indeterminate, .mc-checkbox__input.svelte-11asba7:disabled {border-color:transparent;}.mc-checkbox__input.svelte-11asba7:disabled {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;}.mc-checkbox__input.svelte-11asba7:disabled:checked {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");}.mc-checkbox__input.svelte-11asba7:disabled:indeterminate {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");}.mc-checkbox__input.svelte-11asba7:disabled + .mc-checkbox__label:where(.svelte-11asba7) {color:var(--forms-color-text-disabled, #737373);cursor:not-allowed;}.mc-checkbox__input.svelte-11asba7:not(:disabled):checked:hover, .mc-checkbox__input.svelte-11asba7:not(:disabled):indeterminate:hover {background-color:var(--forms-color-background-checked-hover, #006902);}.mc-checkbox__input.is-invalid.svelte-11asba7:not(:checked, :indeterminate) {border-color:var(--forms-color-border-invalid, #ea302d);}.mc-checkbox__input.is-invalid.svelte-11asba7:not(:checked, :indeterminate):hover {border-color:var(--forms-color-border-invalid-hover, #c61112);}
4
+ /* stylelint-disable string-no-newline */.mc-checkbox.svelte-11asba7 {align-items:center;display:flex;gap:0.5rem;padding:0.375rem;}.mc-checkbox--indented.svelte-11asba7 {margin-left:1.75rem;}.mc-checkbox__label.svelte-11asba7 {font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);color:var(--forms-color-text-default, #000000);cursor:pointer;}.mc-checkbox__input.svelte-11asba7 {appearance:none;margin:0;cursor:pointer;flex-shrink:0;transition:box-shadow 200ms ease;background-color:var(--forms-color-background-default, #ffffff);border:var(--border-width-m, 0.125rem) solid var(--forms-color-border-default, #666666);border-radius:var(--forms-border-radius, 0.25rem);transition:all ease 200ms;height:1.25rem;width:1.25rem;position:relative;}.mc-checkbox__input.svelte-11asba7::after {content:"";position:absolute;inset:0;background-color:var(--forms-color-icon-inverse, #ffffff);opacity:0;transform:scale(0.6);transition:0.15s ease;}.mc-checkbox__input.svelte-11asba7:hover {border-color:var(--forms-color-border-hover, #4d4d4d);}.mc-checkbox__input.svelte-11asba7:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-checkbox__input.svelte-11asba7:checked::after {opacity:1;transform:scale(1);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-checkbox__input.svelte-11asba7:indeterminate::after {opacity:1;transform:scale(1);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-checkbox__input.svelte-11asba7:checked, .mc-checkbox__input.svelte-11asba7:indeterminate {background-color:var(--forms-color-background-checked, #117f03);background-size:1rem 1rem;background-position:center;}.mc-checkbox__input.svelte-11asba7:checked, .mc-checkbox__input.svelte-11asba7:indeterminate, .mc-checkbox__input.svelte-11asba7:disabled {border-color:transparent;}.mc-checkbox__input.svelte-11asba7:disabled {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;}.mc-checkbox__input.svelte-11asba7:disabled:checked::after {background-color:var(--forms-color-icon-disabled, #737373);}.mc-checkbox__input.svelte-11asba7:disabled:indeterminate::after {background-color:var(--forms-color-icon-disabled, #737373);}.mc-checkbox__input.svelte-11asba7:disabled + .mc-checkbox__label:where(.svelte-11asba7) {color:var(--forms-color-text-disabled, #737373);cursor:not-allowed;}.mc-checkbox__input.svelte-11asba7:not(:disabled):checked:hover, .mc-checkbox__input.svelte-11asba7:not(:disabled):indeterminate:hover {background-color:var(--forms-color-background-checked-hover, #006902);}.mc-checkbox__input.is-invalid.svelte-11asba7:not(:checked, :indeterminate) {border-color:var(--forms-color-border-invalid, #ea302d);}.mc-checkbox__input.is-invalid.svelte-11asba7:not(:checked, :indeterminate):hover {border-color:var(--forms-color-border-invalid-hover, #c61112);}
5
5
 
6
6
  /* stylelint-enable string-no-newline */
7
- /* stylelint-disable string-no-newline */.mc-field__label.svelte-11asba7, .mc-field__legend.svelte-11asba7 {font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-regular, 400);color:var(--field-color-label, #000000);}.mc-field__legend.svelte-11asba7 {padding-inline:0;}.mc-field__requirement.svelte-11asba7, .mc-field__help.svelte-11asba7 {font-size:var(--font-size-50, 0.75rem);line-height:var(--line-height-m, 1.5);font-weight:var(--font-weight-regular, 400);vertical-align:top;color:var(--field-color-requirement, #666666);}.mc-field__help.svelte-11asba7 {display:block;margin-top:0.125rem;}.mc-field__content.svelte-11asba7 {margin-top:0.5rem;}.mc-field__validation-message.svelte-11asba7 {font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-m, 1.5);display:inline-flex;gap:0.25rem;margin-top:0.25rem;}.mc-field__validation-message.is-valid.svelte-11asba7::before, .mc-field__validation-message.is-invalid.svelte-11asba7::before {content:"";height:1.25rem;width:1.25rem;}.mc-field__validation-message.is-valid.svelte-11asba7 {color:var(--field-color-validation-valid, #117f03);}.mc-field__validation-message.is-valid.svelte-11asba7::before {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-valid, %23117f03)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E");}.mc-field__validation-message.is-invalid.svelte-11asba7 {color:var(--field-color-validation-invalid, #c61112);}.mc-field__validation-message.is-invalid.svelte-11asba7::before {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-invalid, %23c61112)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E");}.mc-field__validation-message.is-loading.svelte-11asba7 {color:var(--field-color-validation-loading, #666666);}.mc-field--group.svelte-11asba7 {border-width:0;margin-inline:0;padding:0;}
7
+ /* stylelint-disable string-no-newline */.mc-field__label.svelte-11asba7, .mc-field__legend.svelte-11asba7 {font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-regular, 400);color:var(--field-color-label, #000000);}.mc-field__legend.svelte-11asba7 {padding-inline:0;}.mc-field__requirement.svelte-11asba7, .mc-field__help.svelte-11asba7 {font-size:var(--font-size-50, 0.75rem);line-height:var(--line-height-m, 1.5);font-weight:var(--font-weight-regular, 400);vertical-align:top;color:var(--field-color-requirement, #666666);}.mc-field__help.svelte-11asba7 {display:block;margin-top:0.125rem;}.mc-field__content.svelte-11asba7 {margin-top:0.5rem;}.mc-field__validation-message.svelte-11asba7 {font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-m, 1.5);display:inline-flex;gap:0.25rem;margin-top:0.25rem;}.mc-field__validation-message.is-valid.svelte-11asba7::before, .mc-field__validation-message.is-invalid.svelte-11asba7::before {content:"";height:1.25rem;width:1.25rem;}.mc-field__validation-message.is-valid.svelte-11asba7 {color:var(--field-color-validation-valid, #117f03);}.mc-field__validation-message.is-valid.svelte-11asba7::before {background-color:var(--field-color-validation-valid, #117f03);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-field__validation-message.is-invalid.svelte-11asba7 {color:var(--field-color-validation-invalid, #c61112);}.mc-field__validation-message.is-invalid.svelte-11asba7::before {background-color:var(--field-color-validation-invalid, #c61112);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-field__validation-message.is-loading.svelte-11asba7 {color:var(--field-color-validation-loading, #666666);}.mc-field--group.svelte-11asba7 {border-width:0;margin-inline:0;padding:0;}
8
8
 
9
- /* stylelint-enable string-no-newline */.mc-field__content.svelte-11asba7:where(.mc-field__content--inline:where(.svelte-11asba7)) {display:flex;flex-flow:row wrap;gap:0.25rem 1rem;}`};function W(w,l){H(l,!0),j(w,U);const C=[];let m=t(l,"name",7),b=t(l,"options",7),o=t(l,"value",31,()=>A([])),f=t(l,"inline",7),n=t(l,"isinvalid",7),y=F(l,["$$slots","$$events","$$legacy","$$host","name","options","value","inline","isinvalid"]);var z={get name(){return m()},set name(e){m(e),s()},get options(){return b()},set options(e){b(e),s()},get value(){return o()},set value(e=[]){o(e),s()},get inline(){return f()},set inline(e){f(e),s()},get isinvalid(){return n()},set isinvalid(e){n(e),s()}},d=T();return K(d,()=>({class:["mc-field__content",f()&&"mc-field__content--inline"],...y}),void 0,void 0,void 0,"svelte-11asba7"),J(d,21,b,e=>e.id,(e,i)=>{var h=R(),a=k(h);N(a);var x,M=G(a,2);{var B=g=>{var c=Q(),Z=k(c,!0);_(c),E(()=>{v(c,"for",r(i).id),V(Z,r(i).label)}),u(g,c)};I(M,g=>{r(i).label&&g(B)})}_(h),E(()=>{L(a,1,S(["mc-checkbox__input",n()&&"is-invalid"]),"svelte-11asba7"),v(a,"id",r(i).id),v(a,"name",m()),a.disabled=r(i).disabled,a.indeterminate=r(i).indeterminate,v(a,"aria-invalid",n()),x!==(x=r(i).value)&&(a.value=(a.__value=r(i).value)??"")}),O(C,[],a,()=>(r(i).value,o()),o),u(e,h)}),_(d),u(w,d),D(z)}customElements.define("m-checkbox-group",q(W,{options:{attribute:"options",reflect:!0,type:"Array"},isinvalid:{attribute:"isinvalid",reflect:!0,type:"Boolean"},inline:{attribute:"inline",reflect:!0,type:"Boolean"},name:{},value:{}},[],[],!0,P));
9
+ /* stylelint-enable string-no-newline */.mc-field__content.svelte-11asba7:where(.mc-field__content--inline:where(.svelte-11asba7)) {display:flex;flex-flow:row wrap;gap:0.25rem 1rem;}`};function W(w,r){H(r,!0),L(w,U);const C=[];let m=l(r,"name",7),b=l(r,"options",7),s=l(r,"value",31,()=>V([])),h=l(r,"inline",7),n=l(r,"isinvalid",7),y=A(r,["$$slots","$$events","$$legacy","$$host","name","options","value","inline","isinvalid"]);var M={get name(){return m()},set name(e){m(e),o()},get options(){return b()},set options(e){b(e),o()},get value(){return s()},set value(e=[]){s(e),o()},get inline(){return h()},set inline(e){h(e),o()},get isinvalid(){return n()},set isinvalid(e){n(e),o()}},c=T();return K(c,()=>({class:["mc-field__content",h()&&"mc-field__content--inline"],...y}),void 0,void 0,void 0,"svelte-11asba7"),J(c,21,b,e=>e.id,(e,i)=>{var f=R(),a=x(f);N(a);var k,Z=D(a,2);{var z=g=>{var d=Q(),B=x(d,!0);_(d),E(()=>{v(d,"for",t(i).id),S(B,t(i).label)}),u(g,d)};I(Z,g=>{t(i).label&&g(z)})}_(f),E(()=>{F(a,1,G(["mc-checkbox__input",n()&&"is-invalid"]),"svelte-11asba7"),v(a,"id",t(i).id),v(a,"name",m()),a.disabled=t(i).disabled,a.indeterminate=t(i).indeterminate,v(a,"aria-invalid",n()),k!==(k=t(i).value)&&(a.value=(a.__value=t(i).value)??"")}),O(C,[],a,()=>(t(i).value,s()),s),u(e,f)}),_(c),u(w,c),j(M)}customElements.define("m-checkbox-group",q(W,{options:{attribute:"options",reflect:!0,type:"Array"},isinvalid:{attribute:"isinvalid",reflect:!0,type:"Boolean"},inline:{attribute:"inline",reflect:!0,type:"Boolean"},name:{},value:{}},[],[],{mode:"open"},P));
10
10
  //# sourceMappingURL=CheckboxGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroup.js","sources":["../../../src/components/checkboxgroup/CheckboxGroup.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-checkbox-group',\n props: {\n options: { reflect: true, type: 'Array', attribute: 'options' },\n isinvalid: { reflect: true, type: 'Boolean', attribute: 'isinvalid' },\n inline: { reflect: true, type: 'Boolean', attribute: 'inline' },\n },\n extend: customElementForwardEvents,\n }}\n/>\n\n<script lang=\"ts\">\n import { customElementForwardEvents } from '../../utils';\n /**\n * A checkbox is an interactive component used to select or deselect an option, typically within a list of choices. It allows users to make multiple selections independently and is often accompanied by a label for clarity. Checkboxes are commonly used in forms, filters, settings, and preference selections to provide a simple and intuitive way to enable or disable specific options. <br><br> To put a label, requierement text, help text or to apply a valid or invalid message, the examples are available in the [Field section](/docs/form-elements-field--docs#input).\n */\n interface Props {\n [key: string]: any;\n /**\n * The name attribute for the checkbox element, typically used for form submission.\n */\n name: string;\n /**\n * The current value of the checkbox group.\n */\n value?: Array<string>;\n /**\n * list of properties of each checkbox button of the checkbox group\n */\n options: Array<{\n id: string;\n label: string;\n value: string;\n disabled?: boolean;\n indeterminate?: boolean;\n indented?: boolean;\n }>;\n /**\n * If `true`, applies an invalid state to the checkbox group.\n */\n isinvalid?: boolean;\n /**\n * If `true`, make the form element of the group inline.\n */\n inline?: boolean;\n }\n\n let { name, options, value = $bindable([]), inline, isinvalid, ...attrs }: Props = $props();\n</script>\n\n<div class={['mc-field__content', inline && 'mc-field__content--inline']} {...attrs}>\n {#each options as option (option.id)}\n <div class=\"mc-checkbox mc-field__item\">\n <input\n type=\"checkbox\"\n class={['mc-checkbox__input', isinvalid && 'is-invalid']}\n id={option.id}\n {name}\n disabled={option.disabled}\n indeterminate={option.indeterminate}\n aria-invalid={isinvalid}\n bind:group={value}\n value={option.value}\n />\n {#if option.label}\n <label for={option.id} class=\"mc-checkbox__label\">{option.label}</label>\n {/if}\n </div>\n {/each}\n</div>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/checkbox';\n @use '@mozaic-ds/styles/components/field';\n\n .mc-field__content:where(.mc-field__content--inline) {\n display: flex;\n flex-flow: row wrap;\n gap: 0.25rem 1rem;\n }\n</style>\n"],"names":["name","$.prop","$$props","options","value","$.proxy","inline","isinvalid","attrs","$.rest_props","div","root","option","$$anchor","div_1","root_1","input","$.child","$.remove_input_defaults","node","$.sibling","label","root_2","$.get","$.set_text","text","$$render","consequent","$.set_class","$.clsx","$.set_attribute","input_value","customElementForwardEvents"],"mappings":";;;;;;;;wMAYA,+BAoCQA,EAAIC,EAAAC,EAAA,OAAA,CAAA,EAAEC,EAAOF,EAAAC,EAAA,UAAA,CAAA,EAAEE,EAAKH,EAAAC,EAAA,QAAA,GAAA,IAAAG,EAAA,CAAA,CAAA,CAAA,EAAkBC,EAAML,EAAAC,EAAA,SAAA,CAAA,EAAEK,EAASN,EAAAC,EAAA,YAAA,CAAA,EAAKM,EAAKC,EAAAP,EAAA,4VAGxEQ,EAAGC,EAAA,WAAHD,eAAY,oBAAqBJ,EAAM,GAAI,2BAA2B,KAAOE,6CAA7EE,EAAG,GACKP,EAAWS,GAAQA,EAAO,GAAE,CAAAC,EAAjBD,IAAM,KACrBE,EAAGC,EAAA,EACDC,EAAAC,EADFH,CAAG,EACDI,EAAAF,CAAA,QAAAG,EAAAC,EAAAJ,EAAA,CAAA,iBAYEK,EAAKC,EAAA,MAALD,EAAK,EAAA,IAALA,CAAK,WAALA,EAAK,MAAAE,EAAMX,CAAM,EAAC,EAAE,EAA8BY,EAAAC,EAAAF,EAAAX,CAAM,EAAC,KAAK,QAA9DS,CAAK,WADHE,EAAAX,CAAM,EAAC,OAAKc,EAAAC,CAAA,MAZlBb,CAAG,SACDc,EAAAZ,EAAA,EAAAa,EAAA,CAES,qBAAsBtB,KAAa,YAAY,CAAA,EAAA,gBAAA,IAFxDS,EAAA,KAAAO,EAGKX,CAAM,EAAC,EAAE,EAHdkB,EAAAd,EAAA,OAIEhB,GAAI,EAJNgB,EAAA,SAAAO,EAKWX,CAAM,EAAC,SALlBI,EAAA,cAAAO,EAMgBX,CAAM,EAAC,cANvBkB,EAAAd,EAAA,eAOeT,GAAS,EAEhBwB,KAAAA,EAAAR,EAAAX,CAAM,EAAC,SATfI,EAAA,OAAAA,EAAA,QAAAO,EASQX,CAAM,EAAC,QAAK,aATpBI,OASQO,EAAAX,CAAM,EAAC,MADFR,EAAK,GAALA,OATfU,CAAG,MAFPJ,CAAG,MAAHA,CAAG,MAFI,kPAzCIsB"}
1
+ {"version":3,"file":"CheckboxGroup.js","sources":["../../../src/components/checkboxgroup/CheckboxGroup.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-checkbox-group',\n props: {\n options: { reflect: true, type: 'Array', attribute: 'options' },\n isinvalid: { reflect: true, type: 'Boolean', attribute: 'isinvalid' },\n inline: { reflect: true, type: 'Boolean', attribute: 'inline' },\n },\n extend: customElementForwardEvents,\n }}\n/>\n\n<script lang=\"ts\">\n import { customElementForwardEvents } from '../../utils';\n /**\n * A checkbox is an interactive component used to select or deselect an option, typically within a list of choices. It allows users to make multiple selections independently and is often accompanied by a label for clarity. Checkboxes are commonly used in forms, filters, settings, and preference selections to provide a simple and intuitive way to enable or disable specific options. <br><br> To put a label, requierement text, help text or to apply a valid or invalid message, the examples are available in the [Field section](/docs/form-elements-field--docs#input).\n */\n interface Props {\n [key: string]: any;\n /**\n * The name attribute for the checkbox element, typically used for form submission.\n */\n name: string;\n /**\n * The current value of the checkbox group.\n */\n value?: Array<string>;\n /**\n * list of properties of each checkbox button of the checkbox group\n */\n options: Array<{\n id: string;\n label: string;\n value: string;\n disabled?: boolean;\n indeterminate?: boolean;\n indented?: boolean;\n }>;\n /**\n * If `true`, applies an invalid state to the checkbox group.\n */\n isinvalid?: boolean;\n /**\n * If `true`, make the form element of the group inline.\n */\n inline?: boolean;\n }\n\n let { name, options, value = $bindable([]), inline, isinvalid, ...attrs }: Props = $props();\n</script>\n\n<div class={['mc-field__content', inline && 'mc-field__content--inline']} {...attrs}>\n {#each options as option (option.id)}\n <div class=\"mc-checkbox mc-field__item\">\n <input\n type=\"checkbox\"\n class={['mc-checkbox__input', isinvalid && 'is-invalid']}\n id={option.id}\n {name}\n disabled={option.disabled}\n indeterminate={option.indeterminate}\n aria-invalid={isinvalid}\n bind:group={value}\n value={option.value}\n />\n {#if option.label}\n <label for={option.id} class=\"mc-checkbox__label\">{option.label}</label>\n {/if}\n </div>\n {/each}\n</div>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/checkbox';\n @use '@mozaic-ds/styles/components/field';\n\n .mc-field__content:where(.mc-field__content--inline) {\n display: flex;\n flex-flow: row wrap;\n gap: 0.25rem 1rem;\n }\n</style>\n"],"names":["name","$.prop","$$props","options","value","$.proxy","inline","isinvalid","attrs","$.rest_props","div","root","option","$$anchor","div_1","root_1","input","$.child","$.remove_input_defaults","node","$.sibling","label","root_2","$.get","$.set_text","text","$$render","consequent","$.set_class","$.clsx","$.set_attribute","input_value","customElementForwardEvents"],"mappings":";;;;;;;;wMAYA,+BAoCQA,EAAIC,EAAAC,EAAA,OAAA,CAAA,EAAEC,EAAOF,EAAAC,EAAA,UAAA,CAAA,EAAEE,EAAKH,EAAAC,EAAA,QAAA,GAAA,IAAAG,EAAA,CAAA,CAAA,CAAA,EAAkBC,EAAML,EAAAC,EAAA,SAAA,CAAA,EAAEK,EAASN,EAAAC,EAAA,YAAA,CAAA,EAAKM,EAAKC,EAAAP,EAAA,4VAGxEQ,EAAGC,EAAA,WAAHD,eAAY,oBAAqBJ,EAAM,GAAI,2BAA2B,KAAOE,6CAA7EE,EAAG,GACKP,EAAWS,GAAQA,EAAO,GAAE,CAAAC,EAAjBD,IAAM,KACrBE,EAAGC,EAAA,EACDC,EAAAC,EADFH,CAAG,EACDI,EAAAF,CAAA,QAAAG,EAAAC,EAAAJ,EAAA,CAAA,iBAYEK,EAAKC,EAAA,MAALD,EAAK,EAAA,IAALA,CAAK,WAALA,EAAK,MAAAE,EAAMX,CAAM,EAAC,EAAE,EAA8BY,EAAAC,EAAAF,EAAAX,CAAM,EAAC,KAAK,QAA9DS,CAAK,WADHE,EAAAX,CAAM,EAAC,OAAKc,EAAAC,CAAA,MAZlBb,CAAG,SACDc,EAAAZ,EAAA,EAAAa,EAAA,CAES,qBAAsBtB,KAAa,YAAY,CAAA,EAAA,gBAAA,IAFxDS,EAAA,KAAAO,EAGKX,CAAM,EAAC,EAAE,EAHdkB,EAAAd,EAAA,OAIEhB,GAAI,EAJNgB,EAAA,SAAAO,EAKWX,CAAM,EAAC,SALlBI,EAAA,cAAAO,EAMgBX,CAAM,EAAC,cANvBkB,EAAAd,EAAA,eAOeT,GAAS,EAEhBwB,KAAAA,EAAAR,EAAAX,CAAM,EAAC,SATfI,EAAA,OAAAA,EAAA,QAAAO,EASQX,CAAM,EAAC,QAAK,aATpBI,OASQO,EAAAX,CAAM,EAAC,MADFR,EAAK,GAALA,OATfU,CAAG,MAFPJ,CAAG,MAAHA,CAAG,MAFI,6PAzCIsB"}
@@ -101,6 +101,16 @@
101
101
  transition: all ease 200ms;
102
102
  height: 1.25rem;
103
103
  width: 1.25rem;
104
+ position: relative;
105
+ }
106
+ .mc-checkbox__input::after {
107
+ content: "";
108
+ position: absolute;
109
+ inset: 0;
110
+ background-color: var(--forms-color-icon-inverse, #ffffff);
111
+ opacity: 0;
112
+ transform: scale(0.6);
113
+ transition: 0.15s ease;
104
114
  }
105
115
  .mc-checkbox__input:hover {
106
116
  border-color: var(--forms-color-border-hover, #4d4d4d);
@@ -110,11 +120,17 @@
110
120
  outline: 0.125rem solid transparent;
111
121
  outline-offset: 0.125rem;
112
122
  }
113
- .mc-checkbox__input:checked {
114
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");
123
+ .mc-checkbox__input:checked::after {
124
+ opacity: 1;
125
+ transform: scale(1);
126
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;
127
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E") no-repeat center/contain;
115
128
  }
116
- .mc-checkbox__input:indeterminate {
117
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-inverse, %23ffffff)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");
129
+ .mc-checkbox__input:indeterminate::after {
130
+ opacity: 1;
131
+ transform: scale(1);
132
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;
133
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E") no-repeat center/contain;
118
134
  }
119
135
  .mc-checkbox__input:checked, .mc-checkbox__input:indeterminate {
120
136
  background-color: var(--forms-color-background-checked, #117f03);
@@ -128,11 +144,11 @@
128
144
  background-color: var(--forms-color-background-disabled, #d9d9d9);
129
145
  cursor: not-allowed;
130
146
  }
131
- .mc-checkbox__input:disabled:checked {
132
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E");
147
+ .mc-checkbox__input:disabled:checked::after {
148
+ background-color: var(--forms-color-icon-disabled, #737373);
133
149
  }
134
- .mc-checkbox__input:disabled:indeterminate {
135
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1rem' width='1rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E");
150
+ .mc-checkbox__input:disabled:indeterminate::after {
151
+ background-color: var(--forms-color-icon-disabled, #737373);
136
152
  }
137
153
  .mc-checkbox__input:disabled + .mc-checkbox__label {
138
154
  color: var(--forms-color-text-disabled, #737373);
@@ -189,13 +205,17 @@
189
205
  color: var(--field-color-validation-valid, #117f03);
190
206
  }
191
207
  .mc-field__validation-message.is-valid::before {
192
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-valid, %23117f03)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E");
208
+ background-color: var(--field-color-validation-valid, #117f03);
209
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
210
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
193
211
  }
194
212
  .mc-field__validation-message.is-invalid {
195
213
  color: var(--field-color-validation-invalid, #c61112);
196
214
  }
197
215
  .mc-field__validation-message.is-invalid::before {
198
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--field-color-validation-invalid, %23c61112)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E");
216
+ background-color: var(--field-color-validation-invalid, #c61112);
217
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
218
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
199
219
  }
200
220
  .mc-field__validation-message.is-loading {
201
221
  color: var(--field-color-validation-loading, #666666);
@@ -1,4 +1,4 @@
1
- import{o as w,c as B,p as D,a as E,b as f,t,f as p,g as F,h as b,j as h,r as v,n as o,d as g,v as L,l as M,m as N}from"../../custom-element.js";import{i as S}from"../../if.js";import{e as q,i as A}from"../../each.js";import{f as s}from"../../attributes.js";import{h as G}from"../../Condition20.js";import"../builtinmenu/BuiltInMenu.js";import"../builtinmenuitem/BuiltInMenuItem.js";import"../../branches.js";import"../../slot.js";import"../../svelte-element.js";var H=b('<span slot="icon"><!></span>'),I=b("<m-built-in-menu-item><!></m-built-in-menu-item>",2),J=b("<m-built-in-menu></m-built-in-menu>",2);const K={hash:"svelte-1k60ooz",code:`/**
1
+ import{o as j,c as B,e as D,a as E,p as f,t,b as p,d as F,f as v,i as h,r as b,l as o,j as g,u as L,w as M,s as N,h as S}from"../../custom-element.js";import{i as q}from"../../if.js";import{e as A,i as G}from"../../each.js";import{g as s}from"../../attributes.js";import{i as H}from"../../Condition20.js";import"../builtinmenu/BuiltInMenu.js";import"../builtinmenuitem/BuiltInMenuItem.js";import"../../branches.js";import"../../slot.js";import"../../svelte-element.js";var I=v('<span slot="icon"><!></span>'),J=v("<m-built-in-menu-item><!></m-built-in-menu-item>",2),K=v("<m-built-in-menu></m-built-in-menu>",2);const O={hash:"svelte-1k60ooz",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
- */.mc-check-list-menu__icon.svelte-1k60ooz {fill:var(--built-in-menu-color-text-default, #404040);}.mc-check-list-menu__icon--selected.svelte-1k60ooz {fill:var(--built-in-menu-color-text-selected, #006902);}`};function O(k,c){D(c,!0),E(k,K);let i=f(c,"selected",15),m=f(c,"items",7),u=f(c,"outlined",7);var y={get selected(){return i()},set selected(l){i(l),h()},get items(){return m()},set items(l){m(l),h()},get outlined(){return u()},set outlined(l){u(l),h()}},n=J();return t(()=>s(n,"selected",i())),t(()=>s(n,"outlined",u())),q(n,21,m,A,(l,r,d)=>{const z=L(()=>o(r).href?"a":"button");var e=I();s(e,"slot","item"),t(()=>s(e,"label",o(r).label)),t(()=>s(e,"href",o(r).href)),t(()=>s(e,"target",o(r).target)),t(()=>s(e,"selected",i()===d)),t(()=>s(e,"role",o(z)==="button"?"menuitem":void 0)),e.__click=()=>i(d);var x=g(e);{var C=_=>{var a=H(),j=g(a);G(j,{}),v(a),t(()=>M(a,1,N({"mc-check-list-menu__icon":!0,"mc-check-list-menu__icon--selected":i()===d}),"svelte-1k60ooz")),p(_,a)};S(x,_=>{o(r).checked&&_(C)})}v(e),p(l,e)}),v(n),p(k,n),F(y)}w(["click"]);customElements.define("m-check-list-menu",B(O,{selected:{attribute:"selected",reflect:!0,type:"Number"},outlined:{attribute:"outlined",reflect:!0,type:"Boolean"},items:{}},[],[],!0));
3
+ */.mc-check-list-menu__icon.svelte-1k60ooz {fill:var(--built-in-menu-color-text-default, #404040);}.mc-check-list-menu__icon--selected.svelte-1k60ooz {fill:var(--built-in-menu-color-text-selected, #006902);}`};function P(k,a){D(a,!0),E(k,O);let i=f(a,"selected",15),m=f(a,"items",7),u=f(a,"outlined",7);var y={get selected(){return i()},set selected(l){i(l),h()},get items(){return m()},set items(l){m(l),h()},get outlined(){return u()},set outlined(l){u(l),h()}},n=K();return t(()=>s(n,"selected",i())),t(()=>s(n,"outlined",u())),A(n,21,m,G,(l,r,d)=>{const z=M(()=>o(r).href?"a":"button");var e=J();s(e,"slot","item"),t(()=>s(e,"label",o(r).label)),t(()=>s(e,"href",o(r).href)),t(()=>s(e,"target",o(r).target)),t(()=>s(e,"selected",i()===d)),t(()=>s(e,"role",o(z)==="button"?"menuitem":void 0));var x=g(e);{var C=_=>{var c=I(),w=g(c);H(w,{}),b(c),t(()=>N(c,1,S({"mc-check-list-menu__icon":!0,"mc-check-list-menu__icon--selected":i()===d}),"svelte-1k60ooz")),p(_,c)};q(x,_=>{o(r).checked&&_(C)})}b(e),L("click",e,()=>i(d)),p(l,e)}),b(n),p(k,n),F(y)}j(["click"]);customElements.define("m-check-list-menu",B(P,{selected:{attribute:"selected",reflect:!0,type:"Number"},outlined:{attribute:"outlined",reflect:!0,type:"Boolean"},items:{}},[],[],{mode:"open"}));
4
4
  //# sourceMappingURL=CheckListMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckListMenu.js","sources":["../../../src/components/checklistmenu/CheckListMenu.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-check-list-menu',\n props: {\n selected: { reflect: true, type: 'Number', attribute: 'selected' },\n outlined: { reflect: true, type: 'Boolean', attribute: 'outlined' },\n },\n }}\n/>\n\n<script lang=\"ts\">\n import { CheckCircleFilled24 } from '@mozaic-ds/icons-svelte';\n import '../builtinmenu/BuiltInMenu.svelte';\n import '../builtinmenuitem/BuiltInMenuItem.svelte';\n\n type CheckListMenuItem = {\n label: string;\n href?: string;\n target?: '_self' | '_blank' | '_parent' | '_top';\n checked: boolean;\n };\n\n /**\n * A check-list menu is a structured vertical list where each item represents a distinct section of content. It enables users to navigate through and validate different parts of an interface in any order. Unlike linear steppers, this component offers flexibility by allowing non-sequential completion, making it ideal for user profile setup, application settings, or flexible onboarding processes where users can choose their own path through the experience.\n */\n interface Props {\n /**\n * Defines the menu items, each of which sets a checked state and act as a button, link, or router-link.\n */\n items: CheckListMenuItem[];\n /**\n * Specifies the key of the currently selected menu item. It allows the component to highlight or style the corresponding item to indicate it is selected or currently in use.\n */\n selected?: number;\n /**\n * When enabled, adds a visible border around the wrapper to highlight or separate its content.\n */\n outlined?: boolean;\n }\n\n let { selected = $bindable(), items, outlined }: Props = $props();\n</script>\n\n<m-built-in-menu {selected} {outlined}>\n {#each items as item, index (index)}\n {@const tag = item.href ? 'a' : 'button'}\n <m-built-in-menu-item\n slot=\"item\"\n label={item.label}\n href={item.href}\n target={item.target}\n selected={selected === index}\n role={tag === 'button' ? 'menuitem' : undefined}\n onclick={() => (selected = index)}\n >\n {#if item.checked}\n <span\n slot=\"icon\"\n class={{\n 'mc-check-list-menu__icon': true,\n 'mc-check-list-menu__icon--selected': selected === index,\n }}\n >\n <CheckCircleFilled24 />\n </span>\n {/if}\n </m-built-in-menu-item>\n {/each}\n</m-built-in-menu>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/built-in-menu/t.built-in-menu' as menu;\n\n .mc-check-list-menu__icon {\n @include menu.set-default-icon();\n\n &--selected {\n @include menu.set-selected-icon();\n }\n }\n</style>\n"],"names":["selected","$.prop","$$props","items","outlined","m_built_in_menu","root","$.template_effect","$.set_custom_element_data","$.index","$$anchor","item","index","tag","m_built_in_menu_item","root_1","$.get","span","root_2","node_1","$.child","CheckCircleFilled24","$.reset","$.append","$$render","consequent"],"mappings":";;kOAUA,oBA8BQA,EAAQC,EAAAC,EAAA,WAAA,EAAA,EAAgBC,EAAKF,EAAAC,EAAA,QAAA,CAAA,EAAEE,EAAQH,EAAAC,EAAA,WAAA,CAAA,mKAG9CG,EAAeC,EAAA,EAAfC,OAAAA,EAAA,IAAAC,EAAAH,aAAiBL,EAAQ,CAAA,CAAA,EAAzBO,EAAA,IAAAC,EAAAH,aAA4BD,EAAQ,CAAA,CAAA,IAApCC,EAAe,GACPF,EAAKM,EAAA,CAAAC,EAAIC,EAAIC,IAAA,CACV,MAAAC,UAAMF,CAAI,EAAC,KAAO,IAAM,QAAQ,MACvCG,EAAgBC,EAAA,IAAhBD,EAAgB,OAAA,MAAA,UAAhBA,EAAgB,QAAAE,EAERL,CAAI,EAAC,KAAK,CAAA,UAFlBG,EAAgB,OAAAE,EAGTL,CAAI,EAAC,IAAI,CAAA,UAHhBG,EAAgB,SAAAE,EAIPL,CAAI,EAAC,MAAM,CAAA,UAJpBG,EAAgB,WAKLd,EAAQ,IAAKY,CAAK,CAAA,EAL7BL,EAAA,IAAAC,EAAAM,WAMOD,CAAG,IAAK,SAAW,WAAa,MAAS,CAAA,EANhDC,EAOC,QAAO,IAASd,EAAWY,CAAK,UAPjCE,CAAgB,aAUZ,IAAAG,EAAAC,EAAA,EAAAC,EAAAC,EAAAH,CAAA,EAOEI,EAAmBF,EAAA,EAAA,EAPrBG,EAAAL,CAAA,UAAAA,OAGG,2BAA4B,GAC5B,qCAAsCjB,EAAQ,IAAKY,uBAJtDW,EAAAb,EAAAO,CAAA,WADED,EAAAL,CAAI,EAAC,SAAOa,EAAAC,CAAA,MATlBX,CAAgB,MAAhBA,CAAgB,MAHpBT,CAAe,MAAfA,CAAe,MAFR"}
1
+ {"version":3,"file":"CheckListMenu.js","sources":["../../../src/components/checklistmenu/CheckListMenu.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-check-list-menu',\n props: {\n selected: { reflect: true, type: 'Number', attribute: 'selected' },\n outlined: { reflect: true, type: 'Boolean', attribute: 'outlined' },\n },\n }}\n/>\n\n<script lang=\"ts\">\n import { CheckCircleFilled24 } from '@mozaic-ds/icons-svelte';\n import '../builtinmenu/BuiltInMenu.svelte';\n import '../builtinmenuitem/BuiltInMenuItem.svelte';\n\n type CheckListMenuItem = {\n label: string;\n href?: string;\n target?: '_self' | '_blank' | '_parent' | '_top';\n checked: boolean;\n };\n\n /**\n * A check-list menu is a structured vertical list where each item represents a distinct section of content. It enables users to navigate through and validate different parts of an interface in any order. Unlike linear steppers, this component offers flexibility by allowing non-sequential completion, making it ideal for user profile setup, application settings, or flexible onboarding processes where users can choose their own path through the experience.\n */\n interface Props {\n /**\n * Defines the menu items, each of which sets a checked state and act as a button, link, or router-link.\n */\n items: CheckListMenuItem[];\n /**\n * Specifies the key of the currently selected menu item. It allows the component to highlight or style the corresponding item to indicate it is selected or currently in use.\n */\n selected?: number;\n /**\n * When enabled, adds a visible border around the wrapper to highlight or separate its content.\n */\n outlined?: boolean;\n }\n\n let { selected = $bindable(), items, outlined }: Props = $props();\n</script>\n\n<m-built-in-menu {selected} {outlined}>\n {#each items as item, index (index)}\n {@const tag = item.href ? 'a' : 'button'}\n <m-built-in-menu-item\n slot=\"item\"\n label={item.label}\n href={item.href}\n target={item.target}\n selected={selected === index}\n role={tag === 'button' ? 'menuitem' : undefined}\n onclick={() => (selected = index)}\n >\n {#if item.checked}\n <span\n slot=\"icon\"\n class={{\n 'mc-check-list-menu__icon': true,\n 'mc-check-list-menu__icon--selected': selected === index,\n }}\n >\n <CheckCircleFilled24 />\n </span>\n {/if}\n </m-built-in-menu-item>\n {/each}\n</m-built-in-menu>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/built-in-menu/t.built-in-menu' as menu;\n\n .mc-check-list-menu__icon {\n @include menu.set-default-icon();\n\n &--selected {\n @include menu.set-selected-icon();\n }\n }\n</style>\n"],"names":["selected","$.prop","$$props","items","outlined","m_built_in_menu","root","$.template_effect","$.set_custom_element_data","$.index","$$anchor","item","index","tag","m_built_in_menu_item","root_1","$.get","span","root_2","node_1","$.child","CheckCircleFilled24","$.reset","$.append","$$render","consequent"],"mappings":";;kOAUA,oBA8BQA,EAAQC,EAAAC,EAAA,WAAA,EAAA,EAAgBC,EAAKF,EAAAC,EAAA,QAAA,CAAA,EAAEE,EAAQH,EAAAC,EAAA,WAAA,CAAA,mKAG9CG,EAAeC,EAAA,EAAfC,OAAAA,EAAA,IAAAC,EAAAH,aAAiBL,EAAQ,CAAA,CAAA,EAAzBO,EAAA,IAAAC,EAAAH,aAA4BD,EAAQ,CAAA,CAAA,IAApCC,EAAe,GACPF,EAAKM,EAAA,CAAAC,EAAIC,EAAIC,IAAA,CACV,MAAAC,UAAMF,CAAI,EAAC,KAAO,IAAM,QAAQ,MACvCG,EAAgBC,EAAA,IAAhBD,EAAgB,OAAA,MAAA,UAAhBA,EAAgB,QAAAE,EAERL,CAAI,EAAC,KAAK,CAAA,UAFlBG,EAAgB,OAAAE,EAGTL,CAAI,EAAC,IAAI,CAAA,UAHhBG,EAAgB,SAAAE,EAIPL,CAAI,EAAC,MAAM,CAAA,UAJpBG,EAAgB,WAKLd,EAAQ,IAAKY,CAAK,CAAA,EAL7BL,EAAA,IAAAC,EAAAM,WAMOD,CAAG,IAAK,SAAW,WAAa,MAAS,CAAA,UANhDC,CAAgB,aAUZ,IAAAG,EAAAC,EAAA,EAAAC,EAAAC,EAAAH,CAAA,EAOEI,EAAmBF,EAAA,EAAA,EAPrBG,EAAAL,CAAA,UAAAA,OAGG,2BAA4B,GAC5B,qCAAsCjB,EAAQ,IAAKY,uBAJtDW,EAAAb,EAAAO,CAAA,WADED,EAAAL,CAAI,EAAC,SAAOa,EAAAC,CAAA,MATlBX,CAAgB,YAAhBA,EAAgB,IAOCd,EAAWY,CAAK,CAAA,MAPjCE,CAAgB,MAHpBT,CAAe,MAAfA,CAAe,MAFR"}
@@ -2,7 +2,7 @@ import { html } from 'lit';
2
2
  import { ifDefined } from 'lit/directives/if-defined.js';
3
3
  import './CheckListMenu.svelte';
4
4
  const meta = {
5
- title: 'Navigation/Check list menu',
5
+ title: 'Navigation/Check-list Menu',
6
6
  component: 'm-check-list-menu',
7
7
  tags: ['v2'],
8
8
  args: {
@@ -1,6 +1,6 @@
1
- import{c as P,p as S,a as q,b as i,s as z,d as a,f as g,g as A,h as m,i as F,j as l,t as f,r as t,aH as G,e as h}from"../../custom-element.js";import{i as w}from"../../if.js";import{a as I}from"../../attributes.js";import"../../branches.js";var J=m('<div class="mc-circular-progressbar__percentage svelte-oy9ecz"><p class="mc-circular-progressbar__value svelte-oy9ecz"> </p> <p class="mc-circular-progressbar__unit svelte-oy9ecz">%</p></div>'),K=m('<p class="mc-circular-progressbar__text svelte-oy9ecz"> </p>'),N=m('<div class="mc-circular-progressbar__content svelte-oy9ecz"><p class="mc-circular-progressbar__number svelte-oy9ecz"> </p> <!></div>'),O=m('<div><svg class="mc-circular-progressbar__line svelte-oy9ecz" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" viewBox="0 0 100 100"><circle class="mc-circular-progressbar__track svelte-oy9ecz" cx="50" cy="50" r="46"></circle><circle class="mc-circular-progressbar__indicator svelte-oy9ecz" cx="50" cy="50" r="46"></circle></svg> <!> <!></div>');const Q={hash:"svelte-oy9ecz",code:`/**
1
+ import{c as S,e as V,a as q,p as i,k as z,j as a,b as m,d as A,f as g,n as F,i as l,t as f,r as t,aV as G,m as h}from"../../custom-element.js";import{i as w}from"../../if.js";import{a as H}from"../../attributes.js";import"../../branches.js";var I=g('<div class="mc-circular-progressbar__percentage svelte-oy9ecz"><p class="mc-circular-progressbar__value svelte-oy9ecz"> </p> <p class="mc-circular-progressbar__unit svelte-oy9ecz">%</p></div>'),J=g('<p class="mc-circular-progressbar__text svelte-oy9ecz"> </p>'),K=g('<div class="mc-circular-progressbar__content svelte-oy9ecz"><p class="mc-circular-progressbar__number svelte-oy9ecz"> </p> <!></div>'),N=g('<div><svg class="mc-circular-progressbar__line svelte-oy9ecz" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" viewBox="0 0 100 100"><circle class="mc-circular-progressbar__track svelte-oy9ecz" cx="50" cy="50" r="46"></circle><circle class="mc-circular-progressbar__indicator svelte-oy9ecz" cx="50" cy="50" r="46"></circle></svg> <!> <!></div>');const O={hash:"svelte-oy9ecz",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */.mc-circular-progressbar.svelte-oy9ecz {--progress-value: 40;font-family:var(--font-family, LeroyMerlin), sans-serif;color:var(--progressbar-color-text, #000000);position:relative;display:inline-block;width:9rem;height:9rem;border-radius:50%;}.mc-circular-progressbar__line.svelte-oy9ecz {transform:rotate(270deg);}.mc-circular-progressbar__track.svelte-oy9ecz, .mc-circular-progressbar__indicator.svelte-oy9ecz {stroke-width:calc(8 / (144 / 100));fill:none;stroke-linecap:round;}.mc-circular-progressbar__track.svelte-oy9ecz {stroke:var(--progressbar-color-background, #c9d0de);}.mc-circular-progressbar__indicator.svelte-oy9ecz {stroke:var(--progressbar-color-indicator, #464e63);stroke-dasharray:289.1428571429;stroke-dashoffset:calc((100 - var(--progress-value)) / 100 * 289.1428571429);transition:stroke-dashoffset 0.3s ease;}.mc-circular-progressbar__content.svelte-oy9ecz {display:flex;flex-direction:column;justify-content:center;align-items:center;position:absolute;margin:0;top:50%;left:50%;transform:translate(-50%, -50%);}.mc-circular-progressbar__number.svelte-oy9ecz, .mc-circular-progressbar__text.svelte-oy9ecz {white-space:nowrap;text-align:center;line-height:var(--line-height-s, 1.3);margin:0;color:var(--progressbar-color-text, #000000);}.mc-circular-progressbar__number.svelte-oy9ecz {font-size:var(--font-size-300, 1.5rem);}.mc-circular-progressbar__text.svelte-oy9ecz {font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-s, 1.3);}.mc-circular-progressbar__percentage.svelte-oy9ecz {display:flex;justify-content:center;align-items:center;position:absolute;margin:0;top:50%;left:50%;transform:translate(-50%, -50%);}.mc-circular-progressbar__value.svelte-oy9ecz, .mc-circular-progressbar__unit.svelte-oy9ecz {font-weight:var(--font-weight-semi-bold, 600);line-height:var(--line-height-s, 1.3);color:var(--progressbar-color-text, #000000);}.mc-circular-progressbar__value.svelte-oy9ecz {font-size:var(--font-size-600, 2.5rem);}.mc-circular-progressbar__unit.svelte-oy9ecz {font-size:var(--font-size-300, 1.5rem);}.mc-circular-progressbar--m.svelte-oy9ecz .mc-circular-progressbar__content:where(.svelte-oy9ecz), .mc-circular-progressbar--s.svelte-oy9ecz .mc-circular-progressbar__content:where(.svelte-oy9ecz) {display:none;}.mc-circular-progressbar--m.svelte-oy9ecz .mc-circular-progressbar__percentage:where(.svelte-oy9ecz), .mc-circular-progressbar--s.svelte-oy9ecz .mc-circular-progressbar__percentage:where(.svelte-oy9ecz) {display:none;}.mc-circular-progressbar--m.svelte-oy9ecz::after, .mc-circular-progressbar--s.svelte-oy9ecz::after {display:none;}.mc-circular-progressbar--m.svelte-oy9ecz .mc-circular-progressbar__track:where(.svelte-oy9ecz),
4
4
  .mc-circular-progressbar--m.svelte-oy9ecz .mc-circular-progressbar__indicator:where(.svelte-oy9ecz) {stroke-width:calc(4 / (48 / 100));}.mc-circular-progressbar--m.svelte-oy9ecz {width:3rem;height:3rem;}.mc-circular-progressbar--s.svelte-oy9ecz .mc-circular-progressbar__track:where(.svelte-oy9ecz),
5
- .mc-circular-progressbar--s.svelte-oy9ecz .mc-circular-progressbar__indicator:where(.svelte-oy9ecz) {stroke-width:calc(4 / (32 / 100));transform-origin:center;transform:scale(0.95);}.mc-circular-progressbar--s.svelte-oy9ecz {width:2rem;height:2rem;}`};function R(x,r){S(r,!0),q(x,Q);let n=i(r,"size",7),o=i(r,"value",7,0),v=i(r,"type",7,"percentage"),_=i(r,"contentvalue",7),p=i(r,"additionalinfo",7),j=F(r,["$$slots","$$events","$$legacy","$$host","size","value","type","contentvalue","additionalinfo"]);var C={get size(){return n()},set size(e){n(e),l()},get value(){return o()},set value(e=0){o(e),l()},get type(){return v()},set type(e="percentage"){v(e),l()},get contentvalue(){return _()},set contentvalue(e){_(e),l()},get additionalinfo(){return p()},set additionalinfo(e){p(e),l()}},u=O();I(u,()=>({class:["mc-circular-progressbar",n()&&`mc-circular-progressbar--${n()}`],role:"progressbar","aria-valuenow":o(),"aria-valuemin":"0","aria-valuemax":"100",style:`--progress-value: ${o()};`,...j}),void 0,void 0,void 0,"svelte-oy9ecz");var k=z(a(u),2);{var B=e=>{var s=J(),c=a(s),y=a(c,!0);t(c),G(2),t(s),f(()=>h(y,o())),g(e,s)};w(k,e=>{v()==="percentage"&&e(B)})}var D=z(k,2);{var E=e=>{var s=N(),c=a(s),y=a(c,!0);t(c);var H=z(c,2);{var L=b=>{var d=K(),M=a(d,!0);t(d),f(()=>h(M,p())),g(b,d)};w(H,b=>{p()&&b(L)})}t(s),f(()=>h(y,_())),g(e,s)};w(D,e=>{v()==="content"&&e(E)})}return t(u),g(x,u),A(C)}customElements.define("m-circular-progressbar",P(R,{size:{},value:{},type:{},contentvalue:{},additionalinfo:{}},[],[],!0));export{R as C};
5
+ .mc-circular-progressbar--s.svelte-oy9ecz .mc-circular-progressbar__indicator:where(.svelte-oy9ecz) {stroke-width:calc(4 / (32 / 100));transform-origin:center;transform:scale(0.95);}.mc-circular-progressbar--s.svelte-oy9ecz {width:2rem;height:2rem;}`};function Q(x,r){V(r,!0),q(x,O);let n=i(r,"size",7),o=i(r,"value",7,0),v=i(r,"type",7,"percentage"),_=i(r,"contentvalue",7),p=i(r,"additionalinfo",7),j=F(r,["$$slots","$$events","$$legacy","$$host","size","value","type","contentvalue","additionalinfo"]);var C={get size(){return n()},set size(e){n(e),l()},get value(){return o()},set value(e=0){o(e),l()},get type(){return v()},set type(e="percentage"){v(e),l()},get contentvalue(){return _()},set contentvalue(e){_(e),l()},get additionalinfo(){return p()},set additionalinfo(e){p(e),l()}},u=N();H(u,()=>({class:["mc-circular-progressbar",n()&&`mc-circular-progressbar--${n()}`],role:"progressbar","aria-valuenow":o(),"aria-valuemin":"0","aria-valuemax":"100",style:`--progress-value: ${o()};`,...j}),void 0,void 0,void 0,"svelte-oy9ecz");var k=z(a(u),2);{var B=e=>{var s=I(),c=a(s),y=a(c,!0);t(c),G(2),t(s),f(()=>h(y,o())),m(e,s)};w(k,e=>{v()==="percentage"&&e(B)})}var D=z(k,2);{var E=e=>{var s=K(),c=a(s),y=a(c,!0);t(c);var L=z(c,2);{var M=d=>{var b=J(),P=a(b,!0);t(b),f(()=>h(P,p())),m(d,b)};w(L,d=>{p()&&d(M)})}t(s),f(()=>h(y,_())),m(e,s)};w(D,e=>{v()==="content"&&e(E)})}return t(u),m(x,u),A(C)}customElements.define("m-circular-progressbar",S(Q,{size:{},value:{},type:{},contentvalue:{},additionalinfo:{}},[],[],{mode:"open"}));export{Q as C};
6
6
  //# sourceMappingURL=CircularProgressbar.js.map
@@ -1,4 +1,4 @@
1
- import{c as o,p as s,a as r,b as m,t as u,f as c,g as p,h as f,d as h,j as v,r as x,l as b,m as y}from"../../custom-element.js";import{s as w}from"../../slot.js";var g=f("<div><!></div>");const _={hash:"svelte-1oy286b",code:`/**
1
+ import{c as o,e as s,a as r,p as m,t as c,b as p,d as u,f,j as h,i as v,r as x,s as b,h as y}from"../../custom-element.js";import{s as w}from"../../slot.js";var g=f("<div><!></div>");const _={hash:"svelte-1oy286b",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */.ml-container.svelte-1oy286b {padding-inline:1rem;width:100%;box-sizing:border-box;margin-inline:auto;}
4
4
  @media (width >= 680px) {.ml-container.svelte-1oy286b {padding-inline:1.5rem;}
@@ -10,5 +10,5 @@ import{c as o,p as s,a as r,b as m,t as u,f as c,g as p,h as f,d as h,j as v,r a
10
10
  @media (width >= 1920px) {.ml-container.svelte-1oy286b {max-width:1480px;}
11
11
  }.ml-container--fluid.svelte-1oy286b {max-width:none;}
12
12
  @media (width >= 1024px) {.ml-container--fluid.svelte-1oy286b {padding-inline:2.5rem;}
13
- }`};function j(n,t){s(t,!0),r(n,_);let i=m(t,"fluid",7);var a={get fluid(){return i()},set fluid(d){i(d),v()}},e=g(),l=h(e);return w(l,t,"default",{},null),x(e),u(()=>b(e,1,y(["ml-container",i()&&"ml-container--fluid"]),"svelte-1oy286b")),c(n,e),p(a)}customElements.define("m-container",o(j,{fluid:{attribute:"fluid",reflect:!0,type:"Boolean"}},["default"],[],!0));
13
+ }`};function j(n,t){s(t,!0),r(n,_);let i=m(t,"fluid",7);var a={get fluid(){return i()},set fluid(d){i(d),v()}},e=g(),l=h(e);return w(l,t,"default",{},null),x(e),c(()=>b(e,1,y(["ml-container",i()&&"ml-container--fluid"]),"svelte-1oy286b")),p(n,e),u(a)}customElements.define("m-container",o(j,{fluid:{attribute:"fluid",reflect:!0,type:"Boolean"}},["default"],[],{mode:"open"}));
14
14
  //# sourceMappingURL=Container.js.map
@@ -1,7 +1,7 @@
1
- import{o as Z,c as D,p as F,a as L,b as o,s as j,t as k,f as y,g as N,h as V,i as S,d as n,j as t,r as c,e as q,l as A,m as G}from"../../custom-element.js";import{i as I}from"../../if.js";import{a as J}from"../../attributes.js";import{c as K}from"../../input.js";import{c as O}from"../../custom-element-forward-events.js";import{d as P}from"../../Condition20.js";import"../../branches.js";var Q=V('<div class="mc-datepicker__controls-options mc-controls-options svelte-xj4ivh"><button type="button" class="mc-controls-options__button svelte-xj4ivh"><!> <span class="mc-controls-options__label svelte-xj4ivh"> </span></button></div>'),R=V("<div><input/> <!></div>");const T={hash:"svelte-xj4ivh",code:`/**
1
+ import{o as Z,c as D,e as F,a as L,p as r,k as j,t as V,b as k,d as N,f as H,n as S,j as n,i as o,r as c,m as Y,u as q,s as A,h as G}from"../../custom-element.js";import{i as I}from"../../if.js";import{a as J}from"../../attributes.js";import{c as K}from"../../input.js";import{c as O}from"../../custom-element-forward-events.js";import{e as P}from"../../Condition20.js";import"../../branches.js";var Q=H('<div class="mc-datepicker__controls-options mc-controls-options svelte-xj4ivh"><button type="button" class="mc-controls-options__button svelte-xj4ivh"><!> <span class="mc-controls-options__label svelte-xj4ivh"> </span></button></div>'),R=H("<div><input/> <!></div>");const T={hash:"svelte-xj4ivh",code:`/**
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
- /* stylelint-disable string-no-newline */.mc-text-input.svelte-xj4ivh {transition:box-shadow 200ms ease;background-color:var(--forms-color-background-default, #ffffff);border:var(--border-width-s, 0.0625rem) solid var(--forms-color-border-default, #666666);border-radius:var(--forms-border-radius, 0.25rem);transition:all ease 200ms;color:var(--forms-color-text-default, #000000);display:block;width:100%;height:3rem;box-sizing:border-box;display:flex;align-items:center;gap:0.5rem;}.mc-text-input__control.svelte-xj4ivh {background-color:transparent;border-width:0;font-family:inherit;outline:none;}.mc-text-input__control.svelte-xj4ivh {padding:0.75rem 0.6875rem;font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-regular, 400);flex-grow:1;}.mc-text-input__control.svelte-xj4ivh::placeholder {color:var(--forms-color-placeholder, #666666);}.mc-text-input__icon.svelte-xj4ivh {fill:var(--forms-color-icon-default, #666666);height:1.5rem;width:1.5rem;flex-shrink:0;}.mc-text-input.svelte-xj4ivh:focus-within {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-text-input.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-hover, #4d4d4d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-hover, #4d4d4d);}.mc-text-input.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);pointer-events:none;}.mc-text-input.svelte-xj4ivh:has(input[readonly]:where(.svelte-xj4ivh)) {border-color:var(--forms-color-border-read-only, #cccccc);pointer-events:none;}.mc-text-input.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)) {padding-inline-start:0.6875rem;}.mc-text-input.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh) {padding-inline-start:0;}.mc-text-input.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) {padding-inline-end:0.6875rem;}.mc-text-input.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh) {padding-inline-end:0;}.mc-text-input--s.svelte-xj4ivh {height:2rem;}.mc-text-input--s.svelte-xj4ivh .mc-text-input__control:where(.svelte-xj4ivh) {padding:0.375rem 0.6875rem;font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-s, 1.3);}.mc-text-input--s.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)) {padding-inline-start:0.4375rem;}.mc-text-input--s.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) {padding-inline-end:0.4375rem;}.mc-text-input.is-invalid.svelte-xj4ivh {border-color:var(--forms-color-border-invalid, #ea302d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid, #ea302d);}.mc-text-input.is-invalid.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-invalid-hover, #c61112);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid-hover, #c61112);}.mc-text-input.svelte-xj4ivh :where(.svelte-xj4ivh) {box-sizing:border-box;}
4
+ /* stylelint-disable string-no-newline */.mc-text-input.svelte-xj4ivh {transition:box-shadow 200ms ease;background-color:var(--forms-color-background-default, #ffffff);border:var(--border-width-s, 0.0625rem) solid var(--forms-color-border-default, #666666);border-radius:var(--forms-border-radius, 0.25rem);transition:all ease 200ms;color:var(--forms-color-text-default, #000000);display:block;width:100%;height:3rem;box-sizing:border-box;display:flex;align-items:center;gap:0.5rem;}.mc-text-input__control.svelte-xj4ivh {background-color:transparent;border-width:0;font-family:inherit;outline:none;}.mc-text-input__control.svelte-xj4ivh {padding:0.75rem 0.6875rem;font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-regular, 400);color:var(--forms-color-text-default, #000000);flex-grow:1;}.mc-text-input__control.svelte-xj4ivh::placeholder {color:var(--forms-color-placeholder, #666666);}.mc-text-input__addon.svelte-xj4ivh {font-size:var(--font-size-150, 1rem);font-weight:var(--font-weight-semi-bold, 600);color:var(--forms-color-text-default, #000000);}.mc-text-input__icon.svelte-xj4ivh {fill:var(--forms-color-icon-default, #666666);height:1.5rem;width:1.5rem;flex-shrink:0;}.mc-text-input.svelte-xj4ivh:focus-within {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-text-input.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-hover, #4d4d4d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-hover, #4d4d4d);}.mc-text-input.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);pointer-events:none;}.mc-text-input.svelte-xj4ivh:has(input[readonly]:where(.svelte-xj4ivh)) {border-color:var(--forms-color-border-read-only, #cccccc);pointer-events:none;}.mc-text-input.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)), .mc-text-input.svelte-xj4ivh:has(.mc-text-input__addon:where(.svelte-xj4ivh)) {padding-inline-start:0.6875rem;}.mc-text-input.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh), .mc-text-input.svelte-xj4ivh:has(.mc-text-input__addon:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh) {padding-inline-start:0;}.mc-text-input.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)), .mc-text-input.svelte-xj4ivh:has(.mc-text-input__addon:where(.svelte-xj4ivh)) {padding-inline-end:0.6875rem;}.mc-text-input.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh), .mc-text-input.svelte-xj4ivh:has(.mc-text-input__addon:where(.svelte-xj4ivh)) .mc-text-input__control:where(.svelte-xj4ivh) {padding-inline-end:0;}.mc-text-input--s.svelte-xj4ivh {height:2rem;}.mc-text-input--s.svelte-xj4ivh .mc-text-input__control:where(.svelte-xj4ivh) {padding:0.375rem 0.6875rem;font-size:var(--font-size-100, 0.875rem);line-height:var(--line-height-s, 1.3);}.mc-text-input--s.svelte-xj4ivh:has(.mc-text-input__icon:where(.svelte-xj4ivh)) {padding-inline-start:0.4375rem;}.mc-text-input--s.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) {padding-inline-end:0.4375rem;}.mc-text-input.is-invalid.svelte-xj4ivh {border-color:var(--forms-color-border-invalid, #ea302d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid, #ea302d);}.mc-text-input.is-invalid.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-invalid-hover, #c61112);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid-hover, #c61112);}.mc-text-input.svelte-xj4ivh :where(.svelte-xj4ivh) {box-sizing:border-box;}
5
5
 
6
- /* stylelint-enable string-no-newline */.mc-datepicker.svelte-xj4ivh {border-radius:var(--border-radius-s, 0.25rem);position:relative;}.mc-datepicker__control.svelte-xj4ivh {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-icon-interactive, %23000000)' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E");font-family:var(--font-family, LeroyMerlin), sans-serif;background-repeat:no-repeat;background-position:right 0.75rem center;display:block;padding:0 0.75rem;}.mc-datepicker__control.svelte-xj4ivh::-webkit-calendar-picker-indicator {padding-right:1rem;opacity:0;transform:scale(2);}.mc-datepicker__control.svelte-xj4ivh::-moz-calendar-picker-indicator {padding-right:1rem;opacity:0;transform:scale(2);}.mc-datepicker__control.is-invalid.svelte-xj4ivh {border-color:var(--forms-color-border-invalid, #ea302d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid, #ea302d);}.mc-datepicker__control.is-invalid.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-invalid-hover, #c61112);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid-hover, #c61112);}.mc-datepicker__control.svelte-xj4ivh:disabled {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E");background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker__control.svelte-xj4ivh:disabled:hover:not(:focus-within) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) {padding-inline-end:0;}.mc-datepicker.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);pointer-events:all;cursor:not-allowed;}.mc-datepicker.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled):hover {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker--s.svelte-xj4ivh .mc-datepicker__control:where(.svelte-xj4ivh) {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' fill='var(--forms-color-icon-interactive, %23000000)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E");}.mc-datepicker--s.svelte-xj4ivh .mc-datepicker__control:where(.svelte-xj4ivh):disabled {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' fill='var(--forms-color-icon-disabled, %23737373)' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E");}.mc-datepicker__controls-options.svelte-xj4ivh {position:absolute;right:2.75rem;top:0.75rem;}.mc-controls-options.svelte-xj4ivh {align-items:center;display:inline-flex;justify-content:center;gap:0.5rem;}.mc-controls-options__button.svelte-xj4ivh {background-color:transparent;border-width:0;color:initial;font-family:inherit;outline:none;appearance:none;cursor:pointer;padding:0;border-radius:var(--border-radius-full, 100%);}.mc-controls-options__button.svelte-xj4ivh:hover .mc-controls-options__icon:where(.svelte-xj4ivh) {fill:var(--forms-color-icon-clear-hover, #4d4d4d);}.mc-controls-options__button.svelte-xj4ivh:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-controls-options__icon.svelte-xj4ivh {fill:var(--forms-color-icon-clear, #666666);}.mc-controls-options__button.svelte-xj4ivh, .mc-controls-options__icon.svelte-xj4ivh {height:1.5rem;width:1.5rem;}.mc-controls-options__label.svelte-xj4ivh {clip-path:inset(100%);clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;padding:0;width:1px;}.mc-controls-options__unit.svelte-xj4ivh {font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-semi-bold, 600);color:var(--forms-color-text-default, #000000);}`};function U(g,r){F(r,!0),L(g,T);let d=o(r,"id",7),v=o(r,"name",7),i=o(r,"value",15),a=o(r,"isinvalid",7),h=o(r,"disabled",7),l=o(r,"size",7,"m"),m=o(r,"readonly",7),u=o(r,"isclearable",7),p=o(r,"clearlabel",7,"clear content"),H=S(r,["$$slots","$$events","$$legacy","$$host","id","name","value","isinvalid","disabled","size","readonly","isclearable","clearlabel"]);const z=()=>i("");var E={get id(){return d()},set id(e){d(e),t()},get name(){return v()},set name(e){v(e),t()},get value(){return i()},set value(e){i(e),t()},get isinvalid(){return a()},set isinvalid(e){a(e),t()},get disabled(){return h()},set disabled(e){h(e),t()},get size(){return l()},set size(e="m"){l(e),t()},get readonly(){return m()},set readonly(e){m(e),t()},get isclearable(){return u()},set isclearable(e){u(e),t()},get clearlabel(){return p()},set clearlabel(e="clear content"){p(e),t()}},s=R(),x=n(s);J(x,()=>({class:"mc-datepicker__control mc-text-input__control",type:"date",id:d(),name:v(),disabled:h(),readonly:m(),"aria-invalid":a(),...H}),void 0,void 0,void 0,"svelte-xj4ivh",!0);var C=j(x,2);{var M=e=>{var b=Q(),f=n(b);f.__click=z;var w=n(f);P(w,{className:"mc-controls-options__icon"});var _=j(w,2),B=n(_,!0);c(_),c(f),c(b),k(()=>q(B,p())),y(e,b)};I(C,e=>{u()&&i()&&e(M)})}return c(s),k(()=>A(s,1,G(["mc-datepicker mc-text-input",`mc-text-input--${l()}`,`mc-datepicker--${l()}`,a()&&"is-invalid"]),"svelte-xj4ivh")),K(x,i),y(g,s),N(E)}Z(["click"]);customElements.define("m-datepicker",D(U,{isinvalid:{attribute:"isinvalid",reflect:!0,type:"Boolean"},disabled:{attribute:"disabled",reflect:!0,type:"Boolean"},readonly:{attribute:"readonly",reflect:!0,type:"Boolean"},isclearable:{attribute:"isclearable",reflect:!0,type:"Boolean"},id:{},name:{},value:{},size:{},clearlabel:{}},[],[],!0,O));
6
+ /* stylelint-enable string-no-newline */.mc-datepicker.svelte-xj4ivh {border-radius:var(--border-radius-s, 0.25rem);position:relative;}.mc-datepicker__control.svelte-xj4ivh {font-family:var(--font-family, LeroyMerlin), sans-serif;background-repeat:no-repeat;background-position:right 0.75rem center;display:block;padding:0 0.75rem;}.mc-datepicker__control.svelte-xj4ivh::-webkit-calendar-picker-indicator {padding-right:1rem;opacity:0;transform:scale(2);}.mc-datepicker__control.svelte-xj4ivh::-moz-calendar-picker-indicator {padding-right:1rem;opacity:0;transform:scale(2);}.mc-datepicker__control.svelte-xj4ivh::after {content:"";pointer-events:none;position:absolute;right:0.75rem;top:50%;transform:translateY(-50%);width:1rem;height:1rem;background-color:var(--forms-color-icon-interactive, #000000);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-datepicker__control.is-invalid.svelte-xj4ivh {border-color:var(--forms-color-border-invalid, #ea302d);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid, #ea302d);}.mc-datepicker__control.is-invalid.svelte-xj4ivh:hover:not(:focus-within) {border-color:var(--forms-color-border-invalid-hover, #c61112);box-shadow:0 0 0 var(--border-width-s, 0.0625rem) var(--forms-color-border-invalid-hover, #c61112);}.mc-datepicker__control.svelte-xj4ivh:disabled {mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M8.5 3c0-.55228-.44772-1-1-1s-1 .44772-1 1v1H3c-.55228 0-1 .44772-1 1v16c0 .5523.44772 1 1 1h18c.5523 0 1-.4477 1-1V5c0-.55228-.4477-1-1-1h-3.5V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H13V3c0-.55228-.4477-1-1-1s-1 .44772-1 1v1H8.5V3Zm7 3H13v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6H8.5v1c0 .55228-.44772 1-1 1s-1-.44772-1-1V6H4v3.5h16V6h-2.5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1V6ZM4 11.5V20h16v-8.5H4Z'/%3E%3C/svg%3E") no-repeat center/contain;background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker__control.svelte-xj4ivh:disabled::after {background-color:var(--forms-color-icon-disabled, #737373);}.mc-datepicker__control.svelte-xj4ivh:disabled:hover:not(:focus-within) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker.svelte-xj4ivh:has(.mc-controls-options:where(.svelte-xj4ivh)) {padding-inline-end:0;}.mc-datepicker.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled) {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);pointer-events:all;cursor:not-allowed;}.mc-datepicker.svelte-xj4ivh:has(input:where(.svelte-xj4ivh):disabled):hover {background-color:var(--forms-color-background-disabled, #d9d9d9);cursor:not-allowed;border-color:transparent;box-shadow:none;color:var(--forms-color-text-disabled, #737373);}.mc-datepicker--s.svelte-xj4ivh .mc-datepicker__control:where(.svelte-xj4ivh) {mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-datepicker--s.svelte-xj4ivh .mc-datepicker__control:where(.svelte-xj4ivh):disabled {mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' width='1.25rem' height='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M7 2.5a.75.75 0 0 0-1.5 0v.917h-3a.75.75 0 0 0-.75.75V17.5c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75V4.167a.75.75 0 0 0-.75-.75h-3V2.5a.75.75 0 0 0-1.5 0v.917h-2.25V2.5a.75.75 0 0 0-1.5 0v.917H7zm6 2.417h-2.25v.916a.75.75 0 0 1-1.5 0v-.916H7v.916a.75.75 0 1 1-1.5 0v-.916H3.25V8h13.5V4.917H14.5v.916a.75.75 0 0 1-1.5 0zM3.25 9.5v7.25h13.5V9.5z'/%3E%3C/svg%3E") no-repeat center/contain;}.mc-datepicker__controls-options.svelte-xj4ivh {position:absolute;right:2.75rem;top:0.75rem;}.mc-controls-options.svelte-xj4ivh {align-items:center;display:inline-flex;justify-content:center;gap:0.5rem;}.mc-controls-options__button.svelte-xj4ivh {background-color:transparent;border-width:0;color:initial;font-family:inherit;outline:none;appearance:none;cursor:pointer;padding:0;border-radius:var(--border-radius-full, 100%);}.mc-controls-options__button.svelte-xj4ivh:hover .mc-controls-options__icon:where(.svelte-xj4ivh) {fill:var(--forms-color-icon-clear-hover, #4d4d4d);}.mc-controls-options__button.svelte-xj4ivh:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-controls-options__icon.svelte-xj4ivh {fill:var(--forms-color-icon-clear, #666666);}.mc-controls-options__button.svelte-xj4ivh, .mc-controls-options__icon.svelte-xj4ivh {height:1.5rem;width:1.5rem;}.mc-controls-options__label.svelte-xj4ivh {clip-path:inset(100%);clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;padding:0;width:1px;}.mc-controls-options__unit.svelte-xj4ivh {font-size:var(--font-size-150, 1rem);line-height:var(--line-height-s, 1.3);font-weight:var(--font-weight-semi-bold, 600);color:var(--forms-color-text-default, #000000);}`};function U(g,t){F(t,!0),L(g,T);let v=r(t,"id",7),d=r(t,"name",7),i=r(t,"value",15),a=r(t,"isinvalid",7),h=r(t,"disabled",7),s=r(t,"size",7,"m"),m=r(t,"readonly",7),u=r(t,"isclearable",7),p=r(t,"clearlabel",7,"clear content"),y=S(t,["$$slots","$$events","$$legacy","$$host","id","name","value","isinvalid","disabled","size","readonly","isclearable","clearlabel"]);const z=()=>i("");var E={get id(){return v()},set id(e){v(e),o()},get name(){return d()},set name(e){d(e),o()},get value(){return i()},set value(e){i(e),o()},get isinvalid(){return a()},set isinvalid(e){a(e),o()},get disabled(){return h()},set disabled(e){h(e),o()},get size(){return s()},set size(e="m"){s(e),o()},get readonly(){return m()},set readonly(e){m(e),o()},get isclearable(){return u()},set isclearable(e){u(e),o()},get clearlabel(){return p()},set clearlabel(e="clear content"){p(e),o()}},l=R(),x=n(l);J(x,()=>({class:"mc-datepicker__control mc-text-input__control",type:"date",id:v(),name:d(),disabled:h(),readonly:m(),"aria-invalid":a(),...y}),void 0,void 0,void 0,"svelte-xj4ivh",!0);var C=j(x,2);{var M=e=>{var b=Q(),f=n(b),w=n(f);P(w,{className:"mc-controls-options__icon"});var _=j(w,2),B=n(_,!0);c(_),c(f),c(b),V(()=>Y(B,p())),q("click",f,z),k(e,b)};I(C,e=>{u()&&i()&&e(M)})}return c(l),V(()=>A(l,1,G(["mc-datepicker mc-text-input",`mc-text-input--${s()}`,`mc-datepicker--${s()}`,a()&&"is-invalid"]),"svelte-xj4ivh")),K(x,i),k(g,l),N(E)}Z(["click"]);customElements.define("m-datepicker",D(U,{isinvalid:{attribute:"isinvalid",reflect:!0,type:"Boolean"},disabled:{attribute:"disabled",reflect:!0,type:"Boolean"},readonly:{attribute:"readonly",reflect:!0,type:"Boolean"},isclearable:{attribute:"isclearable",reflect:!0,type:"Boolean"},id:{},name:{},value:{},size:{},clearlabel:{}},[],[],{mode:"open"},O));
7
7
  //# sourceMappingURL=Datepicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Datepicker.js","sources":["../../../src/components/datepicker/Datepicker.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-datepicker',\n props: {\n isinvalid: { reflect: true, type: 'Boolean', attribute: 'isinvalid' },\n disabled: { reflect: true, type: 'Boolean', attribute: 'disabled' },\n readonly: { reflect: true, type: 'Boolean', attribute: 'readonly' },\n isclearable: { reflect: true, type: 'Boolean', attribute: 'isclearable' },\n },\n extend: customElementForwardEvents,\n }}\n/>\n\n<script lang=\"ts\">\n import { customElementForwardEvents } from '../../utils';\n import { CrossCircleFilled24 } from '@mozaic-ds/icons-svelte';\n /**\n * A date picker is an input component that allows users to select a date from a calendar interface or manually enter a date value. It enhances usability by providing structured date selection, reducing input errors, and ensuring format consistency. Date Pickers are commonly used in forms, booking systems, scheduling tools, and data filtering interfaces to facilitate accurate date entry.\n */\n interface Props {\n [key: string]: any;\n /**\n * A unique identifier for the datepicker element, used to associate the label with the form element.\n */\n id: string;\n /**\n * The name attribute for the datepicker element, typically used for form submission.\n */\n name?: string;\n /**\n * The current value of the datepicker field.\n */\n value?: string | number;\n /**\n * If `true`, applies an invalid state to the datepicker.\n */\n isinvalid?: boolean;\n /**\n * If `true`, disables the datepicker, making it non-interactive.\n */\n disabled?: boolean;\n /**\n * Determines the size of the datepicker.\n */\n size?: 's' | 'm';\n /**\n * If `true`, the datepicker is read-only (cannot be edited).\n */\n readonly?: boolean;\n /**\n * If `true`, a clear button will appear when the datepicker has a value.\n */\n isclearable?: boolean;\n /**\n * The label text for the clear button.\n */\n clearlabel?: string;\n }\n\n let {\n id,\n name,\n value = $bindable(),\n isinvalid,\n disabled,\n size = 'm',\n readonly,\n isclearable,\n clearlabel = 'clear content',\n ...attrs\n }: Props = $props();\n\n const resetValue = () => (value = '');\n</script>\n\n<div\n class={[\n 'mc-datepicker mc-text-input',\n `mc-text-input--${size}`,\n `mc-datepicker--${size}`,\n isinvalid && 'is-invalid',\n ]}\n>\n <input\n class=\"mc-datepicker__control mc-text-input__control\"\n type=\"date\"\n bind:value\n {id}\n {name}\n {disabled}\n {readonly}\n aria-invalid={isinvalid}\n {...attrs}\n />\n\n {#if isclearable && value}\n <div class=\"mc-datepicker__controls-options mc-controls-options\">\n <button type=\"button\" class=\"mc-controls-options__button\" onclick={resetValue}>\n <CrossCircleFilled24 className=\"mc-controls-options__icon\" />\n <span class=\"mc-controls-options__label\">{clearlabel}</span>\n </button>\n </div>\n {/if}\n</div>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/text-input';\n @use '@mozaic-ds/styles/components/datepicker';\n @use '@mozaic-ds/styles/components/controls-options';\n</style>\n"],"names":["id","$.prop","$$props","name","value","isinvalid","disabled","size","readonly","isclearable","clearlabel","attrs","$.rest_props","resetValue","div","root","input","$.child","node","$.sibling","div_1","root_1","button","CrossCircleFilled24","node_1","span","$$render","consequent","$.reset","$.bind_value","$.append","$$anchor","customElementForwardEvents"],"mappings":";;;;;uoMAaA,oBA+CIA,EAAEC,EAAAC,EAAA,KAAA,CAAA,EACFC,EAAIF,EAAAC,EAAA,OAAA,CAAA,EACJE,EAAKH,EAAAC,EAAA,QAAA,EAAA,EACLG,EAASJ,EAAAC,EAAA,YAAA,CAAA,EACTI,EAAQL,EAAAC,EAAA,WAAA,CAAA,EACRK,eAAO,GAAG,EACVC,EAAQP,EAAAC,EAAA,WAAA,CAAA,EACRO,EAAWR,EAAAC,EAAA,cAAA,CAAA,EACXQ,qBAAa,eAAe,EACzBC,EAAAC,EAAAV,EAAA,0IAGCW,EAAU,IAAUT,EAAQ,EAAE,4RAP3B,IAAG,yKAGG,gBAAe,YAO/BU,EAAAC,EAAA,EAQEC,EAAAC,EARFH,CAAA,IAQEE,6EAIEhB,EAAE,OACFG,EAAI,WACJG,EAAQ,WACRE,EAAQ,iBACKH,EAAS,KACnBM,6CATL,IAAAO,EAAAC,EAAAH,EAAA,CAAA,iBAaEI,EAAGC,EAAA,EACDC,IADFF,CAAG,EACDE,EAAyD,QAAST,UAAlES,CAAM,EACJC,EAAmBC,EAAA,CAAA,UAAA,2BAAA,CAAA,MACnBC,EAAIN,EAAAK,EAAA,CAAA,MAAJC,EAAI,EAAA,IAAJA,CAAI,IAFNH,CAAM,IADRF,CAAG,YAG0CV,EAAU,CAAA,CAAA,MAHvDU,CAAG,WADDX,EAAW,GAAIL,KAAKsB,EAAAC,CAAA,IApB1BC,OAAAA,EAAAd,CAAA,UAAAA,OAEG,gDACkBP,EAAI,CAAA,qBACJA,EAAI,CAAA,GACtBF,KAAa,iCAGdwB,EAAAb,EAAAZ,CAAA,EARF0B,EAAAC,EAAAjB,CAAA,MAFO,+VAhEIkB"}
1
+ {"version":3,"file":"Datepicker.js","sources":["../../../src/components/datepicker/Datepicker.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-datepicker',\n props: {\n isinvalid: { reflect: true, type: 'Boolean', attribute: 'isinvalid' },\n disabled: { reflect: true, type: 'Boolean', attribute: 'disabled' },\n readonly: { reflect: true, type: 'Boolean', attribute: 'readonly' },\n isclearable: { reflect: true, type: 'Boolean', attribute: 'isclearable' },\n },\n extend: customElementForwardEvents,\n }}\n/>\n\n<script lang=\"ts\">\n import { customElementForwardEvents } from '../../utils';\n import { CrossCircleFilled24 } from '@mozaic-ds/icons-svelte';\n /**\n * A date picker is an input component that allows users to select a date from a calendar interface or manually enter a date value. It enhances usability by providing structured date selection, reducing input errors, and ensuring format consistency. Date Pickers are commonly used in forms, booking systems, scheduling tools, and data filtering interfaces to facilitate accurate date entry.\n */\n interface Props {\n [key: string]: any;\n /**\n * A unique identifier for the datepicker element, used to associate the label with the form element.\n */\n id: string;\n /**\n * The name attribute for the datepicker element, typically used for form submission.\n */\n name?: string;\n /**\n * The current value of the datepicker field.\n */\n value?: string | number;\n /**\n * If `true`, applies an invalid state to the datepicker.\n */\n isinvalid?: boolean;\n /**\n * If `true`, disables the datepicker, making it non-interactive.\n */\n disabled?: boolean;\n /**\n * Determines the size of the datepicker.\n */\n size?: 's' | 'm';\n /**\n * If `true`, the datepicker is read-only (cannot be edited).\n */\n readonly?: boolean;\n /**\n * If `true`, a clear button will appear when the datepicker has a value.\n */\n isclearable?: boolean;\n /**\n * The label text for the clear button.\n */\n clearlabel?: string;\n }\n\n let {\n id,\n name,\n value = $bindable(),\n isinvalid,\n disabled,\n size = 'm',\n readonly,\n isclearable,\n clearlabel = 'clear content',\n ...attrs\n }: Props = $props();\n\n const resetValue = () => (value = '');\n</script>\n\n<div\n class={[\n 'mc-datepicker mc-text-input',\n `mc-text-input--${size}`,\n `mc-datepicker--${size}`,\n isinvalid && 'is-invalid',\n ]}\n>\n <input\n class=\"mc-datepicker__control mc-text-input__control\"\n type=\"date\"\n bind:value\n {id}\n {name}\n {disabled}\n {readonly}\n aria-invalid={isinvalid}\n {...attrs}\n />\n\n {#if isclearable && value}\n <div class=\"mc-datepicker__controls-options mc-controls-options\">\n <button type=\"button\" class=\"mc-controls-options__button\" onclick={resetValue}>\n <CrossCircleFilled24 className=\"mc-controls-options__icon\" />\n <span class=\"mc-controls-options__label\">{clearlabel}</span>\n </button>\n </div>\n {/if}\n</div>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/text-input';\n @use '@mozaic-ds/styles/components/datepicker';\n @use '@mozaic-ds/styles/components/controls-options';\n</style>\n"],"names":["id","$.prop","$$props","name","value","isinvalid","disabled","size","readonly","isclearable","clearlabel","attrs","$.rest_props","resetValue","div","root","input","$.child","node","$.sibling","div_1","root_1","button","CrossCircleFilled24","node_1","span","$.delegated","$$render","consequent","$.reset","$.bind_value","$.append","$$anchor","customElementForwardEvents"],"mappings":";;;;;wpRAaA,oBA+CIA,EAAEC,EAAAC,EAAA,KAAA,CAAA,EACFC,EAAIF,EAAAC,EAAA,OAAA,CAAA,EACJE,EAAKH,EAAAC,EAAA,QAAA,EAAA,EACLG,EAASJ,EAAAC,EAAA,YAAA,CAAA,EACTI,EAAQL,EAAAC,EAAA,WAAA,CAAA,EACRK,eAAO,GAAG,EACVC,EAAQP,EAAAC,EAAA,WAAA,CAAA,EACRO,EAAWR,EAAAC,EAAA,cAAA,CAAA,EACXQ,qBAAa,eAAe,EACzBC,EAAAC,EAAAV,EAAA,0IAGCW,EAAU,IAAUT,EAAQ,EAAE,4RAP3B,IAAG,yKAGG,gBAAe,YAO/BU,EAAAC,EAAA,EAQEC,EAAAC,EARFH,CAAA,IAQEE,6EAIEhB,EAAE,OACFG,EAAI,WACJG,EAAQ,WACRE,EAAQ,iBACKH,EAAS,KACnBM,6CATL,IAAAO,EAAAC,EAAAH,EAAA,CAAA,iBAaEI,EAAGC,EAAA,EACDC,IADFF,CAAG,MACDE,CAAM,EACJC,EAAmBC,EAAA,CAAA,UAAA,2BAAA,CAAA,MACnBC,EAAIN,EAAAK,EAAA,CAAA,MAAJC,EAAI,EAAA,IAAJA,CAAI,IAFNH,CAAM,IADRF,CAAG,YAG0CV,EAAU,CAAA,CAAA,EAFrDgB,EAAA,QAAAJ,EAAkET,CAAU,MAD9EO,CAAG,WADDX,EAAW,GAAIL,KAAKuB,EAAAC,CAAA,IApB1BC,OAAAA,EAAAf,CAAA,UAAAA,OAEG,gDACkBP,EAAI,CAAA,qBACJA,EAAI,CAAA,GACtBF,KAAa,iCAGdyB,EAAAd,EAAAZ,CAAA,EARF2B,EAAAC,EAAAlB,CAAA,MAFO,0WAhEImB"}
@@ -3,7 +3,7 @@ import './Datepicker.svelte';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
- export declare const WithValue: Story;
6
+ export declare const Value: Story;
7
7
  export declare const Default: Story;
8
8
  export declare const Small: Story;
9
9
  export declare const Disabled: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"Datepicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/datepicker/Datepicker.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAIrE,OAAO,qBAAqB,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,IA8CX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
1
+ {"version":3,"file":"Datepicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/datepicker/Datepicker.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAIrE,OAAO,qBAAqB,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,IA8CX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -5,7 +5,7 @@ import './Datepicker.svelte';
5
5
  const meta = {
6
6
  title: 'Form Elements/Datepicker',
7
7
  component: 'm-datepicker',
8
- subcomponents: { 'Field': 'm-field' },
8
+ subcomponents: { Field: 'm-field' },
9
9
  tags: ['v2'],
10
10
  argTypes: {
11
11
  size: {
@@ -49,7 +49,7 @@ const meta = {
49
49
  },
50
50
  };
51
51
  export default meta;
52
- export const WithValue = {
52
+ export const Value = {
53
53
  args: {
54
54
  id: 'withValueId',
55
55
  value: '2025-07-22',