@mozaic-ds/web-components 1.1.0 → 1.3.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 (406) hide show
  1. package/README.md +26 -104
  2. package/dist/Cross20.js +1 -1
  3. package/dist/Cross20.js.map +1 -1
  4. package/dist/Cross24.js +1 -1
  5. package/dist/CrossCircleFilled24.js +1 -1
  6. package/dist/Less24.js +2 -0
  7. package/dist/Less24.js.map +1 -0
  8. package/dist/attributes.js +1 -1
  9. package/dist/attributes.js.map +1 -1
  10. package/dist/bundle.d.ts +8 -5
  11. package/dist/bundle.d.ts.map +1 -1
  12. package/dist/bundle.js +8 -5
  13. package/dist/components/avatar/Avatar.js +2 -2
  14. package/dist/components/avatar/Avatar.js.map +1 -1
  15. package/dist/components/avatar/Avatar.stories.d.ts +2 -1
  16. package/dist/components/avatar/Avatar.stories.d.ts.map +1 -1
  17. package/dist/components/avatar/Avatar.stories.js +2 -1
  18. package/dist/components/avatar/Avatar.svelte +3 -3
  19. package/dist/components/breadcrumb/Breadcrumb.js +2 -2
  20. package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
  21. package/dist/components/breadcrumb/Breadcrumb.stories.d.ts +1 -0
  22. package/dist/components/breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  23. package/dist/components/breadcrumb/Breadcrumb.stories.js +1 -0
  24. package/dist/components/breadcrumb/Breadcrumb.svelte +3 -3
  25. package/dist/components/button/Button.js +3 -3
  26. package/dist/components/button/Button.js.map +1 -1
  27. package/dist/components/button/Button.stories.d.ts +2 -0
  28. package/dist/components/button/Button.stories.d.ts.map +1 -1
  29. package/dist/components/button/Button.stories.js +2 -0
  30. package/dist/components/button/Button.svelte +2 -3
  31. package/dist/components/button/Button.svelte.d.ts +0 -1
  32. package/dist/components/button/Button.svelte.d.ts.map +1 -1
  33. package/dist/components/callout/Callout.js +2 -2
  34. package/dist/components/callout/Callout.js.map +1 -1
  35. package/dist/components/callout/Callout.stories.d.ts +5 -2
  36. package/dist/components/callout/Callout.stories.d.ts.map +1 -1
  37. package/dist/components/callout/Callout.stories.js +5 -2
  38. package/dist/components/callout/Callout.svelte +3 -3
  39. package/dist/components/carousel/Carousel.js +4 -0
  40. package/dist/components/carousel/Carousel.js.map +1 -0
  41. package/dist/components/carousel/Carousel.spec.js +49 -0
  42. package/dist/components/carousel/Carousel.stories.d.ts +9 -0
  43. package/dist/components/carousel/Carousel.stories.d.ts.map +1 -0
  44. package/dist/components/carousel/Carousel.stories.js +72 -0
  45. package/dist/components/carousel/Carousel.svelte +187 -0
  46. package/dist/components/carousel/Carousel.svelte.d.ts +46 -0
  47. package/dist/components/carousel/Carousel.svelte.d.ts.map +1 -0
  48. package/dist/components/carousel/README.md +18 -0
  49. package/dist/components/checkbox/Checkbox.js +4 -4
  50. package/dist/components/checkbox/Checkbox.js.map +1 -1
  51. package/dist/components/checkbox/Checkbox.stories.d.ts +1 -0
  52. package/dist/components/checkbox/Checkbox.stories.d.ts.map +1 -1
  53. package/dist/components/checkbox/Checkbox.stories.js +1 -0
  54. package/dist/components/checkbox/Checkbox.svelte +4 -2
  55. package/dist/components/checkbox/Checkbox.svelte.d.ts.map +1 -1
  56. package/dist/components/checkboxgroup/CheckboxGroup.js +4 -4
  57. package/dist/components/checkboxgroup/CheckboxGroup.js.map +1 -1
  58. package/dist/components/checkboxgroup/CheckboxGroup.stories.d.ts +1 -0
  59. package/dist/components/checkboxgroup/CheckboxGroup.stories.d.ts.map +1 -1
  60. package/dist/components/checkboxgroup/CheckboxGroup.stories.js +1 -0
  61. package/dist/components/checkboxgroup/CheckboxGroup.svelte +4 -4
  62. package/dist/components/circularprogressbar/CircularProgressbar.js +2 -2
  63. package/dist/components/circularprogressbar/CircularProgressbar.js.map +1 -1
  64. package/dist/components/circularprogressbar/CircularProgressbar.stories.d.ts +1 -0
  65. package/dist/components/circularprogressbar/CircularProgressbar.stories.d.ts.map +1 -1
  66. package/dist/components/circularprogressbar/CircularProgressbar.stories.js +3 -2
  67. package/dist/components/circularprogressbar/CircularProgressbar.svelte +9 -1
  68. package/dist/components/circularprogressbar/CircularProgressbar.svelte.d.ts.map +1 -1
  69. package/dist/components/container/Container.js +14 -0
  70. package/dist/components/container/Container.js.map +1 -0
  71. package/dist/components/container/Container.spec.js +26 -0
  72. package/dist/components/container/Container.stories.d.ts +8 -0
  73. package/dist/components/container/Container.stories.d.ts.map +1 -0
  74. package/dist/components/container/Container.stories.js +24 -0
  75. package/dist/components/container/Container.svelte +60 -0
  76. package/dist/components/container/Container.svelte.d.ts +39 -0
  77. package/dist/components/container/Container.svelte.d.ts.map +1 -0
  78. package/dist/components/container/README.md +16 -0
  79. package/dist/components/datepicker/Datepicker.js +3 -3
  80. package/dist/components/datepicker/Datepicker.js.map +1 -1
  81. package/dist/components/datepicker/Datepicker.stories.d.ts +1 -0
  82. package/dist/components/datepicker/Datepicker.stories.d.ts.map +1 -1
  83. package/dist/components/datepicker/Datepicker.stories.js +1 -0
  84. package/dist/components/datepicker/Datepicker.svelte +11 -9
  85. package/dist/components/datepicker/Datepicker.svelte.d.ts.map +1 -1
  86. package/dist/components/divider/Divider.js +4 -0
  87. package/dist/components/divider/Divider.js.map +1 -0
  88. package/dist/components/divider/Divider.spec.js +50 -0
  89. package/dist/components/divider/Divider.stories.d.ts +10 -0
  90. package/dist/components/divider/Divider.stories.d.ts.map +1 -0
  91. package/dist/components/divider/Divider.stories.js +58 -0
  92. package/dist/components/divider/Divider.svelte +90 -0
  93. package/dist/components/divider/Divider.svelte.d.ts +47 -0
  94. package/dist/components/divider/Divider.svelte.d.ts.map +1 -0
  95. package/dist/components/divider/README.md +18 -0
  96. package/dist/components/drawer/Drawer.js +4 -4
  97. package/dist/components/drawer/Drawer.js.map +1 -1
  98. package/dist/components/drawer/Drawer.stories.d.ts +2 -0
  99. package/dist/components/drawer/Drawer.stories.d.ts.map +1 -1
  100. package/dist/components/drawer/Drawer.stories.js +2 -0
  101. package/dist/components/drawer/Drawer.svelte +16 -6
  102. package/dist/components/drawer/Drawer.svelte.d.ts.map +1 -1
  103. package/dist/components/field/Field.js +2 -2
  104. package/dist/components/field/Field.stories.d.ts +2 -0
  105. package/dist/components/field/Field.stories.d.ts.map +1 -1
  106. package/dist/components/field/Field.stories.js +2 -0
  107. package/dist/components/flag/Flag.js +2 -2
  108. package/dist/components/flag/Flag.js.map +1 -1
  109. package/dist/components/flag/Flag.stories.d.ts +1 -0
  110. package/dist/components/flag/Flag.stories.d.ts.map +1 -1
  111. package/dist/components/flag/Flag.stories.js +1 -0
  112. package/dist/components/flag/Flag.svelte +3 -3
  113. package/dist/components/iconbutton/IconButton.js +2 -2
  114. package/dist/components/iconbutton/IconButton.js.map +1 -1
  115. package/dist/components/iconbutton/IconButton.stories.d.ts +4 -2
  116. package/dist/components/iconbutton/IconButton.stories.d.ts.map +1 -1
  117. package/dist/components/iconbutton/IconButton.stories.js +4 -2
  118. package/dist/components/iconbutton/IconButton.svelte +2 -3
  119. package/dist/components/iconbutton/IconButton.svelte.d.ts +0 -1
  120. package/dist/components/iconbutton/IconButton.svelte.d.ts.map +1 -1
  121. package/dist/components/kpiitem/KpiItem.js +5 -0
  122. package/dist/components/kpiitem/KpiItem.js.map +1 -0
  123. package/dist/components/kpiitem/KpiItem.spec.js +60 -0
  124. package/dist/components/kpiitem/KpiItem.stories.d.ts +9 -0
  125. package/dist/components/kpiitem/KpiItem.stories.d.ts.map +1 -0
  126. package/dist/components/kpiitem/KpiItem.stories.js +57 -0
  127. package/dist/components/kpiitem/KpiItem.svelte +231 -0
  128. package/dist/components/kpiitem/KpiItem.svelte.d.ts +34 -0
  129. package/dist/components/kpiitem/KpiItem.svelte.d.ts.map +1 -0
  130. package/dist/components/kpiitem/README.md +15 -0
  131. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js +2 -2
  132. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js.map +1 -1
  133. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.d.ts +1 -0
  134. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.d.ts.map +1 -1
  135. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.stories.js +1 -0
  136. package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.svelte +4 -3
  137. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js +2 -2
  138. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js.map +1 -1
  139. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.d.ts +1 -0
  140. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.d.ts.map +1 -1
  141. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.stories.js +1 -0
  142. package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.svelte +5 -4
  143. package/dist/components/link/Link.js +2 -2
  144. package/dist/components/link/Link.js.map +1 -1
  145. package/dist/components/link/Link.stories.d.ts +3 -0
  146. package/dist/components/link/Link.stories.d.ts.map +1 -1
  147. package/dist/components/link/Link.stories.js +3 -0
  148. package/dist/components/link/Link.svelte +3 -1
  149. package/dist/components/link/Link.svelte.d.ts.map +1 -1
  150. package/dist/components/loader/Loader.js +2 -2
  151. package/dist/components/loader/Loader.js.map +1 -1
  152. package/dist/components/loader/Loader.stories.d.ts +1 -0
  153. package/dist/components/loader/Loader.stories.d.ts.map +1 -1
  154. package/dist/components/loader/Loader.stories.js +1 -0
  155. package/dist/components/loader/Loader.svelte +2 -1
  156. package/dist/components/loadingoverlay/LoadingOverlay.js +2 -2
  157. package/dist/components/loadingoverlay/LoadingOverlay.js.map +1 -1
  158. package/dist/components/loadingoverlay/LoadingOverlay.stories.d.ts +1 -0
  159. package/dist/components/loadingoverlay/LoadingOverlay.stories.d.ts.map +1 -1
  160. package/dist/components/loadingoverlay/LoadingOverlay.stories.js +1 -0
  161. package/dist/components/loadingoverlay/LoadingOverlay.svelte +2 -2
  162. package/dist/components/modal/Modal.js +4 -4
  163. package/dist/components/modal/Modal.js.map +1 -1
  164. package/dist/components/modal/Modal.stories.d.ts +5 -2
  165. package/dist/components/modal/Modal.stories.d.ts.map +1 -1
  166. package/dist/components/modal/Modal.stories.js +5 -2
  167. package/dist/components/modal/Modal.svelte +6 -5
  168. package/dist/components/numberbadge/NumberBadge.js +2 -2
  169. package/dist/components/numberbadge/NumberBadge.js.map +1 -1
  170. package/dist/components/numberbadge/NumberBadge.stories.d.ts +1 -0
  171. package/dist/components/numberbadge/NumberBadge.stories.d.ts.map +1 -1
  172. package/dist/components/numberbadge/NumberBadge.stories.js +1 -0
  173. package/dist/components/numberbadge/NumberBadge.svelte +6 -3
  174. package/dist/components/overlay/Overlay.js +2 -2
  175. package/dist/components/overlay/Overlay.stories.d.ts +1 -0
  176. package/dist/components/overlay/Overlay.stories.d.ts.map +1 -1
  177. package/dist/components/overlay/Overlay.stories.js +1 -0
  178. package/dist/components/pagination/Pagination.js +6 -6
  179. package/dist/components/pagination/Pagination.js.map +1 -1
  180. package/dist/components/pagination/Pagination.stories.d.ts +1 -0
  181. package/dist/components/pagination/Pagination.stories.d.ts.map +1 -1
  182. package/dist/components/pagination/Pagination.stories.js +1 -0
  183. package/dist/components/pagination/Pagination.svelte +5 -5
  184. package/dist/components/passwordinput/PasswordInput.js +4 -3
  185. package/dist/components/passwordinput/PasswordInput.js.map +1 -1
  186. package/dist/components/passwordinput/PasswordInput.stories.d.ts +1 -0
  187. package/dist/components/passwordinput/PasswordInput.stories.d.ts.map +1 -1
  188. package/dist/components/passwordinput/PasswordInput.stories.js +1 -0
  189. package/dist/components/passwordinput/PasswordInput.svelte +10 -8
  190. package/dist/components/passwordinput/PasswordInput.svelte.d.ts.map +1 -1
  191. package/dist/components/phonenumber/PhoneNumber.js +22 -0
  192. package/dist/components/phonenumber/PhoneNumber.js.map +1 -0
  193. package/dist/components/phonenumber/PhoneNumber.spec.js +103 -0
  194. package/dist/components/phonenumber/PhoneNumber.stories.d.ts +14 -0
  195. package/dist/components/phonenumber/PhoneNumber.stories.d.ts.map +1 -0
  196. package/dist/components/phonenumber/PhoneNumber.stories.js +116 -0
  197. package/dist/components/phonenumber/PhoneNumber.svelte +896 -0
  198. package/dist/components/phonenumber/PhoneNumber.svelte.d.ts +60 -0
  199. package/dist/components/phonenumber/PhoneNumber.svelte.d.ts.map +1 -0
  200. package/dist/components/phonenumber/README.md +27 -0
  201. package/dist/components/pincode/Pincode.js +2 -2
  202. package/dist/components/pincode/Pincode.js.map +1 -1
  203. package/dist/components/pincode/Pincode.stories.d.ts +1 -0
  204. package/dist/components/pincode/Pincode.stories.d.ts.map +1 -1
  205. package/dist/components/pincode/Pincode.stories.js +1 -0
  206. package/dist/components/pincode/Pincode.svelte +5 -5
  207. package/dist/components/quantityselector/QuantitySelector.js +3 -3
  208. package/dist/components/quantityselector/QuantitySelector.js.map +1 -1
  209. package/dist/components/quantityselector/QuantitySelector.stories.d.ts +1 -0
  210. package/dist/components/quantityselector/QuantitySelector.stories.d.ts.map +1 -1
  211. package/dist/components/quantityselector/QuantitySelector.stories.js +1 -0
  212. package/dist/components/quantityselector/QuantitySelector.svelte +11 -9
  213. package/dist/components/quantityselector/QuantitySelector.svelte.d.ts.map +1 -1
  214. package/dist/components/radio/Radio.js +2 -2
  215. package/dist/components/radio/Radio.js.map +1 -1
  216. package/dist/components/radio/Radio.stories.d.ts +1 -0
  217. package/dist/components/radio/Radio.stories.d.ts.map +1 -1
  218. package/dist/components/radio/Radio.stories.js +1 -0
  219. package/dist/components/radio/Radio.svelte +12 -3
  220. package/dist/components/radio/Radio.svelte.d.ts.map +1 -1
  221. package/dist/components/radiogroup/RadioGroup.js +2 -2
  222. package/dist/components/radiogroup/RadioGroup.stories.d.ts +1 -0
  223. package/dist/components/radiogroup/RadioGroup.stories.d.ts.map +1 -1
  224. package/dist/components/radiogroup/RadioGroup.stories.js +1 -0
  225. package/dist/components/radiogroup/RadioGroup.svelte +2 -2
  226. package/dist/components/segmentedcontrol/SegmentedControl.js +2 -2
  227. package/dist/components/segmentedcontrol/SegmentedControl.stories.d.ts +1 -0
  228. package/dist/components/segmentedcontrol/SegmentedControl.stories.d.ts.map +1 -1
  229. package/dist/components/segmentedcontrol/SegmentedControl.stories.js +1 -0
  230. package/dist/components/select/Select.js +3 -3
  231. package/dist/components/select/Select.js.map +1 -1
  232. package/dist/components/select/Select.stories.d.ts +1 -0
  233. package/dist/components/select/Select.stories.d.ts.map +1 -1
  234. package/dist/components/select/Select.stories.js +1 -0
  235. package/dist/components/select/Select.svelte +7 -5
  236. package/dist/components/select/Select.svelte.d.ts.map +1 -1
  237. package/dist/components/starrating/README.md +22 -0
  238. package/dist/components/starrating/StarRating.js +4 -0
  239. package/dist/components/starrating/StarRating.js.map +1 -0
  240. package/dist/components/starrating/StarRating.spec.js +108 -0
  241. package/dist/components/starrating/StarRating.stories.d.ts +13 -0
  242. package/dist/components/starrating/StarRating.stories.d.ts.map +1 -0
  243. package/dist/components/starrating/StarRating.stories.js +82 -0
  244. package/dist/components/starrating/StarRating.svelte +227 -0
  245. package/dist/components/starrating/StarRating.svelte.d.ts +46 -0
  246. package/dist/components/starrating/StarRating.svelte.d.ts.map +1 -0
  247. package/dist/components/statusbadge/StatusBadge.js +2 -2
  248. package/dist/components/statusbadge/StatusBadge.js.map +1 -1
  249. package/dist/components/statusbadge/StatusBadge.stories.d.ts +1 -0
  250. package/dist/components/statusbadge/StatusBadge.stories.d.ts.map +1 -1
  251. package/dist/components/statusbadge/StatusBadge.stories.js +1 -0
  252. package/dist/components/statusbadge/StatusBadge.svelte +11 -11
  253. package/dist/components/statusdot/StatusDot.js +2 -2
  254. package/dist/components/statusdot/StatusDot.js.map +1 -1
  255. package/dist/components/statusdot/StatusDot.stories.d.ts +1 -0
  256. package/dist/components/statusdot/StatusDot.stories.d.ts.map +1 -1
  257. package/dist/components/statusdot/StatusDot.stories.js +1 -0
  258. package/dist/components/statusdot/StatusDot.svelte +7 -4
  259. package/dist/components/statusmessage/README.md +11 -0
  260. package/dist/components/statusmessage/StatusMessage.js +4 -0
  261. package/dist/components/statusmessage/StatusMessage.js.map +1 -0
  262. package/dist/components/statusmessage/StatusMessage.spec.js +47 -0
  263. package/dist/components/statusmessage/StatusMessage.stories.d.ts +12 -0
  264. package/dist/components/statusmessage/StatusMessage.stories.d.ts.map +1 -0
  265. package/dist/components/statusmessage/StatusMessage.stories.js +38 -0
  266. package/dist/components/statusmessage/StatusMessage.svelte +84 -0
  267. package/dist/components/statusmessage/StatusMessage.svelte.d.ts +17 -0
  268. package/dist/components/statusmessage/StatusMessage.svelte.d.ts.map +1 -0
  269. package/dist/components/statusnotification/StatusNotification.js +2 -2
  270. package/dist/components/statusnotification/StatusNotification.js.map +1 -1
  271. package/dist/components/statusnotification/StatusNotification.stories.d.ts +4 -0
  272. package/dist/components/statusnotification/StatusNotification.stories.d.ts.map +1 -1
  273. package/dist/components/statusnotification/StatusNotification.stories.js +4 -0
  274. package/dist/components/statusnotification/StatusNotification.svelte +14 -13
  275. package/dist/components/steppercompact/README.md +13 -0
  276. package/dist/components/steppercompact/StepperCompact.js +4 -0
  277. package/dist/components/steppercompact/StepperCompact.js.map +1 -0
  278. package/dist/components/steppercompact/StepperCompact.spec.js +119 -0
  279. package/dist/components/steppercompact/StepperCompact.stories.d.ts +7 -0
  280. package/dist/components/steppercompact/StepperCompact.stories.d.ts.map +1 -0
  281. package/dist/components/steppercompact/StepperCompact.stories.js +29 -0
  282. package/dist/components/steppercompact/StepperCompact.svelte +123 -0
  283. package/dist/components/steppercompact/StepperCompact.svelte.d.ts +25 -0
  284. package/dist/components/steppercompact/StepperCompact.svelte.d.ts.map +1 -0
  285. package/dist/components/tab/Tab.js +2 -2
  286. package/dist/components/tab/Tab.js.map +1 -1
  287. package/dist/components/tab/Tab.svelte +1 -2
  288. package/dist/components/tab/Tab.svelte.d.ts +0 -1
  289. package/dist/components/tab/Tab.svelte.d.ts.map +1 -1
  290. package/dist/components/tabs/Tabs.js +2 -2
  291. package/dist/components/tabs/Tabs.stories.d.ts +3 -0
  292. package/dist/components/tabs/Tabs.stories.d.ts.map +1 -1
  293. package/dist/components/tabs/Tabs.stories.js +3 -0
  294. package/dist/components/tabs/Tabs.svelte +1 -1
  295. package/dist/components/tag/README.md +30 -0
  296. package/dist/components/tag/Tag.js +4 -0
  297. package/dist/components/tag/Tag.js.map +1 -0
  298. package/dist/components/tag/Tag.stories.d.ts +13 -0
  299. package/dist/components/tag/Tag.stories.d.ts.map +1 -0
  300. package/dist/components/tag/Tag.stories.js +71 -0
  301. package/dist/components/{tags/TagRemovable.svelte → tag/Tag.svelte} +122 -26
  302. package/dist/components/tag/Tag.svelte.d.ts +65 -0
  303. package/dist/components/tag/Tag.svelte.d.ts.map +1 -0
  304. package/dist/components/textarea/Textarea.js +2 -2
  305. package/dist/components/textarea/Textarea.js.map +1 -1
  306. package/dist/components/textarea/Textarea.stories.d.ts +1 -0
  307. package/dist/components/textarea/Textarea.stories.d.ts.map +1 -1
  308. package/dist/components/textarea/Textarea.stories.js +1 -0
  309. package/dist/components/textarea/Textarea.svelte +7 -5
  310. package/dist/components/textarea/Textarea.svelte.d.ts.map +1 -1
  311. package/dist/components/textinput/Textinput.js +5 -5
  312. package/dist/components/textinput/Textinput.js.map +1 -1
  313. package/dist/components/textinput/Textinput.stories.d.ts +1 -0
  314. package/dist/components/textinput/Textinput.stories.d.ts.map +1 -1
  315. package/dist/components/textinput/Textinput.stories.js +1 -0
  316. package/dist/components/textinput/Textinput.svelte +8 -6
  317. package/dist/components/textinput/Textinput.svelte.d.ts.map +1 -1
  318. package/dist/components/toaster/Toaster.js +3 -3
  319. package/dist/components/toaster/Toaster.js.map +1 -1
  320. package/dist/components/toaster/Toaster.stories.d.ts +3 -0
  321. package/dist/components/toaster/Toaster.stories.d.ts.map +1 -1
  322. package/dist/components/toaster/Toaster.stories.js +3 -0
  323. package/dist/components/toaster/Toaster.svelte +13 -11
  324. package/dist/components/toaster/Toaster.svelte.d.ts.map +1 -1
  325. package/dist/components/toggle/Toggle.js +2 -2
  326. package/dist/components/toggle/Toggle.js.map +1 -1
  327. package/dist/components/toggle/Toggle.stories.d.ts +1 -0
  328. package/dist/components/toggle/Toggle.stories.d.ts.map +1 -1
  329. package/dist/components/toggle/Toggle.stories.js +1 -0
  330. package/dist/components/toggle/Toggle.svelte +20 -4
  331. package/dist/components/toggle/Toggle.svelte.d.ts.map +1 -1
  332. package/dist/components/togglegroup/ToggleGroup.js +2 -2
  333. package/dist/components/togglegroup/ToggleGroup.js.map +1 -1
  334. package/dist/components/togglegroup/ToggleGroup.stories.d.ts +1 -0
  335. package/dist/components/togglegroup/ToggleGroup.stories.d.ts.map +1 -1
  336. package/dist/components/togglegroup/ToggleGroup.stories.js +1 -0
  337. package/dist/components/togglegroup/ToggleGroup.svelte +2 -2
  338. package/dist/components/tooltip/Tooltip.js +3 -3
  339. package/dist/components/tooltip/Tooltip.js.map +1 -1
  340. package/dist/components/tooltip/Tooltip.stories.d.ts +1 -0
  341. package/dist/components/tooltip/Tooltip.stories.d.ts.map +1 -1
  342. package/dist/components/tooltip/Tooltip.stories.js +1 -0
  343. package/dist/components/tooltip/Tooltip.svelte +4 -3
  344. package/dist/custom-element-forward-events.js +1 -1
  345. package/dist/custom-element-forward-events.js.map +1 -1
  346. package/dist/custom-element.js +3 -3
  347. package/dist/custom-element.js.map +1 -1
  348. package/dist/documentation/Svelte/usingPresets.mdx +2 -3
  349. package/dist/documentation/WebComponents/usingPresets.mdx +2 -3
  350. package/dist/each.js +1 -1
  351. package/dist/each.js.map +1 -1
  352. package/dist/if.js +1 -1
  353. package/dist/if.js.map +1 -1
  354. package/dist/input.js +1 -1
  355. package/dist/input.js.map +1 -1
  356. package/dist/legacy.js +1 -1
  357. package/dist/main.d.ts +10 -6
  358. package/dist/main.d.ts.map +1 -1
  359. package/dist/main.js +10 -6
  360. package/dist/slot.js +1 -1
  361. package/dist/slot.js.map +1 -1
  362. package/dist/svelte-component.js +2 -0
  363. package/dist/svelte-component.js.map +1 -0
  364. package/dist/this.js +1 -1
  365. package/dist/this.js.map +1 -1
  366. package/package.json +16 -18
  367. package/dist/components/tags/README.md +0 -9
  368. package/dist/components/tags/Tag.js +0 -4
  369. package/dist/components/tags/Tag.js.map +0 -1
  370. package/dist/components/tags/Tag.svelte +0 -218
  371. package/dist/components/tags/Tag.svelte.d.ts +0 -9
  372. package/dist/components/tags/Tag.svelte.d.ts.map +0 -1
  373. package/dist/components/tags/TagContextualised.js +0 -4
  374. package/dist/components/tags/TagContextualised.js.map +0 -1
  375. package/dist/components/tags/TagContextualised.svelte +0 -235
  376. package/dist/components/tags/TagContextualised.svelte.d.ts +0 -11
  377. package/dist/components/tags/TagContextualised.svelte.d.ts.map +0 -1
  378. package/dist/components/tags/TagInteractive.js +0 -4
  379. package/dist/components/tags/TagInteractive.js.map +0 -1
  380. package/dist/components/tags/TagInteractive.svelte +0 -223
  381. package/dist/components/tags/TagInteractive.svelte.d.ts +0 -10
  382. package/dist/components/tags/TagInteractive.svelte.d.ts.map +0 -1
  383. package/dist/components/tags/TagRemovable.js +0 -4
  384. package/dist/components/tags/TagRemovable.js.map +0 -1
  385. package/dist/components/tags/TagRemovable.svelte.d.ts +0 -11
  386. package/dist/components/tags/TagRemovable.svelte.d.ts.map +0 -1
  387. package/dist/components/tags/TagSelectable.js +0 -4
  388. package/dist/components/tags/TagSelectable.js.map +0 -1
  389. package/dist/components/tags/TagSelectable.svelte +0 -243
  390. package/dist/components/tags/TagSelectable.svelte.d.ts +0 -13
  391. package/dist/components/tags/TagSelectable.svelte.d.ts.map +0 -1
  392. package/dist/components/tags/Tags.stories.d.ts +0 -5
  393. package/dist/components/tags/Tags.stories.d.ts.map +0 -1
  394. package/dist/components/tags/Tags.stories.js +0 -41
  395. package/dist/components/tags/TagsContextualised.stories.d.ts +0 -5
  396. package/dist/components/tags/TagsContextualised.stories.d.ts.map +0 -1
  397. package/dist/components/tags/TagsContextualised.stories.js +0 -57
  398. package/dist/components/tags/TagsInteractive.stories.d.ts +0 -5
  399. package/dist/components/tags/TagsInteractive.stories.d.ts.map +0 -1
  400. package/dist/components/tags/TagsInteractive.stories.js +0 -61
  401. package/dist/components/tags/TagsRemovable.stories.d.ts +0 -5
  402. package/dist/components/tags/TagsRemovable.stories.d.ts.map +0 -1
  403. package/dist/components/tags/TagsRemovable.stories.js +0 -60
  404. package/dist/components/tags/TagsSelectable.stories.d.ts +0 -5
  405. package/dist/components/tags/TagsSelectable.stories.d.ts.map +0 -1
  406. package/dist/components/tags/TagsSelectable.stories.js +0 -76
