@esri/calcite-components 1.0.0-next.604 → 1.0.0-next.606

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 (667) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-cf6b403c.entry.js → p-0020d7d5.entry.js} +2 -2
  4. package/dist/calcite/p-03afda80.entry.js +6 -0
  5. package/dist/calcite/{p-0f0841ad.entry.js → p-06c6854a.entry.js} +2 -2
  6. package/dist/calcite/p-0ae7c12f.js +6 -0
  7. package/dist/calcite/{p-8186970e.entry.js → p-187c562d.entry.js} +2 -2
  8. package/dist/calcite/{p-86a3a102.entry.js → p-1b06322f.entry.js} +2 -2
  9. package/dist/calcite/{p-8e4b563c.entry.js → p-1dd5f101.entry.js} +2 -2
  10. package/dist/calcite/{p-f892cdd9.entry.js → p-1de1447f.entry.js} +2 -2
  11. package/dist/calcite/{p-ece8a0c8.js → p-1e272a5d.js} +1 -1
  12. package/dist/calcite/{p-070e6ecb.entry.js → p-1e3fdded.entry.js} +2 -2
  13. package/dist/calcite/{p-4b7ee4fa.entry.js → p-1e8d2fd7.entry.js} +2 -2
  14. package/dist/calcite/{p-85efcb63.entry.js → p-1eb05bb2.entry.js} +2 -2
  15. package/dist/calcite/{p-132a6dce.js → p-1ed53169.js} +1 -1
  16. package/dist/calcite/{p-b12515e2.entry.js → p-20ab02b7.entry.js} +2 -2
  17. package/dist/calcite/p-22cfa796.entry.js +6 -0
  18. package/dist/calcite/{p-f6dae8af.entry.js → p-2a78a458.entry.js} +2 -2
  19. package/dist/calcite/{p-13679cdc.entry.js → p-2d12183c.entry.js} +2 -2
  20. package/dist/calcite/{p-7a512c22.js → p-2eeff261.js} +1 -1
  21. package/dist/calcite/{p-907eba2f.entry.js → p-32ef135d.entry.js} +2 -2
  22. package/dist/calcite/{p-49c59ffa.entry.js → p-33732b8f.entry.js} +2 -2
  23. package/dist/calcite/p-36522d79.entry.js +6 -0
  24. package/dist/calcite/{p-b854e03c.js → p-37141771.js} +2 -2
  25. package/dist/calcite/{p-eaf0d2cd.entry.js → p-39ebfe9e.entry.js} +2 -2
  26. package/dist/calcite/{p-455f04f4.entry.js → p-404c6db8.entry.js} +2 -2
  27. package/dist/calcite/{p-8c2c7210.js → p-40e1d497.js} +1 -1
  28. package/dist/calcite/{p-43169214.entry.js → p-441037a9.entry.js} +2 -2
  29. package/dist/calcite/{p-0638db3d.js → p-452356bd.js} +2 -2
  30. package/dist/calcite/p-4b1cc441.js +6 -0
  31. package/dist/calcite/{p-2d2be2a2.entry.js → p-4d4bc233.entry.js} +2 -2
  32. package/dist/calcite/{p-ed735c7d.entry.js → p-52d3de61.entry.js} +2 -2
  33. package/dist/calcite/{p-e7ba9444.entry.js → p-538fd2ae.entry.js} +2 -2
  34. package/dist/calcite/{p-f70e3090.js → p-54c6ec8e.js} +1 -1
  35. package/dist/calcite/{p-08834660.js → p-58a34298.js} +1 -1
  36. package/dist/calcite/{p-96e30136.js → p-59bddc1f.js} +1 -1
  37. package/dist/calcite/{p-20a75fc3.entry.js → p-5a979e32.entry.js} +2 -2
  38. package/dist/calcite/{p-d5aa9688.entry.js → p-5ef97e90.entry.js} +2 -2
  39. package/dist/calcite/{p-d21cc0de.entry.js → p-718e40b5.entry.js} +2 -2
  40. package/dist/calcite/{p-a890fff2.entry.js → p-72b59949.entry.js} +2 -2
  41. package/dist/calcite/{p-269ee080.entry.js → p-72c5d8e9.entry.js} +2 -2
  42. package/dist/calcite/{p-20fcc606.js → p-74cc2ffc.js} +1 -1
  43. package/dist/calcite/{p-1ef1c867.entry.js → p-791e76fc.entry.js} +2 -2
  44. package/dist/calcite/{p-64ad8a02.js → p-7b0c6ea0.js} +2 -2
  45. package/dist/calcite/{p-6258723e.entry.js → p-7be2ad3b.entry.js} +2 -2
  46. package/dist/calcite/{p-e19c7368.entry.js → p-8599b693.entry.js} +2 -2
  47. package/dist/calcite/{p-ad9c3d33.entry.js → p-8cf35eb8.entry.js} +2 -2
  48. package/dist/calcite/{p-3db28bff.js → p-8d075e37.js} +1 -1
  49. package/dist/calcite/{p-6eed12ee.js → p-8faadeb1.js} +1 -1
  50. package/dist/calcite/p-91036706.js +6 -0
  51. package/dist/calcite/{p-ccf579fd.entry.js → p-967401e4.entry.js} +2 -2
  52. package/dist/calcite/{p-c11e7afc.entry.js → p-96f53f90.entry.js} +2 -2
  53. package/dist/calcite/{p-1fe887a4.js → p-98a6c8a4.js} +2 -2
  54. package/dist/calcite/{p-9bd1f535.js → p-9c59c88e.js} +1 -1
  55. package/dist/calcite/{p-da3d17ae.js → p-9df2c651.js} +2 -2
  56. package/dist/calcite/{p-a51598d7.entry.js → p-9f88a197.entry.js} +2 -2
  57. package/dist/calcite/{p-27469b83.entry.js → p-a322bb86.entry.js} +2 -2
  58. package/dist/calcite/{p-0132b6c0.entry.js → p-a3f7f3c6.entry.js} +2 -2
  59. package/dist/calcite/{p-45b96b51.js → p-a6373ef6.js} +2 -2
  60. package/dist/calcite/{p-c704eb91.js → p-a88b4c26.js} +1 -1
  61. package/dist/calcite/{p-70d7081b.entry.js → p-ac96d103.entry.js} +2 -2
  62. package/dist/calcite/{p-0eb3eb4e.entry.js → p-aed4b6fc.entry.js} +2 -2
  63. package/dist/calcite/{p-61b0834a.entry.js → p-af04fadb.entry.js} +2 -2
  64. package/dist/calcite/{p-208dc2db.entry.js → p-b5284c7c.entry.js} +2 -2
  65. package/dist/calcite/{p-5c57d01d.entry.js → p-ba03e197.entry.js} +2 -2
  66. package/dist/calcite/{p-650452ff.entry.js → p-bf16098b.entry.js} +2 -2
  67. package/dist/calcite/{p-9a8d86c5.entry.js → p-c3e7ad35.entry.js} +2 -2
  68. package/dist/calcite/{p-0c35bfe6.entry.js → p-c416a37b.entry.js} +2 -2
  69. package/dist/calcite/{p-b72f351a.js → p-c564ee3d.js} +1 -1
  70. package/dist/calcite/{p-2d7a0a21.entry.js → p-c5b28b2a.entry.js} +2 -2
  71. package/dist/calcite/{p-8714d59d.entry.js → p-c7447ff5.entry.js} +2 -2
  72. package/dist/calcite/{p-eb05efcc.entry.js → p-c8f9eae5.entry.js} +2 -2
  73. package/dist/calcite/p-c8ffd3f8.entry.js +6 -0
  74. package/dist/calcite/{p-62e2d4e8.entry.js → p-cafb01e6.entry.js} +2 -2
  75. package/dist/calcite/{p-6cf1c225.js → p-ccd21f8c.js} +2 -2
  76. package/dist/calcite/{p-371c00a4.entry.js → p-cff1af31.entry.js} +2 -2
  77. package/dist/calcite/{p-a1202e81.entry.js → p-d2f79079.entry.js} +2 -2
  78. package/dist/calcite/{p-352a73a5.entry.js → p-d5b3c1bb.entry.js} +2 -2
  79. package/dist/calcite/{p-9671d1e7.entry.js → p-d90a2e81.entry.js} +2 -2
  80. package/dist/calcite/{p-fa1600f3.entry.js → p-d973937d.entry.js} +2 -2
  81. package/dist/calcite/{p-fc6e527e.entry.js → p-da13cffd.entry.js} +2 -2
  82. package/dist/calcite/{p-724dbf5d.entry.js → p-da82a06e.entry.js} +2 -2
  83. package/dist/calcite/p-dbb8e6a4.js +6 -0
  84. package/dist/calcite/{p-b55450eb.entry.js → p-e5b5b117.entry.js} +2 -2
  85. package/dist/calcite/{p-d69a7708.js → p-eb47be9d.js} +1 -1
  86. package/dist/calcite/{p-f54c0b3e.js → p-edbb9009.js} +1 -1
  87. package/dist/calcite/{p-3b97f96b.entry.js → p-f532a20d.entry.js} +2 -2
  88. package/dist/calcite/{p-b1a9c8b4.js → p-f69de408.js} +1 -1
  89. package/dist/calcite/{p-a88cca14.entry.js → p-f8706ae9.entry.js} +2 -2
  90. package/dist/calcite/{p-4812bbe4.js → p-fe3f8e2f.js} +2 -2
  91. package/dist/cjs/{ExpandToggle-2a8308b9.js → ExpandToggle-4c94697a.js} +5 -5
  92. package/dist/cjs/{Heading-61ce3ce9.js → Heading-3af0e212.js} +2 -2
  93. package/dist/cjs/{app-globals-bef24495.js → app-globals-3186acc4.js} +2 -2
  94. package/dist/cjs/{array-c8d9a43e.js → array-4f023a91.js} +1 -1
  95. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  96. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  97. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  98. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  100. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  101. package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
  102. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  103. package/dist/cjs/calcite-block_2.cjs.entry.js +26 -24
  104. package/dist/cjs/calcite-button.cjs.entry.js +26 -20
  105. package/dist/cjs/calcite-card.cjs.entry.js +14 -13
  106. package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -16
  107. package/dist/cjs/calcite-chip.cjs.entry.js +16 -16
  108. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +52 -55
  109. package/dist/cjs/calcite-combobox_3.cjs.entry.js +33 -31
  110. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +30 -22
  111. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  113. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  114. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  115. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  116. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
  117. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  118. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  119. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  120. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -34
  121. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  122. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  123. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  124. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
  125. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  126. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  127. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  129. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  130. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  131. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  132. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  133. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
  134. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  135. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  136. package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -12
  137. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  138. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  139. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  140. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  141. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  142. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  143. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  144. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  145. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  146. package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  148. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  149. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  151. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
  152. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  153. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  154. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  155. package/dist/cjs/calcite.cjs.js +5 -5
  156. package/dist/cjs/{conditionalSlot-833377ff.js → conditionalSlot-cb35bd49.js} +3 -3
  157. package/dist/cjs/{debounce-91cd9b6f.js → debounce-7c328f60.js} +1 -1
  158. package/dist/cjs/{dom-68b3dd45.js → dom-c8d2699b.js} +3 -3
  159. package/dist/cjs/{filter-2ab9e10c.js → filter-9a46e30b.js} +2 -2
  160. package/dist/cjs/{floating-ui-b475a1f1.js → floating-ui-1eb7dfe6.js} +2 -2
  161. package/dist/cjs/{form-70b82787.js → form-131e64b8.js} +3 -3
  162. package/dist/cjs/{guid-82d86568.js → guid-ad9b119b.js} +1 -1
  163. package/dist/cjs/{index-b8f7ccf6.js → index-b1ba5282.js} +1 -1
  164. package/dist/cjs/index.cjs.js +1 -1
  165. package/dist/cjs/{interactive-2d44e7b0.js → interactive-baf36661.js} +1 -1
  166. package/dist/cjs/{interfaces-57753d49.js → interfaces-084c0793.js} +1 -1
  167. package/dist/cjs/{key-d0d758af.js → key-59a119b9.js} +1 -1
  168. package/dist/cjs/{label-dfd45e8e.js → label-415bc940.js} +2 -2
  169. package/dist/cjs/loader.cjs.js +5 -5
  170. package/dist/cjs/{locale-ed04ca10.js → locale-02d3d5ef.js} +42 -20
  171. package/dist/cjs/{math-44f4b70d.js → math-45a2d4c0.js} +1 -1
  172. package/dist/cjs/{observers-6b7640c1.js → observers-bf725ee8.js} +1 -1
  173. package/dist/cjs/{openCloseComponent-700f4bb7.js → openCloseComponent-f4966a6b.js} +1 -1
  174. package/dist/cjs/{resources-b599ef9b.js → resources-0da64a64.js} +4 -42
  175. package/dist/cjs/{resources-19131f53.js → resources-12c592bb.js} +5 -5
  176. package/dist/cjs/{resources-13d6ce53.js → resources-55a2a593.js} +1 -1
  177. package/dist/cjs/{resources-a7343d6f.js → resources-79bc4e72.js} +1 -1
  178. package/dist/cjs/{resources-265600f9.js → resources-ef23c4c9.js} +1 -1
  179. package/dist/cjs/{resources-5bf45034.js → resources-f51e581d.js} +1 -1
  180. package/dist/cjs/{sortable.esm-2a2e4768.js → sortable.esm-f5415dc8.js} +1 -1
  181. package/dist/cjs/{utils-ff59f23a.js → utils-332df7b7.js} +1 -1
  182. package/dist/collection/components/accordion/accordion.js +1 -1
  183. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  184. package/dist/collection/components/accordion-item/resources.js +1 -1
  185. package/dist/collection/components/action/action.js +1 -1
  186. package/dist/collection/components/action/resources.js +1 -1
  187. package/dist/collection/components/action-bar/action-bar.js +1 -1
  188. package/dist/collection/components/action-bar/resources.js +1 -1
  189. package/dist/collection/components/action-bar/utils.js +1 -1
  190. package/dist/collection/components/action-group/action-group.js +1 -1
  191. package/dist/collection/components/action-group/resources.js +1 -1
  192. package/dist/collection/components/action-menu/action-menu.js +1 -1
  193. package/dist/collection/components/action-menu/resources.js +1 -1
  194. package/dist/collection/components/action-pad/action-pad.js +1 -1
  195. package/dist/collection/components/action-pad/resources.js +1 -1
  196. package/dist/collection/components/alert/alert.js +1 -1
  197. package/dist/collection/components/alert/interfaces.js +1 -1
  198. package/dist/collection/components/alert/resources.js +1 -1
  199. package/dist/collection/components/avatar/avatar.js +1 -1
  200. package/dist/collection/components/avatar/utils.js +1 -1
  201. package/dist/collection/components/block/block.js +31 -31
  202. package/dist/collection/components/block/resources.js +1 -1
  203. package/dist/collection/components/block-section/block-section.js +15 -13
  204. package/dist/collection/components/block-section/resources.js +1 -1
  205. package/dist/collection/components/button/button.js +49 -34
  206. package/dist/collection/components/button/resources.js +1 -1
  207. package/dist/collection/components/card/card.js +19 -18
  208. package/dist/collection/components/card/resources.js +1 -1
  209. package/dist/collection/components/checkbox/checkbox.css +1 -1
  210. package/dist/collection/components/checkbox/checkbox.js +26 -21
  211. package/dist/collection/components/chip/chip.js +21 -21
  212. package/dist/collection/components/chip/resources.js +1 -1
  213. package/dist/collection/components/color-picker/color-picker.js +65 -66
  214. package/dist/collection/components/color-picker/resources.js +1 -1
  215. package/dist/collection/components/color-picker/utils.js +1 -1
  216. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +12 -14
  217. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  218. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +5 -5
  219. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  220. package/dist/collection/components/combobox/combobox.css +1 -1
  221. package/dist/collection/components/combobox/combobox.js +35 -35
  222. package/dist/collection/components/combobox/resources.js +1 -1
  223. package/dist/collection/components/combobox/utils.js +1 -1
  224. package/dist/collection/components/combobox-item/combobox-item.js +19 -17
  225. package/dist/collection/components/combobox-item/resources.js +1 -1
  226. package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
  227. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  228. package/dist/collection/components/date-picker/date-picker.js +34 -2
  229. package/dist/collection/components/date-picker/resources.js +1 -1
  230. package/dist/collection/components/date-picker/utils.js +1 -1
  231. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -26
  232. package/dist/collection/components/date-picker-month/date-picker-month.js +2 -2
  233. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +10 -8
  234. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  235. package/dist/collection/components/dropdown/dropdown.js +1 -1
  236. package/dist/collection/components/dropdown/resources.js +1 -1
  237. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  238. package/dist/collection/components/dropdown-group/resources.js +1 -1
  239. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  240. package/dist/collection/components/dropdown-item/resources.js +1 -1
  241. package/dist/collection/components/fab/fab.js +1 -1
  242. package/dist/collection/components/fab/resources.js +1 -1
  243. package/dist/collection/components/filter/filter.js +1 -1
  244. package/dist/collection/components/filter/resources.js +1 -1
  245. package/dist/collection/components/flow/flow.js +1 -1
  246. package/dist/collection/components/flow/resources.js +1 -1
  247. package/dist/collection/components/flow-item/flow-item.js +1 -1
  248. package/dist/collection/components/flow-item/resources.js +1 -1
  249. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  250. package/dist/collection/components/functional/Heading.js +1 -1
  251. package/dist/collection/components/graph/graph.js +1 -1
  252. package/dist/collection/components/graph/util.js +1 -1
  253. package/dist/collection/components/handle/handle.css +1 -1
  254. package/dist/collection/components/handle/handle.js +1 -1
  255. package/dist/collection/components/handle/resources.js +1 -1
  256. package/dist/collection/components/icon/icon.js +1 -1
  257. package/dist/collection/components/icon/resources.js +1 -1
  258. package/dist/collection/components/icon/utils.js +1 -1
  259. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  260. package/dist/collection/components/inline-editable/resources.js +1 -1
  261. package/dist/collection/components/input/input.js +1 -1
  262. package/dist/collection/components/input/resources.js +1 -1
  263. package/dist/collection/components/input-date-picker/input-date-picker.js +87 -28
  264. package/dist/collection/components/input-date-picker/resources.js +1 -1
  265. package/dist/collection/components/input-message/input-message.js +1 -1
  266. package/dist/collection/components/input-message/interfaces.js +1 -1
  267. package/dist/collection/components/input-number/input-number.js +1 -1
  268. package/dist/collection/components/input-number/resources.js +1 -1
  269. package/dist/collection/components/input-text/input-text.js +1 -1
  270. package/dist/collection/components/input-text/resources.js +1 -1
  271. package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
  272. package/dist/collection/components/label/label.js +1 -1
  273. package/dist/collection/components/label/resources.js +1 -1
  274. package/dist/collection/components/link/link.js +1 -1
  275. package/dist/collection/components/list/list.js +1 -1
  276. package/dist/collection/components/list/resources.js +1 -1
  277. package/dist/collection/components/list-item/list-item.js +1 -1
  278. package/dist/collection/components/list-item/resources.js +1 -1
  279. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  280. package/dist/collection/components/list-item-group/resources.js +1 -1
  281. package/dist/collection/components/loader/loader.js +1 -1
  282. package/dist/collection/components/modal/modal.js +1 -1
  283. package/dist/collection/components/modal/resources.js +1 -1
  284. package/dist/collection/components/notice/notice.js +1 -1
  285. package/dist/collection/components/notice/resources.js +1 -1
  286. package/dist/collection/components/option/option.js +1 -1
  287. package/dist/collection/components/option-group/option-group.js +1 -1
  288. package/dist/collection/components/pagination/pagination.js +1 -1
  289. package/dist/collection/components/pagination/resources.js +1 -1
  290. package/dist/collection/components/panel/panel.js +1 -1
  291. package/dist/collection/components/panel/resources.js +1 -1
  292. package/dist/collection/components/pick-list/pick-list.js +1 -1
  293. package/dist/collection/components/pick-list/resources.js +1 -1
  294. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  295. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  296. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  297. package/dist/collection/components/pick-list-group/resources.js +1 -1
  298. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  299. package/dist/collection/components/pick-list-item/resources.js +1 -1
  300. package/dist/collection/components/popover/PopoverManager.js +1 -1
  301. package/dist/collection/components/popover/popover.js +3 -3
  302. package/dist/collection/components/popover/resources.js +1 -1
  303. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  304. package/dist/collection/components/progress/progress.js +1 -1
  305. package/dist/collection/components/radio-button/radio-button.js +1 -1
  306. package/dist/collection/components/radio-button/resources.js +1 -1
  307. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  308. package/dist/collection/components/radio-group/radio-group.js +1 -1
  309. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  310. package/dist/collection/components/radio-group-item/resources.js +1 -1
  311. package/dist/collection/components/rating/rating.js +1 -1
  312. package/dist/collection/components/rating/resources.js +1 -1
  313. package/dist/collection/components/scrim/resources.js +1 -1
  314. package/dist/collection/components/scrim/scrim.js +1 -1
  315. package/dist/collection/components/select/resources.js +1 -1
  316. package/dist/collection/components/select/select.js +1 -1
  317. package/dist/collection/components/shell/resources.js +1 -1
  318. package/dist/collection/components/shell/shell.js +1 -1
  319. package/dist/collection/components/shell-center-row/resources.js +1 -1
  320. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  321. package/dist/collection/components/shell-panel/resources.js +1 -1
  322. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  323. package/dist/collection/components/slider/resources.js +1 -1
  324. package/dist/collection/components/slider/slider.js +1 -1
  325. package/dist/collection/components/sortable-list/resources.js +1 -1
  326. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  327. package/dist/collection/components/split-button/resources.js +1 -1
  328. package/dist/collection/components/split-button/split-button.js +1 -1
  329. package/dist/collection/components/stepper/stepper.js +1 -1
  330. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  331. package/dist/collection/components/switch/switch.js +1 -1
  332. package/dist/collection/components/tab/tab.js +1 -1
  333. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  334. package/dist/collection/components/tab-title/tab-title.js +1 -1
  335. package/dist/collection/components/tabs/resources.js +1 -1
  336. package/dist/collection/components/tabs/tabs.js +1 -1
  337. package/dist/collection/components/tile/resources.js +1 -1
  338. package/dist/collection/components/tile/tile.js +1 -1
  339. package/dist/collection/components/tile-select/resources.js +1 -1
  340. package/dist/collection/components/tile-select/tile-select.js +1 -1
  341. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  342. package/dist/collection/components/time-picker/resources.js +1 -1
  343. package/dist/collection/components/time-picker/time-picker.js +1 -1
  344. package/dist/collection/components/tip/resources.js +1 -1
  345. package/dist/collection/components/tip/tip.js +3 -3
  346. package/dist/collection/components/tip-group/tip-group.js +1 -1
  347. package/dist/collection/components/tip-manager/resources.js +1 -1
  348. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  349. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  350. package/dist/collection/components/tooltip/resources.js +1 -1
  351. package/dist/collection/components/tooltip/tooltip.js +1 -1
  352. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  353. package/dist/collection/components/tree/interfaces.js +1 -1
  354. package/dist/collection/components/tree/tree.js +1 -1
  355. package/dist/collection/components/tree/utils.js +1 -1
  356. package/dist/collection/components/tree-item/resources.js +1 -1
  357. package/dist/collection/components/tree-item/tree-item.js +1 -1
  358. package/dist/collection/components/value-list/resources.js +1 -1
  359. package/dist/collection/components/value-list/utils.js +1 -1
  360. package/dist/collection/components/value-list/value-list.js +1 -1
  361. package/dist/collection/components/value-list-item/resources.js +1 -1
  362. package/dist/collection/components/value-list-item/value-list-item.css +1 -2
  363. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  364. package/dist/collection/utils/array.js +1 -1
  365. package/dist/collection/utils/conditionalSlot.js +1 -1
  366. package/dist/collection/utils/date.js +3 -38
  367. package/dist/collection/utils/dom.js +1 -1
  368. package/dist/collection/utils/filter.js +1 -1
  369. package/dist/collection/utils/floating-ui.js +1 -1
  370. package/dist/collection/utils/form.js +1 -1
  371. package/dist/collection/utils/globalAttributes.js +1 -1
  372. package/dist/collection/utils/globalScript.js +1 -1
  373. package/dist/collection/utils/guid.js +1 -1
  374. package/dist/collection/utils/interactive.js +1 -1
  375. package/dist/collection/utils/key.js +1 -1
  376. package/dist/collection/utils/label.js +1 -1
  377. package/dist/collection/utils/locale.js +37 -18
  378. package/dist/collection/utils/math.js +1 -1
  379. package/dist/collection/utils/number.js +4 -1
  380. package/dist/collection/utils/observers.js +1 -1
  381. package/dist/collection/utils/openCloseComponent.js +1 -1
  382. package/dist/collection/utils/resources.js +1 -1
  383. package/dist/collection/utils/t9n.js +1 -1
  384. package/dist/collection/utils/theme.js +1 -1
  385. package/dist/collection/utils/time.js +1 -1
  386. package/dist/components/ExpandToggle.js +1 -1
  387. package/dist/components/Heading.js +1 -1
  388. package/dist/components/action-group.js +1 -1
  389. package/dist/components/action-menu.js +1 -1
  390. package/dist/components/action.js +1 -1
  391. package/dist/components/array.js +1 -1
  392. package/dist/components/button.js +18 -12
  393. package/dist/components/calcite-accordion-item.js +1 -1
  394. package/dist/components/calcite-accordion.js +1 -1
  395. package/dist/components/calcite-action-bar.js +1 -1
  396. package/dist/components/calcite-action-group.js +1 -1
  397. package/dist/components/calcite-action-menu.js +1 -1
  398. package/dist/components/calcite-action-pad.js +1 -1
  399. package/dist/components/calcite-action.js +1 -1
  400. package/dist/components/calcite-alert.js +1 -1
  401. package/dist/components/calcite-avatar.js +1 -1
  402. package/dist/components/calcite-block-section.js +7 -5
  403. package/dist/components/calcite-block.js +11 -11
  404. package/dist/components/calcite-button.js +1 -1
  405. package/dist/components/calcite-card.js +8 -7
  406. package/dist/components/calcite-checkbox.js +1 -1
  407. package/dist/components/calcite-chip.js +1 -1
  408. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  409. package/dist/components/calcite-color-picker-swatch.js +1 -1
  410. package/dist/components/calcite-color-picker.js +35 -36
  411. package/dist/components/calcite-combobox-item-group.js +1 -1
  412. package/dist/components/calcite-combobox-item.js +7 -5
  413. package/dist/components/calcite-combobox.js +14 -14
  414. package/dist/components/calcite-date-picker-day.js +1 -1
  415. package/dist/components/calcite-date-picker-month-header.js +1 -1
  416. package/dist/components/calcite-date-picker-month.js +1 -1
  417. package/dist/components/calcite-date-picker.js +1 -1
  418. package/dist/components/calcite-dropdown-group.js +1 -1
  419. package/dist/components/calcite-dropdown-item.js +1 -1
  420. package/dist/components/calcite-dropdown.js +1 -1
  421. package/dist/components/calcite-fab.js +1 -1
  422. package/dist/components/calcite-filter.js +1 -1
  423. package/dist/components/calcite-flow-item.js +1 -1
  424. package/dist/components/calcite-flow.js +1 -1
  425. package/dist/components/calcite-graph.js +1 -1
  426. package/dist/components/calcite-handle.js +1 -1
  427. package/dist/components/calcite-icon.js +1 -1
  428. package/dist/components/calcite-inline-editable.js +1 -1
  429. package/dist/components/calcite-input-date-picker.js +59 -21
  430. package/dist/components/calcite-input-message.js +1 -1
  431. package/dist/components/calcite-input-number.js +1 -1
  432. package/dist/components/calcite-input-text.js +1 -1
  433. package/dist/components/calcite-input-time-picker.js +2 -2
  434. package/dist/components/calcite-input.js +1 -1
  435. package/dist/components/calcite-label.js +1 -1
  436. package/dist/components/calcite-link.js +1 -1
  437. package/dist/components/calcite-list-item-group.js +1 -1
  438. package/dist/components/calcite-list-item.js +1 -1
  439. package/dist/components/calcite-list.js +1 -1
  440. package/dist/components/calcite-loader.js +1 -1
  441. package/dist/components/calcite-modal.js +1 -1
  442. package/dist/components/calcite-notice.js +1 -1
  443. package/dist/components/calcite-option-group.js +1 -1
  444. package/dist/components/calcite-option.js +1 -1
  445. package/dist/components/calcite-pagination.js +1 -1
  446. package/dist/components/calcite-panel.js +1 -1
  447. package/dist/components/calcite-pick-list-group.js +1 -1
  448. package/dist/components/calcite-pick-list-item.js +1 -1
  449. package/dist/components/calcite-pick-list.js +1 -1
  450. package/dist/components/calcite-popover-manager.js +1 -1
  451. package/dist/components/calcite-popover.js +1 -1
  452. package/dist/components/calcite-progress.js +1 -1
  453. package/dist/components/calcite-radio-button-group.js +1 -1
  454. package/dist/components/calcite-radio-button.js +1 -1
  455. package/dist/components/calcite-radio-group-item.js +1 -1
  456. package/dist/components/calcite-radio-group.js +1 -1
  457. package/dist/components/calcite-rating.js +1 -1
  458. package/dist/components/calcite-scrim.js +1 -1
  459. package/dist/components/calcite-select.js +1 -1
  460. package/dist/components/calcite-shell-center-row.js +1 -1
  461. package/dist/components/calcite-shell-panel.js +1 -1
  462. package/dist/components/calcite-shell.js +1 -1
  463. package/dist/components/calcite-slider.js +1 -1
  464. package/dist/components/calcite-sortable-list.js +1 -1
  465. package/dist/components/calcite-split-button.js +1 -1
  466. package/dist/components/calcite-stepper-item.js +1 -1
  467. package/dist/components/calcite-stepper.js +1 -1
  468. package/dist/components/calcite-switch.js +1 -1
  469. package/dist/components/calcite-tab-nav.js +1 -1
  470. package/dist/components/calcite-tab-title.js +1 -1
  471. package/dist/components/calcite-tab.js +1 -1
  472. package/dist/components/calcite-tabs.js +1 -1
  473. package/dist/components/calcite-tile-select-group.js +1 -1
  474. package/dist/components/calcite-tile-select.js +1 -1
  475. package/dist/components/calcite-tile.js +1 -1
  476. package/dist/components/calcite-time-picker.js +1 -1
  477. package/dist/components/calcite-tip-group.js +1 -1
  478. package/dist/components/calcite-tip-manager.js +1 -1
  479. package/dist/components/calcite-tip.js +2 -2
  480. package/dist/components/calcite-tooltip-manager.js +1 -1
  481. package/dist/components/calcite-tooltip.js +1 -1
  482. package/dist/components/calcite-tree-item.js +1 -1
  483. package/dist/components/calcite-tree.js +1 -1
  484. package/dist/components/calcite-value-list-item.js +2 -2
  485. package/dist/components/calcite-value-list.js +1 -1
  486. package/dist/components/checkbox.js +10 -8
  487. package/dist/components/chip.js +10 -10
  488. package/dist/components/color-picker-hex-input.js +7 -9
  489. package/dist/components/color-picker-swatch.js +3 -3
  490. package/dist/components/conditionalSlot.js +1 -1
  491. package/dist/components/date-picker-day.js +3 -6
  492. package/dist/components/date-picker-month-header.js +10 -8
  493. package/dist/components/date-picker-month.js +2 -2
  494. package/dist/components/date-picker.js +13 -2
  495. package/dist/components/date.js +5 -39
  496. package/dist/components/debounce.js +1 -1
  497. package/dist/components/dom.js +1 -1
  498. package/dist/components/dropdown.js +1 -1
  499. package/dist/components/filter.js +1 -1
  500. package/dist/components/filter2.js +1 -1
  501. package/dist/components/floating-ui.js +1 -1
  502. package/dist/components/form.js +1 -1
  503. package/dist/components/graph.js +1 -1
  504. package/dist/components/guid.js +1 -1
  505. package/dist/components/handle.js +2 -2
  506. package/dist/components/icon.js +1 -1
  507. package/dist/components/index.js +1 -1
  508. package/dist/components/input.js +1 -1
  509. package/dist/components/interactive.js +1 -1
  510. package/dist/components/interfaces.js +1 -1
  511. package/dist/components/interfaces2.js +1 -1
  512. package/dist/components/key.js +1 -1
  513. package/dist/components/label.js +1 -1
  514. package/dist/components/label2.js +1 -1
  515. package/dist/components/link.js +1 -1
  516. package/dist/components/loader.js +1 -1
  517. package/dist/components/locale.js +39 -17
  518. package/dist/components/math.js +1 -1
  519. package/dist/components/observers.js +1 -1
  520. package/dist/components/openCloseComponent.js +1 -1
  521. package/dist/components/panel.js +1 -1
  522. package/dist/components/pick-list-item.js +1 -1
  523. package/dist/components/popover.js +2 -2
  524. package/dist/components/progress.js +1 -1
  525. package/dist/components/resources.js +1 -1
  526. package/dist/components/resources2.js +1 -1
  527. package/dist/components/resources3.js +1 -1
  528. package/dist/components/scrim.js +1 -1
  529. package/dist/components/shared-list-render.js +1 -1
  530. package/dist/components/sortable.esm.js +1 -1
  531. package/dist/components/switch.js +1 -1
  532. package/dist/components/tab-nav.js +1 -1
  533. package/dist/components/tab-title.js +1 -1
  534. package/dist/components/tab.js +1 -1
  535. package/dist/components/tabs.js +1 -1
  536. package/dist/components/tile.js +1 -1
  537. package/dist/components/time-picker.js +1 -1
  538. package/dist/components/tooltip.js +1 -1
  539. package/dist/components/utils.js +1 -1
  540. package/dist/components/utils2.js +1 -1
  541. package/dist/esm/{ExpandToggle-898453cb.js → ExpandToggle-246dd7c6.js} +5 -5
  542. package/dist/esm/{Heading-40531cc4.js → Heading-11c2a834.js} +2 -2
  543. package/dist/esm/{app-globals-1c40ef17.js → app-globals-1b919870.js} +2 -2
  544. package/dist/esm/{array-9ca87a19.js → array-16ebf5c6.js} +1 -1
  545. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  546. package/dist/esm/calcite-action-bar.entry.js +11 -11
  547. package/dist/esm/calcite-action-group.entry.js +9 -9
  548. package/dist/esm/calcite-action-menu.entry.js +8 -8
  549. package/dist/esm/calcite-action-pad.entry.js +10 -10
  550. package/dist/esm/calcite-action.entry.js +7 -7
  551. package/dist/esm/calcite-alert.entry.js +10 -10
  552. package/dist/esm/calcite-avatar.entry.js +6 -6
  553. package/dist/esm/calcite-block_2.entry.js +26 -24
  554. package/dist/esm/calcite-button.entry.js +26 -20
  555. package/dist/esm/calcite-card.entry.js +14 -13
  556. package/dist/esm/calcite-checkbox.entry.js +18 -16
  557. package/dist/esm/calcite-chip.entry.js +16 -16
  558. package/dist/esm/calcite-color-picker_3.entry.js +52 -55
  559. package/dist/esm/calcite-combobox_3.entry.js +33 -31
  560. package/dist/esm/calcite-date-picker_4.entry.js +30 -22
  561. package/dist/esm/calcite-dropdown_3.entry.js +11 -11
  562. package/dist/esm/calcite-fab.entry.js +6 -6
  563. package/dist/esm/calcite-filter.entry.js +8 -8
  564. package/dist/esm/calcite-flow-item.entry.js +7 -7
  565. package/dist/esm/calcite-flow.entry.js +3 -3
  566. package/dist/esm/calcite-graph_2.entry.js +12 -12
  567. package/dist/esm/calcite-handle.entry.js +6 -6
  568. package/dist/esm/calcite-icon.entry.js +6 -6
  569. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  570. package/dist/esm/calcite-input-date-picker.entry.js +70 -34
  571. package/dist/esm/calcite-input-message.entry.js +5 -5
  572. package/dist/esm/calcite-input-number.entry.js +12 -12
  573. package/dist/esm/calcite-input-text.entry.js +9 -9
  574. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  575. package/dist/esm/calcite-input.entry.js +12 -12
  576. package/dist/esm/calcite-label.entry.js +6 -6
  577. package/dist/esm/calcite-link.entry.js +6 -6
  578. package/dist/esm/calcite-list_3.entry.js +9 -9
  579. package/dist/esm/calcite-loader.entry.js +3 -3
  580. package/dist/esm/calcite-modal.entry.js +8 -8
  581. package/dist/esm/calcite-notice.entry.js +8 -8
  582. package/dist/esm/calcite-option_3.entry.js +9 -9
  583. package/dist/esm/calcite-pagination.entry.js +8 -8
  584. package/dist/esm/calcite-panel.entry.js +10 -10
  585. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  586. package/dist/esm/calcite-popover_2.entry.js +12 -12
  587. package/dist/esm/calcite-progress.entry.js +2 -2
  588. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  589. package/dist/esm/calcite-radio-button.entry.js +9 -9
  590. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  591. package/dist/esm/calcite-rating.entry.js +9 -9
  592. package/dist/esm/calcite-scrim.entry.js +2 -2
  593. package/dist/esm/calcite-shell_3.entry.js +8 -8
  594. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  595. package/dist/esm/calcite-split-button.entry.js +3 -3
  596. package/dist/esm/calcite-stepper_2.entry.js +9 -9
  597. package/dist/esm/calcite-switch.entry.js +9 -9
  598. package/dist/esm/calcite-tab_4.entry.js +7 -7
  599. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  600. package/dist/esm/calcite-tile.entry.js +8 -8
  601. package/dist/esm/calcite-tip_3.entry.js +9 -9
  602. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  603. package/dist/esm/calcite-tree_2.entry.js +8 -8
  604. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  605. package/dist/esm/calcite.js +5 -5
  606. package/dist/esm/{conditionalSlot-8139b6c7.js → conditionalSlot-833c523f.js} +3 -3
  607. package/dist/esm/{debounce-da00fd2e.js → debounce-98d20a38.js} +1 -1
  608. package/dist/esm/{dom-e368d23b.js → dom-640caf51.js} +3 -3
  609. package/dist/esm/{filter-d22f4d94.js → filter-38e63edc.js} +2 -2
  610. package/dist/esm/{floating-ui-4dec1723.js → floating-ui-b2f9718e.js} +2 -2
  611. package/dist/esm/{form-9f1caa56.js → form-493b70e6.js} +3 -3
  612. package/dist/esm/{guid-2563b904.js → guid-11f68c50.js} +1 -1
  613. package/dist/esm/{index-b452034d.js → index-06118eda.js} +1 -1
  614. package/dist/esm/index.js +1 -1
  615. package/dist/esm/{interactive-7be16f70.js → interactive-fccdf326.js} +1 -1
  616. package/dist/esm/{interfaces-0d35b7e8.js → interfaces-d9428b54.js} +1 -1
  617. package/dist/esm/{key-76f8b045.js → key-754bbff1.js} +1 -1
  618. package/dist/esm/{label-c63a5725.js → label-57dd65d4.js} +2 -2
  619. package/dist/esm/loader.js +5 -5
  620. package/dist/esm/{locale-6d23910f.js → locale-4e463ebf.js} +42 -20
  621. package/dist/esm/{math-babff37a.js → math-99ba6bfb.js} +1 -1
  622. package/dist/esm/{observers-73b4a955.js → observers-74e54f0e.js} +1 -1
  623. package/dist/esm/{openCloseComponent-3adb36f4.js → openCloseComponent-ccf3f367.js} +1 -1
  624. package/dist/esm/{resources-5c3e406b.js → resources-64b0963b.js} +1 -1
  625. package/dist/esm/{resources-b67102fc.js → resources-9331d9fa.js} +1 -1
  626. package/dist/esm/{resources-b0365da2.js → resources-bad5148f.js} +5 -5
  627. package/dist/esm/{resources-a4a87dee.js → resources-d9cf35ab.js} +5 -41
  628. package/dist/esm/{resources-626ca2ff.js → resources-f3f5aa83.js} +1 -1
  629. package/dist/esm/{resources-477bb561.js → resources-f7ec4e42.js} +1 -1
  630. package/dist/esm/{sortable.esm-b265312e.js → sortable.esm-76542737.js} +1 -1
  631. package/dist/esm/{utils-3faa6333.js → utils-703b7ab8.js} +1 -1
  632. package/dist/extras/docs-json.json +399 -192
  633. package/dist/loader/cdn.js +1 -1
  634. package/dist/loader/index.cjs.js +1 -1
  635. package/dist/loader/index.es2017.js +1 -1
  636. package/dist/loader/index.js +1 -1
  637. package/dist/types/components/block/block.d.ts +22 -20
  638. package/dist/types/components/block-section/block-section.d.ts +12 -10
  639. package/dist/types/components/button/button.d.ts +35 -19
  640. package/dist/types/components/card/card.d.ts +11 -10
  641. package/dist/types/components/checkbox/checkbox.d.ts +16 -14
  642. package/dist/types/components/chip/chip.d.ts +12 -12
  643. package/dist/types/components/color-picker/color-picker.d.ts +36 -39
  644. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +6 -8
  645. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
  646. package/dist/types/components/combobox/combobox.d.ts +25 -25
  647. package/dist/types/components/combobox-item/combobox-item.d.ts +14 -12
  648. package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
  649. package/dist/types/components/date-picker/date-picker.d.ts +6 -1
  650. package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -3
  651. package/dist/types/components/input-date-picker/input-date-picker.d.ts +18 -9
  652. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
  653. package/dist/types/components/popover/popover.d.ts +1 -1
  654. package/dist/types/components/tip/tip.d.ts +1 -1
  655. package/dist/types/components.d.ts +319 -297
  656. package/dist/types/utils/date.d.ts +0 -20
  657. package/dist/types/utils/locale.d.ts +2 -1
  658. package/hydrate/index.js +244 -208
  659. package/package.json +1 -1
  660. package/dist/calcite/p-29606db4.js +0 -6
  661. package/dist/calcite/p-4327432d.js +0 -6
  662. package/dist/calcite/p-51b621f0.entry.js +0 -6
  663. package/dist/calcite/p-78e3c738.entry.js +0 -6
  664. package/dist/calcite/p-8ab52970.js +0 -6
  665. package/dist/calcite/p-ce50d417.entry.js +0 -6
  666. package/dist/calcite/p-d7fc65a3.entry.js +0 -6
  667. package/dist/calcite/p-dfa5f8b9.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.604
