@rededor/cura 1.7.1 → 1.8.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 (556) hide show
  1. package/dist/cjs/cura-accordion_20.cjs.entry.js +485 -138
  2. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +1 -1
  3. package/dist/cjs/cura-alert.cjs.entry.js +9 -12
  4. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-alert.entry.cjs.js.map +1 -0
  6. package/dist/cjs/cura-badge-counter.cjs.entry.js +16 -8
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
  8. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +1 -0
  9. package/dist/cjs/cura-badge-dot.cjs.entry.js +14 -5
  10. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +1 -0
  12. package/dist/cjs/cura-badge-pill.cjs.entry.js +23 -7
  13. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  14. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +1 -0
  15. package/dist/cjs/cura-button-outline.cjs.entry.js +46 -8
  16. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-button-outline.entry.cjs.js.map +1 -0
  18. package/dist/cjs/cura-button-select.cjs.entry.js +7 -12
  19. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  20. package/dist/cjs/cura-button-select.entry.cjs.js.map +1 -0
  21. package/dist/cjs/{cura-button.definitions-f036371c.js → cura-button.definitions-B3SK8MaV.js} +2 -1
  22. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +1 -0
  23. package/dist/cjs/cura-calendar.cjs.entry.js +203 -94
  24. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  25. package/dist/cjs/cura-calendar.entry.cjs.js.map +1 -0
  26. package/dist/cjs/cura-card.cjs.entry.js +34 -6
  27. package/dist/cjs/cura-card.cjs.entry.js.map +1 -1
  28. package/dist/cjs/cura-card.entry.cjs.js.map +1 -0
  29. package/dist/cjs/cura-checkbox.cjs.entry.js +72 -20
  30. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  31. package/dist/cjs/cura-checkbox.entry.cjs.js.map +1 -0
  32. package/dist/cjs/cura-display.cjs.entry.js +25 -7
  33. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  34. package/dist/cjs/cura-display.entry.cjs.js.map +1 -0
  35. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +5 -6
  36. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -1
  37. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +1 -0
  38. package/dist/cjs/{cura-forms.definitions-c164f1b8.js → cura-forms.definitions-DVLuO67c.js} +2 -1
  39. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +1 -0
  40. package/dist/cjs/{cura-icon.definitions-5223028b.js → cura-icon.definitions-DT0wF67y.js} +2 -1
  41. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +1 -0
  42. package/dist/cjs/cura-icons-view.cjs.entry.js +7 -8
  43. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  44. package/dist/cjs/cura-icons-view.entry.cjs.js.map +1 -0
  45. package/dist/cjs/cura-input-date.cjs.entry.js +32 -15
  46. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  47. package/dist/cjs/cura-input-date.entry.cjs.js.map +1 -0
  48. package/dist/cjs/cura-loader-bar.cjs.entry.js +4 -5
  49. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +1 -1
  50. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +1 -0
  51. package/dist/cjs/cura-modal.cjs.entry.js +46 -15
  52. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  53. package/dist/cjs/cura-modal.entry.cjs.js.map +1 -0
  54. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +1 -0
  55. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +25 -15
  56. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/cura-radio.cjs.entry.js +73 -21
  58. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
  59. package/dist/cjs/cura-radio.entry.cjs.js.map +1 -0
  60. package/dist/cjs/cura-stepper.cjs.entry.js +23 -6
  61. package/dist/cjs/cura-stepper.cjs.entry.js.map +1 -1
  62. package/dist/cjs/cura-stepper.entry.cjs.js.map +1 -0
  63. package/dist/cjs/cura-switch.cjs.entry.js +61 -18
  64. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
  65. package/dist/cjs/cura-switch.entry.cjs.js.map +1 -0
  66. package/dist/cjs/cura-tabs-button.cjs.entry.js +6 -9
  67. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +1 -1
  68. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +1 -0
  69. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +6 -9
  70. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +1 -1
  71. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +1 -0
  72. package/dist/cjs/{cura-tabs.definitions-b8955ad4.js → cura-tabs.definitions-CGqqGE2e.js} +2 -1
  73. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +1 -0
  74. package/dist/cjs/{cura-theme-module-09bb63a4.js → cura-theme-module-CJkmAxBA.js} +94 -9
  75. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +1 -0
  76. package/dist/cjs/cura-toast.cjs.entry.js +8 -11
  77. package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
  78. package/dist/cjs/cura-toast.entry.cjs.js.map +1 -0
  79. package/dist/cjs/cura-tooltip.cjs.entry.js +9 -11
  80. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  81. package/dist/cjs/cura-tooltip.entry.cjs.js.map +1 -0
  82. package/dist/cjs/cura.cjs.js +9 -10
  83. package/dist/cjs/cura.cjs.js.map +1 -1
  84. package/dist/cjs/{index-60783089.js → index-BK9MSAiE.js} +947 -289
  85. package/dist/cjs/index-BK9MSAiE.js.map +1 -0
  86. package/dist/cjs/{index-6dc29195.js → index-EyP6Zlkd.js} +2 -1
  87. package/dist/cjs/index-EyP6Zlkd.js.map +1 -0
  88. package/dist/cjs/index.cjs.js +2 -4
  89. package/dist/cjs/index.cjs.js.map +1 -1
  90. package/dist/cjs/loader.cjs.js +5 -8
  91. package/dist/cjs/loader.cjs.js.map +1 -1
  92. package/dist/collection/collection-manifest.json +1 -1
  93. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +57 -18
  94. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  95. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +45 -9
  96. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  97. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +24 -7
  98. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +1 -1
  99. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +8 -4
  100. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +1 -1
  101. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +19 -3
  102. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +1 -1
  103. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +40 -9
  104. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +1 -1
  105. package/dist/collection/components/buttons/cura-button/cura-button.js +86 -17
  106. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  107. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +86 -17
  108. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  109. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +25 -13
  110. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  111. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +81 -16
  112. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  113. package/dist/collection/components/cura-alert/cura-alert.js +19 -11
  114. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  115. package/dist/collection/components/cura-avatar/cura-avatar.js +48 -13
  116. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -1
  117. package/dist/collection/components/cura-calendar/cura-calendar.js +196 -24
  118. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  119. package/dist/collection/components/cura-card/cura-card.js +48 -7
  120. package/dist/collection/components/cura-card/cura-card.js.map +1 -1
  121. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +31 -9
  122. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -1
  123. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +91 -28
  124. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  125. package/dist/collection/components/cura-icon/cura-icon.js +15 -6
  126. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  127. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  128. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  129. package/dist/collection/components/cura-modal/cura-modal.css +0 -1
  130. package/dist/collection/components/cura-modal/cura-modal.js +65 -17
  131. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -1
  132. package/dist/collection/components/cura-page-template/cura-page-template.js +3 -1
  133. package/dist/collection/components/cura-page-template/cura-page-template.js.map +1 -1
  134. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +21 -8
  135. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +1 -1
  136. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +26 -9
  137. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +1 -1
  138. package/dist/collection/components/cura-stepper/cura-stepper.js +34 -6
  139. package/dist/collection/components/cura-stepper/cura-stepper.js.map +1 -1
  140. package/dist/collection/components/cura-toast/cura-toast.js +24 -12
  141. package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
  142. package/dist/collection/components/cura-tooltip/cura-tooltip.js +25 -12
  143. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -1
  144. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +114 -29
  145. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
  146. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +1 -1
  147. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +74 -16
  148. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
  149. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +13 -0
  150. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
  151. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +132 -28
  152. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  153. package/dist/collection/components/forms/cura-label/cura-label.js +46 -9
  154. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  155. package/dist/collection/components/forms/cura-radio/cura-radio.js +109 -28
  156. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
  157. package/dist/collection/components/forms/cura-select/cura-select.js +114 -34
  158. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  159. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +13 -6
  160. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -1
  161. package/dist/collection/components/forms/cura-switch/cura-switch.js +85 -21
  162. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
  163. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +6 -2
  164. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +1 -1
  165. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +14 -4
  166. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
  167. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +21 -9
  168. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +1 -1
  169. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +21 -9
  170. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +1 -1
  171. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +9 -3
  172. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +1 -1
  173. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +21 -9
  174. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +1 -1
  175. package/dist/collection/components/text/cura-display/cura-display.js +39 -8
  176. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  177. package/dist/collection/components/text/cura-heading/cura-heading.js +53 -10
  178. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  179. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +39 -8
  180. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  181. package/dist/components/cura-accordion-item.js +24 -6
  182. package/dist/components/cura-accordion-item.js.map +1 -1
  183. package/dist/components/cura-accordion.js +34 -13
  184. package/dist/components/cura-accordion.js.map +1 -1
  185. package/dist/components/cura-alert.js +12 -14
  186. package/dist/components/cura-alert.js.map +1 -1
  187. package/dist/components/cura-avatar.js +25 -8
  188. package/dist/components/cura-avatar.js.map +1 -1
  189. package/dist/components/cura-badge-counter.js +2 -1
  190. package/dist/components/cura-badge-distance.js +7 -7
  191. package/dist/components/cura-badge-distance.js.map +1 -1
  192. package/dist/components/cura-badge-dot.js +14 -4
  193. package/dist/components/cura-badge-dot.js.map +1 -1
  194. package/dist/components/cura-badge-pill.js +2 -1
  195. package/dist/components/cura-button-outline.js +49 -10
  196. package/dist/components/cura-button-outline.js.map +1 -1
  197. package/dist/components/cura-button-select.js +10 -14
  198. package/dist/components/cura-button-select.js.map +1 -1
  199. package/dist/components/cura-button-transparent.js +2 -1
  200. package/dist/components/cura-button.js +49 -10
  201. package/dist/components/cura-button.js.map +1 -1
  202. package/dist/components/cura-calendar.js +2 -1
  203. package/dist/components/cura-card.js +34 -5
  204. package/dist/components/cura-card.js.map +1 -1
  205. package/dist/components/cura-checkbox.js +75 -22
  206. package/dist/components/cura-checkbox.js.map +1 -1
  207. package/dist/components/cura-display.js +25 -6
  208. package/dist/components/cura-display.js.map +1 -1
  209. package/dist/components/cura-dropdown-search-category.js +5 -5
  210. package/dist/components/cura-dropdown-search-category.js.map +1 -1
  211. package/dist/components/cura-dropdown-search-not-found.js +6 -6
  212. package/dist/components/cura-dropdown-search-not-found.js.map +1 -1
  213. package/dist/components/cura-dropdown-search-option.js +22 -10
  214. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  215. package/dist/components/cura-dropdown-search.js +66 -27
  216. package/dist/components/cura-dropdown-search.js.map +1 -1
  217. package/dist/components/cura-heading.js +2 -1
  218. package/dist/components/cura-icon.js +2 -1
  219. package/dist/components/cura-icons-view.js +9 -9
  220. package/dist/components/cura-icons-view.js.map +1 -1
  221. package/dist/components/cura-input-date.js +40 -21
  222. package/dist/components/cura-input-date.js.map +1 -1
  223. package/dist/components/cura-input-text.js +2 -1
  224. package/dist/components/cura-label.js +2 -1
  225. package/dist/components/cura-loader-bar.js +2 -1
  226. package/dist/components/cura-loader-circle.js +2 -1
  227. package/dist/components/cura-modal.js +50 -18
  228. package/dist/components/cura-modal.js.map +1 -1
  229. package/dist/components/cura-page-template.js +4 -4
  230. package/dist/components/cura-page-template.js.map +1 -1
  231. package/dist/components/cura-paragraph.js +2 -1
  232. package/dist/components/cura-progress-bar.js +2 -1
  233. package/dist/components/cura-radio.js +75 -22
  234. package/dist/components/cura-radio.js.map +1 -1
  235. package/dist/components/cura-select-option.js +2 -1
  236. package/dist/components/cura-select.js +2 -1
  237. package/dist/components/cura-stepper-item.js +2 -1
  238. package/dist/components/cura-stepper.js +30 -12
  239. package/dist/components/cura-stepper.js.map +1 -1
  240. package/dist/components/cura-switch.js +62 -18
  241. package/dist/components/cura-switch.js.map +1 -1
  242. package/dist/components/cura-tabs-button.js +9 -11
  243. package/dist/components/cura-tabs-button.js.map +1 -1
  244. package/dist/components/cura-tabs-group.js +5 -5
  245. package/dist/components/cura-tabs-group.js.map +1 -1
  246. package/dist/components/cura-tabs-transparent.js +8 -10
  247. package/dist/components/cura-tabs-transparent.js.map +1 -1
  248. package/dist/components/cura-tabs.js +8 -10
  249. package/dist/components/cura-tabs.js.map +1 -1
  250. package/dist/components/cura-toast.js +12 -14
  251. package/dist/components/cura-toast.js.map +1 -1
  252. package/dist/components/cura-tooltip.js +15 -16
  253. package/dist/components/cura-tooltip.js.map +1 -1
  254. package/dist/components/index.js +3 -547
  255. package/dist/components/index.js.map +1 -1
  256. package/dist/components/{cura-icon2.js → p-B5aO1chh.js} +5 -6
  257. package/dist/components/p-B5aO1chh.js.map +1 -0
  258. package/dist/components/{cura-heading2.js → p-BHEafDKD.js} +34 -7
  259. package/dist/components/p-BHEafDKD.js.map +1 -0
  260. package/dist/components/{cura-button-transparent2.js → p-BRDqwZ4N.js} +48 -11
  261. package/dist/components/p-BRDqwZ4N.js.map +1 -0
  262. package/dist/{esm/cura-button.definitions-617d3bad.js → components/p-BSI2FkNn.js} +2 -1
  263. package/dist/components/p-BSI2FkNn.js.map +1 -0
  264. package/dist/components/{cura-badge-counter2.js → p-C72aF-gL.js} +18 -9
  265. package/dist/components/p-C72aF-gL.js.map +1 -0
  266. package/dist/components/{cura-tabs.definitions.js → p-CHcd-uKK.js} +2 -1
  267. package/dist/components/p-CHcd-uKK.js.map +1 -0
  268. package/dist/components/p-D1cPOZpG.js +2617 -0
  269. package/dist/components/p-D1cPOZpG.js.map +1 -0
  270. package/dist/components/{cura-paragraph2.js → p-DI4g-ZH4.js} +26 -7
  271. package/dist/components/p-DI4g-ZH4.js.map +1 -0
  272. package/dist/components/{cura-label2.js → p-DR1RHrEX.js} +30 -7
  273. package/dist/components/p-DR1RHrEX.js.map +1 -0
  274. package/dist/components/{cura-stepper-item2.js → p-DaPc6Dxl.js} +23 -14
  275. package/dist/components/p-DaPc6Dxl.js.map +1 -0
  276. package/dist/components/{cura-forms.definitions.js → p-Dot54hbB.js} +2 -1
  277. package/dist/components/p-Dot54hbB.js.map +1 -0
  278. package/dist/components/{cura-select-option2.js → p-DpIu_Oxz.js} +8 -9
  279. package/dist/components/p-DpIu_Oxz.js.map +1 -0
  280. package/dist/components/{cura-loader-circle2.js → p-Dqm2sAwv.js} +13 -7
  281. package/dist/components/p-Dqm2sAwv.js.map +1 -0
  282. package/dist/components/{cura-progress-bar2.js → p-FTSrgi0q.js} +11 -8
  283. package/dist/components/p-FTSrgi0q.js.map +1 -0
  284. package/dist/components/{cura-loader-bar2.js → p-KIQMkSRF.js} +5 -5
  285. package/dist/components/p-KIQMkSRF.js.map +1 -0
  286. package/dist/components/{cura-badge-pill2.js → p-cOEGtL9C.js} +26 -9
  287. package/dist/components/p-cOEGtL9C.js.map +1 -0
  288. package/dist/components/{cura-calendar2.js → p-e-P5qR3J.js} +210 -100
  289. package/dist/components/p-e-P5qR3J.js.map +1 -0
  290. package/dist/components/{cura-select2.js → p-y6Cly9DJ.js} +87 -31
  291. package/dist/components/p-y6Cly9DJ.js.map +1 -0
  292. package/dist/components/{cura-input-text2.js → p-zz_zOPBZ.js} +75 -102
  293. package/dist/components/p-zz_zOPBZ.js.map +1 -0
  294. package/dist/cura/cura-alert.entry.esm.js.map +1 -0
  295. package/dist/cura/cura-badge-counter.entry.esm.js.map +1 -0
  296. package/dist/cura/cura-badge-dot.entry.esm.js.map +1 -0
  297. package/dist/cura/cura-badge-pill.entry.esm.js.map +1 -0
  298. package/dist/cura/cura-button-outline.entry.esm.js.map +1 -0
  299. package/dist/cura/cura-button-select.entry.esm.js.map +1 -0
  300. package/dist/cura/{p-12a4ae7e.entry.js.map → cura-calendar.entry.esm.js.map} +1 -1
  301. package/dist/cura/{p-53d68d72.entry.js.map → cura-card.entry.esm.js.map} +1 -1
  302. package/dist/cura/cura-checkbox.entry.esm.js.map +1 -0
  303. package/dist/cura/cura-display.entry.esm.js.map +1 -0
  304. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +1 -0
  305. package/dist/cura/cura-icons-view.entry.esm.js.map +1 -0
  306. package/dist/cura/cura-input-date.entry.esm.js.map +1 -0
  307. package/dist/cura/cura-loader-bar.entry.esm.js.map +1 -0
  308. package/dist/cura/{p-1ef21ae9.entry.js.map → cura-modal.entry.esm.js.map} +1 -1
  309. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +1 -0
  310. package/dist/cura/cura-radio.entry.esm.js.map +1 -0
  311. package/dist/cura/cura-stepper.entry.esm.js.map +1 -0
  312. package/dist/cura/cura-switch.entry.esm.js.map +1 -0
  313. package/dist/cura/cura-tabs-button.entry.esm.js.map +1 -0
  314. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +1 -0
  315. package/dist/cura/cura-toast.entry.esm.js.map +1 -0
  316. package/dist/cura/cura-tooltip.entry.esm.js.map +1 -0
  317. package/dist/cura/cura.esm.js +1 -1
  318. package/dist/cura/cura.esm.js.map +1 -1
  319. package/dist/cura/index.esm.js +1 -1
  320. package/dist/cura/index.esm.js.map +1 -1
  321. package/dist/cura/loader.esm.js.map +1 -0
  322. package/dist/cura/p-077019da.entry.js +2 -0
  323. package/dist/cura/p-077019da.entry.js.map +1 -0
  324. package/dist/cura/p-07783235.entry.js +2 -0
  325. package/dist/cura/p-07783235.entry.js.map +1 -0
  326. package/dist/cura/p-090e297c.entry.js +2 -0
  327. package/dist/cura/p-090e297c.entry.js.map +1 -0
  328. package/dist/cura/p-16c0b52c.entry.js +2 -0
  329. package/dist/cura/p-16c0b52c.entry.js.map +1 -0
  330. package/dist/cura/p-2632183e.entry.js +2 -0
  331. package/dist/cura/p-2632183e.entry.js.map +1 -0
  332. package/dist/cura/p-32015dcc.entry.js +2 -0
  333. package/dist/cura/p-32015dcc.entry.js.map +1 -0
  334. package/dist/cura/p-32f94709.entry.js +2 -0
  335. package/dist/cura/p-32f94709.entry.js.map +1 -0
  336. package/dist/cura/p-3d6040e2.entry.js +2 -0
  337. package/dist/cura/p-3d6040e2.entry.js.map +1 -0
  338. package/dist/cura/p-4ac578a6.entry.js +2 -0
  339. package/dist/cura/p-4ac578a6.entry.js.map +1 -0
  340. package/dist/cura/p-4bde448e.entry.js +2 -0
  341. package/dist/cura/p-4bde448e.entry.js.map +1 -0
  342. package/dist/cura/p-6feba852.entry.js +2 -0
  343. package/dist/cura/p-6feba852.entry.js.map +1 -0
  344. package/dist/cura/p-7586fd07.entry.js +2 -0
  345. package/dist/cura/p-7586fd07.entry.js.map +1 -0
  346. package/dist/cura/p-76cbb798.entry.js +2 -0
  347. package/dist/cura/p-76cbb798.entry.js.map +1 -0
  348. package/dist/cura/p-7fd143aa.entry.js +2 -0
  349. package/dist/cura/p-7fd143aa.entry.js.map +1 -0
  350. package/dist/cura/p-8c83f259.entry.js +2 -0
  351. package/dist/cura/p-8c83f259.entry.js.map +1 -0
  352. package/dist/cura/p-95cd7918.entry.js +2 -0
  353. package/dist/cura/p-95cd7918.entry.js.map +1 -0
  354. package/dist/cura/{p-272c784a.js → p-964stZ3D.js} +1 -1
  355. package/dist/cura/p-964stZ3D.js.map +1 -0
  356. package/dist/cura/p-9ef5444e.entry.js +2 -0
  357. package/dist/cura/p-9ef5444e.entry.js.map +1 -0
  358. package/dist/cura/p-BPKQjAwN.js +2 -0
  359. package/dist/cura/p-BPKQjAwN.js.map +1 -0
  360. package/dist/cura/{p-53c18ed4.js → p-BSI2FkNn.js} +1 -1
  361. package/dist/cura/p-BSI2FkNn.js.map +1 -0
  362. package/dist/cura/{p-efcb32eb.js → p-CHcd-uKK.js} +1 -1
  363. package/dist/cura/p-CHcd-uKK.js.map +1 -0
  364. package/dist/cura/{p-f9b8f665.js → p-Dot54hbB.js} +1 -1
  365. package/dist/cura/p-Dot54hbB.js.map +1 -0
  366. package/dist/cura/p-PPMZr_VE.js +3 -0
  367. package/dist/cura/p-PPMZr_VE.js.map +1 -0
  368. package/dist/cura/p-c6f240f0.entry.js +2 -0
  369. package/dist/cura/p-c6f240f0.entry.js.map +1 -0
  370. package/dist/cura/p-ceb646df.entry.js +2 -0
  371. package/dist/cura/p-ceb646df.entry.js.map +1 -0
  372. package/dist/cura/p-d040f8b9.entry.js +2 -0
  373. package/dist/cura/p-d040f8b9.entry.js.map +1 -0
  374. package/dist/cura/p-deb0b764.entry.js +2 -0
  375. package/dist/cura/p-deb0b764.entry.js.map +1 -0
  376. package/dist/cura/p-df7cb250.entry.js +2 -0
  377. package/dist/cura/p-df7cb250.entry.js.map +1 -0
  378. package/dist/cura/p-f9af3a3b.entry.js +2 -0
  379. package/dist/cura/p-f9af3a3b.entry.js.map +1 -0
  380. package/dist/cura/p-fc3b57a8.entry.js +2 -0
  381. package/dist/cura/p-fc3b57a8.entry.js.map +1 -0
  382. package/dist/cura/{p-48f9289b.js → p-sjLA93YY.js} +1 -1
  383. package/dist/cura/p-sjLA93YY.js.map +1 -0
  384. package/dist/esm/cura-accordion_20.entry.js +484 -135
  385. package/dist/esm/cura-accordion_20.entry.js.map +1 -1
  386. package/dist/esm/cura-alert.entry.js +9 -10
  387. package/dist/esm/cura-alert.entry.js.map +1 -1
  388. package/dist/esm/cura-badge-counter.entry.js +16 -6
  389. package/dist/esm/cura-badge-counter.entry.js.map +1 -1
  390. package/dist/esm/cura-badge-dot.entry.js +14 -3
  391. package/dist/esm/cura-badge-dot.entry.js.map +1 -1
  392. package/dist/esm/cura-badge-pill.entry.js +23 -5
  393. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  394. package/dist/esm/cura-button-outline.entry.js +46 -6
  395. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  396. package/dist/esm/cura-button-select.entry.js +7 -10
  397. package/dist/esm/cura-button-select.entry.js.map +1 -1
  398. package/dist/{components/cura-button.definitions.js → esm/cura-button.definitions-BSI2FkNn.js} +2 -1
  399. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +1 -0
  400. package/dist/esm/cura-calendar.entry.js +203 -92
  401. package/dist/esm/cura-calendar.entry.js.map +1 -1
  402. package/dist/esm/cura-card.entry.js +34 -4
  403. package/dist/esm/cura-card.entry.js.map +1 -1
  404. package/dist/esm/cura-checkbox.entry.js +72 -18
  405. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  406. package/dist/esm/cura-display.entry.js +25 -5
  407. package/dist/esm/cura-display.entry.js.map +1 -1
  408. package/dist/esm/cura-dropdown-search-not-found.entry.js +5 -4
  409. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -1
  410. package/dist/esm/{cura-forms.definitions-2f963167.js → cura-forms.definitions-Dot54hbB.js} +2 -1
  411. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +1 -0
  412. package/dist/esm/{cura-icon.definitions-a892c0e2.js → cura-icon.definitions-sjLA93YY.js} +2 -1
  413. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +1 -0
  414. package/dist/esm/cura-icons-view.entry.js +7 -6
  415. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  416. package/dist/esm/cura-input-date.entry.js +32 -13
  417. package/dist/esm/cura-input-date.entry.js.map +1 -1
  418. package/dist/esm/cura-loader-bar.entry.js +4 -3
  419. package/dist/esm/cura-loader-bar.entry.js.map +1 -1
  420. package/dist/esm/cura-modal.entry.js +46 -13
  421. package/dist/esm/cura-modal.entry.js.map +1 -1
  422. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +1 -0
  423. package/dist/esm/cura-progress-bar_2.entry.js +25 -13
  424. package/dist/esm/cura-progress-bar_2.entry.js.map +1 -1
  425. package/dist/esm/cura-radio.entry.js +73 -19
  426. package/dist/esm/cura-radio.entry.js.map +1 -1
  427. package/dist/esm/cura-stepper.entry.js +23 -4
  428. package/dist/esm/cura-stepper.entry.js.map +1 -1
  429. package/dist/esm/cura-switch.entry.js +61 -16
  430. package/dist/esm/cura-switch.entry.js.map +1 -1
  431. package/dist/esm/cura-tabs-button.entry.js +6 -7
  432. package/dist/esm/cura-tabs-button.entry.js.map +1 -1
  433. package/dist/esm/cura-tabs-transparent.entry.js +6 -7
  434. package/dist/esm/cura-tabs-transparent.entry.js.map +1 -1
  435. package/dist/esm/{cura-tabs.definitions-a017126e.js → cura-tabs.definitions-CHcd-uKK.js} +2 -1
  436. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +1 -0
  437. package/dist/esm/{cura-theme-module-bf286f68.js → cura-theme-module-BPKQjAwN.js} +88 -4
  438. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +1 -0
  439. package/dist/esm/cura-toast.entry.js +8 -9
  440. package/dist/esm/cura-toast.entry.js.map +1 -1
  441. package/dist/esm/cura-tooltip.entry.js +9 -9
  442. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  443. package/dist/esm/cura.js +7 -7
  444. package/dist/esm/cura.js.map +1 -1
  445. package/dist/esm/{index-fbee309a.js → index-964stZ3D.js} +2 -1
  446. package/dist/esm/index-964stZ3D.js.map +1 -0
  447. package/dist/esm/{index-21683715.js → index-OdKytJIH.js} +947 -270
  448. package/dist/esm/index-OdKytJIH.js.map +1 -0
  449. package/dist/esm/index.js +2 -2
  450. package/dist/esm/index.js.map +1 -1
  451. package/dist/esm/loader.js +5 -6
  452. package/dist/esm/loader.js.map +1 -1
  453. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +4 -0
  454. package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +14 -0
  455. package/dist/types/components.d.ts +718 -0
  456. package/dist/types/stencil-public-runtime.d.ts +25 -1
  457. package/package.json +5 -5
  458. package/dist/cjs/app-globals-6d5b51b6.js +0 -70
  459. package/dist/cjs/app-globals-6d5b51b6.js.map +0 -1
  460. package/dist/cjs/cura-button.definitions-f036371c.js.map +0 -1
  461. package/dist/cjs/cura-forms.definitions-c164f1b8.js.map +0 -1
  462. package/dist/cjs/cura-icon.definitions-5223028b.js.map +0 -1
  463. package/dist/cjs/cura-tabs.definitions-b8955ad4.js.map +0 -1
  464. package/dist/cjs/cura-theme-module-09bb63a4.js.map +0 -1
  465. package/dist/cjs/index-60783089.js.map +0 -1
  466. package/dist/cjs/index-6dc29195.js.map +0 -1
  467. package/dist/cjs/static-44199808.js +0 -90
  468. package/dist/cjs/static-44199808.js.map +0 -1
  469. package/dist/components/cura-badge-counter2.js.map +0 -1
  470. package/dist/components/cura-badge-pill2.js.map +0 -1
  471. package/dist/components/cura-button-transparent2.js.map +0 -1
  472. package/dist/components/cura-button.definitions.js.map +0 -1
  473. package/dist/components/cura-calendar2.js.map +0 -1
  474. package/dist/components/cura-forms.definitions.js.map +0 -1
  475. package/dist/components/cura-heading2.js.map +0 -1
  476. package/dist/components/cura-icon2.js.map +0 -1
  477. package/dist/components/cura-input-text2.js.map +0 -1
  478. package/dist/components/cura-label2.js.map +0 -1
  479. package/dist/components/cura-loader-bar2.js.map +0 -1
  480. package/dist/components/cura-loader-circle2.js.map +0 -1
  481. package/dist/components/cura-paragraph2.js.map +0 -1
  482. package/dist/components/cura-progress-bar2.js.map +0 -1
  483. package/dist/components/cura-select-option2.js.map +0 -1
  484. package/dist/components/cura-select2.js.map +0 -1
  485. package/dist/components/cura-stepper-item2.js.map +0 -1
  486. package/dist/components/cura-tabs.definitions.js.map +0 -1
  487. package/dist/cura/p-0aeaf57a.entry.js +0 -2
  488. package/dist/cura/p-0aeaf57a.entry.js.map +0 -1
  489. package/dist/cura/p-0b872499.entry.js +0 -2
  490. package/dist/cura/p-0b872499.entry.js.map +0 -1
  491. package/dist/cura/p-0ccde0ff.entry.js +0 -2
  492. package/dist/cura/p-0ccde0ff.entry.js.map +0 -1
  493. package/dist/cura/p-12a4ae7e.entry.js +0 -2
  494. package/dist/cura/p-137f003b.entry.js +0 -2
  495. package/dist/cura/p-137f003b.entry.js.map +0 -1
  496. package/dist/cura/p-197213c0.entry.js +0 -2
  497. package/dist/cura/p-197213c0.entry.js.map +0 -1
  498. package/dist/cura/p-1ef21ae9.entry.js +0 -2
  499. package/dist/cura/p-202dc01a.entry.js +0 -2
  500. package/dist/cura/p-202dc01a.entry.js.map +0 -1
  501. package/dist/cura/p-20b05d8f.entry.js +0 -2
  502. package/dist/cura/p-20b05d8f.entry.js.map +0 -1
  503. package/dist/cura/p-272c784a.js.map +0 -1
  504. package/dist/cura/p-2db4deb3.js +0 -2
  505. package/dist/cura/p-2db4deb3.js.map +0 -1
  506. package/dist/cura/p-48f9289b.js.map +0 -1
  507. package/dist/cura/p-4ee8efca.js +0 -3
  508. package/dist/cura/p-4ee8efca.js.map +0 -1
  509. package/dist/cura/p-53c18ed4.js.map +0 -1
  510. package/dist/cura/p-53d68d72.entry.js +0 -2
  511. package/dist/cura/p-5a43e745.entry.js +0 -2
  512. package/dist/cura/p-5a43e745.entry.js.map +0 -1
  513. package/dist/cura/p-633c13cd.entry.js +0 -2
  514. package/dist/cura/p-633c13cd.entry.js.map +0 -1
  515. package/dist/cura/p-6cbd49dd.js +0 -2
  516. package/dist/cura/p-6cbd49dd.js.map +0 -1
  517. package/dist/cura/p-7a68835f.entry.js +0 -2
  518. package/dist/cura/p-7a68835f.entry.js.map +0 -1
  519. package/dist/cura/p-7e10b146.entry.js +0 -2
  520. package/dist/cura/p-7e10b146.entry.js.map +0 -1
  521. package/dist/cura/p-7e2d1229.entry.js +0 -2
  522. package/dist/cura/p-7e2d1229.entry.js.map +0 -1
  523. package/dist/cura/p-8aade007.entry.js +0 -2
  524. package/dist/cura/p-8aade007.entry.js.map +0 -1
  525. package/dist/cura/p-9f460031.js +0 -2
  526. package/dist/cura/p-9f460031.js.map +0 -1
  527. package/dist/cura/p-ac0c90af.entry.js +0 -2
  528. package/dist/cura/p-ac0c90af.entry.js.map +0 -1
  529. package/dist/cura/p-b254bbe4.entry.js +0 -2
  530. package/dist/cura/p-b254bbe4.entry.js.map +0 -1
  531. package/dist/cura/p-b4ee956b.entry.js +0 -2
  532. package/dist/cura/p-b4ee956b.entry.js.map +0 -1
  533. package/dist/cura/p-b60a6aaa.entry.js +0 -2
  534. package/dist/cura/p-b60a6aaa.entry.js.map +0 -1
  535. package/dist/cura/p-b6ff8ac1.entry.js +0 -2
  536. package/dist/cura/p-b6ff8ac1.entry.js.map +0 -1
  537. package/dist/cura/p-d8e1e182.entry.js +0 -2
  538. package/dist/cura/p-d8e1e182.entry.js.map +0 -1
  539. package/dist/cura/p-d97719bc.entry.js +0 -2
  540. package/dist/cura/p-d97719bc.entry.js.map +0 -1
  541. package/dist/cura/p-daf422ce.entry.js +0 -2
  542. package/dist/cura/p-daf422ce.entry.js.map +0 -1
  543. package/dist/cura/p-efcb32eb.js.map +0 -1
  544. package/dist/cura/p-f9b8f665.js.map +0 -1
  545. package/dist/esm/app-globals-c2abb41c.js +0 -68
  546. package/dist/esm/app-globals-c2abb41c.js.map +0 -1
  547. package/dist/esm/cura-button.definitions-617d3bad.js.map +0 -1
  548. package/dist/esm/cura-forms.definitions-2f963167.js.map +0 -1
  549. package/dist/esm/cura-icon.definitions-a892c0e2.js.map +0 -1
  550. package/dist/esm/cura-tabs.definitions-a017126e.js.map +0 -1
  551. package/dist/esm/cura-theme-module-bf286f68.js.map +0 -1
  552. package/dist/esm/index-21683715.js.map +0 -1
  553. package/dist/esm/index-fbee309a.js.map +0 -1
  554. package/dist/esm/static-090f0088.js +0 -88
  555. package/dist/esm/static-090f0088.js.map +0 -1
  556. package/dist/loader/package.json +0 -11