package/README.md CHANGED
@@ -31,17 +31,15 @@
31
31
 
32
32
  ## 📦 Install
33
33
 
34
- All the available components are showcased in our [Storybook](https://ubiquitous-giggle-7b5b6e33.pages.github.io/?path=/story/components-button--solid).
35
-
36
34
  To install mozaic `web-components` in your project, you will need to run the following command using `npm`:
37
35
 
38
- ```
39
- npm install --save @mozaic-ds/web-components
36
+ ```shell
37
+ npm i @mozaic-ds/web-components
40
38
  ```
41
39
 
42
40
  If you prefer `Yarn`, use the following command instead:
43
41
 
44
- ```
42
+ ```shell
45
43
  yarn add @mozaic-ds/web-components
46
44
  ```
47
45
 
@@ -51,125 +49,51 @@ Our library is available in a Svelte and in a Web Component version.
51
49
 
52
50
  1 - Svelte
53
51
 
54
- Import the Button component:
52
+ To import and use a component, you can proceed as follows:
55
53
 
56
- ```js
57
- import Button from '@mozaic-ds/web-components/public/components/button/Button.svelte';
58
- // import Mozaic icons as web component
59
- import '@mozaic-ds/icons-svelte';
60
- ```
54
+ ```tsx
55
+ <script lang="ts">
56
+ import { Button } from '@mozaic-ds/web-components/svelte';
57
+ </script>
61
58
 
62
- To avoid declaring the Svelte components as Web Component, you need to change a little your `rollup.config.js` file.
63
-
64
- ```js
65
- (svelte({
66
- include:
67
- 'node_modules/@mozaic-ds/web-components/public/components/**/*.svelte',
68
- preprocess: [
69
- postcss({
70
- syntax: scssSyntax,
71
- plugins: pluginList,
72
- }),
73
- autoPreprocess(),
74
- ],
75
- compilerOptions: {
76
- customElement: false /* Important to set it to false value */,
77
- },
78
- }),
79
- svelte({
80
- include: 'src/**/*.svelte',
81
- preprocess: [
82
- postcss({
83
- syntax: scssSyntax,
84
- plugins: pluginList,
85
- }),
86
- autoPreprocess(),
87
- ],
88
- }));
59
+ <Button appearance="accent">My first svelte Button</Button>
89
60
  ```
90
61
 
91
- **NB:**
92
-
93
- - If your project uses TypeScript, you have any TS error, you can externalize your configuration in `svelte-xxx.config.js` thanks to the `configFile` property.
94
- - check the [PostCSS installation](https://mozaic.adeo.cloud/get-started/developers/installation/postcss/)
95
-
96
62
  2 - Web Components
97
63
 
98
- Import component gloabally:
99
-
100
- ```js
101
- // load the full library
102
- import '@mozaic-ds/web-components/public/bundle.js';
103
- // import Mozaic icons as web component
104
- import '@mozaic-ds/icons-svelte';
105
- ```
106
-
107
- Import component individually:
108
-
109
- If you do not want to use all the components of the library, but only some of them, you can proceed as follows:
110
-
111
- ```js
112
- // In the entry point file of your application - usually src/main.js
113
-
114
- import Button from '@mozaic-ds/web-components/public/components/button/Button.js';
115
- if (!customElements.get('m-button')) {
116
- customElements.define('m-button', Button.element);
117
- }
118
- // For icons
119
- import ChevronRight20 from '@mozaic-ds/icons-svelte/custom-elements/ChevronRight20/ChevronRight20.js';
64
+ To import and use a component, you can proceed as follows:
120
65
 
121
- if (!customElements.get('ui-chevron-right-20')) {
122
- customElements.define('ui-chevron-right-20', ChevronRight20.element);
123
- }
66
+ ```ts
67
+ import '@mozaic-ds/web-components/components/button/Button.js';
124
68
  ```
125
69
 
126
- Once you've imported the component, you can use our components in the same manner as native HTML tags, for example:
127
-
128
70
  ```html
129
- <m-ratings
130
- size="s"
131
- value="3"
132
- suffixlabel="7 reviews"
133
- a11ylabel="Global score: 4/5"
134
- ></m-ratings>
135
- <m-button label="Label" size="m"></m-button>
136
- ```
137
-
138
- ### Adeo Preset
139
-
140
- In order to use Mozaic web components with Adeo preset, you have to import a specific path:
141
-
142
- ```js
143
- import '@mozaic-ds/web-components/public/adeo/...';
71
+ <m-button appearance="accent">This is an accent button</m-button>
144
72
  ```
145
73
 
146
- > NOTE: This is for global or individual imports
147
-
148
- ## Ressources
74
+ ## 📰 Changelog
149
75
 
150
- To learn more about the web components approach, we've written a couple of articles:
76
+ Releases are managed with **GitHub Releases**, including the changelog for each one.<br/>
77
+ Access to the [Changelog](CHANGELOG.md) to find out about the detailed changes to each release.
151
78
 
152
- [Web Components: Learnings From ADEO Design System](https://medium.com/adeo-tech/web-components-learnings-from-adeo-design-system-9414acc1d1e2)
79
+ ## 📣 Stay in touch
153
80
 
154
- [ADEO Design System: Building a Web Component library with Svelte and Rollup](https://medium.com/adeo-tech/adeo-design-system-building-a-web-component-library-with-svelte-and-rollup-72d65de50163)
81
+ - Join the [#mozaic-web-components](https://app.slack.com/client/T4R6RCZFA/C021A2J25C4) channel on **Slack**
82
+ - Join the [#mozaic-support](https://app.slack.com/client/T4R6RCZFA/CKQJZL7C4/) channel on **Slack**
83
+ - Follow our [KEYS page](https://keys.adeo.com/keys/ls/space/2583429798460717/adeo-adeo-design-system)
155
84
 
156
- ## Project setup
85
+ ## 🐞 Bugs and feature requests
157
86
 
158
- ```
159
- npm ci
160
- ```
161
-
162
- ### Compiles and hot-reloads for development
87
+ Have a bug or a feature request?<br/>
88
+ Please [open an issue](https://github.com/adeo/mozaic-web-components/issues/new/choose) and use the template associated with your request.
163
89
 
164
- ```
165
- npm run start
166
- ```
90
+ However, if you are able to contribute and fix bugs, build new features, or help to improve the project documentation, feel free to do it! _(more information below)_
167
91
 
168
92
  ## ✍️ Contributing
169
93
 
170
94
  Setup the project to start contributing.
171
95
 
172
- ```
96
+ ```bash
173
97
  // Clone mozaic-web-components repo
174
98
  $ git clone git@github.com:adeo/mozaic-web-components.git
175
99
 
@@ -191,10 +115,8 @@ We're always looking for contributors to help us fix bugs, build features, or he
191
115
 
192
116
  **[ADEO Design system Team](https://github.com/orgs/adeo/teams/adeo-design-system)**
193
117
 
194
- **Maintainers**
118
+ **Maintainer**
195
119
 
196
- - **[Mohamed Mokhtari](https://github.com/mohamedMok)**
197
- - **[Trésor Iloyi](https://github.com/tiloyi)**
198
120
  - **[David Martin](https://github.com/dmartinds)**
199
121
 
200
122
  ## 📄 Licensing
package/dist/Cross20.js CHANGED
@@ -1,2 +1,2 @@
1
- import{B as b,E as F,C as L,D as k,F as C,G as B,H as S,I as E,J as A,K as M,c as g,p as v,b as i,A as h,t as o,i as w,j as y,k as a,e as x,g as z}from"./custom-element.js";import"./legacy.js";import{s as m,a as N}from"./attributes.js";function O(c,t,d){E&&A();var r=c,n,s,f=null,u=null;function l(){s&&(S(s),s=null),f&&(f.lastChild.remove(),r.before(f),f=null),s=u,u=null}b(()=>{if(n!==(n=t())){var e=B();if(n){var _=r;e&&(f=document.createDocumentFragment(),f.append(_=L()),s&&C.skipped_effects.add(s)),u=k(()=>d(_,n))}e?C.add_callback(l):l()}},F),E&&(r=M)}var p=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m0 9a1.333 1.333 0 1 0 0-2.667A1.333 1.333 0 0 0 16 12m1 2.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0z"></path></svg>');function I(c,t){v(t,!1);let d=i(t,"id",12,void 0),r=i(t,"style",12,void 0),n=i(t,"className",12,void 0),s=i(t,"fill",12,void 0),f=i(t,"size",12,"2rem");var u={get id(){return d()},set id(e){d(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return s()},set fill(e){s(e),a()},get size(){return f()},set size(e){f(e),a()}},l=p();return o(()=>{m(l,"id",d()),N(l,r()),x(l,0,z(n())),m(l,"fill",s())}),w(c,l),y(u)}customElements.define("info-circle-filled-32",g(I,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var T=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m1 7.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0zm-1 12A1.333 1.333 0 1 0 16 20a1.333 1.333 0 0 0 0 2.667"></path></svg>');function D(c,t){v(t,!1);let d=i(t,"id",12,void 0),r=i(t,"style",12,void 0),n=i(t,"className",12,void 0),s=i(t,"fill",12,void 0),f=i(t,"size",12,"2rem");var u={get id(){return d()},set id(e){d(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return s()},set fill(e){s(e),a()},get size(){return f()},set size(e){f(e),a()}},l=T();return o(()=>{m(l,"id",d()),N(l,r()),x(l,0,z(n())),m(l,"fill",s())}),w(c,l),y(u)}customElements.define("warning-circle-filled-32",g(D,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var R=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m-4.707 8.293a1 1 0 0 1 1.414 0L16 14.586l3.293-3.293a1 1 0 0 1 1.414 1.414L17.414 16l3.293 3.293a1 1 0 0 1-1.414 1.414L16 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L14.586 16l-3.293-3.293a1 1 0 0 1 0-1.414"></path></svg>');function W(c,t){v(t,!1);let d=i(t,"id",12,void 0),r=i(t,"style",12,void 0),n=i(t,"className",12,void 0),s=i(t,"fill",12,void 0),f=i(t,"size",12,"2rem");var u={get id(){return d()},set id(e){d(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return s()},set fill(e){s(e),a()},get size(){return f()},set size(e){f(e),a()}},l=R();return o(()=>{m(l,"id",d()),N(l,r()),x(l,0,z(n())),m(l,"fill",s())}),w(c,l),y(u)}customElements.define("cross-circle-filled-32",g(W,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var j=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m6.707 8.96a1 1 0 0 1 0 1.414l-7.333 7.333a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414l3.293 3.293 6.626-6.626a1 1 0 0 1 1.414 0"></path></svg>');function G(c,t){v(t,!1);let d=i(t,"id",12,void 0),r=i(t,"style",12,void 0),n=i(t,"className",12,void 0),s=i(t,"fill",12,void 0),f=i(t,"size",12,"2rem");var u={get id(){return d()},set id(e){d(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return s()},set fill(e){s(e),a()},get size(){return f()},set size(e){f(e),a()}},l=j();return o(()=>{m(l,"id",d()),N(l,r()),x(l,0,z(n())),m(l,"fill",s())}),w(c,l),y(u)}customElements.define("check-circle-filled-32",g(G,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var H=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="20px" height="20px"><path fill-rule="evenodd" d="M14.697 6.364a.75.75 0 1 0-1.061-1.061L10 8.939 6.363 5.303a.75.75 0 0 0-1.06 1.06L8.939 10l-3.636 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.06-1.06L11.06 10z"></path></svg>');function J(c,t){v(t,!1);let d=i(t,"id",12,void 0),r=i(t,"style",12,void 0),n=i(t,"className",12,void 0),s=i(t,"fill",12,void 0),f=i(t,"size",12,"1.25rem");var u={get id(){return d()},set id(e){d(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return s()},set fill(e){s(e),a()},get size(){return f()},set size(e){f(e),a()}},l=H();return o(()=>{m(l,"id",d()),N(l,r()),x(l,0,z(n())),m(l,"fill",s())}),w(c,l),y(u)}customElements.define("cross-20",g(J,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{G as C,I,D as W,W as a,J as b,O as c};
1
+ import{c as g,p as v,b as s,A as h,t as o,h as w,i as z,j as i,l as x,m as y}from"./custom-element.js";import"./legacy.js";import{s as u,b as N}from"./attributes.js";var C=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m0 9a1.333 1.333 0 1 0 0-2.667A1.333 1.333 0 0 0 16 12m1 2.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0z"></path></svg>');function L(m,l){v(l,!1);let a=s(l,"id",12,void 0),d=s(l,"style",12,void 0),n=s(l,"className",12,void 0),r=s(l,"fill",12,void 0),f=s(l,"size",12,"2rem");var c={get id(){return a()},set id(e){a(e),i()},get style(){return d()},set style(e){d(e),i()},get className(){return n()},set className(e){n(e),i()},get fill(){return r()},set fill(e){r(e),i()},get size(){return f()},set size(e){f(e),i()}},t=C();return o(()=>{u(t,"id",a()),N(t,d()),x(t,0,y(n())),u(t,"fill",r())}),w(m,t),z(c)}customElements.define("info-circle-filled-32",g(L,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var _=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m1 7.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0zm-1 12A1.333 1.333 0 1 0 16 20a1.333 1.333 0 0 0 0 2.667"></path></svg>');function B(m,l){v(l,!1);let a=s(l,"id",12,void 0),d=s(l,"style",12,void 0),n=s(l,"className",12,void 0),r=s(l,"fill",12,void 0),f=s(l,"size",12,"2rem");var c={get id(){return a()},set id(e){a(e),i()},get style(){return d()},set style(e){d(e),i()},get className(){return n()},set className(e){n(e),i()},get fill(){return r()},set fill(e){r(e),i()},get size(){return f()},set size(e){f(e),i()}},t=_();return o(()=>{u(t,"id",a()),N(t,d()),x(t,0,y(n())),u(t,"fill",r())}),w(m,t),z(c)}customElements.define("warning-circle-filled-32",g(B,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var E=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m-4.707 8.293a1 1 0 0 1 1.414 0L16 14.586l3.293-3.293a1 1 0 0 1 1.414 1.414L17.414 16l3.293 3.293a1 1 0 0 1-1.414 1.414L16 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L14.586 16l-3.293-3.293a1 1 0 0 1 0-1.414"></path></svg>');function M(m,l){v(l,!1);let a=s(l,"id",12,void 0),d=s(l,"style",12,void 0),n=s(l,"className",12,void 0),r=s(l,"fill",12,void 0),f=s(l,"size",12,"2rem");var c={get id(){return a()},set id(e){a(e),i()},get style(){return d()},set style(e){d(e),i()},get className(){return n()},set className(e){n(e),i()},get fill(){return r()},set fill(e){r(e),i()},get size(){return f()},set size(e){f(e),i()}},t=E();return o(()=>{u(t,"id",a()),N(t,d()),x(t,0,y(n())),u(t,"fill",r())}),w(m,t),z(c)}customElements.define("cross-circle-filled-32",g(M,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var S=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32px" height="32px"><path fill-rule="evenodd" d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m6.707 8.96a1 1 0 0 1 0 1.414l-7.333 7.333a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414l3.293 3.293 6.626-6.626a1 1 0 0 1 1.414 0"></path></svg>');function b(m,l){v(l,!1);let a=s(l,"id",12,void 0),d=s(l,"style",12,void 0),n=s(l,"className",12,void 0),r=s(l,"fill",12,void 0),f=s(l,"size",12,"2rem");var c={get id(){return a()},set id(e){a(e),i()},get style(){return d()},set style(e){d(e),i()},get className(){return n()},set className(e){n(e),i()},get fill(){return r()},set fill(e){r(e),i()},get size(){return f()},set size(e){f(e),i()}},t=S();return o(()=>{u(t,"id",a()),N(t,d()),x(t,0,y(n())),u(t,"fill",r())}),w(m,t),z(c)}customElements.define("check-circle-filled-32",g(b,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));var F=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="20px" height="20px"><path fill-rule="evenodd" d="M14.697 6.364a.75.75 0 1 0-1.061-1.061L10 8.939 6.363 5.303a.75.75 0 0 0-1.06 1.06L8.939 10l-3.636 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.06-1.06L11.06 10z"></path></svg>');function A(m,l){v(l,!1);let a=s(l,"id",12,void 0),d=s(l,"style",12,void 0),n=s(l,"className",12,void 0),r=s(l,"fill",12,void 0),f=s(l,"size",12,"1.25rem");var c={get id(){return a()},set id(e){a(e),i()},get style(){return d()},set style(e){d(e),i()},get className(){return n()},set className(e){n(e),i()},get fill(){return r()},set fill(e){r(e),i()},get size(){return f()},set size(e){f(e),i()}},t=F();return o(()=>{u(t,"id",a()),N(t,d()),x(t,0,y(n())),u(t,"fill",r())}),w(m,t),z(c)}customElements.define("cross-20",g(A,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{b as C,L as I,B as W,M as a,A as b};
2
2
  //# sourceMappingURL=Cross20.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cross20.js","sources":["../node_modules/svelte/src/internal/client/dom/blocks/svelte-component.js","../node_modules/@mozaic-ds/icons-svelte/dist/components/InfoCircleFilled32/InfoCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/WarningCircleFilled32/WarningCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/CrossCircleFilled32/CrossCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/CheckCircleFilled32/CheckCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/Cross20/Cross20.svelte"],"sourcesContent":["/** @import { TemplateNode, Dom, Effect } from '#client' */\n/** @import { Batch } from '../../reactivity/batch.js'; */\nimport { EFFECT_TRANSPARENT } from '#client/constants';\nimport { block, branch, pause_effect } from '../../reactivity/effects.js';\nimport { current_batch } from '../../reactivity/batch.js';\nimport { hydrate_next, hydrate_node, hydrating } from '../hydration.js';\nimport { create_text, should_defer_append } from '../operations.js';\n\n/**\n * @template P\n * @template {(props: P) => void} C\n * @param {TemplateNode} node\n * @param {() => C} get_component\n * @param {(anchor: TemplateNode, component: C) => Dom | void} render_fn\n * @returns {void}\n */\nexport function component(node, get_component, render_fn) {\n\tif (hydrating) {\n\t\thydrate_next();\n\t}\n\n\tvar anchor = node;\n\n\t/** @type {C} */\n\tvar component;\n\n\t/** @type {Effect | null} */\n\tvar effect;\n\n\t/** @type {DocumentFragment | null} */\n\tvar offscreen_fragment = null;\n\n\t/** @type {Effect | null} */\n\tvar pending_effect = null;\n\n\tfunction commit() {\n\t\tif (effect) {\n\t\t\tpause_effect(effect);\n\t\t\teffect = null;\n\t\t}\n\n\t\tif (offscreen_fragment) {\n\t\t\t// remove the anchor\n\t\t\t/** @type {Text} */ (offscreen_fragment.lastChild).remove();\n\n\t\t\tanchor.before(offscreen_fragment);\n\t\t\toffscreen_fragment = null;\n\t\t}\n\n\t\teffect = pending_effect;\n\t\tpending_effect = null;\n\t}\n\n\tblock(() => {\n\t\tif (component === (component = get_component())) return;\n\n\t\tvar defer = should_defer_append();\n\n\t\tif (component) {\n\t\t\tvar target = anchor;\n\n\t\t\tif (defer) {\n\t\t\t\toffscreen_fragment = document.createDocumentFragment();\n\t\t\t\toffscreen_fragment.append((target = create_text()));\n\t\t\t\tif (effect) {\n\t\t\t\t\t/** @type {Batch} */ (current_batch).skipped_effects.add(effect);\n\t\t\t\t}\n\t\t\t}\n\t\t\tpending_effect = branch(() => render_fn(target, component));\n\t\t}\n\n\t\tif (defer) {\n\t\t\t/** @type {Batch} */ (current_batch).add_callback(commit);\n\t\t} else {\n\t\t\tcommit();\n\t\t}\n\t}, EFFECT_TRANSPARENT);\n\n\tif (hydrating) {\n\t\tanchor = hydrate_node;\n\t}\n}\n","<svelte:options customElement={{ tag: 'info-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m0 9a1.333 1.333 0 1 0 0-2.667A1.333 1.333 0 0 0 16 12m1 2.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0z\"/></svg>","<svelte:options customElement={{ tag: 'warning-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m1 7.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0zm-1 12A1.333 1.333 0 1 0 16 20a1.333 1.333 0 0 0 0 2.667\"/></svg>","<svelte:options customElement={{ tag: 'cross-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m-4.707 8.293a1 1 0 0 1 1.414 0L16 14.586l3.293-3.293a1 1 0 0 1 1.414 1.414L17.414 16l3.293 3.293a1 1 0 0 1-1.414 1.414L16 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L14.586 16l-3.293-3.293a1 1 0 0 1 0-1.414\"/></svg>","<svelte:options customElement={{ tag: 'check-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m6.707 8.96a1 1 0 0 1 0 1.414l-7.333 7.333a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414l3.293 3.293 6.626-6.626a1 1 0 0 1 1.414 0\"/></svg>","<svelte:options customElement={{ tag: 'cross-20', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"1.25rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20px\" height=\"20px\"><path fill-rule=\"evenodd\" d=\"M14.697 6.364a.75.75 0 1 0-1.061-1.061L10 8.939 6.363 5.303a.75.75 0 0 0-1.06 1.06L8.939 10l-3.636 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.06-1.06L11.06 10z\"/></svg>"],"names":["component","node","get_component","render_fn","hydrating","hydrate_next","anchor","effect","offscreen_fragment","pending_effect","commit","pause_effect","block","defer","should_defer_append","target","create_text","current_batch","branch","EFFECT_TRANSPARENT","hydrate_node","id","style","className","fill","size"],"mappings":"4OAgBO,SAASA,EAAUC,EAAMC,EAAeC,EAAW,CACrDC,GACHC,EAAY,EAGb,IAAIC,EAASL,EAGTD,EAGAO,EAGAC,EAAqB,KAGrBC,EAAiB,KAErB,SAASC,GAAS,CACbH,IACHI,EAAaJ,CAAM,EACnBA,EAAS,MAGNC,IAEkBA,EAAmB,UAAW,OAAM,EAEzDF,EAAO,OAAOE,CAAkB,EAChCA,EAAqB,MAGtBD,EAASE,EACTA,EAAiB,IAClB,CAEAG,EAAM,IAAM,CACX,GAAIZ,KAAeA,EAAYE,EAAa,GAE5C,KAAIW,EAAQC,EAAmB,EAE/B,GAAId,EAAW,CACd,IAAIe,EAAST,EAETO,IACHL,EAAqB,SAAS,uBAAsB,EACpDA,EAAmB,OAAQO,EAASC,GAAa,EAC7CT,GACmBU,EAAe,gBAAgB,IAAIV,CAAM,GAGjEE,EAAiBS,EAAO,IAAMf,EAAUY,EAAQf,CAAS,CAAC,CAC3D,CAEIa,EACmBI,EAAe,aAAaP,CAAM,EAExDA,EAAM,EAER,EAAGS,CAAkB,EAEjBf,IACHE,EAASc,EAEX,oVCjFA,SAEa,IAAAC,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,icCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,8iBCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,geCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,odCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,SAAS,gRAGDJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E","x_google_ignoreList":[0,1,2,3,4,5]}
1
+ {"version":3,"file":"Cross20.js","sources":["../node_modules/@mozaic-ds/icons-svelte/dist/components/InfoCircleFilled32/InfoCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/WarningCircleFilled32/WarningCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/CrossCircleFilled32/CrossCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/CheckCircleFilled32/CheckCircleFilled32.svelte","../node_modules/@mozaic-ds/icons-svelte/dist/components/Cross20/Cross20.svelte"],"sourcesContent":["<svelte:options customElement={{ tag: 'info-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m0 9a1.333 1.333 0 1 0 0-2.667A1.333 1.333 0 0 0 16 12m1 2.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0z\"/></svg>","<svelte:options customElement={{ tag: 'warning-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m1 7.667a1 1 0 1 0-2 0v6.666a1 1 0 1 0 2 0zm-1 12A1.333 1.333 0 1 0 16 20a1.333 1.333 0 0 0 0 2.667\"/></svg>","<svelte:options customElement={{ tag: 'cross-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m-4.707 8.293a1 1 0 0 1 1.414 0L16 14.586l3.293-3.293a1 1 0 0 1 1.414 1.414L17.414 16l3.293 3.293a1 1 0 0 1-1.414 1.414L16 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L14.586 16l-3.293-3.293a1 1 0 0 1 0-1.414\"/></svg>","<svelte:options customElement={{ tag: 'check-circle-filled-32', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"2rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32px\" height=\"32px\"><path fill-rule=\"evenodd\" d=\"M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3m6.707 8.96a1 1 0 0 1 0 1.414l-7.333 7.333a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414l3.293 3.293 6.626-6.626a1 1 0 0 1 1.414 0\"/></svg>","<svelte:options customElement={{ tag: 'cross-20', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"1.25rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20px\" height=\"20px\"><path fill-rule=\"evenodd\" d=\"M14.697 6.364a.75.75 0 1 0-1.061-1.061L10 8.939 6.363 5.303a.75.75 0 0 0-1.06 1.06L8.939 10l-3.636 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.06-1.06L11.06 10z\"/></svg>"],"names":["id","style","className","fill","size"],"mappings":"yfAAA,SAEa,IAAAA,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,icCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,8iBCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,geCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,MAAM,gRAGEJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E,odCPA,SAEa,IAAAH,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,SAAS,gRAGDJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E","x_google_ignoreList":[0,1,2,3,4]}
package/dist/Cross24.js CHANGED
@@ -1,2 +1,2 @@
1
- import{c as o,p as g,b as a,A as v,t as h,i as p,j as x,k as l,e as y,g as _}from"./custom-element.js";import"./legacy.js";import{s as m,a as w}from"./attributes.js";var z=v('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" d="M17.707 7.707a1 1 0 0 0-1.414-1.414L12 10.586 7.707 6.293a1 1 0 0 0-1.414 1.414L10.586 12l-4.293 4.293a1 1 0 1 0 1.414 1.414L12 13.414l4.293 4.293a1 1 0 0 0 1.414-1.414L13.414 12z"></path></svg>');function N(u,s){g(s,!1);let i=a(s,"id",12,void 0),r=a(s,"style",12,void 0),n=a(s,"className",12,void 0),d=a(s,"fill",12,void 0),f=a(s,"size",12,"1.5rem");var c={get id(){return i()},set id(e){i(e),l()},get style(){return r()},set style(e){r(e),l()},get className(){return n()},set className(e){n(e),l()},get fill(){return d()},set fill(e){d(e),l()},get size(){return f()},set size(e){f(e),l()}},t=z();return h(()=>{m(t,"id",i()),w(t,r()),y(t,0,_(n())),m(t,"fill",d())}),p(u,t),x(c)}customElements.define("cross-24",o(N,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{N as C};
1
+ import{c as o,p as g,b as l,A as h,t as v,h as p,i as x,j as a,l as y,m as _}from"./custom-element.js";import"./legacy.js";import{s as m,b as w}from"./attributes.js";var z=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" d="M17.707 7.707a1 1 0 0 0-1.414-1.414L12 10.586 7.707 6.293a1 1 0 0 0-1.414 1.414L10.586 12l-4.293 4.293a1 1 0 1 0 1.414 1.414L12 13.414l4.293 4.293a1 1 0 0 0 1.414-1.414L13.414 12z"></path></svg>');function N(u,s){g(s,!1);let i=l(s,"id",12,void 0),r=l(s,"style",12,void 0),n=l(s,"className",12,void 0),d=l(s,"fill",12,void 0),f=l(s,"size",12,"1.5rem");var c={get id(){return i()},set id(e){i(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return d()},set fill(e){d(e),a()},get size(){return f()},set size(e){f(e),a()}},t=z();return v(()=>{m(t,"id",i()),w(t,r()),y(t,0,_(n())),m(t,"fill",d())}),p(u,t),x(c)}customElements.define("cross-24",o(N,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{N as C};
2
2
  //# sourceMappingURL=Cross24.js.map
@@ -1,2 +1,2 @@
1
- import{c as o,p as g,b as l,A as v,t as h,i as p,j as x,k as a,e as y,g as _}from"./custom-element.js";import"./legacy.js";import{s as c,a as w}from"./attributes.js";var z=v('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414"></path></svg>');function N(m,s){g(s,!1);let i=l(s,"id",12,void 0),r=l(s,"style",12,void 0),d=l(s,"className",12,void 0),n=l(s,"fill",12,void 0),f=l(s,"size",12,"1.5rem");var u={get id(){return i()},set id(e){i(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return d()},set className(e){d(e),a()},get fill(){return n()},set fill(e){n(e),a()},get size(){return f()},set size(e){f(e),a()}},t=z();return h(()=>{c(t,"id",i()),w(t,r()),y(t,0,_(d())),c(t,"fill",n())}),p(m,t),x(u)}customElements.define("cross-circle-filled-24",o(N,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{N as C};
1
+ import{c as o,p as g,b as l,A as h,t as v,h as p,i as x,j as a,l as y,m as _}from"./custom-element.js";import"./legacy.js";import{s as m,b as w}from"./attributes.js";var z=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414"></path></svg>');function N(c,s){g(s,!1);let i=l(s,"id",12,void 0),r=l(s,"style",12,void 0),d=l(s,"className",12,void 0),n=l(s,"fill",12,void 0),f=l(s,"size",12,"1.5rem");var u={get id(){return i()},set id(e){i(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return d()},set className(e){d(e),a()},get fill(){return n()},set fill(e){n(e),a()},get size(){return f()},set size(e){f(e),a()}},t=z();return v(()=>{m(t,"id",i()),w(t,r()),y(t,0,_(d())),m(t,"fill",n())}),p(c,t),x(u)}customElements.define("cross-circle-filled-24",o(N,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{N as C};
2
2
  //# sourceMappingURL=CrossCircleFilled24.js.map
package/dist/Less24.js ADDED
@@ -0,0 +1,2 @@
1
+ import{c as o,p as g,b as l,A as h,t as v,h as p,i as x,j as a,l as y,m as _}from"./custom-element.js";import"./legacy.js";import{s as m,b as w}from"./attributes.js";var z=h('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" d="M6 12a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1"></path></svg>');function N(u,s){g(s,!1);let i=l(s,"id",12,void 0),r=l(s,"style",12,void 0),n=l(s,"className",12,void 0),d=l(s,"fill",12,void 0),f=l(s,"size",12,"1.5rem");var c={get id(){return i()},set id(e){i(e),a()},get style(){return r()},set style(e){r(e),a()},get className(){return n()},set className(e){n(e),a()},get fill(){return d()},set fill(e){d(e),a()},get size(){return f()},set size(e){f(e),a()}},t=z();return v(()=>{m(t,"id",i()),w(t,r()),y(t,0,_(n())),m(t,"fill",d())}),p(u,t),x(c)}customElements.define("less-24",o(N,{id:{},style:{},className:{},fill:{},size:{}},[],[],!1));export{N as L};
2
+ //# sourceMappingURL=Less24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Less24.js","sources":["../node_modules/@mozaic-ds/icons-svelte/dist/components/Less24/Less24.svelte"],"sourcesContent":["<svelte:options customElement={{ tag: 'less-24', shadow: 'none' }} />\n<script>\n export let id = undefined;\n export let style = undefined;\n export let className = undefined;\n export let fill = undefined;\n export let size = \"1.5rem\";\n</script>\n\n<svg aria-hidden=\"true\" id={id} style={style} class={className} fill={fill} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\"><path fill-rule=\"evenodd\" d=\"M6 12a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1\"/></svg>"],"names":["id","style","className","fill","size"],"mappings":"2YAAA,SAEa,IAAAA,cAAK,MAAS,EACdC,iBAAQ,MAAS,EACjBC,qBAAY,MAAS,EACrBC,gBAAO,MAAS,EAChBC,gBAAO,QAAQ,gRAGAJ,GAAE,MAAUC,GAAK,UAASC,EAAS,CAAA,CAAA,aAAQC,GAAI,eAF3E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import{B,O as p,D,P as $,Q as F,I as y,R as Q,S as W,T as X,U as J,V as m,W as x,m as aa,X as ra,g as ea,e as ia,Y as sa,Z as ta,v as ua,_ as fa,$ as la,a0 as ca,a1 as oa,a2 as na,a3 as da,a4 as _a,a5 as va,a6 as ba,a7 as ha,a8 as V}from"./custom-element.js";function Aa(a,e){var r=void 0,i;B(()=>{r!==(r=e())&&(i&&(p(i),i=null),r&&(i=D(()=>{$(()=>r(a))})))})}function P(a,e={},r,i){for(var s in r){var f=r[s];e[s]!==f&&(r[s]==null?a.style.removeProperty(s):a.style.setProperty(s,f,i))}}function ga(a,e,r,i){var s=a.__style;if(y||s!==e){var f=F(e,i);(!y||f!==a.getAttribute("style"))&&(f==null?a.removeAttribute("style"):a.style.cssText=f),a.__style=e}else i&&(Array.isArray(i)?(P(a,r==null?void 0:r[0],i[0]),P(a,r==null?void 0:r[1],i[1],"important")):P(a,r,i));return i}function L(a,e,r=!1){if(a.multiple){if(e==null)return;if(!Q(e))return W();for(var i of a.options)i.selected=e.includes(I(i));return}for(i of a.options){var s=I(i);if(X(s,e)){i.selected=!0;return}}(!r||e!==void 0)&&(a.selectedIndex=-1)}function H(a){var e=new MutationObserver(()=>{L(a,a.__value)});e.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),J(()=>{e.disconnect()})}function Ta(a,e,r=e){var i=!0;m(a,"change",s=>{var f=s?"[selected]":":checked",_;if(a.multiple)_=[].map.call(a.querySelectorAll(f),I);else{var A=a.querySelector(f)??a.querySelector("option:not([disabled])");_=A&&I(A)}r(_)}),$(()=>{var s=e();if(L(a,s,i),i&&s===void 0){var f=a.querySelector(":checked");f!==null&&(s=I(f),r(s))}a.__value=s,i=!1}),H(a)}function I(a){return"__value"in a?a.__value:a.value}const T=Symbol("class"),E=Symbol("style"),j=Symbol("is custom element"),G=Symbol("is html");function ya(a){if(y){var e=!1,r=()=>{if(!e){if(e=!0,a.hasAttribute("value")){var i=a.value;O(a,"value",null),a.value=i}if(a.hasAttribute("checked")){var s=a.checked;O(a,"checked",null),a.checked=s}}};a.__on_r=r,ba(r),ha()}}function Ea(a,e){var r=C(a);r.value===(r.value=e??void 0)||a.value===e&&(e!==0||a.nodeName!=="PROGRESS")||(a.value=e??"")}function Ia(a,e){var r=C(a);r.checked!==(r.checked=e??void 0)&&(a.checked=e)}function Sa(a,e){e?a.hasAttribute("selected")||a.setAttribute("selected",""):a.removeAttribute("selected")}function O(a,e,r,i){var s=C(a);y&&(s[e]=a.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&a.nodeName==="LINK")||s[e]!==(s[e]=r)&&(e==="loading"&&(a[da]=r),r==null?a.removeAttribute(e):typeof r!="string"&&K(a).includes(e)?a[e]=r:a.setAttribute(e,r))}function ka(a,e,r,i,s=!1,f=!1){if(y&&s&&a.tagName==="INPUT"){var _=a,A=_.type==="checkbox"?"defaultChecked":"defaultValue";A in r||ya(_)}var v=C(a),b=v[j],w=!v[G];let S=y&&b;S&&V(!1);var l=e||{},h=a.tagName==="OPTION";for(var k in e)k in r||(r[k]=null);r.class?r.class=ea(r.class):(i||r[T])&&(r.class=null),r[E]&&(r.style??(r.style=null));var N=K(a);for(const t in r){let u=r[t];if(h&&t==="value"&&u==null){a.value=a.__value="",l[t]=u;continue}if(t==="class"){var d=a.namespaceURI==="http://www.w3.org/1999/xhtml";ia(a,d,u,i,e==null?void 0:e[T],r[T]),l[t]=u,l[T]=r[T];continue}if(t==="style"){ga(a,u,e==null?void 0:e[E],r[E]),l[t]=u,l[E]=r[E];continue}var q=l[t];if(!(u===q&&!(u===void 0&&a.hasAttribute(t)))){l[t]=u;var R=t[0]+t[1];if(R!=="$$")if(R==="on"){const n={},g="$$"+t;let c=t.slice(2);var M=_a(c);if(sa(c)&&(c=c.slice(0,-7),n.capture=!0),!M&&q){if(u!=null)continue;a.removeEventListener(c,l[g],n),l[g]=null}if(u!=null)if(M)a[`__${c}`]=u,ua([c]);else{let Z=function(z){l[t].call(this,z)};l[g]=ta(c,a,Z,n)}else M&&(a[`__${c}`]=void 0)}else if(t==="style")O(a,t,u);else if(t==="autofocus")fa(a,!!u);else if(!b&&(t==="__value"||t==="value"&&u!=null))a.value=a.__value=u;else if(t==="selected"&&h)Sa(a,u);else{var o=t;w||(o=la(o));var U=o==="defaultValue"||o==="defaultChecked";if(u==null&&!b&&!U)if(v[t]=null,o==="value"||o==="checked"){let n=a;const g=e===void 0;if(o==="value"){let c=n.defaultValue;n.removeAttribute(o),n.defaultValue=c,n.value=n.__value=g?c:null}else{let c=n.defaultChecked;n.removeAttribute(o),n.defaultChecked=c,n.checked=g?c:!1}}else a.removeAttribute(t);else U||N.includes(o)&&(b||typeof u!="string")?(a[o]=u,o in v&&(v[o]=ca)):typeof u!="function"&&O(a,o,u)}}}return S&&V(!0),l}function wa(a,e,r=[],i=[],s,f=!1,_=!1){x(r,i,A=>{var v=void 0,b={},w=a.nodeName==="SELECT",S=!1;if(B(()=>{var h=e(...A.map(aa)),k=ka(a,v,h,s,f,_);S&&w&&"value"in h&&L(a,h.value);for(let d of Object.getOwnPropertySymbols(b))h[d]||p(b[d]);for(let d of Object.getOwnPropertySymbols(h)){var N=h[d];d.description===ra&&(!v||N!==v[d])&&(b[d]&&p(b[d]),b[d]=D(()=>Aa(a,()=>N))),k[d]=N}v=k}),w){var l=a;$(()=>{L(l,v.value,!0),H(l)})}S=!0})}function C(a){return a.__attributes??(a.__attributes={[j]:a.nodeName.includes("-"),[G]:a.namespaceURI===oa})}var Y=new Map;function K(a){var e=a.getAttribute("is")||a.nodeName,r=Y.get(e);if(r)return r;Y.set(e,r=[]);for(var i,s=a,f=Element.prototype;f!==s;){i=va(s);for(var _ in i)i[_].set&&r.push(_);s=na(s)}return r}export{ga as a,wa as b,Ia as c,Ta as d,Ea as e,Sa as f,ya as r,O as s};
1
+ import{E as j,V as $,W as B,X as q,Y as F,M as p,Z as J,_ as X,$ as Q,J as m,a0 as x,a1 as C,a2 as ee,a3 as ae,n as re,a4 as se,m as te,l as ie,a5 as ue,a6 as fe,w as le,a7 as ce,a8 as oe,a9 as ne,aa as ve,ab as _e,ac as de,ad as be,ae as he,af as ye,ag as Ae,R as Y}from"./custom-element.js";function ge(e,r){var a=void 0,s;j(()=>{a!==(a=r())&&(s&&($(s),s=null),a&&(s=B(()=>{q(()=>a(e))})))})}function P(e,r={},a,s){for(var t in a){var f=a[t];r[t]!==f&&(a[t]==null?e.style.removeProperty(t):e.style.setProperty(t,f,s))}}function pe(e,r,a,s){var t=e.__style;if(p||t!==r){var f=F(r,s);(!p||f!==e.getAttribute("style"))&&(f==null?e.removeAttribute("style"):e.style.cssText=f),e.__style=r}else s&&(Array.isArray(s)?(P(e,a?.[0],s[0]),P(e,a?.[1],s[1],"important")):P(e,a,s));return s}function L(e,r,a=!1){if(e.multiple){if(r==null)return;if(!J(r))return X();for(var s of e.options)s.selected=r.includes(w(s));return}for(s of e.options){var t=w(s);if(Q(t,r)){s.selected=!0;return}}(!a||r!==void 0)&&(e.selectedIndex=-1)}function D(e){var r=new MutationObserver(()=>{L(e,e.__value)});r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),m(()=>{r.disconnect()})}function Te(e,r,a=r){var s=new WeakSet,t=!0;x(e,"change",f=>{var _=f?"[selected]":":checked",d;if(e.multiple)d=[].map.call(e.querySelectorAll(_),w);else{var b=e.querySelector(_)??e.querySelector("option:not([disabled])");d=b&&w(b)}a(d),C!==null&&s.add(C)}),q(()=>{var f=r();if(e===document.activeElement){var _=ee??C;if(s.has(_))return}if(L(e,f,t),t&&f===void 0){var d=e.querySelector(":checked");d!==null&&(f=w(d),a(f))}e.__value=f,t=!1}),D(e)}function w(e){return"__value"in e?e.__value:e.value}const k=Symbol("class"),T=Symbol("style"),G=Symbol("is custom element"),K=Symbol("is html");function Se(e){if(p){var r=!1,a=()=>{if(!r){if(r=!0,e.hasAttribute("value")){var s=e.value;O(e,"value",null),e.value=s}if(e.hasAttribute("checked")){var t=e.checked;O(e,"checked",null),e.checked=t}}};e.__on_r=a,ye(a),Ae()}}function we(e,r){var a=R(e);a.value===(a.value=r??void 0)||e.value===r&&(r!==0||e.nodeName!=="PROGRESS")||(e.value=r??"")}function Ee(e,r){r?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function O(e,r,a,s){var t=R(e);p&&(t[r]=e.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&e.nodeName==="LINK")||t[r]!==(t[r]=a)&&(r==="loading"&&(e[de]=a),a==null?e.removeAttribute(r):typeof a!="string"&&W(e).includes(r)?e[r]=a:e.setAttribute(r,a))}function Ne(e,r,a,s,t=!1,f=!1){if(p&&t&&e.tagName==="INPUT"){var _=e,d=_.type==="checkbox"?"defaultChecked":"defaultValue";d in a||Se(_)}var b=R(e),h=b[G],A=!b[K];let S=p&&h;S&&Y(!1);var l=r||{},E=e.tagName==="OPTION";for(var y in r)y in a||(a[y]=null);a.class?a.class=te(a.class):(s||a[k])&&(a.class=null),a[T]&&(a.style??=null);var I=W(e);for(const i in a){let u=a[i];if(E&&i==="value"&&u==null){e.value=e.__value="",l[i]=u;continue}if(i==="class"){var N=e.namespaceURI==="http://www.w3.org/1999/xhtml";ie(e,N,u,s,r?.[k],a[k]),l[i]=u,l[k]=a[k];continue}if(i==="style"){pe(e,u,r?.[T],a[T]),l[i]=u,l[T]=a[T];continue}var n=l[i];if(!(u===n&&!(u===void 0&&e.hasAttribute(i)))){l[i]=u;var U=i[0]+i[1];if(U!=="$$")if(U==="on"){const v={},g="$$"+i;let c=i.slice(2);var M=be(c);if(ue(c)&&(c=c.slice(0,-7),v.capture=!0),!M&&n){if(u!=null)continue;e.removeEventListener(c,l[g],v),l[g]=null}if(u!=null)if(M)e[`__${c}`]=u,le([c]);else{let Z=function(z){l[i].call(this,z)};l[g]=fe(c,e,Z,v)}else M&&(e[`__${c}`]=void 0)}else if(i==="style")O(e,i,u);else if(i==="autofocus")ce(e,!!u);else if(!h&&(i==="__value"||i==="value"&&u!=null))e.value=e.__value=u;else if(i==="selected"&&E)Ee(e,u);else{var o=i;A||(o=oe(o));var V=o==="defaultValue"||o==="defaultChecked";if(u==null&&!h&&!V)if(b[i]=null,o==="value"||o==="checked"){let v=e;const g=r===void 0;if(o==="value"){let c=v.defaultValue;v.removeAttribute(o),v.defaultValue=c,v.value=v.__value=g?c:null}else{let c=v.defaultChecked;v.removeAttribute(o),v.defaultChecked=c,v.checked=g?c:!1}}else e.removeAttribute(i);else V||I.includes(o)&&(h||typeof u!="string")?(e[o]=u,o in b&&(b[o]=ne)):typeof u!="function"&&O(e,o,u)}}}return S&&Y(!0),l}function Ie(e,r,a=[],s=[],t=[],f,_=!1,d=!1){ae(t,a,s,b=>{var h=void 0,A={},S=e.nodeName==="SELECT",l=!1;if(j(()=>{var y=r(...b.map(re)),I=Ne(e,h,y,f,_,d);l&&S&&"value"in y&&L(e,y.value);for(let n of Object.getOwnPropertySymbols(A))y[n]||$(A[n]);for(let n of Object.getOwnPropertySymbols(y)){var N=y[n];n.description===se&&(!h||N!==h[n])&&(A[n]&&$(A[n]),A[n]=B(()=>ge(e,()=>N))),I[n]=N}h=I}),S){var E=e;q(()=>{L(E,h.value,!0),D(E)})}l=!0})}function R(e){return e.__attributes??={[G]:e.nodeName.includes("-"),[K]:e.namespaceURI===ve}}var H=new Map;function W(e){var r=e.getAttribute("is")||e.nodeName,a=H.get(r);if(a)return a;H.set(r,a=[]);for(var s,t=e,f=Element.prototype;f!==t;){s=he(t);for(var _ in s)s[_].set&&a.push(_);t=_e(t)}return a}export{Ie as a,pe as b,Te as c,we as d,Ee as e,Se as r,O as s};
2
2
  //# sourceMappingURL=attributes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.js","sources":["../node_modules/svelte/src/internal/client/dom/elements/attachments.js","../node_modules/svelte/src/internal/client/dom/elements/style.js","../node_modules/svelte/src/internal/client/dom/elements/bindings/select.js","../node_modules/svelte/src/internal/client/dom/elements/attributes.js"],"sourcesContent":["/** @import { Effect } from '#client' */\nimport { block, branch, effect, destroy_effect } from '../../reactivity/effects.js';\n\n// TODO in 6.0 or 7.0, when we remove legacy mode, we can simplify this by\n// getting rid of the block/branch stuff and just letting the effect rip.\n// see https://github.com/sveltejs/svelte/pull/15962\n\n/**\n * @param {Element} node\n * @param {() => (node: Element) => void} get_fn\n */\nexport function attach(node, get_fn) {\n\t/** @type {false | undefined | ((node: Element) => void)} */\n\tvar fn = undefined;\n\n\t/** @type {Effect | null} */\n\tvar e;\n\n\tblock(() => {\n\t\tif (fn !== (fn = get_fn())) {\n\t\t\tif (e) {\n\t\t\t\tdestroy_effect(e);\n\t\t\t\te = null;\n\t\t\t}\n\n\t\t\tif (fn) {\n\t\t\t\te = branch(() => {\n\t\t\t\t\teffect(() => /** @type {(node: Element) => void} */ (fn)(node));\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t});\n}\n","import { to_style } from '../../../shared/attributes.js';\nimport { hydrating } from '../hydration.js';\n\n/**\n * @param {Element & ElementCSSInlineStyle} dom\n * @param {Record<string, any>} prev\n * @param {Record<string, any>} next\n * @param {string} [priority]\n */\nfunction update_styles(dom, prev = {}, next, priority) {\n\tfor (var key in next) {\n\t\tvar value = next[key];\n\n\t\tif (prev[key] !== value) {\n\t\t\tif (next[key] == null) {\n\t\t\t\tdom.style.removeProperty(key);\n\t\t\t} else {\n\t\t\t\tdom.style.setProperty(key, value, priority);\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {Element & ElementCSSInlineStyle} dom\n * @param {string | null} value\n * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [prev_styles]\n * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [next_styles]\n */\nexport function set_style(dom, value, prev_styles, next_styles) {\n\t// @ts-expect-error\n\tvar prev = dom.__style;\n\n\tif (hydrating || prev !== value) {\n\t\tvar next_style_attr = to_style(value, next_styles);\n\n\t\tif (!hydrating || next_style_attr !== dom.getAttribute('style')) {\n\t\t\tif (next_style_attr == null) {\n\t\t\t\tdom.removeAttribute('style');\n\t\t\t} else {\n\t\t\t\tdom.style.cssText = next_style_attr;\n\t\t\t}\n\t\t}\n\n\t\t// @ts-expect-error\n\t\tdom.__style = value;\n\t} else if (next_styles) {\n\t\tif (Array.isArray(next_styles)) {\n\t\t\tupdate_styles(dom, prev_styles?.[0], next_styles[0]);\n\t\t\tupdate_styles(dom, prev_styles?.[1], next_styles[1], 'important');\n\t\t} else {\n\t\t\tupdate_styles(dom, prev_styles, next_styles);\n\t\t}\n\t}\n\n\treturn next_styles;\n}\n","import { effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport { is } from '../../../proxy.js';\nimport { is_array } from '../../../../shared/utils.js';\nimport * as w from '../../../warnings.js';\n\n/**\n * Selects the correct option(s) (depending on whether this is a multiple select)\n * @template V\n * @param {HTMLSelectElement} select\n * @param {V} value\n * @param {boolean} mounting\n */\nexport function select_option(select, value, mounting = false) {\n\tif (select.multiple) {\n\t\t// If value is null or undefined, keep the selection as is\n\t\tif (value == undefined) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If not an array, warn and keep the selection as is\n\t\tif (!is_array(value)) {\n\t\t\treturn w.select_multiple_invalid_value();\n\t\t}\n\n\t\t// Otherwise, update the selection\n\t\tfor (var option of select.options) {\n\t\t\toption.selected = value.includes(get_option_value(option));\n\t\t}\n\n\t\treturn;\n\t}\n\n\tfor (option of select.options) {\n\t\tvar option_value = get_option_value(option);\n\t\tif (is(option_value, value)) {\n\t\t\toption.selected = true;\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (!mounting || value !== undefined) {\n\t\tselect.selectedIndex = -1; // no option should be selected\n\t}\n}\n\n/**\n * Selects the correct option(s) if `value` is given,\n * and then sets up a mutation observer to sync the\n * current selection to the dom when it changes. Such\n * changes could for example occur when options are\n * inside an `#each` block.\n * @param {HTMLSelectElement} select\n */\nexport function init_select(select) {\n\tvar observer = new MutationObserver(() => {\n\t\t// @ts-ignore\n\t\tselect_option(select, select.__value);\n\t\t// Deliberately don't update the potential binding value,\n\t\t// the model should be preserved unless explicitly changed\n\t});\n\n\tobserver.observe(select, {\n\t\t// Listen to option element changes\n\t\tchildList: true,\n\t\tsubtree: true, // because of <optgroup>\n\t\t// Listen to option element value attribute changes\n\t\t// (doesn't get notified of select value changes,\n\t\t// because that property is not reflected as an attribute)\n\t\tattributes: true,\n\t\tattributeFilter: ['value']\n\t});\n\n\tteardown(() => {\n\t\tobserver.disconnect();\n\t});\n}\n\n/**\n * @param {HTMLSelectElement} select\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_select_value(select, get, set = get) {\n\tvar mounting = true;\n\n\tlisten_to_event_and_reset_event(select, 'change', (is_reset) => {\n\t\tvar query = is_reset ? '[selected]' : ':checked';\n\t\t/** @type {unknown} */\n\t\tvar value;\n\n\t\tif (select.multiple) {\n\t\t\tvalue = [].map.call(select.querySelectorAll(query), get_option_value);\n\t\t} else {\n\t\t\t/** @type {HTMLOptionElement | null} */\n\t\t\tvar selected_option =\n\t\t\t\tselect.querySelector(query) ??\n\t\t\t\t// will fall back to first non-disabled option if no option is selected\n\t\t\t\tselect.querySelector('option:not([disabled])');\n\t\t\tvalue = selected_option && get_option_value(selected_option);\n\t\t}\n\n\t\tset(value);\n\t});\n\n\t// Needs to be an effect, not a render_effect, so that in case of each loops the logic runs after the each block has updated\n\teffect(() => {\n\t\tvar value = get();\n\t\tselect_option(select, value, mounting);\n\n\t\t// Mounting and value undefined -> take selection from dom\n\t\tif (mounting && value === undefined) {\n\t\t\t/** @type {HTMLOptionElement | null} */\n\t\t\tvar selected_option = select.querySelector(':checked');\n\t\t\tif (selected_option !== null) {\n\t\t\t\tvalue = get_option_value(selected_option);\n\t\t\t\tset(value);\n\t\t\t}\n\t\t}\n\n\t\t// @ts-ignore\n\t\tselect.__value = value;\n\t\tmounting = false;\n\t});\n\n\tinit_select(select);\n}\n\n/** @param {HTMLOptionElement} option */\nfunction get_option_value(option) {\n\t// __value only exists if the <option> has a value attribute\n\tif ('__value' in option) {\n\t\treturn option.__value;\n\t} else {\n\t\treturn option.value;\n\t}\n}\n","/** @import { Effect } from '#client' */\nimport { DEV } from 'esm-env';\nimport { hydrating, set_hydrating } from '../hydration.js';\nimport { get_descriptors, get_prototype_of } from '../../../shared/utils.js';\nimport { create_event, delegate } from './events.js';\nimport { add_form_reset_listener, autofocus } from './misc.js';\nimport * as w from '../../warnings.js';\nimport { LOADING_ATTR_SYMBOL } from '#client/constants';\nimport { queue_idle_task } from '../task.js';\nimport { is_capture_event, is_delegated, normalize_attribute } from '../../../../utils.js';\nimport {\n\tactive_effect,\n\tactive_reaction,\n\tget,\n\tset_active_effect,\n\tset_active_reaction\n} from '../../runtime.js';\nimport { attach } from './attachments.js';\nimport { clsx } from '../../../shared/attributes.js';\nimport { set_class } from './class.js';\nimport { set_style } from './style.js';\nimport { ATTACHMENT_KEY, NAMESPACE_HTML, UNINITIALIZED } from '../../../../constants.js';\nimport { block, branch, destroy_effect, effect } from '../../reactivity/effects.js';\nimport { init_select, select_option } from './bindings/select.js';\nimport { flatten } from '../../reactivity/async.js';\n\nexport const CLASS = Symbol('class');\nexport const STYLE = Symbol('style');\n\nconst IS_CUSTOM_ELEMENT = Symbol('is custom element');\nconst IS_HTML = Symbol('is html');\n\n/**\n * The value/checked attribute in the template actually corresponds to the defaultValue property, so we need\n * to remove it upon hydration to avoid a bug when someone resets the form value.\n * @param {HTMLInputElement} input\n * @returns {void}\n */\nexport function remove_input_defaults(input) {\n\tif (!hydrating) return;\n\n\tvar already_removed = false;\n\n\t// We try and remove the default attributes later, rather than sync during hydration.\n\t// Doing it sync during hydration has a negative impact on performance, but deferring the\n\t// work in an idle task alleviates this greatly. If a form reset event comes in before\n\t// the idle callback, then we ensure the input defaults are cleared just before.\n\tvar remove_defaults = () => {\n\t\tif (already_removed) return;\n\t\talready_removed = true;\n\n\t\t// Remove the attributes but preserve the values\n\t\tif (input.hasAttribute('value')) {\n\t\t\tvar value = input.value;\n\t\t\tset_attribute(input, 'value', null);\n\t\t\tinput.value = value;\n\t\t}\n\n\t\tif (input.hasAttribute('checked')) {\n\t\t\tvar checked = input.checked;\n\t\t\tset_attribute(input, 'checked', null);\n\t\t\tinput.checked = checked;\n\t\t}\n\t};\n\n\t// @ts-expect-error\n\tinput.__on_r = remove_defaults;\n\tqueue_idle_task(remove_defaults);\n\tadd_form_reset_listener();\n}\n\n/**\n * @param {Element} element\n * @param {any} value\n */\nexport function set_value(element, value) {\n\tvar attributes = get_attributes(element);\n\n\tif (\n\t\tattributes.value ===\n\t\t\t(attributes.value =\n\t\t\t\t// treat null and undefined the same for the initial value\n\t\t\t\tvalue ?? undefined) ||\n\t\t// @ts-expect-error\n\t\t// `progress` elements always need their value set when it's `0`\n\t\t(element.value === value && (value !== 0 || element.nodeName !== 'PROGRESS'))\n\t) {\n\t\treturn;\n\t}\n\n\t// @ts-expect-error\n\telement.value = value ?? '';\n}\n\n/**\n * @param {Element} element\n * @param {boolean} checked\n */\nexport function set_checked(element, checked) {\n\tvar attributes = get_attributes(element);\n\n\tif (\n\t\tattributes.checked ===\n\t\t(attributes.checked =\n\t\t\t// treat null and undefined the same for the initial value\n\t\t\tchecked ?? undefined)\n\t) {\n\t\treturn;\n\t}\n\n\t// @ts-expect-error\n\telement.checked = checked;\n}\n\n/**\n * Sets the `selected` attribute on an `option` element.\n * Not set through the property because that doesn't reflect to the DOM,\n * which means it wouldn't be taken into account when a form is reset.\n * @param {HTMLOptionElement} element\n * @param {boolean} selected\n */\nexport function set_selected(element, selected) {\n\tif (selected) {\n\t\t// The selected option could've changed via user selection, and\n\t\t// setting the value without this check would set it back.\n\t\tif (!element.hasAttribute('selected')) {\n\t\t\telement.setAttribute('selected', '');\n\t\t}\n\t} else {\n\t\telement.removeAttribute('selected');\n\t}\n}\n\n/**\n * Applies the default checked property without influencing the current checked property.\n * @param {HTMLInputElement} element\n * @param {boolean} checked\n */\nexport function set_default_checked(element, checked) {\n\tconst existing_value = element.checked;\n\telement.defaultChecked = checked;\n\telement.checked = existing_value;\n}\n\n/**\n * Applies the default value property without influencing the current value property.\n * @param {HTMLInputElement | HTMLTextAreaElement} element\n * @param {string} value\n */\nexport function set_default_value(element, value) {\n\tconst existing_value = element.value;\n\telement.defaultValue = value;\n\telement.value = existing_value;\n}\n\n/**\n * @param {Element} element\n * @param {string} attribute\n * @param {string | null} value\n * @param {boolean} [skip_warning]\n */\nexport function set_attribute(element, attribute, value, skip_warning) {\n\tvar attributes = get_attributes(element);\n\n\tif (hydrating) {\n\t\tattributes[attribute] = element.getAttribute(attribute);\n\n\t\tif (\n\t\t\tattribute === 'src' ||\n\t\t\tattribute === 'srcset' ||\n\t\t\t(attribute === 'href' && element.nodeName === 'LINK')\n\t\t) {\n\t\t\tif (!skip_warning) {\n\t\t\t\tcheck_src_in_dev_hydration(element, attribute, value ?? '');\n\t\t\t}\n\n\t\t\t// If we reset these attributes, they would result in another network request, which we want to avoid.\n\t\t\t// We assume they are the same between client and server as checking if they are equal is expensive\n\t\t\t// (we can't just compare the strings as they can be different between client and server but result in the\n\t\t\t// same url, so we would need to create hidden anchor elements to compare them)\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (attributes[attribute] === (attributes[attribute] = value)) return;\n\n\tif (attribute === 'loading') {\n\t\t// @ts-expect-error\n\t\telement[LOADING_ATTR_SYMBOL] = value;\n\t}\n\n\tif (value == null) {\n\t\telement.removeAttribute(attribute);\n\t} else if (typeof value !== 'string' && get_setters(element).includes(attribute)) {\n\t\t// @ts-ignore\n\t\telement[attribute] = value;\n\t} else {\n\t\telement.setAttribute(attribute, value);\n\t}\n}\n\n/**\n * @param {Element} dom\n * @param {string} attribute\n * @param {string} value\n */\nexport function set_xlink_attribute(dom, attribute, value) {\n\tdom.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\n\n/**\n * @param {HTMLElement} node\n * @param {string} prop\n * @param {any} value\n */\nexport function set_custom_element_data(node, prop, value) {\n\t// We need to ensure that setting custom element props, which can\n\t// invoke lifecycle methods on other custom elements, does not also\n\t// associate those lifecycle methods with the current active reaction\n\t// or effect\n\tvar previous_reaction = active_reaction;\n\tvar previous_effect = active_effect;\n\n\t// If we're hydrating but the custom element is from Svelte, and it already scaffolded,\n\t// then it might run block logic in hydration mode, which we have to prevent.\n\tlet was_hydrating = hydrating;\n\tif (hydrating) {\n\t\tset_hydrating(false);\n\t}\n\n\tset_active_reaction(null);\n\tset_active_effect(null);\n\n\ttry {\n\t\tif (\n\t\t\t// `style` should use `set_attribute` rather than the setter\n\t\t\tprop !== 'style' &&\n\t\t\t// Don't compute setters for custom elements while they aren't registered yet,\n\t\t\t// because during their upgrade/instantiation they might add more setters.\n\t\t\t// Instead, fall back to a simple \"an object, then set as property\" heuristic.\n\t\t\t(setters_cache.has(node.getAttribute('is') || node.nodeName) ||\n\t\t\t// customElements may not be available in browser extension contexts\n\t\t\t!customElements ||\n\t\t\tcustomElements.get(node.getAttribute('is') || node.tagName.toLowerCase())\n\t\t\t\t? get_setters(node).includes(prop)\n\t\t\t\t: value && typeof value === 'object')\n\t\t) {\n\t\t\t// @ts-expect-error\n\t\t\tnode[prop] = value;\n\t\t} else {\n\t\t\t// We did getters etc checks already, stringify before passing to set_attribute\n\t\t\t// to ensure it doesn't invoke the same logic again, and potentially populating\n\t\t\t// the setters cache too early.\n\t\t\tset_attribute(node, prop, value == null ? value : String(value));\n\t\t}\n\t} finally {\n\t\tset_active_reaction(previous_reaction);\n\t\tset_active_effect(previous_effect);\n\t\tif (was_hydrating) {\n\t\t\tset_hydrating(true);\n\t\t}\n\t}\n}\n\n/**\n * Spreads attributes onto a DOM element, taking into account the currently set attributes\n * @param {Element & ElementCSSInlineStyle} element\n * @param {Record<string | symbol, any> | undefined} prev\n * @param {Record<string | symbol, any>} next New attributes - this function mutates this object\n * @param {string} [css_hash]\n * @param {boolean} [should_remove_defaults]\n * @param {boolean} [skip_warning]\n * @returns {Record<string, any>}\n */\nfunction set_attributes(\n\telement,\n\tprev,\n\tnext,\n\tcss_hash,\n\tshould_remove_defaults = false,\n\tskip_warning = false\n) {\n\tif (hydrating && should_remove_defaults && element.tagName === 'INPUT') {\n\t\tvar input = /** @type {HTMLInputElement} */ (element);\n\t\tvar attribute = input.type === 'checkbox' ? 'defaultChecked' : 'defaultValue';\n\n\t\tif (!(attribute in next)) {\n\t\t\tremove_input_defaults(input);\n\t\t}\n\t}\n\n\tvar attributes = get_attributes(element);\n\n\tvar is_custom_element = attributes[IS_CUSTOM_ELEMENT];\n\tvar preserve_attribute_case = !attributes[IS_HTML];\n\n\t// If we're hydrating but the custom element is from Svelte, and it already scaffolded,\n\t// then it might run block logic in hydration mode, which we have to prevent.\n\tlet is_hydrating_custom_element = hydrating && is_custom_element;\n\tif (is_hydrating_custom_element) {\n\t\tset_hydrating(false);\n\t}\n\n\tvar current = prev || {};\n\tvar is_option_element = element.tagName === 'OPTION';\n\n\tfor (var key in prev) {\n\t\tif (!(key in next)) {\n\t\t\tnext[key] = null;\n\t\t}\n\t}\n\n\tif (next.class) {\n\t\tnext.class = clsx(next.class);\n\t} else if (css_hash || next[CLASS]) {\n\t\tnext.class = null; /* force call to set_class() */\n\t}\n\n\tif (next[STYLE]) {\n\t\tnext.style ??= null; /* force call to set_style() */\n\t}\n\n\tvar setters = get_setters(element);\n\n\t// since key is captured we use const\n\tfor (const key in next) {\n\t\t// let instead of var because referenced in a closure\n\t\tlet value = next[key];\n\n\t\t// Up here because we want to do this for the initial value, too, even if it's undefined,\n\t\t// and this wouldn't be reached in case of undefined because of the equality check below\n\t\tif (is_option_element && key === 'value' && value == null) {\n\t\t\t// The <option> element is a special case because removing the value attribute means\n\t\t\t// the value is set to the text content of the option element, and setting the value\n\t\t\t// to null or undefined means the value is set to the string \"null\" or \"undefined\".\n\t\t\t// To align with how we handle this case in non-spread-scenarios, this logic is needed.\n\t\t\t// There's a super-edge-case bug here that is left in in favor of smaller code size:\n\t\t\t// Because of the \"set missing props to null\" logic above, we can't differentiate\n\t\t\t// between a missing value and an explicitly set value of null or undefined. That means\n\t\t\t// that once set, the value attribute of an <option> element can't be removed. This is\n\t\t\t// a very rare edge case, and removing the attribute altogether isn't possible either\n\t\t\t// for the <option value={undefined}> case, so we're not losing any functionality here.\n\t\t\t// @ts-ignore\n\t\t\telement.value = element.__value = '';\n\t\t\tcurrent[key] = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key === 'class') {\n\t\t\tvar is_html = element.namespaceURI === 'http://www.w3.org/1999/xhtml';\n\t\t\tset_class(element, is_html, value, css_hash, prev?.[CLASS], next[CLASS]);\n\t\t\tcurrent[key] = value;\n\t\t\tcurrent[CLASS] = next[CLASS];\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key === 'style') {\n\t\t\tset_style(element, value, prev?.[STYLE], next[STYLE]);\n\t\t\tcurrent[key] = value;\n\t\t\tcurrent[STYLE] = next[STYLE];\n\t\t\tcontinue;\n\t\t}\n\n\t\tvar prev_value = current[key];\n\n\t\t// Skip if value is unchanged, unless it's `undefined` and the element still has the attribute\n\t\tif (value === prev_value && !(value === undefined && element.hasAttribute(key))) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tcurrent[key] = value;\n\n\t\tvar prefix = key[0] + key[1]; // this is faster than key.slice(0, 2)\n\t\tif (prefix === '$$') continue;\n\n\t\tif (prefix === 'on') {\n\t\t\t/** @type {{ capture?: true }} */\n\t\t\tconst opts = {};\n\t\t\tconst event_handle_key = '$$' + key;\n\t\t\tlet event_name = key.slice(2);\n\t\t\tvar delegated = is_delegated(event_name);\n\n\t\t\tif (is_capture_event(event_name)) {\n\t\t\t\tevent_name = event_name.slice(0, -7);\n\t\t\t\topts.capture = true;\n\t\t\t}\n\n\t\t\tif (!delegated && prev_value) {\n\t\t\t\t// Listening to same event but different handler -> our handle function below takes care of this\n\t\t\t\t// If we were to remove and add listeners in this case, it could happen that the event is \"swallowed\"\n\t\t\t\t// (the browser seems to not know yet that a new one exists now) and doesn't reach the handler\n\t\t\t\t// https://github.com/sveltejs/svelte/issues/11903\n\t\t\t\tif (value != null) continue;\n\n\t\t\t\telement.removeEventListener(event_name, current[event_handle_key], opts);\n\t\t\t\tcurrent[event_handle_key] = null;\n\t\t\t}\n\n\t\t\tif (value != null) {\n\t\t\t\tif (!delegated) {\n\t\t\t\t\t/**\n\t\t\t\t\t * @this {any}\n\t\t\t\t\t * @param {Event} evt\n\t\t\t\t\t */\n\t\t\t\t\tfunction handle(evt) {\n\t\t\t\t\t\tcurrent[key].call(this, evt);\n\t\t\t\t\t}\n\n\t\t\t\t\tcurrent[event_handle_key] = create_event(event_name, element, handle, opts);\n\t\t\t\t} else {\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\telement[`__${event_name}`] = value;\n\t\t\t\t\tdelegate([event_name]);\n\t\t\t\t}\n\t\t\t} else if (delegated) {\n\t\t\t\t// @ts-ignore\n\t\t\t\telement[`__${event_name}`] = undefined;\n\t\t\t}\n\t\t} else if (key === 'style') {\n\t\t\t// avoid using the setter\n\t\t\tset_attribute(element, key, value);\n\t\t} else if (key === 'autofocus') {\n\t\t\tautofocus(/** @type {HTMLElement} */ (element), Boolean(value));\n\t\t} else if (!is_custom_element && (key === '__value' || (key === 'value' && value != null))) {\n\t\t\t// @ts-ignore We're not running this for custom elements because __value is actually\n\t\t\t// how Lit stores the current value on the element, and messing with that would break things.\n\t\t\telement.value = element.__value = value;\n\t\t} else if (key === 'selected' && is_option_element) {\n\t\t\tset_selected(/** @type {HTMLOptionElement} */ (element), value);\n\t\t} else {\n\t\t\tvar name = key;\n\t\t\tif (!preserve_attribute_case) {\n\t\t\t\tname = normalize_attribute(name);\n\t\t\t}\n\n\t\t\tvar is_default = name === 'defaultValue' || name === 'defaultChecked';\n\n\t\t\tif (value == null && !is_custom_element && !is_default) {\n\t\t\t\tattributes[key] = null;\n\n\t\t\t\tif (name === 'value' || name === 'checked') {\n\t\t\t\t\t// removing value/checked also removes defaultValue/defaultChecked — preserve\n\t\t\t\t\tlet input = /** @type {HTMLInputElement} */ (element);\n\t\t\t\t\tconst use_default = prev === undefined;\n\t\t\t\t\tif (name === 'value') {\n\t\t\t\t\t\tlet previous = input.defaultValue;\n\t\t\t\t\t\tinput.removeAttribute(name);\n\t\t\t\t\t\tinput.defaultValue = previous;\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\tinput.value = input.__value = use_default ? previous : null;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlet previous = input.defaultChecked;\n\t\t\t\t\t\tinput.removeAttribute(name);\n\t\t\t\t\t\tinput.defaultChecked = previous;\n\t\t\t\t\t\tinput.checked = use_default ? previous : false;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\telement.removeAttribute(key);\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\tis_default ||\n\t\t\t\t(setters.includes(name) && (is_custom_element || typeof value !== 'string'))\n\t\t\t) {\n\t\t\t\t// @ts-ignore\n\t\t\t\telement[name] = value;\n\t\t\t\t// remove it from attributes's cache\n\t\t\t\tif (name in attributes) attributes[name] = UNINITIALIZED;\n\t\t\t} else if (typeof value !== 'function') {\n\t\t\t\tset_attribute(element, name, value, skip_warning);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (is_hydrating_custom_element) {\n\t\tset_hydrating(true);\n\t}\n\n\treturn current;\n}\n\n/**\n * @param {Element & ElementCSSInlineStyle} element\n * @param {(...expressions: any) => Record<string | symbol, any>} fn\n * @param {Array<() => any>} sync\n * @param {Array<() => Promise<any>>} async\n * @param {string} [css_hash]\n * @param {boolean} [should_remove_defaults]\n * @param {boolean} [skip_warning]\n */\nexport function attribute_effect(\n\telement,\n\tfn,\n\tsync = [],\n\tasync = [],\n\tcss_hash,\n\tshould_remove_defaults = false,\n\tskip_warning = false\n) {\n\tflatten(sync, async, (values) => {\n\t\t/** @type {Record<string | symbol, any> | undefined} */\n\t\tvar prev = undefined;\n\n\t\t/** @type {Record<symbol, Effect>} */\n\t\tvar effects = {};\n\n\t\tvar is_select = element.nodeName === 'SELECT';\n\t\tvar inited = false;\n\n\t\tblock(() => {\n\t\t\tvar next = fn(...values.map(get));\n\t\t\t/** @type {Record<string | symbol, any>} */\n\t\t\tvar current = set_attributes(\n\t\t\t\telement,\n\t\t\t\tprev,\n\t\t\t\tnext,\n\t\t\t\tcss_hash,\n\t\t\t\tshould_remove_defaults,\n\t\t\t\tskip_warning\n\t\t\t);\n\n\t\t\tif (inited && is_select && 'value' in next) {\n\t\t\t\tselect_option(/** @type {HTMLSelectElement} */ (element), next.value);\n\t\t\t}\n\n\t\t\tfor (let symbol of Object.getOwnPropertySymbols(effects)) {\n\t\t\t\tif (!next[symbol]) destroy_effect(effects[symbol]);\n\t\t\t}\n\n\t\t\tfor (let symbol of Object.getOwnPropertySymbols(next)) {\n\t\t\t\tvar n = next[symbol];\n\n\t\t\t\tif (symbol.description === ATTACHMENT_KEY && (!prev || n !== prev[symbol])) {\n\t\t\t\t\tif (effects[symbol]) destroy_effect(effects[symbol]);\n\t\t\t\t\teffects[symbol] = branch(() => attach(element, () => n));\n\t\t\t\t}\n\n\t\t\t\tcurrent[symbol] = n;\n\t\t\t}\n\n\t\t\tprev = current;\n\t\t});\n\n\t\tif (is_select) {\n\t\t\tvar select = /** @type {HTMLSelectElement} */ (element);\n\n\t\t\teffect(() => {\n\t\t\t\tselect_option(select, /** @type {Record<string | symbol, any>} */ (prev).value, true);\n\t\t\t\tinit_select(select);\n\t\t\t});\n\t\t}\n\n\t\tinited = true;\n\t});\n}\n\n/**\n *\n * @param {Element} element\n */\nfunction get_attributes(element) {\n\treturn /** @type {Record<string | symbol, unknown>} **/ (\n\t\t// @ts-expect-error\n\t\telement.__attributes ??= {\n\t\t\t[IS_CUSTOM_ELEMENT]: element.nodeName.includes('-'),\n\t\t\t[IS_HTML]: element.namespaceURI === NAMESPACE_HTML\n\t\t}\n\t);\n}\n\n/** @type {Map<string, string[]>} */\nvar setters_cache = new Map();\n\n/** @param {Element} element */\nfunction get_setters(element) {\n\tvar cache_key = element.getAttribute('is') || element.nodeName;\n\tvar setters = setters_cache.get(cache_key);\n\tif (setters) return setters;\n\tsetters_cache.set(cache_key, (setters = []));\n\n\tvar descriptors;\n\tvar proto = element; // In the case of custom elements there might be setters on the instance\n\tvar element_proto = Element.prototype;\n\n\t// Stop at Element, from there on there's only unnecessary setters we're not interested in\n\t// Do not use contructor.name here as that's unreliable in some browser environments\n\twhile (element_proto !== proto) {\n\t\tdescriptors = get_descriptors(proto);\n\n\t\tfor (var key in descriptors) {\n\t\t\tif (descriptors[key].set) {\n\t\t\t\tsetters.push(key);\n\t\t\t}\n\t\t}\n\n\t\tproto = get_prototype_of(proto);\n\t}\n\n\treturn setters;\n}\n\n/**\n * @param {any} element\n * @param {string} attribute\n * @param {string} value\n */\nfunction check_src_in_dev_hydration(element, attribute, value) {\n\tif (!DEV) return;\n\tif (attribute === 'srcset' && srcset_url_equal(element, value)) return;\n\tif (src_url_equal(element.getAttribute(attribute) ?? '', value)) return;\n\n\tw.hydration_attribute_changed(\n\t\tattribute,\n\t\telement.outerHTML.replace(element.innerHTML, element.innerHTML && '...'),\n\t\tString(value)\n\t);\n}\n\n/**\n * @param {string} element_src\n * @param {string} url\n * @returns {boolean}\n */\nfunction src_url_equal(element_src, url) {\n\tif (element_src === url) return true;\n\treturn new URL(element_src, document.baseURI).href === new URL(url, document.baseURI).href;\n}\n\n/** @param {string} srcset */\nfunction split_srcset(srcset) {\n\treturn srcset.split(',').map((src) => src.trim().split(' ').filter(Boolean));\n}\n\n/**\n * @param {HTMLSourceElement | HTMLImageElement} element\n * @param {string} srcset\n * @returns {boolean}\n */\nfunction srcset_url_equal(element, srcset) {\n\tvar element_urls = split_srcset(element.srcset);\n\tvar urls = split_srcset(srcset);\n\n\treturn (\n\t\turls.length === element_urls.length &&\n\t\turls.every(\n\t\t\t([url, width], i) =>\n\t\t\t\twidth === element_urls[i][1] &&\n\t\t\t\t// We need to test both ways because Vite will create an a full URL with\n\t\t\t\t// `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the\n\t\t\t\t// relative URLs inside srcset are not automatically resolved to absolute URLs by\n\t\t\t\t// browsers (in contrast to img.src). This means both SSR and DOM code could\n\t\t\t\t// contain relative or absolute URLs.\n\t\t\t\t(src_url_equal(element_urls[i][0], url) || src_url_equal(url, element_urls[i][0]))\n\t\t)\n\t);\n}\n"],"names":["attach","node","get_fn","fn","e","block","destroy_effect","branch","effect","update_styles","dom","prev","next","priority","key","value","set_style","prev_styles","next_styles","hydrating","next_style_attr","to_style","select_option","select","mounting","is_array","w.select_multiple_invalid_value","option","get_option_value","option_value","is","init_select","observer","teardown","bind_select_value","get","set","listen_to_event_and_reset_event","is_reset","query","selected_option","CLASS","STYLE","IS_CUSTOM_ELEMENT","IS_HTML","remove_input_defaults","input","already_removed","remove_defaults","set_attribute","checked","queue_idle_task","add_form_reset_listener","set_value","element","attributes","get_attributes","set_checked","set_selected","selected","attribute","skip_warning","LOADING_ATTR_SYMBOL","get_setters","set_attributes","css_hash","should_remove_defaults","is_custom_element","preserve_attribute_case","is_hydrating_custom_element","set_hydrating","current","is_option_element","clsx","setters","is_html","set_class","prev_value","prefix","opts","event_handle_key","event_name","delegated","is_delegated","is_capture_event","delegate","handle","evt","create_event","autofocus","name","normalize_attribute","is_default","use_default","previous","UNINITIALIZED","attribute_effect","sync","async","flatten","values","effects","is_select","inited","symbol","n","ATTACHMENT_KEY","NAMESPACE_HTML","setters_cache","cache_key","descriptors","proto","element_proto","get_descriptors","get_prototype_of"],"mappings":"mQAWO,SAAS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AiB,CACxB,CAACX,CAAiB,EAAGW,EAAQ,SAAS,SAAS,GAAG,EAClD,CAACV,CAAO,EAAGU,EAAQ,eAAiBqD,EACvC,EAEA,CAGA,IAAIC,EAAgB,IAAI,IAGxB,SAAS7C,EAAYT,EAAS,CAC7B,IAAIuD,EAAYvD,EAAQ,aAAa,IAAI,GAAKA,EAAQ,SAClDoB,EAAUkC,EAAc,IAAIC,CAAS,EACzC,GAAInC,EAAS,OAAOA,EACpBkC,EAAc,IAAIC,EAAYnC,EAAU,CAAA,CAAE,EAQ1C,QANIoC,EACAC,EAAQzD,EACR0D,EAAgB,QAAQ,UAIrBA,IAAkBD,GAAO,CAC/BD,EAAcG,GAAgBF,CAAK,EAEnC,QAASjG,KAAOgG,EACXA,EAAYhG,CAAG,EAAE,KACpB4D,EAAQ,KAAK5D,CAAG,EAIlBiG,EAAQG,GAAiBH,CAAK,CAC/B,CAEA,OAAOrC,CACR","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"attributes.js","sources":["../node_modules/svelte/src/internal/client/dom/elements/attachments.js","../node_modules/svelte/src/internal/client/dom/elements/style.js","../node_modules/svelte/src/internal/client/dom/elements/bindings/select.js","../node_modules/svelte/src/internal/client/dom/elements/attributes.js"],"sourcesContent":["/** @import { Effect } from '#client' */\nimport { block, branch, effect, destroy_effect } from '../../reactivity/effects.js';\n\n// TODO in 6.0 or 7.0, when we remove legacy mode, we can simplify this by\n// getting rid of the block/branch stuff and just letting the effect rip.\n// see https://github.com/sveltejs/svelte/pull/15962\n\n/**\n * @param {Element} node\n * @param {() => (node: Element) => void} get_fn\n */\nexport function attach(node, get_fn) {\n\t/** @type {false | undefined | ((node: Element) => void)} */\n\tvar fn = undefined;\n\n\t/** @type {Effect | null} */\n\tvar e;\n\n\tblock(() => {\n\t\tif (fn !== (fn = get_fn())) {\n\t\t\tif (e) {\n\t\t\t\tdestroy_effect(e);\n\t\t\t\te = null;\n\t\t\t}\n\n\t\t\tif (fn) {\n\t\t\t\te = branch(() => {\n\t\t\t\t\teffect(() => /** @type {(node: Element) => void} */ (fn)(node));\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t});\n}\n","import { to_style } from '../../../shared/attributes.js';\nimport { hydrating } from '../hydration.js';\n\n/**\n * @param {Element & ElementCSSInlineStyle} dom\n * @param {Record<string, any>} prev\n * @param {Record<string, any>} next\n * @param {string} [priority]\n */\nfunction update_styles(dom, prev = {}, next, priority) {\n\tfor (var key in next) {\n\t\tvar value = next[key];\n\n\t\tif (prev[key] !== value) {\n\t\t\tif (next[key] == null) {\n\t\t\t\tdom.style.removeProperty(key);\n\t\t\t} else {\n\t\t\t\tdom.style.setProperty(key, value, priority);\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {Element & ElementCSSInlineStyle} dom\n * @param {string | null} value\n * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [prev_styles]\n * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [next_styles]\n */\nexport function set_style(dom, value, prev_styles, next_styles) {\n\t// @ts-expect-error\n\tvar prev = dom.__style;\n\n\tif (hydrating || prev !== value) {\n\t\tvar next_style_attr = to_style(value, next_styles);\n\n\t\tif (!hydrating || next_style_attr !== dom.getAttribute('style')) {\n\t\t\tif (next_style_attr == null) {\n\t\t\t\tdom.removeAttribute('style');\n\t\t\t} else {\n\t\t\t\tdom.style.cssText = next_style_attr;\n\t\t\t}\n\t\t}\n\n\t\t// @ts-expect-error\n\t\tdom.__style = value;\n\t} else if (next_styles) {\n\t\tif (Array.isArray(next_styles)) {\n\t\t\tupdate_styles(dom, prev_styles?.[0], next_styles[0]);\n\t\t\tupdate_styles(dom, prev_styles?.[1], next_styles[1], 'important');\n\t\t} else {\n\t\t\tupdate_styles(dom, prev_styles, next_styles);\n\t\t}\n\t}\n\n\treturn next_styles;\n}\n","import { effect, teardown } from '../../../reactivity/effects.js';\nimport { listen_to_event_and_reset_event } from './shared.js';\nimport { is } from '../../../proxy.js';\nimport { is_array } from '../../../../shared/utils.js';\nimport * as w from '../../../warnings.js';\nimport { Batch, current_batch, previous_batch } from '../../../reactivity/batch.js';\n\n/**\n * Selects the correct option(s) (depending on whether this is a multiple select)\n * @template V\n * @param {HTMLSelectElement} select\n * @param {V} value\n * @param {boolean} mounting\n */\nexport function select_option(select, value, mounting = false) {\n\tif (select.multiple) {\n\t\t// If value is null or undefined, keep the selection as is\n\t\tif (value == undefined) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If not an array, warn and keep the selection as is\n\t\tif (!is_array(value)) {\n\t\t\treturn w.select_multiple_invalid_value();\n\t\t}\n\n\t\t// Otherwise, update the selection\n\t\tfor (var option of select.options) {\n\t\t\toption.selected = value.includes(get_option_value(option));\n\t\t}\n\n\t\treturn;\n\t}\n\n\tfor (option of select.options) {\n\t\tvar option_value = get_option_value(option);\n\t\tif (is(option_value, value)) {\n\t\t\toption.selected = true;\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (!mounting || value !== undefined) {\n\t\tselect.selectedIndex = -1; // no option should be selected\n\t}\n}\n\n/**\n * Selects the correct option(s) if `value` is given,\n * and then sets up a mutation observer to sync the\n * current selection to the dom when it changes. Such\n * changes could for example occur when options are\n * inside an `#each` block.\n * @param {HTMLSelectElement} select\n */\nexport function init_select(select) {\n\tvar observer = new MutationObserver(() => {\n\t\t// @ts-ignore\n\t\tselect_option(select, select.__value);\n\t\t// Deliberately don't update the potential binding value,\n\t\t// the model should be preserved unless explicitly changed\n\t});\n\n\tobserver.observe(select, {\n\t\t// Listen to option element changes\n\t\tchildList: true,\n\t\tsubtree: true, // because of <optgroup>\n\t\t// Listen to option element value attribute changes\n\t\t// (doesn't get notified of select value changes,\n\t\t// because that property is not reflected as an attribute)\n\t\tattributes: true,\n\t\tattributeFilter: ['value']\n\t});\n\n\tteardown(() => {\n\t\tobserver.disconnect();\n\t});\n}\n\n/**\n * @param {HTMLSelectElement} select\n * @param {() => unknown} get\n * @param {(value: unknown) => void} set\n * @returns {void}\n */\nexport function bind_select_value(select, get, set = get) {\n\tvar batches = new WeakSet();\n\tvar mounting = true;\n\n\tlisten_to_event_and_reset_event(select, 'change', (is_reset) => {\n\t\tvar query = is_reset ? '[selected]' : ':checked';\n\t\t/** @type {unknown} */\n\t\tvar value;\n\n\t\tif (select.multiple) {\n\t\t\tvalue = [].map.call(select.querySelectorAll(query), get_option_value);\n\t\t} else {\n\t\t\t/** @type {HTMLOptionElement | null} */\n\t\t\tvar selected_option =\n\t\t\t\tselect.querySelector(query) ??\n\t\t\t\t// will fall back to first non-disabled option if no option is selected\n\t\t\t\tselect.querySelector('option:not([disabled])');\n\t\t\tvalue = selected_option && get_option_value(selected_option);\n\t\t}\n\n\t\tset(value);\n\n\t\tif (current_batch !== null) {\n\t\t\tbatches.add(current_batch);\n\t\t}\n\t});\n\n\t// Needs to be an effect, not a render_effect, so that in case of each loops the logic runs after the each block has updated\n\teffect(() => {\n\t\tvar value = get();\n\n\t\tif (select === document.activeElement) {\n\t\t\t// we need both, because in non-async mode, render effects run before previous_batch is set\n\t\t\tvar batch = /** @type {Batch} */ (previous_batch ?? current_batch);\n\n\t\t\t// Don't update the <select> if it is focused. We can get here if, for example,\n\t\t\t// an update is deferred because of async work depending on the select:\n\t\t\t//\n\t\t\t// <select bind:value={selected}>...</select>\n\t\t\t// <p>{await find(selected)}</p>\n\t\t\tif (batches.has(batch)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tselect_option(select, value, mounting);\n\n\t\t// Mounting and value undefined -> take selection from dom\n\t\tif (mounting && value === undefined) {\n\t\t\t/** @type {HTMLOptionElement | null} */\n\t\t\tvar selected_option = select.querySelector(':checked');\n\t\t\tif (selected_option !== null) {\n\t\t\t\tvalue = get_option_value(selected_option);\n\t\t\t\tset(value);\n\t\t\t}\n\t\t}\n\n\t\t// @ts-ignore\n\t\tselect.__value = value;\n\t\tmounting = false;\n\t});\n\n\tinit_select(select);\n}\n\n/** @param {HTMLOptionElement} option */\nfunction get_option_value(option) {\n\t// __value only exists if the <option> has a value attribute\n\tif ('__value' in option) {\n\t\treturn option.__value;\n\t} else {\n\t\treturn option.value;\n\t}\n}\n","/** @import { Effect } from '#client' */\nimport { DEV } from 'esm-env';\nimport { hydrating, set_hydrating } from '../hydration.js';\nimport { get_descriptors, get_prototype_of } from '../../../shared/utils.js';\nimport { create_event, delegate } from './events.js';\nimport { add_form_reset_listener, autofocus } from './misc.js';\nimport * as w from '../../warnings.js';\nimport { LOADING_ATTR_SYMBOL } from '#client/constants';\nimport { queue_micro_task } from '../task.js';\nimport { is_capture_event, can_delegate_event, normalize_attribute } from '../../../../utils.js';\nimport {\n\tactive_effect,\n\tactive_reaction,\n\tget,\n\tset_active_effect,\n\tset_active_reaction\n} from '../../runtime.js';\nimport { attach } from './attachments.js';\nimport { clsx } from '../../../shared/attributes.js';\nimport { set_class } from './class.js';\nimport { set_style } from './style.js';\nimport { ATTACHMENT_KEY, NAMESPACE_HTML, UNINITIALIZED } from '../../../../constants.js';\nimport { block, branch, destroy_effect, effect } from '../../reactivity/effects.js';\nimport { init_select, select_option } from './bindings/select.js';\nimport { flatten } from '../../reactivity/async.js';\n\nexport const CLASS = Symbol('class');\nexport const STYLE = Symbol('style');\n\nconst IS_CUSTOM_ELEMENT = Symbol('is custom element');\nconst IS_HTML = Symbol('is html');\n\n/**\n * The value/checked attribute in the template actually corresponds to the defaultValue property, so we need\n * to remove it upon hydration to avoid a bug when someone resets the form value.\n * @param {HTMLInputElement} input\n * @returns {void}\n */\nexport function remove_input_defaults(input) {\n\tif (!hydrating) return;\n\n\tvar already_removed = false;\n\n\t// We try and remove the default attributes later, rather than sync during hydration.\n\t// Doing it sync during hydration has a negative impact on performance, but deferring the\n\t// work in an idle task alleviates this greatly. If a form reset event comes in before\n\t// the idle callback, then we ensure the input defaults are cleared just before.\n\tvar remove_defaults = () => {\n\t\tif (already_removed) return;\n\t\talready_removed = true;\n\n\t\t// Remove the attributes but preserve the values\n\t\tif (input.hasAttribute('value')) {\n\t\t\tvar value = input.value;\n\t\t\tset_attribute(input, 'value', null);\n\t\t\tinput.value = value;\n\t\t}\n\n\t\tif (input.hasAttribute('checked')) {\n\t\t\tvar checked = input.checked;\n\t\t\tset_attribute(input, 'checked', null);\n\t\t\tinput.checked = checked;\n\t\t}\n\t};\n\n\t// @ts-expect-error\n\tinput.__on_r = remove_defaults;\n\tqueue_micro_task(remove_defaults);\n\tadd_form_reset_listener();\n}\n\n/**\n * @param {Element} element\n * @param {any} value\n */\nexport function set_value(element, value) {\n\tvar attributes = get_attributes(element);\n\n\tif (\n\t\tattributes.value ===\n\t\t\t(attributes.value =\n\t\t\t\t// treat null and undefined the same for the initial value\n\t\t\t\tvalue ?? undefined) ||\n\t\t// @ts-expect-error\n\t\t// `progress` elements always need their value set when it's `0`\n\t\t(element.value === value && (value !== 0 || element.nodeName !== 'PROGRESS'))\n\t) {\n\t\treturn;\n\t}\n\n\t// @ts-expect-error\n\telement.value = value ?? '';\n}\n\n/**\n * @param {Element} element\n * @param {boolean} checked\n */\nexport function set_checked(element, checked) {\n\tvar attributes = get_attributes(element);\n\n\tif (\n\t\tattributes.checked ===\n\t\t(attributes.checked =\n\t\t\t// treat null and undefined the same for the initial value\n\t\t\tchecked ?? undefined)\n\t) {\n\t\treturn;\n\t}\n\n\t// @ts-expect-error\n\telement.checked = checked;\n}\n\n/**\n * Sets the `selected` attribute on an `option` element.\n * Not set through the property because that doesn't reflect to the DOM,\n * which means it wouldn't be taken into account when a form is reset.\n * @param {HTMLOptionElement} element\n * @param {boolean} selected\n */\nexport function set_selected(element, selected) {\n\tif (selected) {\n\t\t// The selected option could've changed via user selection, and\n\t\t// setting the value without this check would set it back.\n\t\tif (!element.hasAttribute('selected')) {\n\t\t\telement.setAttribute('selected', '');\n\t\t}\n\t} else {\n\t\telement.removeAttribute('selected');\n\t}\n}\n\n/**\n * Applies the default checked property without influencing the current checked property.\n * @param {HTMLInputElement} element\n * @param {boolean} checked\n */\nexport function set_default_checked(element, checked) {\n\tconst existing_value = element.checked;\n\telement.defaultChecked = checked;\n\telement.checked = existing_value;\n}\n\n/**\n * Applies the default value property without influencing the current value property.\n * @param {HTMLInputElement | HTMLTextAreaElement} element\n * @param {string} value\n */\nexport function set_default_value(element, value) {\n\tconst existing_value = element.value;\n\telement.defaultValue = value;\n\telement.value = existing_value;\n}\n\n/**\n * @param {Element} element\n * @param {string} attribute\n * @param {string | null} value\n * @param {boolean} [skip_warning]\n */\nexport function set_attribute(element, attribute, value, skip_warning) {\n\tvar attributes = get_attributes(element);\n\n\tif (hydrating) {\n\t\tattributes[attribute] = element.getAttribute(attribute);\n\n\t\tif (\n\t\t\tattribute === 'src' ||\n\t\t\tattribute === 'srcset' ||\n\t\t\t(attribute === 'href' && element.nodeName === 'LINK')\n\t\t) {\n\t\t\tif (!skip_warning) {\n\t\t\t\tcheck_src_in_dev_hydration(element, attribute, value ?? '');\n\t\t\t}\n\n\t\t\t// If we reset these attributes, they would result in another network request, which we want to avoid.\n\t\t\t// We assume they are the same between client and server as checking if they are equal is expensive\n\t\t\t// (we can't just compare the strings as they can be different between client and server but result in the\n\t\t\t// same url, so we would need to create hidden anchor elements to compare them)\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (attributes[attribute] === (attributes[attribute] = value)) return;\n\n\tif (attribute === 'loading') {\n\t\t// @ts-expect-error\n\t\telement[LOADING_ATTR_SYMBOL] = value;\n\t}\n\n\tif (value == null) {\n\t\telement.removeAttribute(attribute);\n\t} else if (typeof value !== 'string' && get_setters(element).includes(attribute)) {\n\t\t// @ts-ignore\n\t\telement[attribute] = value;\n\t} else {\n\t\telement.setAttribute(attribute, value);\n\t}\n}\n\n/**\n * @param {Element} dom\n * @param {string} attribute\n * @param {string} value\n */\nexport function set_xlink_attribute(dom, attribute, value) {\n\tdom.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\n\n/**\n * @param {HTMLElement} node\n * @param {string} prop\n * @param {any} value\n */\nexport function set_custom_element_data(node, prop, value) {\n\t// We need to ensure that setting custom element props, which can\n\t// invoke lifecycle methods on other custom elements, does not also\n\t// associate those lifecycle methods with the current active reaction\n\t// or effect\n\tvar previous_reaction = active_reaction;\n\tvar previous_effect = active_effect;\n\n\t// If we're hydrating but the custom element is from Svelte, and it already scaffolded,\n\t// then it might run block logic in hydration mode, which we have to prevent.\n\tlet was_hydrating = hydrating;\n\tif (hydrating) {\n\t\tset_hydrating(false);\n\t}\n\n\tset_active_reaction(null);\n\tset_active_effect(null);\n\n\ttry {\n\t\tif (\n\t\t\t// `style` should use `set_attribute` rather than the setter\n\t\t\tprop !== 'style' &&\n\t\t\t// Don't compute setters for custom elements while they aren't registered yet,\n\t\t\t// because during their upgrade/instantiation they might add more setters.\n\t\t\t// Instead, fall back to a simple \"an object, then set as property\" heuristic.\n\t\t\t(setters_cache.has(node.getAttribute('is') || node.nodeName) ||\n\t\t\t// customElements may not be available in browser extension contexts\n\t\t\t!customElements ||\n\t\t\tcustomElements.get(node.getAttribute('is') || node.tagName.toLowerCase())\n\t\t\t\t? get_setters(node).includes(prop)\n\t\t\t\t: value && typeof value === 'object')\n\t\t) {\n\t\t\t// @ts-expect-error\n\t\t\tnode[prop] = value;\n\t\t} else {\n\t\t\t// We did getters etc checks already, stringify before passing to set_attribute\n\t\t\t// to ensure it doesn't invoke the same logic again, and potentially populating\n\t\t\t// the setters cache too early.\n\t\t\tset_attribute(node, prop, value == null ? value : String(value));\n\t\t}\n\t} finally {\n\t\tset_active_reaction(previous_reaction);\n\t\tset_active_effect(previous_effect);\n\t\tif (was_hydrating) {\n\t\t\tset_hydrating(true);\n\t\t}\n\t}\n}\n\n/**\n * Spreads attributes onto a DOM element, taking into account the currently set attributes\n * @param {Element & ElementCSSInlineStyle} element\n * @param {Record<string | symbol, any> | undefined} prev\n * @param {Record<string | symbol, any>} next New attributes - this function mutates this object\n * @param {string} [css_hash]\n * @param {boolean} [should_remove_defaults]\n * @param {boolean} [skip_warning]\n * @returns {Record<string, any>}\n */\nfunction set_attributes(\n\telement,\n\tprev,\n\tnext,\n\tcss_hash,\n\tshould_remove_defaults = false,\n\tskip_warning = false\n) {\n\tif (hydrating && should_remove_defaults && element.tagName === 'INPUT') {\n\t\tvar input = /** @type {HTMLInputElement} */ (element);\n\t\tvar attribute = input.type === 'checkbox' ? 'defaultChecked' : 'defaultValue';\n\n\t\tif (!(attribute in next)) {\n\t\t\tremove_input_defaults(input);\n\t\t}\n\t}\n\n\tvar attributes = get_attributes(element);\n\n\tvar is_custom_element = attributes[IS_CUSTOM_ELEMENT];\n\tvar preserve_attribute_case = !attributes[IS_HTML];\n\n\t// If we're hydrating but the custom element is from Svelte, and it already scaffolded,\n\t// then it might run block logic in hydration mode, which we have to prevent.\n\tlet is_hydrating_custom_element = hydrating && is_custom_element;\n\tif (is_hydrating_custom_element) {\n\t\tset_hydrating(false);\n\t}\n\n\tvar current = prev || {};\n\tvar is_option_element = element.tagName === 'OPTION';\n\n\tfor (var key in prev) {\n\t\tif (!(key in next)) {\n\t\t\tnext[key] = null;\n\t\t}\n\t}\n\n\tif (next.class) {\n\t\tnext.class = clsx(next.class);\n\t} else if (css_hash || next[CLASS]) {\n\t\tnext.class = null; /* force call to set_class() */\n\t}\n\n\tif (next[STYLE]) {\n\t\tnext.style ??= null; /* force call to set_style() */\n\t}\n\n\tvar setters = get_setters(element);\n\n\t// since key is captured we use const\n\tfor (const key in next) {\n\t\t// let instead of var because referenced in a closure\n\t\tlet value = next[key];\n\n\t\t// Up here because we want to do this for the initial value, too, even if it's undefined,\n\t\t// and this wouldn't be reached in case of undefined because of the equality check below\n\t\tif (is_option_element && key === 'value' && value == null) {\n\t\t\t// The <option> element is a special case because removing the value attribute means\n\t\t\t// the value is set to the text content of the option element, and setting the value\n\t\t\t// to null or undefined means the value is set to the string \"null\" or \"undefined\".\n\t\t\t// To align with how we handle this case in non-spread-scenarios, this logic is needed.\n\t\t\t// There's a super-edge-case bug here that is left in in favor of smaller code size:\n\t\t\t// Because of the \"set missing props to null\" logic above, we can't differentiate\n\t\t\t// between a missing value and an explicitly set value of null or undefined. That means\n\t\t\t// that once set, the value attribute of an <option> element can't be removed. This is\n\t\t\t// a very rare edge case, and removing the attribute altogether isn't possible either\n\t\t\t// for the <option value={undefined}> case, so we're not losing any functionality here.\n\t\t\t// @ts-ignore\n\t\t\telement.value = element.__value = '';\n\t\t\tcurrent[key] = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key === 'class') {\n\t\t\tvar is_html = element.namespaceURI === 'http://www.w3.org/1999/xhtml';\n\t\t\tset_class(element, is_html, value, css_hash, prev?.[CLASS], next[CLASS]);\n\t\t\tcurrent[key] = value;\n\t\t\tcurrent[CLASS] = next[CLASS];\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key === 'style') {\n\t\t\tset_style(element, value, prev?.[STYLE], next[STYLE]);\n\t\t\tcurrent[key] = value;\n\t\t\tcurrent[STYLE] = next[STYLE];\n\t\t\tcontinue;\n\t\t}\n\n\t\tvar prev_value = current[key];\n\n\t\t// Skip if value is unchanged, unless it's `undefined` and the element still has the attribute\n\t\tif (value === prev_value && !(value === undefined && element.hasAttribute(key))) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tcurrent[key] = value;\n\n\t\tvar prefix = key[0] + key[1]; // this is faster than key.slice(0, 2)\n\t\tif (prefix === '$$') continue;\n\n\t\tif (prefix === 'on') {\n\t\t\t/** @type {{ capture?: true }} */\n\t\t\tconst opts = {};\n\t\t\tconst event_handle_key = '$$' + key;\n\t\t\tlet event_name = key.slice(2);\n\t\t\tvar delegated = can_delegate_event(event_name);\n\n\t\t\tif (is_capture_event(event_name)) {\n\t\t\t\tevent_name = event_name.slice(0, -7);\n\t\t\t\topts.capture = true;\n\t\t\t}\n\n\t\t\tif (!delegated && prev_value) {\n\t\t\t\t// Listening to same event but different handler -> our handle function below takes care of this\n\t\t\t\t// If we were to remove and add listeners in this case, it could happen that the event is \"swallowed\"\n\t\t\t\t// (the browser seems to not know yet that a new one exists now) and doesn't reach the handler\n\t\t\t\t// https://github.com/sveltejs/svelte/issues/11903\n\t\t\t\tif (value != null) continue;\n\n\t\t\t\telement.removeEventListener(event_name, current[event_handle_key], opts);\n\t\t\t\tcurrent[event_handle_key] = null;\n\t\t\t}\n\n\t\t\tif (value != null) {\n\t\t\t\tif (!delegated) {\n\t\t\t\t\t/**\n\t\t\t\t\t * @this {any}\n\t\t\t\t\t * @param {Event} evt\n\t\t\t\t\t */\n\t\t\t\t\tfunction handle(evt) {\n\t\t\t\t\t\tcurrent[key].call(this, evt);\n\t\t\t\t\t}\n\n\t\t\t\t\tcurrent[event_handle_key] = create_event(event_name, element, handle, opts);\n\t\t\t\t} else {\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\telement[`__${event_name}`] = value;\n\t\t\t\t\tdelegate([event_name]);\n\t\t\t\t}\n\t\t\t} else if (delegated) {\n\t\t\t\t// @ts-ignore\n\t\t\t\telement[`__${event_name}`] = undefined;\n\t\t\t}\n\t\t} else if (key === 'style') {\n\t\t\t// avoid using the setter\n\t\t\tset_attribute(element, key, value);\n\t\t} else if (key === 'autofocus') {\n\t\t\tautofocus(/** @type {HTMLElement} */ (element), Boolean(value));\n\t\t} else if (!is_custom_element && (key === '__value' || (key === 'value' && value != null))) {\n\t\t\t// @ts-ignore We're not running this for custom elements because __value is actually\n\t\t\t// how Lit stores the current value on the element, and messing with that would break things.\n\t\t\telement.value = element.__value = value;\n\t\t} else if (key === 'selected' && is_option_element) {\n\t\t\tset_selected(/** @type {HTMLOptionElement} */ (element), value);\n\t\t} else {\n\t\t\tvar name = key;\n\t\t\tif (!preserve_attribute_case) {\n\t\t\t\tname = normalize_attribute(name);\n\t\t\t}\n\n\t\t\tvar is_default = name === 'defaultValue' || name === 'defaultChecked';\n\n\t\t\tif (value == null && !is_custom_element && !is_default) {\n\t\t\t\tattributes[key] = null;\n\n\t\t\t\tif (name === 'value' || name === 'checked') {\n\t\t\t\t\t// removing value/checked also removes defaultValue/defaultChecked — preserve\n\t\t\t\t\tlet input = /** @type {HTMLInputElement} */ (element);\n\t\t\t\t\tconst use_default = prev === undefined;\n\t\t\t\t\tif (name === 'value') {\n\t\t\t\t\t\tlet previous = input.defaultValue;\n\t\t\t\t\t\tinput.removeAttribute(name);\n\t\t\t\t\t\tinput.defaultValue = previous;\n\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\tinput.value = input.__value = use_default ? previous : null;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlet previous = input.defaultChecked;\n\t\t\t\t\t\tinput.removeAttribute(name);\n\t\t\t\t\t\tinput.defaultChecked = previous;\n\t\t\t\t\t\tinput.checked = use_default ? previous : false;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\telement.removeAttribute(key);\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\tis_default ||\n\t\t\t\t(setters.includes(name) && (is_custom_element || typeof value !== 'string'))\n\t\t\t) {\n\t\t\t\t// @ts-ignore\n\t\t\t\telement[name] = value;\n\t\t\t\t// remove it from attributes's cache\n\t\t\t\tif (name in attributes) attributes[name] = UNINITIALIZED;\n\t\t\t} else if (typeof value !== 'function') {\n\t\t\t\tset_attribute(element, name, value, skip_warning);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (is_hydrating_custom_element) {\n\t\tset_hydrating(true);\n\t}\n\n\treturn current;\n}\n\n/**\n * @param {Element & ElementCSSInlineStyle} element\n * @param {(...expressions: any) => Record<string | symbol, any>} fn\n * @param {Array<() => any>} sync\n * @param {Array<() => Promise<any>>} async\n * @param {Array<Promise<void>>} blockers\n * @param {string} [css_hash]\n * @param {boolean} [should_remove_defaults]\n * @param {boolean} [skip_warning]\n */\nexport function attribute_effect(\n\telement,\n\tfn,\n\tsync = [],\n\tasync = [],\n\tblockers = [],\n\tcss_hash,\n\tshould_remove_defaults = false,\n\tskip_warning = false\n) {\n\tflatten(blockers, sync, async, (values) => {\n\t\t/** @type {Record<string | symbol, any> | undefined} */\n\t\tvar prev = undefined;\n\n\t\t/** @type {Record<symbol, Effect>} */\n\t\tvar effects = {};\n\n\t\tvar is_select = element.nodeName === 'SELECT';\n\t\tvar inited = false;\n\n\t\tblock(() => {\n\t\t\tvar next = fn(...values.map(get));\n\t\t\t/** @type {Record<string | symbol, any>} */\n\t\t\tvar current = set_attributes(\n\t\t\t\telement,\n\t\t\t\tprev,\n\t\t\t\tnext,\n\t\t\t\tcss_hash,\n\t\t\t\tshould_remove_defaults,\n\t\t\t\tskip_warning\n\t\t\t);\n\n\t\t\tif (inited && is_select && 'value' in next) {\n\t\t\t\tselect_option(/** @type {HTMLSelectElement} */ (element), next.value);\n\t\t\t}\n\n\t\t\tfor (let symbol of Object.getOwnPropertySymbols(effects)) {\n\t\t\t\tif (!next[symbol]) destroy_effect(effects[symbol]);\n\t\t\t}\n\n\t\t\tfor (let symbol of Object.getOwnPropertySymbols(next)) {\n\t\t\t\tvar n = next[symbol];\n\n\t\t\t\tif (symbol.description === ATTACHMENT_KEY && (!prev || n !== prev[symbol])) {\n\t\t\t\t\tif (effects[symbol]) destroy_effect(effects[symbol]);\n\t\t\t\t\teffects[symbol] = branch(() => attach(element, () => n));\n\t\t\t\t}\n\n\t\t\t\tcurrent[symbol] = n;\n\t\t\t}\n\n\t\t\tprev = current;\n\t\t});\n\n\t\tif (is_select) {\n\t\t\tvar select = /** @type {HTMLSelectElement} */ (element);\n\n\t\t\teffect(() => {\n\t\t\t\tselect_option(select, /** @type {Record<string | symbol, any>} */ (prev).value, true);\n\t\t\t\tinit_select(select);\n\t\t\t});\n\t\t}\n\n\t\tinited = true;\n\t});\n}\n\n/**\n *\n * @param {Element} element\n */\nfunction get_attributes(element) {\n\treturn /** @type {Record<string | symbol, unknown>} **/ (\n\t\t// @ts-expect-error\n\t\telement.__attributes ??= {\n\t\t\t[IS_CUSTOM_ELEMENT]: element.nodeName.includes('-'),\n\t\t\t[IS_HTML]: element.namespaceURI === NAMESPACE_HTML\n\t\t}\n\t);\n}\n\n/** @type {Map<string, string[]>} */\nvar setters_cache = new Map();\n\n/** @param {Element} element */\nfunction get_setters(element) {\n\tvar cache_key = element.getAttribute('is') || element.nodeName;\n\tvar setters = setters_cache.get(cache_key);\n\tif (setters) return setters;\n\tsetters_cache.set(cache_key, (setters = []));\n\n\tvar descriptors;\n\tvar proto = element; // In the case of custom elements there might be setters on the instance\n\tvar element_proto = Element.prototype;\n\n\t// Stop at Element, from there on there's only unnecessary setters we're not interested in\n\t// Do not use contructor.name here as that's unreliable in some browser environments\n\twhile (element_proto !== proto) {\n\t\tdescriptors = get_descriptors(proto);\n\n\t\tfor (var key in descriptors) {\n\t\t\tif (descriptors[key].set) {\n\t\t\t\tsetters.push(key);\n\t\t\t}\n\t\t}\n\n\t\tproto = get_prototype_of(proto);\n\t}\n\n\treturn setters;\n}\n\n/**\n * @param {any} element\n * @param {string} attribute\n * @param {string} value\n */\nfunction check_src_in_dev_hydration(element, attribute, value) {\n\tif (!DEV) return;\n\tif (attribute === 'srcset' && srcset_url_equal(element, value)) return;\n\tif (src_url_equal(element.getAttribute(attribute) ?? '', value)) return;\n\n\tw.hydration_attribute_changed(\n\t\tattribute,\n\t\telement.outerHTML.replace(element.innerHTML, element.innerHTML && '...'),\n\t\tString(value)\n\t);\n}\n\n/**\n * @param {string} element_src\n * @param {string} url\n * @returns {boolean}\n */\nfunction src_url_equal(element_src, url) {\n\tif (element_src === url) return true;\n\treturn new URL(element_src, document.baseURI).href === new URL(url, document.baseURI).href;\n}\n\n/** @param {string} srcset */\nfunction split_srcset(srcset) {\n\treturn srcset.split(',').map((src) => src.trim().split(' ').filter(Boolean));\n}\n\n/**\n * @param {HTMLSourceElement | HTMLImageElement} element\n * @param {string} srcset\n * @returns {boolean}\n */\nfunction srcset_url_equal(element, srcset) {\n\tvar element_urls = split_srcset(element.srcset);\n\tvar urls = split_srcset(srcset);\n\n\treturn (\n\t\turls.length === element_urls.length &&\n\t\turls.every(\n\t\t\t([url, width], i) =>\n\t\t\t\twidth === element_urls[i][1] &&\n\t\t\t\t// We need to test both ways because Vite will create an a full URL with\n\t\t\t\t// `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the\n\t\t\t\t// relative URLs inside srcset are not automatically resolved to absolute URLs by\n\t\t\t\t// browsers (in contrast to img.src). This means both SSR and DOM code could\n\t\t\t\t// contain relative or absolute URLs.\n\t\t\t\t(src_url_equal(element_urls[i][0], url) || src_url_equal(url, element_urls[i][0]))\n\t\t)\n\t);\n}\n"],"names":["attach","node","get_fn","fn","e","block","destroy_effect","branch","effect","update_styles","dom","prev","next","priority","key","value","set_style","prev_styles","next_styles","hydrating","next_style_attr","to_style","select_option","select","mounting","is_array","w.select_multiple_invalid_value","option","get_option_value","option_value","is","init_select","observer","teardown","bind_select_value","get","set","batches","listen_to_event_and_reset_event","is_reset","query","selected_option","current_batch","batch","previous_batch","CLASS","STYLE","IS_CUSTOM_ELEMENT","IS_HTML","remove_input_defaults","input","already_removed","remove_defaults","set_attribute","checked","queue_micro_task","add_form_reset_listener","set_value","element","attributes","get_attributes","set_selected","selected","attribute","skip_warning","LOADING_ATTR_SYMBOL","get_setters","set_attributes","css_hash","should_remove_defaults","is_custom_element","preserve_attribute_case","is_hydrating_custom_element","set_hydrating","current","is_option_element","clsx","setters","is_html","set_class","prev_value","prefix","opts","event_handle_key","event_name","delegated","can_delegate_event","is_capture_event","delegate","handle","evt","create_event","autofocus","name","normalize_attribute","is_default","use_default","previous","UNINITIALIZED","attribute_effect","sync","async","blockers","flatten","values","effects","is_select","inited","symbol","n","ATTACHMENT_KEY","NAMESPACE_HTML","setters_cache","cache_key","descriptors","proto","element_proto","get_descriptors","get_prototype_of"],"mappings":"qSAWO,SAASA,GAAOC,EAAMC,EAAQ,CAEpC,IAAIC,EAAK,OAGLC,EAEJC,EAAM,IAAM,CACPF,KAAQA,EAAKD,EAAM,KAClBE,IACHE,EAAeF,CAAC,EAChBA,EAAI,MAGDD,IACHC,EAAIG,EAAO,IAAM,CAChBC,EAAO,IAA8CL,EAAIF,CAAI,CAAC,CAC/D,CAAC,GAGJ,CAAC,C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AClDmB,EAAUmC,EAAc,IAAIC,CAAS,EACzC,GAAIpC,EAAS,OAAOA,EACpBmC,EAAc,IAAIC,EAAYpC,EAAU,CAAA,CAAE,EAQ1C,QANIqC,EACAC,EAAQzD,EACR0D,EAAgB,QAAQ,UAIrBA,IAAkBD,GAAO,CAC/BD,EAAcG,GAAgBF,CAAK,EAEnC,QAASrG,KAAOoG,EACXA,EAAYpG,CAAG,EAAE,KACpB+D,EAAQ,KAAK/D,CAAG,EAIlBqG,EAAQG,GAAiBH,CAAK,CAC/B,CAEA,OAAOtC,CACR","x_google_ignoreList":[0,1,2,3]}
package/dist/bundle.d.ts CHANGED
@@ -2,14 +2,18 @@ import './components/avatar/Avatar.js';
2
2
  import './components/breadcrumb/Breadcrumb.js';
3
3
  import './components/button/Button.js';
4
4
  import './components/callout/Callout.js';
5
+ import './components/carousel/Carousel.js';
5
6
  import './components/checkbox/Checkbox.js';
6
7
  import './components/checkboxgroup/CheckboxGroup.js';
7
8
  import './components/circularprogressbar/CircularProgressbar.js';
9
+ import './components/container/Container.js';
8
10
  import './components/datepicker/Datepicker.js';
11
+ import './components/divider/Divider.js';
9
12
  import './components/drawer/Drawer.js';
10
13
  import './components/field/Field.js';
11
14
  import './components/flag/Flag.js';
12
15
  import './components/iconbutton/IconButton.js';
16
+ import './components/kpiitem/KpiItem.js';
13
17
  import './components/linearprogressbarbuffer/LinearProgressbarBuffer.js';
14
18
  import './components/linearprogressbarpercentage/LinearProgressbarPercentage.js';
15
19
  import './components/link/Link.js';
@@ -20,22 +24,21 @@ import './components/numberbadge/NumberBadge.js';
20
24
  import './components/overlay/Overlay.js';
21
25
  import './components/pagination/Pagination.js';
22
26
  import './components/passwordinput/PasswordInput.js';
27
+ import './components/phonenumber/PhoneNumber.js';
23
28
  import './components/pincode/Pincode.js';
24
29
  import './components/quantityselector/QuantitySelector.js';
25
30
  import './components/radio/Radio.js';
26
31
  import './components/radiogroup/RadioGroup.js';
27
32
  import './components/select/Select.js';
33
+ import './components/starrating/StarRating.js';
28
34
  import './components/statusbadge/StatusBadge.js';
29
35
  import './components/statusdot/StatusDot.js';
36
+ import './components/statusmessage/StatusMessage.js';
30
37
  import './components/statusnotification/StatusNotification.js';
31
38
  import './components/segmentedcontrol/SegmentedControl.js';
32
39
  import './components/tab/Tab.js';
33
40
  import './components/tabs/Tabs.js';
34
- import './components/tags/Tag.js';
35
- import './components/tags/TagContextualised.js';
36
- import './components/tags/TagInteractive.js';
37
- import './components/tags/TagRemovable.js';
38
- import './components/tags/TagSelectable.js';
41
+ import './components/tag/Tag.js';
39
42
  import './components/textarea/Textarea.js';
40
43
  import './components/textinput/Textinput.js';
41
44
  import './components/toaster/Toaster.js';