4
+ * v1.0.0-next.606
5
5
  */
6
6
  'use strict';
7
7
 
@@ -8968,6 +8968,9 @@ function sanitizeExponentialNumberString(numberString, func) {
8968
8968
  return numberString;
8969
8969
  }
8970
8970
  const firstE = numberString.toLowerCase().indexOf("e") + 1;
8971
+ if (!firstE) {
8972
+ return func(numberString);
8973
+ }
8971
8974
  return numberString
8972
8975
  .replace(/[eE]*$/g, "")
8973
8976
  .substring(0, firstE)
@@ -9067,6 +9070,9 @@ function getSupportedLocale(locale) {
9067
9070
  if (locales.indexOf(locale) > -1) {
9068
9071
  return locale;
9069
9072
  }
9073
+ if (!locale) {
9074
+ return defaultLocale;
9075
+ }
9070
9076
  locale = locale.toLowerCase();
9071
9077
  // we support both 'nb' and 'no' (BCP 47) for Norwegian
9072
9078
  if (locale === "nb") {
@@ -9078,7 +9084,7 @@ function getSupportedLocale(locale) {
9078
9084
  locale = locale.split("-")[0];
9079
9085
  }
9080
9086
  }
9081
- return locales.includes(locale) ? locale : "en";
9087
+ return locales.includes(locale) ? locale : defaultLocale;
9082
9088
  }