@@ -1,10 +1,10 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$6 } from './cura-button-transparent2.js';
3
- import { d as defineCustomElement$5 } from './cura-icon2.js';
4
- import { d as defineCustomElement$4 } from './cura-label2.js';
5
- import { d as defineCustomElement$3 } from './cura-loader-circle2.js';
6
- import { d as defineCustomElement$2 } from './cura-select2.js';
7
- import { d as defineCustomElement$1 } from './cura-select-option2.js';
1
+ import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D1cPOZpG.js';
2
+ import { d as defineCustomElement$6 } from './p-BRDqwZ4N.js';
3
+ import { d as defineCustomElement$5 } from './p-B5aO1chh.js';
4
+ import { d as defineCustomElement$4 } from './p-DR1RHrEX.js';
5
+ import { d as defineCustomElement$3 } from './p-Dqm2sAwv.js';
6
+ import { d as defineCustomElement$2 } from './p-y6Cly9DJ.js';
7
+ import { d as defineCustomElement$1 } from './p-DpIu_Oxz.js';
8
8
 
9
9
  function _typeof(o) {
10
10
  "@babel/helpers - typeof";
@@ -542,7 +542,7 @@ function eachDayOfInterval(dirtyInterval, options) {
542
542
  var dates = [];
543
543
  var currentDate = startDate;
544
544
  currentDate.setHours(0, 0, 0, 0);
545
- var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1);
545
+ var step = Number((_options$step = void 0 ) !== null && _options$step !== void 0 ? _options$step : 1);
546
546
  if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1');
547
547
  while (currentDate.getTime() <= endTime) {
548
548
  dates.push(toDate(currentDate));
@@ -885,7 +885,7 @@ function addLeadingZeros(number, targetLength) {
885
885
  *
886
886
  * Letters marked by * are not implemented but reserved by Unicode standard.
887
887
  */
888
- var formatters$2 = {
888
+ var formatters$1 = {
889
889
  // Year
890
890
  y: function y(date, token) {
891
891
  // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
@@ -951,11 +951,8 @@ var formatters$2 = {
951
951
  return addLeadingZeros(fractionalSeconds, token.length);
952
952
  }
953
953
  };
954
- const formatters$3 = formatters$2;
955
954
 
956
955
  var dayPeriodEnum = {
957
- am: 'am',
958
- pm: 'pm',
959
956
  midnight: 'midnight',
960
957
  noon: 'noon',
961
958
  morning: 'morning',
@@ -1045,7 +1042,7 @@ var formatters = {
1045
1042
  unit: 'year'
1046
1043
  });
1047
1044
  }
1048
- return formatters$3.y(date, token);
1045
+ return formatters$1.y(date, token);
1049
1046
  },
1050
1047
  // Local week-numbering year
1051
1048
  Y: function Y(date, token, localize, options) {
@@ -1167,7 +1164,7 @@ var formatters = {
1167
1164
  switch (token) {
1168
1165
  case 'M':
1169
1166
  case 'MM':
1170
- return formatters$3.M(date, token);
1167
+ return formatters$1.M(date, token);
1171
1168
  // 1st, 2nd, ..., 12th
1172
1169
  case 'Mo':
1173
1170
  return localize.ordinalNumber(month + 1, {
@@ -1257,7 +1254,7 @@ var formatters = {
1257
1254
  unit: 'date'
1258
1255
  });
1259
1256
  }
1260
- return formatters$3.d(date, token);
1257
+ return formatters$1.d(date, token);
1261
1258
  },
1262
1259
  // Day of year
1263
1260
  D: function D(date, token, localize) {
@@ -1537,7 +1534,7 @@ var formatters = {
1537
1534
  unit: 'hour'
1538
1535
  });
1539
1536
  }
1540
- return formatters$3.h(date, token);
1537
+ return formatters$1.h(date, token);
1541
1538
  },
1542
1539
  // Hour [0-23]
1543
1540
  H: function H(date, token, localize) {
@@ -1546,7 +1543,7 @@ var formatters = {
1546
1543
  unit: 'hour'
1547
1544
  });
1548
1545
  }
1549
- return formatters$3.H(date, token);
1546
+ return formatters$1.H(date, token);
1550
1547
  },
1551
1548
  // Hour [0-11]
1552
1549
  K: function K(date, token, localize) {
@@ -1576,7 +1573,7 @@ var formatters = {
1576
1573
  unit: 'minute'
1577
1574
  });
1578
1575
  }