9083
9089
  const connectedComponents = new Set();
9084
9090
  /**
@@ -9142,17 +9148,25 @@ function getLocale(component) {
9142
9148
  */
9143
9149
  class NumberStringFormat {
9144
9150
  constructor() {
9145
- this.delocalize = (numberString) => sanitizeExponentialNumberString(numberString, (nonExpoNumString) => nonExpoNumString
9146
- .trim()
9147
- .replace(new RegExp(`[${this._minusSign}]`, "g"), "-")
9148
- .replace(new RegExp(`[${this._group}]`, "g"), "")
9149
- .replace(new RegExp(`[${this._decimal}]`, "g"), ".")
9150
- .replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex));
9151
- this.localize = (numberString) => sanitizeExponentialNumberString(numberString, (nonExpoNumString) => isValidNumber(nonExpoNumString)
9152
- ? new BigDecimal(nonExpoNumString.trim())
9153
- .format(this._numberFormatter)
9154
- .replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group)
9155
- : nonExpoNumString);
9151
+ this.delocalize = (numberString) =>
9152
+ // For performance, (de)localization is skipped if the formatter isn't initialized.
9153
+ // In order to localize/delocalize, e.g. when lang/numberingSystem props are not default values,
9154
+ // `numberFormatOptions` must be set in a component to create and cache the formatter.
9155
+ this._numberFormatOptions
9156
+ ? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => nonExpoNumString
9157
+ .trim()
9158
+ .replace(new RegExp(`[${this._minusSign}]`, "g"), "-")
9159
+ .replace(new RegExp(`[${this._group}]`, "g"), "")
9160
+ .replace(new RegExp(`[${this._decimal}]`, "g"), ".")
9161
+ .replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex))
9162
+ : numberString;
9163
+ this.localize = (numberString) => this._numberFormatOptions
9164
+ ? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => isValidNumber(nonExpoNumString.trim())
9165
+ ? new BigDecimal(nonExpoNumString.trim())
9166
+ .format(this._numberFormatter)
9167
+ .replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group)
9168
+ : nonExpoNumString)
9169
+ : numberString;
9156
9170
  }
9157
9171
  get group() {
9158
9172
  return this._group;
@@ -9176,10 +9190,18 @@ class NumberStringFormat {
9176
9190
  * numberFormatOptions needs to be set before localize/delocalize is called to ensure the options are up to date
9177
9191
  */
9178
9192
  set numberFormatOptions(options) {
9179
- options.locale = getSupportedLocale(options.locale);
9180
- options.numberingSystem = getSupportedNumberingSystem(options.numberingSystem);
9181
- // cache formatter by only recreating when options change
9182
- if (JSON.stringify(this._numberFormatOptions) === JSON.stringify(options)) {
9193
+ options.locale = getSupportedLocale(options === null || options === void 0 ? void 0 : options.locale);
9194
+ options.numberingSystem = getSupportedNumberingSystem(options === null || options === void 0 ? void 0 : options.numberingSystem);
9195
+ if (
9196
+ // No need to create the formatter if `locale` and `numberingSystem`
9197
+ // are the default values and `numberFormatOptions` has not been set
9198
+ (!this._numberFormatOptions &&
9199
+ options.locale === defaultLocale &&
9200
+ options.numberingSystem === defaultNumberingSystem &&
9201
+ // don't skip initialization if any options besides locale/numberingSystem are set
9202
+ Object.keys(options).length === 2) ||
9203
+ // cache formatter by only recreating when options change
9204
+ JSON.stringify(this._numberFormatOptions) === JSON.stringify(options)) {
9183
9205
  return;
9184
9206
  }
9185
9207
  this._numberFormatOptions = options;
@@ -9764,10 +9786,10 @@ const Heading = (props, children) => {
9764
9786
  const blockCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-block:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-block{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-block:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}/*!@.status-icon.loading*/.status-icon.loading.sc-calcite-block{animation:spin var(--calcite-internal-animation-timing-medium) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.content--spaced*/.content--spaced.sc-calcite-block{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}";
9765
9787
 
9766
9788
  /**
9767
- * @slot - A slot for adding content to the block.
9768
- * @slot icon - A slot for adding a leading header icon.
9789
+ * @slot - A slot for adding content to the component.
9790
+ * @slot icon - A slot for adding a leading header icon with `calcite-icon`.
9769
9791
  * @slot control - A slot for adding a single HTML input element in a header.
9770
- * @slot header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown.
9792
+ * @slot header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a dropdown.
9771
9793
  */
9772
9794
  class Block {
9773
9795
  constructor(hostRef) {
@@ -9779,51 +9801,51 @@ class Block {
9779
9801
  //
9780
9802
  // --------------------------------------------------------------------------
9781
9803
  /**
9782
- * When true, this block will be collapsible.
9804
+ * When `true`, the component is collapsible.
9783
9805
  */
9784
9806
  this.collapsible = false;
9785
9807
  /**
9786
- * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
9808
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
9787
9809
  */
9788
9810
  this.disabled = false;
9789
9811
  /**
9790
- * When true, displays a drag handle in the header.
9812
+ * When `true`, displays a drag handle in the header.
9791
9813
  */
9792
9814
  this.dragHandle = false;
9793
9815
  /**
9794
- * Aria-label for collapsing the toggle and tooltip used for the toggle when expanded.
9816
+ * Accessible name for the component's collapse button.
9795
9817
  *
9796
9818
  * @default "Collapse"
9797
9819
  */
9798
9820
  this.intlCollapse = TEXT$p.collapse;
9799
9821
  /**
9800
- * Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
9822
+ * Accessible name for the component's expand button.
9801
9823
  *
9802
9824
  * @default "Expand"
9803
9825
  */
9804
9826
  this.intlExpand = TEXT$p.expand;
9805
9827
  /**
9806
- * string to override English loading text
9828
+ * Accessible name when the component is loading.
9807
9829
  *
9808
9830
  * @default "Loading"
9809
9831
  */
9810
9832
  this.intlLoading = TEXT$p.loading;
9811
9833
  /**
9812
- * Text string used for the actions menu
9834
+ * Accessible name for the component's options button.
9813
9835
  *
9814
9836
  * @default "Options"
9815
9837
  */
9816
9838
  this.intlOptions = TEXT$p.options;
9817
9839
  /**
9818
- * When true, content is waiting to be loaded. This state shows a busy indicator.
9840
+ * When `true`, a busy indicator is displayed.
9819
9841
  */
9820
9842
  this.loading = false;
9821
9843
  /**
9822
- * When true, the block's content will be displayed.
9844
+ * When `true`, expands the component and its contents.
9823
9845
  */
9824
9846
  this.open = false;
9825
9847
  /**
9826
- * When true, removes padding for the slotted content
9848
+ * When `true`, removes padding for the slotted content.
9827
9849
  *
9828
9850
  * @deprecated Use `--calcite-block-padding` CSS variable instead.
9829
9851
  */
@@ -9958,20 +9980,22 @@ const ICONS$c = {
9958
9980
  const blockSectionCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-block-section:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-block-section{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block-section{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block-section{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block-section{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block-section{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block-section:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-block-section:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-section-h{display:none}/*!@:host*/.sc-calcite-block-section-h{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host([open])*/[open].sc-calcite-block-section-h{border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}/*!@:host(:last-child)*/.sc-calcite-block-section-h:last-child{border-block-end-width:0px}/*!@.toggle*/.toggle.sc-calcite-block-section{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@.toggle--switch, \n.section-header*/.toggle--switch.sc-calcite-block-section,.section-header.sc-calcite-block-section{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.toggle--switch:focus, \n.section-header:focus*/.toggle--switch.sc-calcite-block-section:focus,.section-header.sc-calcite-block-section:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.toggle--switch:hover, \n.section-header:hover*/.toggle--switch.sc-calcite-block-section:hover,.section-header.sc-calcite-block-section:hover{color:var(--calcite-ui-text-1)}/*!@.section-header .status-icon*/.section-header.sc-calcite-block-section .status-icon.sc-calcite-block-section{align-self:flex-end}/*!@.section-header__text*/.section-header__text.sc-calcite-block-section{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}/*!@.toggle--switch calcite-switch*/.toggle--switch.sc-calcite-block-section calcite-switch.sc-calcite-block-section{pointer-events:none;margin-inline-start:0.25rem}/*!@.toggle--switch .status-icon*/.toggle--switch.sc-calcite-block-section .status-icon.sc-calcite-block-section{margin-inline-start:0.5rem}/*!@.toggle--switch__content*/.toggle--switch__content.sc-calcite-block-section{display:flex;flex:1 1 auto;align-items:center}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block-section{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block-section{color:var(--calcite-ui-danger)}";
9959
9981
 
9960
9982
  /**
9961
- * @slot - A slot for adding content to the block section.
9983
+ * @slot - A slot for adding content to the component.
9962
9984
  */
9963
9985
  class BlockSection {
9964
9986
  constructor(hostRef) {
9965
9987
  registerInstance(this, hostRef);
9966
9988
  this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 6);
9967
9989
  /**
9968
- * When true, the block's section content will be displayed.
9990
+ * When `true`, expands the component and its contents.
9969
9991
  */
9970
9992
  this.open = false;
9971
9993
  /**
9972
- * This property determines the look of the section toggle.
9973
- * If the value is "switch", a toggle-switch will be displayed.
9974
- * If the value is "button", a clickable header is displayed.
9994
+ * Specifies the component's toggle display -
9995
+ *
9996
+ * `"button"` (selectable header), or
9997
+ *
9998
+ * `"switch"` (toggle switch).
9975
9999
  */
9976
10000
  this.toggleDisplay = "button";
9977
10001
  this.guid = guid();
@@ -10437,31 +10461,37 @@ class Button {
10437
10461
  // Properties
10438
10462
  //
10439
10463
  //--------------------------------------------------------------------------
10440
- /** optionally specify alignment of button elements. */
10464
+ /** Specifies the alignment of the component's elements. */
10441
10465
  this.alignment = "center";
10442
- /** specify the appearance style of the button, defaults to solid. */
10466
+ /** Specifies the appearance style of the component. */
10443
10467
  this.appearance = "solid";
10444
- /** specify the color of the button, defaults to blue */
10468
+ /** Specifies the color of the component. */
10445
10469
  this.color = "blue";
10446
- /** is the button disabled */
10470
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
10447
10471
  this.disabled = false;
10448
10472
  /**
10449
- * string to override English loading text
10473
+ * Accessible name when the component is loading.
10450
10474
  *
10451
10475
  * @default "Loading"
10452
10476
  */
10453
10477
  this.intlLoading = TEXT$n.loading;
10454
- /** optionally add a calcite-loader component to the button, disabling interaction. */
10478
+ /**
10479
+ * When `true`, a busy indicator is displayed and interaction is disabled.
10480
+ */
10455
10481
  this.loading = false;
10456
- /** optionally add a round style to the button */
10482
+ /** When `true`, adds a round style to the component. */
10457
10483
  this.round = false;
10458
- /** specify the scale of the button, defaults to m */
10484
+ /** Specifies the size of the component. */
10459
10485
  this.scale = "m";
10460
- /** is the button a child of a calcite-split-button */
10486
+ /** Specifies if the component is a child of a `calcite-split-button`. */
10461
10487
  this.splitChild = false;
10462
- /** The type attribute to apply to the button */
10488
+ /**
10489
+ * Specifies the default behavior of the button.
10490
+ *
10491
+ * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)
10492
+ */
10463
10493
  this.type = "button";
10464
- /** specify the width of the button, defaults to auto */
10494
+ /** Specifies the width of the component. */
10465
10495
  this.width = "auto";
10466
10496
  /** watches for changing text content */
10467
10497
  this.mutationObserver = createObserver();
@@ -10629,9 +10659,9 @@ const cardCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0
10629
10659
  */
10630
10660
  /**
10631
10661
  * @slot - A slot for adding subheader/description content.
10632
- * @slot thumbnail - A slot for adding a thumbnail to the card.
10633
- * @slot title - A slot for adding a card title.
10634
- * @slot subtitle - A slot for adding a card subtitle or short summary.
10662
+ * @slot thumbnail - A slot for adding a thumbnail to the component.
10663
+ * @slot title - A slot for adding a title.
10664
+ * @slot subtitle - A slot for adding a subtitle or short summary.
10635
10665
  * @slot footer-leading - A slot for adding a leading footer.
10636
10666
  * @slot footer-trailing - A slot for adding a trailing footer.
10637
10667
  */
@@ -10644,30 +10674,31 @@ class Card {
10644
10674
  // Public Properties
10645
10675
  //
10646
10676
  //--------------------------------------------------------------------------
10647
- /** When true, the cards content is waiting to be loaded. This state shows a busy indicator.*/
10677
+ /** When `true`, a busy indicator is displayed. */
10648
10678
  this.loading = false;
10649
- /** Indicates whether the card is selected. */
10679
+ /** When `true`, the component is selected. */
10650
10680
  this.selected = false;
10651
- /** Indicates whether the card is selectable. */
10681
+ /** When `true`, the component is selectable. */
10652
10682
  this.selectable = false;
10653
10683
  /**
10654
- * string to override English loading text
10684
+ * Accessible name when the component is loading.
10655
10685
  *
10656
10686
  * @default "Loading"
10657
10687
  */
10658
10688
  this.intlLoading = TEXT$m.loading;
10659
10689
  /**
10660
- * string to override English select text for checkbox when selectable is true
10690
+ * When `selectable` is `true`, the accessible name for the component's checkbox for selection.
10661
10691
  *
10662
10692
  * @default "Select"
10663
10693
  */
10664
10694
  this.intlSelect = TEXT$m.select;
10665
10695
  /**
10666
- * string to override English deselect text for checkbox when selectable is true
10696
+ * When `selectable` is `true`, the accessible name for the component's checkbox for deselection.
10667
10697
  *
10668
10698
  * @default "Deselect"
10669
10699
  */
10670
10700
  this.intlDeselect = TEXT$m.deselect;
10701
+ /** Sets the placement of the thumbnail defined in the `thumbnail` slot. */
10671
10702
  this.thumbnailPosition = "block-start";
10672
10703
  //--------------------------------------------------------------------------
10673
10704
  //
@@ -10766,9 +10797,9 @@ class Checkbox {
10766
10797
  // Properties
10767
10798
  //
10768
10799
  //--------------------------------------------------------------------------
10769
- /** The checked state of the checkbox. */
10800
+ /** When `true`, the component is checked. */
10770
10801
  this.checked = false;
10771
- /** True if the checkbox is disabled */
10802
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
10772
10803
  this.disabled = false;
10773
10804
  /**
10774
10805
  * The hovered state of the checkbox.
@@ -10777,18 +10808,20 @@ class Checkbox {
10777
10808
  */
10778
10809
  this.hovered = false;
10779
10810
  /**
10780
- * True if the checkbox is initially indeterminate,
10781
- * which is independent from its checked state
10782
- * https://css-tricks.com/indeterminate-checkboxes/
10811
+ * When `true`, the component is initially indeterminate, which is independent from its `checked` value.
10812
+ *
10813
+ * The state is visual only, and can look different across browsers.
10814
+ *
10815
+ * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
10783
10816
  */
10784
10817
  this.indeterminate = false;
10785
10818
  /**
10786
- * When true, the component must have a value in order for the form to submit.
10819
+ * When `true`, the component must have a value in order for the form to submit.
10787
10820
  *
10788
10821
  * @internal
10789
10822
  */
10790
10823
  this.required = false;
10791
- /** specify the scale of the checkbox, defaults to m */
10824
+ /** Specifies the size of the component. */
10792
10825
  this.scale = "m";
10793
10826
  //--------------------------------------------------------------------------
10794
10827
  //
@@ -10926,29 +10959,29 @@ class Chip {
10926
10959
  // Public Properties
10927
10960
  //
10928
10961
  //--------------------------------------------------------------------------
10929
- /** specify the appearance style of the button, defaults to solid. */
10962
+ /** Specifies the appearance style of the component. */
10930
10963
  this.appearance = "solid";
10931
- /** specify the color of the button, defaults to blue */
10964
+ /** Specifies the color for the component. */
10932
10965
  this.color = "grey";
10933
10966
  /**
10934
- * Optionally show a button the user can click to dismiss the chip
10967
+ * When `true`, a close button is added to the component.
10935
10968
  *
10936
- * @deprecated use closable instead
10969
+ * @deprecated use `closable` instead.
10937
10970
  */
10938
10971
  this.dismissible = false;
10939
- /** When true, show abutton user can click to dismiss the chip. */
10972
+ /** When `true`, a close button is added to the component. */
10940
10973
  this.closable = false;
10941
10974
  /**
10942
- * Aria label for the "x" button
10975
+ * Accessible name for the component's close button.
10943
10976
  *
10944
10977
  * @default "Close"
10945
10978
  */
10946
10979
  this.dismissLabel = TEXT$l.close;
10947
- /** When true, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
10980
+ /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
10948
10981
  this.iconFlipRtl = false;
10949
- /** specify the scale of the chip, defaults to m */
10982
+ /** Specifies the size of the component. */
10950
10983
  this.scale = "m";
10951
- /** When true, hides the chip */
10984
+ /** When `true`, hides the component. */
10952
10985
  this.closed = false;
10953
10986
  // --------------------------------------------------------------------------
10954
10987
  //
@@ -13278,12 +13311,16 @@ class ColorPicker {
13278
13311
  //
13279
13312
  //--------------------------------------------------------------------------
13280
13313
  /**
13281
- * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
13314
+ * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
13282
13315
  *
13283
- * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
13316
+ * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
13284
13317
  */
13285
13318
  this.allowEmpty = false;
13286
- /** specify the appearance - solid (containing border), or minimal (no containing border) */
13319
+ /**
13320
+ * Specifies the appearance style of the component -
13321
+ *
13322
+ * `"solid"` (containing border) or `"minimal"` (no containing border).
13323
+ */
13287
13324
  this.appearance = "solid";
13288
13325
  /**
13289
13326
  * Internal prop for advanced use-cases.
@@ -13292,146 +13329,141 @@ class ColorPicker {
13292
13329
  */
13293
13330
  this.color = DEFAULT_COLOR$1;
13294
13331
  /**
13295
- * When true, disabled prevents user interaction.
13332
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
13296
13333
  */
13297
13334
  this.disabled = false;
13298
13335
  /**
13299
- * The format of the value property.
13336
+ * The format of `value`.
13300
13337
  *
13301
- * When "auto", the format will be inferred from `value` when set.
13338
+ * When `"auto"`, the format will be inferred from `value` when set.
13302
13339
  *
13303
13340
  * @default "auto"
13304
13341
  */
13305
13342
  this.format = defaultFormat;
13306
- /** When true, hides the hex input */
13343
+ /** When `true`, hides the Hex input. */
13307
13344
  this.hideHex = false;
13308
- /** When true, hides the RGB/HSV channel inputs */
13345
+ /** When `true`, hides the RGB/HSV channel inputs. */
13309
13346
  this.hideChannels = false;
13310
- /** When true, hides the saved colors section */
13347
+ /** When `true`, hides the saved colors section. */
13311
13348
  this.hideSaved = false;
13312
13349
  /**
13313
- * Label used for the blue channel
13350
+ * Accessible name for the RGB section's blue channel.
13314
13351
  *
13315
13352
  * @default "B"
13316
13353
  */
13317
13354
  this.intlB = TEXT$k.b;
13318
13355
  /**
13319
- * Label used for the blue channel description
13356
+ * Accessible name for the RGB section's blue channel description.
13320
13357
  *
13321
13358
  * @default "Blue"
13322
13359
  */
13323
13360
  this.intlBlue = TEXT$k.blue;
13324
13361
  /**
13325
- * Label used for the delete color button.
13362
+ * Accessible name for the delete color button.
13326
13363
  *
13327
13364
  * @default "Delete color"
13328
13365
  */
13329
13366
  this.intlDeleteColor = TEXT$k.deleteColor;
13330
13367
  /**
13331
- * Label used for the green channel
13368
+ * Accessible name for the RGB section's green channel.
13332
13369
  *
13333
13370
  * @default "G"
13334
13371
  */
13335
13372
  this.intlG = TEXT$k.g;
13336
13373
  /**
13337
- * Label used for the green channel description
13374
+ * Accessible name for the RGB section's green channel description.
13338
13375
  *
13339
13376
  * @default "Green"
13340
13377
  */
13341
13378
  this.intlGreen = TEXT$k.green;
13342
13379
  /**
13343
- * Label used for the hue channel
13380
+ * Accessible name for the HSV section's hue channel.
13344
13381
  *
13345
13382
  * @default "H"
13346
13383
  */
13347
13384
  this.intlH = TEXT$k.h;
13348
13385
  /**
13349
- * Label used for the HSV mode
13386
+ * Accessible name for the HSV mode.
13350
13387
  *
13351
13388
  * @default "HSV"
13352
13389
  */
13353
13390
  this.intlHsv = TEXT$k.hsv;
13354
13391
  /**
13355
- * Label used for the hex input
13392
+ * Accessible name for the Hex input.
13356
13393
  *
13357
13394
  * @default "Hex"
13358
13395
  */
13359
13396
  this.intlHex = TEXT$k.hex;
13360
13397
  /**
13361
- * Label used for the hue channel description
13398
+ * Accessible name for the HSV section's hue channel description.
13362
13399
  *
13363
13400
  * @default "Hue"
13364
13401
  */
13365
13402
  this.intlHue = TEXT$k.hue;
13366
13403
  /**
13367
- * Label used for the hex input when there is no color selected.
13404
+ * Accessible name for the Hex input when there is no color selected.
13368
13405
  *
13369
13406
  * @default "No color"
13370
13407
  */
13371
13408
  this.intlNoColor = TEXT$k.noColor;
13372
13409
  /**
13373
- * Label used for the red channel
13410
+ * Accessible name for the RGB section's red channel.
13374
13411
  *
13375
13412
  * @default "R"
13376
13413
  */
13377
13414
  this.intlR = TEXT$k.r;
13378
13415
  /**
13379
- * Label used for the red channel description
13416
+ * Accessible name for the RGB section's red channel description.
13380
13417
  *
13381
13418
  * @default "Red"
13382
13419
  */
13383
13420
  this.intlRed = TEXT$k.red;
13384
13421
  /**
13385
- * Label used for the RGB mode
13422
+ * Accessible name for the RGB mode.
13386
13423
  *
13387
13424
  * @default "RGB"
13388
13425
  */
13389
13426
  this.intlRgb = TEXT$k.rgb;
13390
13427
  /**
13391
- * Label used for the saturation channel
13428
+ * Accessible name for the HSV section's saturation channel.
13392
13429
  *
13393
13430
  * @default "S"
13394
13431
  */
13395
13432
  this.intlS = TEXT$k.s;
13396
13433
  /**
13397
- * Label used for the saturation channel description
13434
+ * Accessible name for the HSV section's saturation channel description.
13398
13435
  *
13399
13436
  * @default "Saturation"
13400
13437
  */
13401
13438
  this.intlSaturation = TEXT$k.saturation;
13402
13439
  /**
13403
- * Label used for the save color button.
13440
+ * Accessible name for the save color button.
13404
13441
  *
13405
13442
  * @default "Save color"
13406
13443
  */
13407
13444
  this.intlSaveColor = TEXT$k.saveColor;
13408
13445
  /**
13409
- * Label used for the saved colors section
13446
+ * Accessible name for the saved colors section.
13410
13447
  *
13411
13448
  * @default "Saved"
13412
13449
  */
13413
13450
  this.intlSaved = TEXT$k.saved;
13414
13451
  /**
13415
- * Label used for the value channel
13452
+ * Accessible name for the HSV section's value channel.
13416
13453
  *
13417
13454
  * @default "V"
13418
13455
  */
13419
13456
  this.intlV = TEXT$k.v;
13420
13457
  /**
13421
- * Label used for the
13458
+ * Accessible name for the HSV section's value channel description.
13422
13459
  *
13423
13460
  * @default "Value"
13424
13461
  */
13425
13462
  this.intlValue = TEXT$k.value;
13426
- /**
13427
- * The scale of the color picker.
13428
- */
13463
+ /** Specifies the size of the component. */
13429
13464
  this.scale = "m";
13430
13465
  /**
13431
- * The component's value.
13432
- *
13433
- * This value can be either a CSS color string,
13434
- * a RGB, HSL or HSV object.
13466
+ * The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.
13435
13467
  *
13436
13468
  * The type will be preserved as the color is updated.
13437
13469
  *
@@ -14162,29 +14194,27 @@ class ColorPickerHexInput {
14162
14194
  //
14163
14195
  //--------------------------------------------------------------------------
14164
14196
  /**
14165
- * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
14197
+ * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
14166
14198
  *
14167
- * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
14199
+ * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
14168
14200
  */
14169
14201
  this.allowEmpty = false;
14170
14202
  /**
14171
- * Label used for the hex input.
14203
+ * Accessible name for the Hex input.
14172
14204
  *
14173
14205
  * @default "Hex"
14174
14206
  */
14175
14207
  this.intlHex = TEXT$k.hex;
14176
14208
  /**
14177
- * Label used for the hex input when there is no color selected.
14209
+ * Accessible name for the Hex input when there is no color selected.
14178
14210
  *
14179
14211
  * @default "No color"
14180
14212
  */
14181
14213
  this.intlNoColor = TEXT$k.noColor;
14182
- /**
14183
- * The component's scale.
14184
- */
14214
+ /** Specifies the size of the component. */
14185
14215
  this.scale = "m";
14186
14216
  /**
14187
- * The hex value.
14217
+ * The Hex value.
14188
14218
  */
14189
14219
  this.value = normalizeHex(DEFAULT_COLOR.hex());
14190
14220
  this.onCalciteInternalInputBlur = () => {
@@ -14375,11 +14405,11 @@ class ColorPickerSwatch {
14375
14405
  //
14376
14406
  //--------------------------------------------------------------------------
14377
14407
  /**
14378
- * Used to display whether the swatch is active or not.
14408
+ * When `true`, the component is active.
14379
14409
  */
14380
14410
  this.active = false;
14381
14411
  /**
14382
- * The component scale.
14412
+ * Specifies the size of the component.
14383
14413
  */
14384
14414
  this.scale = "m";
14385
14415
  }
@@ -16120,16 +16150,16 @@ class Combobox {
16120
16150
  //
16121
16151
  //--------------------------------------------------------------------------
16122
16152
  /**
16123
- * When true, opens the combobox
16153
+ * When `true`, displays and positions the component.
16124
16154
  *
16125
- * @deprecated use open instead
16155
+ * @deprecated use `open` instead.
16126
16156
  */
16127
16157
  this.active = false;
16128
- /**When true, opens the combobox */
16158
+ /**When `true`, displays and positions the component. */
16129
16159
  this.open = false;
16130
- /** Disable combobox input */
16160
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
16131
16161
  this.disabled = false;
16132
- /** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
16162
+ /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */
16133
16163
  this.maxItems = 0;
16134
16164
  /**
16135
16165
  * Determines the type of positioning to use for the overlaid content.
@@ -16141,24 +16171,24 @@ class Combobox {
16141
16171
  */
16142
16172
  this.overlayPositioning = "absolute";
16143
16173
  /**
16144
- * When true, the component must have a value in order for the form to submit.
16174
+ * When `true`, the component must have a value in order for the form to submit.
16145
16175
  *
16146
16176
  * @internal
16147
16177
  */
16148
16178
  this.required = false;
16149
16179
  /**
16150
- * specify the selection mode
16151
- * - multi: allow any number of selected items (default)
16152
- * - single: only one selection)
16153
- * - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
16180
+ * Specifies the selection mode -
16181
+ * `"multi"` (allow any number of selected items),
16182
+ * `"single"` (allow only one selection), or
16183
+ * `"ancestors"` (like `"multi"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).
16154
16184
  */
16155
16185
  this.selectionMode = "multi";
16156
- /** Specify the scale of the combobox, defaults to m */
16186
+ /** Specifies the size of the component. */
16157
16187
  this.scale = "m";
16158
- /** The value(s) of the selectedItem(s) */
16188
+ /** The component's value(s) from the selected `calcite-combobox-item`(s). */
16159
16189
  this.value = null;
16160
16190
  /**
16161
- * string to override the English "Remove tag" text for when an item is selected.
16191
+ * Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.
16162
16192
  *
16163
16193
  * @default "Remove tag"
16164
16194
  */
@@ -16989,13 +17019,15 @@ class ComboboxItem {
16989
17019
  // Properties
16990
17020
  //
16991
17021
  // --------------------------------------------------------------------------
16992
- /** When true, the item cannot be clicked and is visually muted. */
17022
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
16993
17023
  this.disabled = false;
16994
- /** Set this to true to pre-select an item. Toggles when an item is checked/unchecked. */
17024
+ /**
17025
+ * When `true`, the component is selected.
17026
+ */
16995
17027
  this.selected = false;
16996
- /** True when item is highlighted either from keyboard or mouse hover */
17028
+ /** When `true`, the component is active. */
16997
17029
  this.active = false;
16998
- /** Unique identifier, used for accessibility */
17030
+ /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */
16999
17031
  this.guid = guid();
17000
17032
  this.scale = "m";
17001
17033
  // --------------------------------------------------------------------------
@@ -17282,32 +17314,6 @@ function nextMonth(date) {
17282
17314
  }
17283
17315
  return nextDate;
17284
17316
  }
17285
- /**
17286
- * Translate a number into a given locals numeral system
17287
- *
17288
- * @param num
17289
- * @param localeData
17290
- */
17291
- function localizeNumber(num, localeData) {
17292
- return String(num)
17293
- .split("")
17294
- .map((i) => localeData.numerals[i])
17295
- .join("");
17296
- }
17297
- /**
17298
- * Calculate actual number from localized string
17299
- *
17300
- * @param str
17301
- * @param localeData
17302
- */
17303
- function parseNumber(str, localeData) {
17304
- const numerals = "0123456789";
17305
- return parseInt(str
17306
- .split("")
17307
- .map((i) => numerals[localeData.numerals.indexOf(i)])
17308
- .filter((num) => num)
17309
- .join(""));
17310
- }
17311
17317
  /**
17312
17318
  * Parse numeric units for day, month, and year from a localized string
17313
17319
  * month starts at 0 (can pass to date constructor)
@@ -17318,23 +17324,13 @@ function parseNumber(str, localeData) {
17318
17324
  function parseDateString(str, localeData) {
17319
17325
  const { separator, unitOrder } = localeData;
17320
17326
  const order = getOrder(unitOrder);
17321
- const values = replaceArabicNumerals(str).split(separator);
17327
+ const values = str.split(separator).map((part) => numberStringFormatter.delocalize(part));
17322
17328
  return {
17323
17329
  day: parseInt(values[order.indexOf("d")]),
17324
17330
  month: parseInt(values[order.indexOf("m")]) - 1,
17325
17331
  year: parseInt(values[order.indexOf("y")])
17326
17332
  };
17327
17333
  }
17328
- /**
17329
- * Convert eastern arbic numerals
17330
- *
17331
- * @param str
17332
- */
17333
- function replaceArabicNumerals(str = "") {
17334
- return str
17335
- .replace(/[\u0660-\u0669]/g, (c) => (c.charCodeAt(0) - 0x0660))
17336
- .replace(/[\u06f0-\u06f9]/g, (c) => (c.charCodeAt(0) - 0x06f0));
17337
- }
17338
17334
  /**
17339
17335
  * Based on the unitOrder string, find order of month, day, and year for locale
17340
17336
  *
@@ -17659,6 +17655,11 @@ class DatePicker {
17659
17655
  if (this.max) {
17660
17656
  this.maxAsDate = dateFromISO(this.max);
17661
17657
  }
17658
+ numberStringFormatter.numberFormatOptions = {
17659
+ numberingSystem: this.numberingSystem,
17660
+ locale: this.effectiveLocale,
17661
+ useGrouping: false
17662
+ };
17662
17663
  }
17663
17664
  disconnectedCallback() {
17664
17665
  disconnectLocalized(this);
@@ -17827,6 +17828,7 @@ class DatePicker {
17827
17828
  "intlNextMonth": [1, "intl-next-month"],
17828
17829
  "intlYear": [1, "intl-year"],
17829
17830
  "locale": [1],
17831
+ "numberingSystem": [513, "numbering-system"],
17830
17832
  "scale": [513],
17831
17833
  "range": [516],
17832
17834
  "start": [1537],
@@ -17842,7 +17844,7 @@ class DatePicker {
17842
17844
  },
17843
17845
  "$listeners$": undefined,
17844
17846
  "$lazyBundleId$": "-",
17845
- "$attrsToReflect$": [["activeRange", "active-range"], ["headingLevel", "heading-level"], ["min", "min"], ["max", "max"], ["scale", "scale"], ["range", "range"], ["start", "start"], ["end", "end"], ["proximitySelectionDisabled", "proximity-selection-disabled"]]
17847
+ "$attrsToReflect$": [["activeRange", "active-range"], ["headingLevel", "heading-level"], ["min", "min"], ["max", "max"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["range", "range"], ["start", "start"], ["end", "end"], ["proximitySelectionDisabled", "proximity-selection-disabled"]]
17846
17848
  }; }
17847
17849
  }
17848
17850
 
@@ -17895,10 +17897,7 @@ class DatePickerDay {
17895
17897
  //
17896
17898
  //--------------------------------------------------------------------------
17897
17899
  render() {
17898
- const formattedDay = String(this.day)
17899
- .split("")
17900
- .map((i) => this.localeData.numerals[i])
17901
- .join("");
17900
+ const formattedDay = numberStringFormatter.localize(String(this.day));
17902
17901
  const dir = getElementDir(this.el);
17903
17902
  return (hAsync(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" }, hAsync("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, hAsync("div", { class: "day-wrapper" }, hAsync("span", { class: "day" }, hAsync("span", { class: "text" }, formattedDay))))));
17904
17903
  }
@@ -17924,7 +17923,6 @@ class DatePickerDay {
17924
17923
  "endOfRange": [516, "end-of-range"],
17925
17924
  "rangeHover": [516, "range-hover"],
17926
17925
  "active": [516],
17927
- "localeData": [16],
17928
17926
  "scale": [513],
17929
17927
  "value": [16]
17930
17928
  },
@@ -18197,7 +18195,7 @@ class DatePickerMonth {
18197
18195
  "hover--outside-range": this.startDate && !isHoverInRange,
18198
18196
  "focused--start": isFocusedOnStart,
18199
18197
  "focused--end": !isFocusedOnStart
18200
- }, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
18198
+ }, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
18201
18199
  // when moving via keyboard, focus must be updated on active date
18202
18200
  if (ref && active && this.activeFocus) {
18203
18201
  el === null || el === void 0 ? void 0 : el.focus();
@@ -18351,10 +18349,10 @@ class DatePickerMonthHeader {
18351
18349
  const order = getOrder(unitOrder);
18352
18350
  const reverse = order.indexOf("y") < order.indexOf("m");
18353
18351
  const suffix = (_a = this.localeData.year) === null || _a === void 0 ? void 0 : _a.suffix;
18354
- return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": (this.prevMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })), hAsync("div", { class: { text: true, "text--reverse": reverse } }, hAsync(Heading, { class: "month", level: this.headingLevel }, localizedMonth), hAsync("span", { class: "year-wrap" }, hAsync("input", { "aria-label": this.intlYear, class: {
18352
+ return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })), hAsync("div", { class: { text: true, "text--reverse": reverse } }, hAsync(Heading, { class: "month", level: this.headingLevel }, localizedMonth), hAsync("span", { class: "year-wrap" }, hAsync("input", { "aria-label": this.intlYear, class: {
18355
18353
  year: true,
18356
18354
  "year--suffix": !!suffix
18357
- }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class: "suffix" }, suffix))), hAsync("a", { "aria-disabled": (this.nextMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
18355
+ }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class: "suffix" }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
18358
18356
  }
18359
18357
  setNextPrevMonthDates() {
18360
18358
  if (!this.activeDate) {
@@ -18367,17 +18365,18 @@ class DatePickerMonthHeader {
18367
18365
  const { localeData } = this;
18368
18366
  const buddhistCalendar = localeData["default-calendar"] === "buddhist";
18369
18367
  const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
18370
- return localizeNumber(year + yearOffset, localeData);
18368
+ return numberStringFormatter.localize(`${year + yearOffset}`);
18371
18369
  }
18372
18370
  parseCalendarYear(year) {
18373
18371
  const { localeData } = this;
18374
18372
  const buddhistCalendar = localeData["default-calendar"] === "buddhist";
18375
18373
  const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
18376
- return localizeNumber(parseNumber(year, localeData) - yearOffset, localeData);
18374
+ const parsedYear = Number(numberStringFormatter.delocalize(year)) - yearOffset;
18375
+ return numberStringFormatter.localize(`${parsedYear}`);
18377
18376
  }
18378
18377
  getInRangeDate({ localizedYear, offset = 0 }) {
18379
- const { min, max, activeDate, localeData } = this;
18380
- const parsedYear = parseNumber(localizedYear, localeData);
18378
+ const { min, max, activeDate } = this;
18379
+ const parsedYear = Number(numberStringFormatter.delocalize(localizedYear));
18381
18380
  const length = parsedYear.toString().length;
18382
18381
  const year = isNaN(parsedYear) ? false : parsedYear + offset;
18383
18382
  const inRange = year && (!min || min.getFullYear() <= year) && (!max || max.getFullYear() >= year);
@@ -20020,7 +20019,7 @@ const ICONS$6 = {
20020
20019
  drag: "drag"
20021
20020
  };
20022
20021
 
20023
- const handleCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-handle:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-handle{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-handle{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-handle{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-handle{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-handle{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-handle:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-handle:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-handle-h{display:none}/*!@:host*/.sc-calcite-handle-h{display:flex}/*!@.handle*/.handle.sc-calcite-handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-3);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}/*!@.handle:hover*/.handle.sc-calcite-handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-handle{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-handle calcite-icon.sc-calcite-handle{color:inherit}";
20022
+ const handleCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-handle:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-handle{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-handle{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-handle{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-handle{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-handle{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-handle:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-handle:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-handle-h{display:none}/*!@:host*/.sc-calcite-handle-h{display:flex}/*!@.handle*/.handle.sc-calcite-handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}/*!@.handle:hover*/.handle.sc-calcite-handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-handle{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-handle calcite-icon.sc-calcite-handle{color:inherit}";
20024
20023
 
20025
20024
  class Handle {
20026
20025
  constructor(hostRef) {
@@ -21186,22 +21185,22 @@ class InputDatePicker {
21186
21185
  //
21187
21186
  //--------------------------------------------------------------------------
21188
21187
  /**
21189
- * When true, interaction is prevented and the component is displayed with lower opacity.
21188
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
21190
21189
  */
21191
21190
  this.disabled = false;
21192
21191
  /**
21193
- * When true, the component's value can be read, but controls are not accessible and the value cannot be modified.
21192
+ * When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
21194
21193
  *
21195
21194
  * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
21196
21195
  */
21197
21196
  this.readOnly = false;
21198
21197
  /**
21199
- * When true, the component is active.
21198
+ * When `true`, the component is active.
21200
21199
  *
21201
21200
  * @deprecated use `open` instead.
21202
21201
  */
21203
21202
  this.active = false;
21204
- /** When true, displays the `calcite-date-picker` component. */
21203
+ /** When `true`, displays the `calcite-date-picker` component. */
21205
21204
  this.open = false;
21206
21205
  /**
21207
21206
  * Accessible name for the component's previous month button.
@@ -21229,10 +21228,10 @@ class InputDatePicker {
21229
21228
  * @default "bottom-start"
21230
21229
  */
21231
21230
  this.placement = defaultMenuPlacement;
21232
- /** When true, activates a range for the component. */
21231
+ /** When `true`, activates a range for the component. */
21233
21232
  this.range = false;
21234
21233
  /**
21235
- * When true, the component must have a value in order for the form to submit.
21234
+ * When `true`, the component must have a value in order for the form to submit.
21236
21235
  *
21237
21236
  * @internal
21238
21237
  */
@@ -21247,7 +21246,7 @@ class InputDatePicker {
21247
21246
  */
21248
21247
  this.overlayPositioning = "absolute";
21249
21248
  /**
21250
- * When true, disables the default behavior on the third click of narrowing or extending the range.
21249
+ * When `true`, disables the default behavior on the third click of narrowing or extending the range.
21251
21250
  * Instead starts a new range.
21252
21251
  */
21253
21252
  this.proximitySelectionDisabled = false;
@@ -21310,8 +21309,17 @@ class InputDatePicker {
21310
21309
  }
21311
21310
  this.focusedInput = "end";
21312
21311
  };
21313
- this.inputInput = (event) => {
21314
- this.input(event.detail.value);
21312
+ this.startInputInput = () => {
21313
+ const parsedValue = this.parseNumerals(this.startInput.value);
21314
+ const formattedValue = this.formatNumerals(parsedValue);
21315
+ this.startInput.value = formattedValue;
21316
+ this.input(parsedValue);
21317
+ };
21318
+ this.endInputInput = () => {
21319
+ const parsedValue = this.parseNumerals(this.endInput.value);
21320
+ const formattedValue = this.formatNumerals(parsedValue);
21321
+ this.endInput.value = formattedValue;
21322
+ this.input(parsedValue);
21315
21323
  };
21316
21324
  this.setFloatingEl = (el) => {
21317
21325
  if (el) {
@@ -21354,6 +21362,25 @@ class InputDatePicker {
21354
21362
  (_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
21355
21363
  }
21356
21364
  };
21365
+ this.commonDateSeparators = [".", "-", "/"];
21366
+ this.formatNumerals = (value) => value
21367
+ ? value
21368
+ .split("")
21369
+ .map((char) =>
21370
+ // convert common separators to the locale's
21371
+ this.commonDateSeparators.includes(char)
21372
+ ? this.localeData.separator
21373
+ : numberKeys.includes(char)
21374
+ ? numberStringFormatter.numberFormatter.format(Number(char))
21375
+ : char)
21376
+ .join("")
21377
+ : "";
21378
+ this.parseNumerals = (value) => value
21379
+ ? value
21380
+ .split("")
21381
+ .map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
21382
+ .join("")
21383
+ : "";
21357
21384
  }
21358
21385
  handleDisabledAndReadOnlyChange(value) {
21359
21386
  if (!value) {
@@ -21478,6 +21505,11 @@ class InputDatePicker {
21478
21505
  connectOpenCloseComponent(this);
21479
21506
  this.setFilteredPlacements();
21480
21507
  this.debouncedReposition();
21508
+ numberStringFormatter.numberFormatOptions = {
21509
+ numberingSystem: this.numberingSystem,
21510
+ locale: this.effectiveLocale,
21511
+ useGrouping: false
21512
+ };
21481
21513
  }
21482
21514
  async componentWillLoad() {
21483
21515
  await this.loadLocaleData();
@@ -21504,10 +21536,13 @@ class InputDatePicker {
21504
21536
  const endDate = this.range
21505
21537
  ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
21506
21538
  : null;
21507
- const locale = this.effectiveLocale;
21508
- const formattedEndDate = endDate ? endDate.toLocaleDateString(locale) : "";
21509
- const formattedDate = date ? date.toLocaleDateString(locale) : "";
21510
- return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
21539
+ const formattedEndDate = endDate
21540
+ ? this.formatNumerals(endDate.toLocaleDateString(this.effectiveLocale))
21541
+ : "";
21542
+ const formattedDate = date
21543
+ ? this.formatNumerals(date.toLocaleDateString(this.effectiveLocale))
21544
+ : "";
21545
+ return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: this.effectiveLocale, "number-button-type": "none", numberingSystem: this.numberingSystem, onCalciteInputInput: this.startInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
21511
21546
  [CSS$u.menu]: true,
21512
21547
  [CSS$u.menuActive]: this.open
21513
21548
  }, ref: this.setFloatingEl }, hAsync("div", { class: {
@@ -21515,10 +21550,10 @@ class InputDatePicker {
21515
21550
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
21516
21551
  [FloatingCSS.animation]: true,
21517
21552
  [FloatingCSS.animationActive]: this.open
21518
- }, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
21553
+ }, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: this.effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: this.numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
21519
21554
  input: true,
21520
21555
  "border-top-color-one": this.layout === "vertical" && this.range
21521
- }, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
21556
+ }, disabled: disabled, icon: "calendar", lang: this.effectiveLocale, "number-button-type": "none", numberingSystem: this.numberingSystem, onCalciteInputInput: this.endInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
21522
21557
  }
21523
21558
  setReferenceEl() {
21524
21559
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -21633,15 +21668,15 @@ class InputDatePicker {
21633
21668
  const date = this.getDateFromInput(target.value);
21634
21669
  if (!date) {
21635
21670
  if (!range && valueAsDate) {
21636
- target.value = Array.isArray(valueAsDate)
21671
+ target.value = this.formatNumerals(Array.isArray(valueAsDate)
21637
21672
  ? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
21638
- : valueAsDate.toLocaleDateString(locale);
21673
+ : valueAsDate.toLocaleDateString(locale));
21639
21674
  }
21640
21675
  else if (focusedInput === "start" && startAsDate) {
21641
- target.value = startAsDate.toLocaleDateString(locale);
21676
+ target.value = this.formatNumerals(startAsDate.toLocaleDateString(locale));
21642
21677
  }
21643
21678
  else if (focusedInput === "end" && endAsDate) {
21644
- target.value = endAsDate.toLocaleDateString(locale);
21679
+ target.value = this.formatNumerals(endAsDate.toLocaleDateString(locale));
21645
21680
  }
21646
21681
  }
21647
21682
  }
@@ -21727,6 +21762,7 @@ class InputDatePicker {
21727
21762
  "intlNextMonth": [1, "intl-next-month"],
21728
21763
  "intlYear": [1, "intl-year"],
21729
21764
  "locale": [1],
21765
+ "numberingSystem": [513, "numbering-system"],
21730
21766
  "scale": [513],
21731
21767
  "placement": [513],
21732
21768
  "range": [516],
@@ -21745,7 +21781,7 @@ class InputDatePicker {
21745
21781
  },
21746
21782
  "$listeners$": [[0, "calciteDatePickerChange", "handleDateOrRangeChange"], [0, "calciteDatePickerRangeChange", "handleDateOrRangeChange"], [0, "calciteDaySelect", "calciteDaySelectHandler"]],
21747
21783
  "$lazyBundleId$": "-",
21748
- "$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["active", "active"], ["open", "open"], ["name", "name"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["start", "start"], ["end", "end"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
21784
+ "$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["active", "active"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["start", "start"], ["end", "end"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
21749
21785
  }; }
21750
21786
  }
21751
21787
 
@@ -22988,7 +23024,7 @@ class InputTimePicker {
22988
23024
  */
22989
23025
  this.readOnly = false;
22990
23026
  /**
22991
- * When true, the component must have a value in order for the form to submit.
23027
+ * When `true`, the component must have a value in order for the form to submit.
22992
23028
  *
22993
23029
  * @internal
22994
23030
  */
@@ -26076,7 +26112,7 @@ class Popover {
26076
26112
  //
26077
26113
  // --------------------------------------------------------------------------
26078
26114
  /**
26079
- * When true and clicking outside of the component, automatically closes open `calcite-popover`s.
26115
+ * When `true`, clicking outside of the component automatically closes open `calcite-popover`s.
26080
26116
  */
26081
26117
  this.autoClose = false;
26082
26118
  /**
@@ -34833,7 +34869,7 @@ class Tip {
34833
34869
  */
34834
34870
  this.nonDismissible = false;
34835
34871
  /**
34836
- * When true and if it has a parent `calcite-tip-manager`, the component is selected.
34872
+ * When `true`, the component is selected if it has a parent `calcite-tip-manager`.
34837
34873
  *
34838
34874
  * Only one tip can be selected within the `calcite-tip-manager` parent.
34839
34875
  */
@@ -36417,7 +36453,7 @@ const SLOTS = {
36417
36453
  actionsStart: "actions-start"
36418
36454
  };
36419
36455
 
36420
- const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-value-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-item-h{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}/*!@:host **/.sc-calcite-value-list-item-h *.sc-calcite-value-list-item{box-sizing:border-box}/*!@calcite-pick-list-item*/calcite-pick-list-item.sc-calcite-value-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([active]), \n:host([selected])*/[active].sc-calcite-value-list-item-h,[selected].sc-calcite-value-list-item-h{--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.handle*/.handle.sc-calcite-value-list-item{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-color:transparent}/*!@.handle:hover*/.handle.sc-calcite-value-list-item:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-value-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-value-list-item{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-value-list-item calcite-icon.sc-calcite-value-list-item{color:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-item-h[disabled] .sc-calcite-value-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-item-h [calcite-hydrated][disabled].sc-calcite-value-list-item{opacity:1}";
36456
+ const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-value-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-item-h{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}/*!@:host **/.sc-calcite-value-list-item-h *.sc-calcite-value-list-item{box-sizing:border-box}/*!@calcite-pick-list-item*/calcite-pick-list-item.sc-calcite-value-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([active]), \n:host([selected])*/[active].sc-calcite-value-list-item-h,[selected].sc-calcite-value-list-item-h{--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.handle*/.handle.sc-calcite-value-list-item{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}/*!@.handle:hover*/.handle.sc-calcite-value-list-item:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-value-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-value-list-item{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-value-list-item calcite-icon.sc-calcite-value-list-item{color:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-item-h[disabled] .sc-calcite-value-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-item-h [calcite-hydrated][disabled].sc-calcite-value-list-item{opacity:1}";
36421
36457
 
36422
36458
  /**
36423
36459
  * @slot actions-end - A slot for adding actions or content to the end side of the component.