1579
- return formatters$3.m(date, token);
1576
+ return formatters$1.m(date, token);
1580
1577
  },
1581
1578
  // Second
1582
1579
  s: function s(date, token, localize) {
@@ -1585,11 +1582,11 @@ var formatters = {
1585
1582
  unit: 'second'
1586
1583
  });
1587
1584
  }
1588
- return formatters$3.s(date, token);
1585
+ return formatters$1.s(date, token);
1589
1586
  },
1590
1587
  // Fraction of second
1591
1588
  S: function S(date, token) {
1592
- return formatters$3.S(date, token);
1589
+ return formatters$1.S(date, token);
1593
1590
  },
1594
1591
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1595
1592
  X: function X(date, token, _localize, options) {
@@ -1699,7 +1696,7 @@ function formatTimezoneShort(offset, dirtyDelimiter) {
1699
1696
  if (minutes === 0) {
1700
1697
  return sign + String(hours);
1701
1698
  }
1702
- var delimiter = dirtyDelimiter || '';
1699
+ var delimiter = dirtyDelimiter;
1703
1700
  return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
1704
1701
  }
1705
1702
  function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
@@ -1717,7 +1714,6 @@ function formatTimezone(offset, dirtyDelimiter) {
1717
1714
  var minutes = addLeadingZeros(absOffset % 60, 2);
1718
1715
  return sign + hours + delimiter + minutes;
1719
1716
  }
1720
- const formatters$1 = formatters;
1721
1717
 
1722
1718
  var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
1723
1719
  switch (pattern) {
@@ -1798,7 +1794,6 @@ var longFormatters = {
1798
1794
  p: timeLongFormatter,
1799
1795
  P: dateTimeLongFormatter
1800
1796
  };
1801
- const longFormatters$1 = longFormatters;
1802
1797
 
1803
1798
  var protectedDayOfYearTokens = ['D', 'DD'];
1804
1799
  var protectedWeekYearTokens = ['YY', 'YYYY'];
@@ -1883,7 +1878,7 @@ var formatDistanceLocale$1 = {
1883
1878
  other: 'almost {{count}} years'
1884
1879
  }
1885
1880
  };
1886
- var formatDistance$2 = function formatDistance(token, count, options) {
1881
+ var formatDistance$1 = function formatDistance(token, count, options) {
1887
1882
  var result;
1888
1883
  var tokenValue = formatDistanceLocale$1[token];
1889
1884
  if (typeof tokenValue === 'string') {
@@ -1902,7 +1897,6 @@ var formatDistance$2 = function formatDistance(token, count, options) {
1902
1897
  }
1903
1898
  return result;
1904
1899
  };
1905
- const formatDistance$3 = formatDistance$2;
1906
1900
 
1907
1901
  function buildFormatLongFn(args) {
1908
1902
  return function () {
@@ -1932,7 +1926,7 @@ var dateTimeFormats$2 = {
1932
1926
  medium: '{{date}}, {{time}}',
1933
1927
  short: '{{date}}, {{time}}'
1934
1928
  };
1935
- var formatLong$4 = {
1929
+ var formatLong$2 = {
1936
1930
  date: buildFormatLongFn({
1937
1931
  formats: dateFormats$2,
1938
1932
  defaultWidth: 'full'
@@ -1946,7 +1940,6 @@ var formatLong$4 = {
1946
1940
  defaultWidth: 'full'
1947
1941
  })
1948
1942
  };
1949
- const formatLong$5 = formatLong$4;
1950
1943
 
1951
1944
  var formatRelativeLocale$1 = {
1952
1945
  lastWeek: "'last' eeee 'at' p",
@@ -1956,10 +1949,9 @@ var formatRelativeLocale$1 = {
1956
1949
  nextWeek: "eeee 'at' p",
1957
1950
  other: 'P'
1958
1951
  };
1959
- var formatRelative$2 = function formatRelative(token, _date, _baseDate, _options) {
1952
+ var formatRelative$1 = function formatRelative(token, _date, _baseDate, _options) {
1960
1953
  return formatRelativeLocale$1[token];
1961
1954
  };
1962
- const formatRelative$3 = formatRelative$2;
1963
1955
 
1964
1956
  function buildLocalizeFn(args) {
1965
1957
  return function (dirtyIndex, options) {
@@ -2093,7 +2085,7 @@ var ordinalNumber$1 = function ordinalNumber(dirtyNumber, _options) {
2093
2085
  }
2094
2086
  return number + 'th';
2095
2087
  };
2096
- var localize$2 = {
2088
+ var localize$1 = {
2097
2089
  ordinalNumber: ordinalNumber$1,
2098
2090
  era: buildLocalizeFn({
2099
2091
  values: eraValues$1,
@@ -2121,7 +2113,6 @@ var localize$2 = {
2121
2113
  defaultFormattingWidth: 'wide'
2122
2114
  })
2123
2115
  };
2124
- const localize$3 = localize$2;
2125
2116
 
2126
2117
  function buildMatchFn(args) {
2127
2118
  return function (string) {
@@ -2237,7 +2228,7 @@ var parseDayPeriodPatterns$1 = {
2237
2228
  night: /night/i
2238
2229
  }
2239
2230
  };
2240
- var match$2 = {
2231
+ var match$1 = {
2241
2232
  ordinalNumber: buildMatchPatternFn({
2242
2233
  matchPattern: matchOrdinalNumberPattern$1,
2243
2234
  parsePattern: parseOrdinalNumberPattern$1,
@@ -2279,7 +2270,6 @@ var match$2 = {
2279
2270
  defaultParseWidth: 'any'
2280
2271
  })
2281
2272
  };
2282
- const match$3 = match$2;
2283
2273
 
2284
2274
  /**
2285
2275
  * @type {Locale}
@@ -2292,17 +2282,16 @@ const match$3 = match$2;
2292
2282
  */
2293
2283
  var locale$2 = {
2294
2284
  code: 'en-US',
2295
- formatDistance: formatDistance$3,
2296
- formatLong: formatLong$5,
2297
- formatRelative: formatRelative$3,
2298
- localize: localize$3,
2299
- match: match$3,
2285
+ formatDistance: formatDistance$1,
2286
+ formatLong: formatLong$2,
2287
+ formatRelative: formatRelative$1,
2288
+ localize: localize$1,
2289
+ match: match$1,
2300
2290
  options: {
2301
2291
  weekStartsOn: 0 /* Sunday */,
2302
2292
  firstWeekContainsDate: 1
2303
2293
  }
2304
2294
  };
2305
- const defaultLocale = locale$2;
2306
2295
 
2307
2296
  // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
2308
2297
  // (one of the certain letters followed by `o`)
@@ -2620,7 +2609,7 @@ function format(dirtyDate, dirtyFormatStr, options) {
2620
2609
  requiredArgs(2, arguments);
2621
2610
  var formatStr = String(dirtyFormatStr);
2622
2611
  var defaultOptions = getDefaultOptions();
2623
- var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;
2612
+ var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale$2;
2624
2613
  var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
2625
2614
 
2626
2615
  // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
@@ -2658,7 +2647,7 @@ function format(dirtyDate, dirtyFormatStr, options) {
2658
2647
  var result = formatStr.match(longFormattingTokensRegExp$1).map(function (substring) {
2659
2648
  var firstCharacter = substring[0];
2660
2649
  if (firstCharacter === 'p' || firstCharacter === 'P') {
2661
- var longFormatter = longFormatters$1[firstCharacter];
2650
+ var longFormatter = longFormatters[firstCharacter];
2662
2651
  return longFormatter(substring, locale.formatLong);
2663
2652
  }
2664
2653
  return substring;
@@ -2671,7 +2660,7 @@ function format(dirtyDate, dirtyFormatStr, options) {
2671
2660
  if (firstCharacter === "'") {
2672
2661
  return cleanEscapedString$1(substring);
2673
2662
  }
2674
- var formatter = formatters$1[firstCharacter];
2663
+ var formatter = formatters[firstCharacter];
2675
2664
  if (formatter) {
2676
2665
  if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {
2677
2666
  throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
@@ -2845,7 +2834,7 @@ function _unsupportedIterableToArray(r, a) {
2845
2834
  function _createForOfIteratorHelper(r, e) {
2846
2835
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
2847
2836
  if (!t) {
2848
- if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
2837
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
2849
2838
  t && (r = t);
2850
2839
  var _n = 0,
2851
2840
  F = function F() {};
@@ -2853,9 +2842,9 @@ function _createForOfIteratorHelper(r, e) {
2853
2842
  s: F,
2854
2843
  n: function n() {
2855
2844
  return _n >= r.length ? {
2856
- done: !0
2845
+ done: true
2857
2846
  } : {
2858
- done: !1,
2847
+ done: false,
2859
2848
  value: r[_n++]
2860
2849
  };
2861
2850
  },
@@ -2868,8 +2857,8 @@ function _createForOfIteratorHelper(r, e) {
2868
2857
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2869
2858
  }
2870
2859
  var o,
2871
- a = !0,
2872
- u = !1;
2860
+ a = true,
2861
+ u = false;
2873
2862
  return {
2874
2863
  s: function s() {
2875
2864
  t = t.call(r);
@@ -2879,7 +2868,7 @@ function _createForOfIteratorHelper(r, e) {
2879
2868
  return a = r.done, r;
2880
2869
  },
2881
2870
  e: function e(r) {
2882
- u = !0, o = r;
2871
+ u = true, o = r;
2883
2872
  },
2884
2873
  f: function f() {
2885
2874
  try {
@@ -2907,11 +2896,11 @@ function _inherits(t, e) {
2907
2896
  t.prototype = Object.create(e && e.prototype, {
2908
2897
  constructor: {
2909
2898
  value: t,
2910
- writable: !0,
2911
- configurable: !0
2899
+ writable: true,
2900
+ configurable: true
2912
2901
  }
2913
2902
  }), Object.defineProperty(t, "prototype", {
2914
- writable: !1
2903
+ writable: false
2915
2904
  }), e && _setPrototypeOf(t, e);
2916
2905
  }
2917
2906
 
@@ -2957,11 +2946,11 @@ function toPrimitive(t, r) {
2957
2946
  if ("object" != _typeof(t) || !t) return t;
2958
2947
  var e = t[Symbol.toPrimitive];
2959
2948
  if (void 0 !== e) {
2960
- var i = e.call(t, r || "default");
2949
+ var i = e.call(t, r);
2961
2950
  if ("object" != _typeof(i)) return i;
2962
2951
  throw new TypeError("@@toPrimitive must return a primitive value.");
2963
2952
  }
2964
- return ("string" === r ? String : Number)(t);
2953
+ return (String )(t);
2965
2954
  }
2966
2955
 
2967
2956
  function toPropertyKey(t) {
@@ -2972,21 +2961,21 @@ function toPropertyKey(t) {
2972
2961
  function _defineProperties(e, r) {
2973
2962
  for (var t = 0; t < r.length; t++) {
2974
2963
  var o = r[t];
2975
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
2964
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
2976
2965
  }
2977
2966
  }
2978
2967
  function _createClass(e, r, t) {
2979
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
2980
- writable: !1
2968
+ return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
2969
+ writable: false
2981
2970
  }), e;
2982
2971
  }
2983
2972
 
2984
2973
  function _defineProperty(e, r, t) {
2985
2974
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2986
2975
  value: t,
2987
- enumerable: !0,
2988
- configurable: !0,
2989
- writable: !0
2976
+ enumerable: true,
2977
+ configurable: true,
2978
+ writable: true
2990
2979
  }) : e[r] = t, e;
2991
2980
  }
2992
2981
 
@@ -5430,22 +5419,22 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
5430
5419
  * //=> Sun Feb 28 2010 00:00:00
5431
5420
  */
5432
5421
  function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options) {
5433
- var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
5422
+ var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _defaultOptions$local3, _defaultOptions$local4;
5434
5423
  requiredArgs(3, arguments);
5435
5424
  var dateString = String(dirtyDateString);
5436
5425
  var formatString = String(dirtyFormatString);
5437
5426
  var defaultOptions = getDefaultOptions();
5438
- var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;
5427
+ var locale = (_ref = (_options$locale = void 0 ) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale$2;
5439
5428
  if (!locale.match) {
5440
5429
  throw new RangeError('locale must contain match property');
5441
5430
  }
5442
- var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
5431
+ var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = void 0 ) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : void 0 ) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
5443
5432
 
5444
5433
  // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
5445
5434
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
5446
5435
  throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
5447
5436
  }
5448
- var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
5437
+ var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = void 0 ) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : void 0 ) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
5449
5438
 
5450
5439
  // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
5451
5440
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
@@ -5468,8 +5457,8 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
5468
5457
  var setters = [new DateToSystemTimezoneSetter()];
5469
5458
  var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
5470
5459
  var firstCharacter = substring[0];
5471
- if (firstCharacter in longFormatters$1) {
5472
- var longFormatter = longFormatters$1[firstCharacter];
5460
+ if (firstCharacter in longFormatters) {
5461
+ var longFormatter = longFormatters[firstCharacter];
5473
5462
  return longFormatter(substring, locale.formatLong);
5474
5463
  }
5475
5464
  return substring;
@@ -5480,10 +5469,10 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
5480
5469
  try {
5481
5470
  var _loop = function _loop() {
5482
5471
  var token = _step.value;
5483
- if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) {
5472
+ if (isProtectedWeekYearToken(token)) {
5484
5473
  throwProtectedError(token, formatString, dirtyDateString);
5485
5474
  }
5486
- if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
5475
+ if (isProtectedDayOfYearToken(token)) {
5487
5476
  throwProtectedError(token, formatString, dirtyDateString);
5488
5477
  }
5489
5478
  var firstCharacter = token[0];
@@ -5685,7 +5674,7 @@ function subDays(dirtyDate, dirtyAmount) {
5685
5674
  function parseISO(argument, options) {
5686
5675
  var _options$additionalDi;
5687
5676
  requiredArgs(1, arguments);
5688
- var additionalDigits = toInteger((_options$additionalDi = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2);
5677
+ var additionalDigits = toInteger((_options$additionalDi = void 0 ) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2);
5689
5678
  if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {
5690
5679
  throw new RangeError('additionalDigits must be 0, 1 or 2');
5691
5680
  }
@@ -5942,7 +5931,7 @@ var dateTimeFormats$1 = {
5942
5931
  medium: '{{date}}, {{time}}',
5943
5932
  short: '{{date}}, {{time}}'
5944
5933
  };
5945
- var formatLong$2 = {
5934
+ var formatLong$1 = {
5946
5935
  date: buildFormatLongFn({
5947
5936
  formats: dateFormats$1,
5948
5937
  defaultWidth: 'full'
@@ -5956,7 +5945,6 @@ var formatLong$2 = {
5956
5945
  defaultWidth: 'full'
5957
5946
  })
5958
5947
  };
5959
- const formatLong$3 = formatLong$2;
5960
5948
 
5961
5949
  /**
5962
5950
  * @type {Locale}
@@ -5968,17 +5956,16 @@ const formatLong$3 = formatLong$2;
5968
5956
  */
5969
5957
  var locale$1 = {
5970
5958
  code: 'en-AU',
5971
- formatDistance: formatDistance$3,
5972
- formatLong: formatLong$3,
5973
- formatRelative: formatRelative$3,
5974
- localize: localize$3,
5975
- match: match$3,
5959
+ formatDistance: formatDistance$1,
5960
+ formatLong: formatLong$1,
5961
+ formatRelative: formatRelative$1,
5962
+ localize: localize$1,
5963
+ match: match$1,
5976
5964
  options: {
5977
5965
  weekStartsOn: 1 /* Monday */,
5978
5966
  firstWeekContainsDate: 4
5979
5967
  }
5980
5968
  };
5981
- const enAU = locale$1;
5982
5969
 
5983
5970
  var formatDistanceLocale = {
5984
5971
  lessThanXSeconds: {
@@ -6062,7 +6049,6 @@ var formatDistance = function formatDistance(token, count, options) {
6062
6049
  }
6063
6050
  return result;
6064
6051
  };
6065
- const formatDistance$1 = formatDistance;
6066
6052
 
6067
6053
  var dateFormats = {
6068
6054
  full: "EEEE, d 'de' MMMM 'de' y",
@@ -6096,7 +6082,6 @@ var formatLong = {
6096
6082
  defaultWidth: 'full'
6097
6083
  })
6098
6084
  };
6099
- const formatLong$1 = formatLong;
6100
6085
 
6101
6086
  var formatRelativeLocale = {
6102
6087
  lastWeek: function lastWeek(date) {
@@ -6117,7 +6102,6 @@ var formatRelative = function formatRelative(token, date, _baseDate, _options) {
6117
6102
  }
6118
6103
  return format;
6119
6104
  };
6120
- const formatRelative$1 = formatRelative;
6121
6105
 
6122
6106
  var eraValues = {
6123
6107
  narrow: ['AC', 'DC'],
@@ -6239,7 +6223,6 @@ var localize = {
6239
6223
  defaultFormattingWidth: 'wide'
6240
6224
  })
6241
6225
  };
6242
- const localize$1 = localize;
6243
6226
 
6244
6227
  var matchOrdinalNumberPattern = /^(\d+)[ºªo]?/i;
6245
6228
  var parseOrdinalNumberPattern = /\d+/i;
@@ -6338,7 +6321,6 @@ var match = {
6338
6321
  defaultParseWidth: 'any'
6339
6322
  })
6340
6323
  };
6341
- const match$1 = match;
6342
6324
 
6343
6325
  /**
6344
6326
  * @type {Locale}
@@ -6351,57 +6333,184 @@ const match$1 = match;
6351
6333
  */
6352
6334
  var locale = {
6353
6335
  code: 'pt-BR',
6354
- formatDistance: formatDistance$1,
6355
- formatLong: formatLong$1,
6356
- formatRelative: formatRelative$1,
6357
- localize: localize$1,
6358
- match: match$1,
6336
+ formatDistance: formatDistance,
6337
+ formatLong: formatLong,
6338
+ formatRelative: formatRelative,
6339
+ localize: localize,
6340
+ match: match,
6359
6341
  options: {
6360
6342
  weekStartsOn: 0 /* Sunday */,
6361
6343
  firstWeekContainsDate: 1
6362
6344
  }
6363
6345
  };
6364
- const ptBR = locale;
6365
6346
 
6366
6347
  const curaCalendarCss = ":host{display:block;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);margin:0 auto}:host .calendar{display:flex;flex-direction:column;gap:5px;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);border-radius:4px;overflow:hidden;background:#fff;font-family:var(--font-family)}:host .calendar.embedded{border:2px solid var(--neutral-light);padding:0px 12px 12px 12px}:host .calendar.floating{box-shadow:0 4px 8px var(--neutral-light)}:host .header{position:relative;padding:12px 0}:host .header::after{content:\"\";position:absolute;bottom:0;left:2px;right:2px;border-bottom:2px dotted var(--neutral-light)}:host .month-year{display:flex;padding:12px 8px;justify-content:space-between;align-self:stretch}:host .month-year.dropdown{padding:0%}:host .select{display:flex;padding:7px 10px 0px;justify-content:center;align-items:center;gap:6px;flex:1 0 0}:host .drop-month{display:flex;max-width:118px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .drop-year{display:flex;min-width:80px;max-width:85px;padding:0px;align-items:flex-start;gap:0px;flex:1 0 0}:host .days-of-week{display:flex;height:30px;padding:4px;justify-content:center;align-items:center;gap:4px;flex-shrink:0}:host .day{flex:1;text-align:center}:host .dates{display:flex;flex-wrap:wrap;align-items:center;align-self:stretch;gap:0}:host .icon{cursor:pointer;position:relative;overflow:hidden;border-radius:50%}:host .icon.dropdown{margin-top:10px}:host .icon::before{content:\"\";position:absolute;border-radius:50%;top:50%;left:50%;width:20px;height:20px;background:var(--primary-base);transform:translate(-50%, -50%) scale(0);transition:transform 0.2s ease}:host .icon:active::before{transform:translate(-50%, -50%) scale(1)}:host .icon:active{transform:scale(1)}:host .collapsed-container{text-align:center;position:relative;display:flex;align-items:center;justify-content:center;padding-top:10px}:host .collapsed-container::before{content:\"\";position:absolute;bottom:0;top:0;left:2px;right:2px;border-top:2px dotted var(--neutral-light)}:host .date{display:flex;justify-content:center;align-items:center;height:auto;width:14.2857142857%;aspect-ratio:1;font-size:14px;cursor:pointer;position:relative;box-sizing:border-box;text-align:center;flex-shrink:0}:host .date.today{border:2px solid var(--primary-darker);border-radius:50%;color:var(--primary-darker)}:host .date.selected{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%}:host .date.default-dates{color:var(--select-label) !important;background:var(--primary-base);border-radius:50%;border:none}:host .date.invalid{color:var(--neutral-dark) !important;cursor:not-allowed}:host .date.invalid:hover{background:none;box-shadow:none}:host .date.valid{color:var(--primary-darker);font-weight:var(--font-weight-bold)}:host .date.range.start{border-radius:50% 0 0 50%;color:var(--select-label) !important;background:var(--primary-base)}:host .date.range.interval{border-radius:0;background:var(--primary-lighter);color:var(--neutral-black) !important}:host .date.range.interval.today{border:none}:host .date.range.end{border-radius:0 50% 50% 0;color:var(--select-label) !important;background:var(--primary-base)}@media (min-width: 992px){:host .date:hover{background:var(--primary-lighter);border-radius:50%;color:var(--neutral-white)}}:host select,:host input{width:60px;font-size:16px;box-shadow:0 2px 2px var(--neutral-black);padding:5px;border-radius:4px;border:1px solid #ccc;background:#f7f7f7}";
6367
- const CuraCalendarStyle0 = curaCalendarCss;
6368
6348
 
6369
- const CuraCalendar = /*@__PURE__*/ proxyCustomElement(class CuraCalendar extends HTMLElement {
6349
+ const CuraCalendar = /*@__PURE__*/ proxyCustomElement(class CuraCalendar extends H {
6370
6350
  constructor() {
6371
6351
  super();
6372
6352
  this.__registerHost();
6373
6353
  this.__attachShadow();
6374
- this.onchangeday = createEvent(this, "onchangeday", 7);
6375
- this.theme = window.CuraAPI.theme;
6376
- this.weights = this.theme.fonts.getWeights();
6377
- this.optionsLocale = { 'pt-BR': ptBR, 'en-US': enAU };
6354
+ this.onchangeday = createEvent(this, "onchangeday");
6355
+ /**
6356
+ * An array of specific dates to be highlighted or processed.
6357
+ *
6358
+ * @type {string[] | string}
6359
+ * @default []
6360
+ * @example
6361
+ * // Example usage
6362
+ * period = ["2024-08-01", "2024-08-30"];
6363
+ */
6378
6364
  this.period = null;
6365
+ /**
6366
+ * Width of the component.
6367
+ *
6368
+ * @type {string}
6369
+ * @default '268px'
6370
+ */
6379
6371
  this.width = '268px';
6372
+ /**
6373
+ * Minimum Width of the component.
6374
+ *
6375
+ * @type {string}
6376
+ * @default '268px'
6377
+ */
6380
6378
  this.minWidth = '268px';
6379
+ /**
6380
+ * Maximum Width of the component.
6381
+ *
6382
+ * @type {string}
6383
+ * @default '400px'
6384
+ */
6381
6385
  this.maxWidth = '400px';
6386
+ /**
6387
+ * Selection mode of the date picker.
6388
+ *
6389
+ * @type {'single' | 'multiple' | 'range'}
6390
+ * @default 'single'
6391
+ */
6382
6392
  this.mode = 'single';
6393
+ /**
6394
+ * Date format used for display and parsing.
6395
+ *
6396
+ * @type {string}
6397
+ * @default 'yyyy-MM-dd'
6398
+ */
6383
6399
  this.dateFormat = 'yyyy-MM-dd';
6400
+ /**
6401
+ * Locale for date formatting.
6402
+ *
6403
+ * @type {'pt-BR' | 'en-US'}
6404
+ * @default 'pt-BR'
6405
+ */
6384
6406
  this.locale = 'pt-BR';
6407
+ /**
6408
+ * Display type of the date picker.
6409
+ *
6410
+ * @type {'dropdown' | 'static'}
6411
+ * @default 'dropdown'
6412
+ */
6385
6413
  this.type = 'dropdown';
6414
+ /**
6415
+ * List of dates to disable.
6416
+ *
6417
+ * @type {string[]}
6418
+ * @default []
6419
+ */
6386
6420
  this.disable = [];
6421
+ /**
6422
+ * List of dates to enable.
6423
+ *
6424
+ * @type {string[]}
6425
+ * @default []
6426
+ */
6387
6427
  this.enable = [];
6428
+ /**
6429
+ * Default dates selected on initialization.
6430
+ *
6431
+ * @type {string[]}
6432
+ * @default []
6433
+ * @example
6434
+ * // Example usage
6435
+ * defaultDate = ["2024-08-01", "2024-08-30"];
6436
+ * defaultDate = '["2024-08-01", "2024-08-30"]'
6437
+ */
6388
6438
  this.defaultDate = [];
6439
+ /**
6440
+ * Hide today mark.
6441
+ *
6442
+ * @type {boolean}
6443
+ * @default true
6444
+ */
6389
6445
  this.showToday = true;
6446
+ /**
6447
+ * Array of dates chosen by the user, can be updated dynamically.
6448
+ *
6449
+ * @type {Date[]}
6450
+ * @default []
6451
+ */
6390
6452
  this.customDates = [];
6453
+ /**
6454
+ * Limits the selectable date range.
6455
+ *
6456
+ * @type {Date | null}
6457
+ * @default null
6458
+ */
6391
6459
  this.limitRange = null;
6392
- this.disablePassDates = undefined;
6393
- this.disableFutureDates = undefined;
6394
6460
  this.collapsed = null;
6395
- this.floating = undefined;
6396
- this.embedded = undefined;
6397
6461
  this.selectLabelColorMode = 'light';
6462
+ /**
6463
+ * Array of currently selected dates.
6464
+ *
6465
+ * @type {Date[]}
6466
+ * @default []
6467
+ */
6398
6468
  this.selectedDates = [];
6469
+ /**
6470
+ * The start date of the range selection, if applicable.
6471
+ *
6472
+ * @type {Date | null}
6473
+ * @default null
6474
+ */
6399
6475
  this.rangeStart = null;
6476
+ /**
6477
+ * Array of default dates that are initially selected.
6478
+ *
6479
+ * @type {Date[]}
6480
+ * @default []
6481
+ */
6400
6482
  this.defaultDates = [];
6483
+ /**
6484
+ * The current month being viewed in the date picker.
6485
+ *
6486
+ * @type {Date}
6487
+ * @default new Date()
6488
+ */
6401
6489
  this.currentDate = new Date();
6490
+ /**
6491
+ * Selected months on dropdown.
6492
+ *
6493
+ * @type {string}
6494
+ * @default ''
6495
+ */
6402
6496
  this.selectMonth = '';
6497
+ /**
6498
+ * Selected year on dropdown.
6499
+ *
6500
+ * @type {string}
6501
+ * @default ''
6502
+ */
6403
6503
  this.selectYear = '';
6504
+ /**
6505
+ * CSS styles applied to the component.
6506
+ *
6507
+ * @type {Object}
6508
+ * @default {}
6509
+ */
6404
6510
  this.styles = {};
6511
+ this.theme = window.CuraAPI.theme;
6512
+ this.weights = this.theme.fonts.getWeights();
6513
+ this.optionsLocale = { 'pt-BR': locale, 'en-US': locale$1 };
6405
6514
  }
6406
6515
  connectedCallback() {
6407
6516
  this.setFontProperties();
@@ -6840,7 +6949,7 @@ const CuraCalendar = /*@__PURE__*/ proxyCustomElement(class CuraCalendar extends
6840
6949
  "defaultDate": ["initializeDefaultDates", "handleDefaultDateChange"],
6841
6950
  "customDates": ["watchDefaultDatesArray"]
6842
6951
  }; }
6843
- static get style() { return CuraCalendarStyle0; }
6952
+ static get style() { return curaCalendarCss; }
6844
6953
  }, [1, "cura-calendar", {
6845
6954
  "period": [513],
6846
6955
  "width": [513],
@@ -6854,7 +6963,7 @@ const CuraCalendar = /*@__PURE__*/ proxyCustomElement(class CuraCalendar extends
6854
6963
  "enable": [16],
6855
6964
  "defaultDate": [1537, "default-date"],
6856
6965
  "showToday": [516, "show-today"],
6857
- "customDates": [16],
6966
+ "customDates": [16, "custom-dates"],
6858
6967
  "limitRange": [514, "limit-range"],
6859
6968
  "disablePassDates": [1540, "disable-pass-dates"],
6860
6969
  "disableFutureDates": [1540, "disable-future-dates"],
@@ -6918,5 +7027,6 @@ function defineCustomElement() {
6918
7027
  }
6919
7028
 
6920
7029
  export { CuraCalendar as C, isAfter as a, defineCustomElement as d, isBefore as i };
7030
+ //# sourceMappingURL=p-e-P5qR3J.js.map
6921
7031
 
6922
- //# sourceMappingURL=cura-calendar2.js.map
7032
+ //# sourceMappingURL=p-e-P5qR3J.js.map