@esri/calcite-components 1.0.0-next.690 → 1.0.0-next.691

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 (658) 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-01c91e91.entry.js +6 -0
  4. package/dist/calcite/{p-c0298068.entry.js → p-0b235875.entry.js} +2 -2
  5. package/dist/calcite/{p-e018aec9.js → p-0fcf4e9a.js} +1 -1
  6. package/dist/calcite/{p-cd0c41de.entry.js → p-1683fa7e.entry.js} +2 -2
  7. package/dist/calcite/{p-ec403b89.entry.js → p-1865372d.entry.js} +2 -2
  8. package/dist/calcite/{p-0a9ea827.js → p-1d52a979.js} +1 -1
  9. package/dist/calcite/{p-6899de71.entry.js → p-20fa9a12.entry.js} +2 -2
  10. package/dist/calcite/{p-484c63b2.entry.js → p-22cd6134.entry.js} +2 -2
  11. package/dist/calcite/{p-0b43a17f.entry.js → p-239803f5.entry.js} +2 -2
  12. package/dist/calcite/{p-af294645.js → p-24c91d0b.js} +2 -2
  13. package/dist/calcite/{p-0d48ce01.entry.js → p-2540d248.entry.js} +2 -2
  14. package/dist/calcite/{p-27ef7330.entry.js → p-29df35f1.entry.js} +2 -2
  15. package/dist/calcite/{p-65d942b7.entry.js → p-2dc2565c.entry.js} +2 -2
  16. package/dist/calcite/{p-be969e3d.entry.js → p-334eed34.entry.js} +2 -2
  17. package/dist/calcite/{p-e59cb3d0.js → p-3859ce6b.js} +1 -1
  18. package/dist/calcite/p-3ad62734.js +6 -0
  19. package/dist/calcite/{p-6356a6f7.js → p-3d9c1d54.js} +2 -2
  20. package/dist/calcite/{p-a0f24d6b.entry.js → p-3e0c6b3e.entry.js} +2 -2
  21. package/dist/calcite/{p-c91bc905.entry.js → p-3ecebdbc.entry.js} +2 -2
  22. package/dist/calcite/{p-01366e65.js → p-41834460.js} +2 -2
  23. package/dist/calcite/{p-7cd7e6e3.js → p-425a3b21.js} +2 -2
  24. package/dist/calcite/p-45d857bf.entry.js +6 -0
  25. package/dist/calcite/{p-56f349a0.js → p-46899fe7.js} +2 -2
  26. package/dist/calcite/{p-1bd4fbd5.js → p-497fee77.js} +2 -2
  27. package/dist/calcite/{p-850a5b20.entry.js → p-4b0f6466.entry.js} +2 -2
  28. package/dist/calcite/{p-0b139c27.entry.js → p-4bf0190d.entry.js} +2 -2
  29. package/dist/calcite/{p-5d00bc56.entry.js → p-51361ef8.entry.js} +2 -2
  30. package/dist/calcite/{p-140b43c1.entry.js → p-516f1874.entry.js} +2 -2
  31. package/dist/calcite/{p-2eb87359.entry.js → p-52f1548c.entry.js} +2 -2
  32. package/dist/calcite/{p-597cc6aa.js → p-564dced0.js} +1 -1
  33. package/dist/calcite/{p-856bf774.entry.js → p-572056fd.entry.js} +2 -2
  34. package/dist/calcite/{p-659ba54a.entry.js → p-5b97518f.entry.js} +2 -2
  35. package/dist/calcite/{p-b6e59153.js → p-5db35cae.js} +2 -2
  36. package/dist/calcite/{p-5401e3b5.entry.js → p-5dc133ba.entry.js} +2 -2
  37. package/dist/calcite/{p-73fca9e0.js → p-5df75077.js} +1 -1
  38. package/dist/calcite/{p-c3ca79b5.js → p-5e19db82.js} +2 -2
  39. package/dist/calcite/{p-dfaa05f7.js → p-60bb6a39.js} +1 -1
  40. package/dist/calcite/{p-630c8dde.entry.js → p-61679fce.entry.js} +2 -2
  41. package/dist/calcite/{p-1a91ca13.entry.js → p-6201a866.entry.js} +2 -2
  42. package/dist/calcite/{p-5cba5164.entry.js → p-62b4bf69.entry.js} +2 -2
  43. package/dist/calcite/{p-63ce5119.entry.js → p-6444d348.entry.js} +2 -2
  44. package/dist/calcite/{p-f33878d5.entry.js → p-67af30e8.entry.js} +2 -2
  45. package/dist/calcite/{p-f2de97d7.entry.js → p-6d1bc7e5.entry.js} +2 -2
  46. package/dist/calcite/{p-5827deee.js → p-6fd02986.js} +2 -2
  47. package/dist/calcite/{p-79268767.js → p-71311d44.js} +2 -2
  48. package/dist/calcite/{p-e80e6746.entry.js → p-734ea9b1.entry.js} +2 -2
  49. package/dist/calcite/{p-cf2afb32.entry.js → p-73fd909a.entry.js} +2 -2
  50. package/dist/calcite/{p-f3cbdb70.js → p-754d24e0.js} +1 -1
  51. package/dist/calcite/{p-91d7e607.js → p-788405e3.js} +1 -1
  52. package/dist/calcite/{p-c45d16f7.js → p-7934d0f9.js} +1 -1
  53. package/dist/calcite/{p-a3db50cc.entry.js → p-79b39aa4.entry.js} +2 -2
  54. package/dist/calcite/p-79b6348e.entry.js +6 -0
  55. package/dist/calcite/{p-044baeff.js → p-7bfa25a9.js} +1 -1
  56. package/dist/calcite/{p-4976f4fd.entry.js → p-7fa35029.entry.js} +2 -2
  57. package/dist/calcite/{p-9eedcb5a.entry.js → p-86a69e75.entry.js} +2 -2
  58. package/dist/calcite/{p-75c2c181.entry.js → p-8ccf2548.entry.js} +2 -2
  59. package/dist/calcite/{p-e6e0c160.js → p-8d363d92.js} +1 -1
  60. package/dist/calcite/p-9022d9e0.entry.js +6 -0
  61. package/dist/calcite/{p-bc6e0328.entry.js → p-9787e159.entry.js} +2 -2
  62. package/dist/calcite/{p-a3c2d05c.js → p-9a277b9e.js} +2 -2
  63. package/dist/calcite/{p-6d90d557.entry.js → p-9ec2df3a.entry.js} +2 -2
  64. package/dist/calcite/{p-db5198c7.entry.js → p-9ecf5d87.entry.js} +2 -2
  65. package/dist/calcite/{p-a9693d84.entry.js → p-a42fa938.entry.js} +2 -2
  66. package/dist/calcite/{p-63e52a06.entry.js → p-a51751a9.entry.js} +2 -2
  67. package/dist/calcite/{p-3f12d333.entry.js → p-a87514f0.entry.js} +2 -2
  68. package/dist/calcite/{p-2970a7df.entry.js → p-b0ce00da.entry.js} +2 -2
  69. package/dist/calcite/{p-f0b848aa.entry.js → p-b312af8b.entry.js} +2 -2
  70. package/dist/calcite/p-b6d24c9d.js +6 -0
  71. package/dist/calcite/{p-f2b21f8a.js → p-b6e18c8a.js} +1 -1
  72. package/dist/calcite/{p-b4b7fd98.js → p-baa6ff53.js} +2 -2
  73. package/dist/calcite/{p-e910eb72.entry.js → p-c1062dd1.entry.js} +2 -2
  74. package/dist/calcite/{p-9ab99f16.entry.js → p-c6210050.entry.js} +2 -2
  75. package/dist/calcite/{p-39d82538.entry.js → p-c79d4c3b.entry.js} +2 -2
  76. package/dist/calcite/{p-244b36da.js → p-c82310e3.js} +2 -2
  77. package/dist/calcite/{p-a87b4707.entry.js → p-cec27c4d.entry.js} +2 -2
  78. package/dist/calcite/{p-f2e5a5da.entry.js → p-d597f192.entry.js} +2 -2
  79. package/dist/calcite/{p-16947d29.entry.js → p-d98ff711.entry.js} +2 -2
  80. package/dist/calcite/{p-dbc1e82d.entry.js → p-d9d07ced.entry.js} +2 -2
  81. package/dist/calcite/{p-cd293cdb.entry.js → p-dd4599a2.entry.js} +2 -2
  82. package/dist/calcite/{p-bc9662b1.js → p-df5a1c38.js} +1 -1
  83. package/dist/calcite/{p-7b0dbae2.entry.js → p-e371cc0a.entry.js} +2 -2
  84. package/dist/calcite/{p-9cfcb5c7.entry.js → p-e9b0b35f.entry.js} +2 -2
  85. package/dist/calcite/{p-d967d993.entry.js → p-eb33ddbb.entry.js} +2 -2
  86. package/dist/calcite/{p-2ef00475.entry.js → p-eb6a785a.entry.js} +2 -2
  87. package/dist/calcite/{p-8e473a10.js → p-ed44f420.js} +1 -1
  88. package/dist/calcite/{p-30d60457.entry.js → p-ee9cc248.entry.js} +2 -2
  89. package/dist/calcite/{p-0e64be43.entry.js → p-f131b6a7.entry.js} +2 -2
  90. package/dist/calcite/{p-87f4b8ec.js → p-f30b955a.js} +1 -1
  91. package/dist/calcite/{p-bed5365f.entry.js → p-f5d5bdff.entry.js} +2 -2
  92. package/dist/calcite/{p-383cbbcf.js → p-fa3d4057.js} +1 -1
  93. package/dist/calcite/p-fda67c79.js +6 -0
  94. package/dist/calcite/{p-731f132e.entry.js → p-fdd23c5b.entry.js} +2 -2
  95. package/dist/cjs/{ExpandToggle-9d75c7c0.js → ExpandToggle-11561619.js} +5 -5
  96. package/dist/cjs/{Heading-49229958.js → Heading-3b055cad.js} +2 -2
  97. package/dist/cjs/{app-globals-dcdf03e4.js → app-globals-3e76c892.js} +2 -2
  98. package/dist/cjs/{array-a8134523.js → array-f5f82917.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  104. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  105. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  106. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  109. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  111. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  116. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  117. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  118. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  119. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  120. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  121. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +27 -53
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  126. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  127. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  128. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  129. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  130. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  132. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  133. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  134. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  135. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  140. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  141. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  142. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  143. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  144. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  145. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  146. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  148. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  149. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  151. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  153. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  154. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  156. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  158. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-d1f33171.js → conditionalSlot-59a1388b.js} +3 -3
  161. package/dist/cjs/{debounce-69940b2e.js → debounce-bb0b0692.js} +1 -1
  162. package/dist/cjs/{dom-6e079cf4.js → dom-ee5c4191.js} +3 -3
  163. package/dist/cjs/{filter-cea04d7e.js → filter-53996fbc.js} +2 -2
  164. package/dist/cjs/{floating-ui-17ef35fd.js → floating-ui-1043d48b.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-8ed29261.js → focusTrapComponent-322d69e0.js} +2 -2
  166. package/dist/cjs/{form-00d413b8.js → form-a7e903da.js} +3 -3
  167. package/dist/cjs/{guid-b3d3c966.js → guid-7984aa87.js} +1 -1
  168. package/dist/cjs/{index-23b5c7e4.js → index-3a6f59df.js} +1 -1
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-bfd8b824.js → interactive-deb38e76.js} +1 -1
  171. package/dist/cjs/{key-3eb047dc.js → key-60bc8ab7.js} +1 -1
  172. package/dist/cjs/{label-cf4226eb.js → label-5a4663bc.js} +2 -2
  173. package/dist/cjs/{loadable-5eeb5f2d.js → loadable-b371ebf1.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-7101c2ef.js → locale-0c2887c7.js} +4 -4
  176. package/dist/cjs/{math-45b579a7.js → math-68990b86.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-1d231b98.js → nonChromiumPlatformUtils-3e9e499f.js} +6 -6
  178. package/dist/cjs/{observers-9501c7a0.js → observers-bebdfe23.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-2e8fddaf.js → openCloseComponent-38cfb116.js} +2 -2
  180. package/dist/cjs/{resources-4c4f2979.js → resources-26569aad.js} +1 -1
  181. package/dist/cjs/{resources-5d01e12a.js → resources-8bf95ef0.js} +1 -1
  182. package/dist/cjs/{resources-b3d13b48.js → resources-a8e63b8b.js} +5 -5
  183. package/dist/cjs/{resources-ff84e5f8.js → resources-e2f7a635.js} +1 -1
  184. package/dist/cjs/{resources-00865072.js → resources-ec66c660.js} +1 -1
  185. package/dist/cjs/{resources-d7be4a5e.js → resources-f2aad597.js} +1 -1
  186. package/dist/cjs/{sortable.esm-accddd59.js → sortable.esm-723f2c84.js} +1 -1
  187. package/dist/cjs/{t9n-595fc06c.js → t9n-4d357b47.js} +3 -3
  188. package/dist/cjs/{utils-a4c12306.js → utils-a0a47812.js} +3 -3
  189. package/dist/cjs/{utils-dce908f7.js → utils-a0cde144.js} +1 -1
  190. package/dist/collection/components/accordion/accordion.js +1 -1
  191. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  192. package/dist/collection/components/accordion-item/resources.js +1 -1
  193. package/dist/collection/components/action/action.js +1 -1
  194. package/dist/collection/components/action/resources.js +1 -1
  195. package/dist/collection/components/action-bar/action-bar.js +1 -1
  196. package/dist/collection/components/action-bar/resources.js +1 -1
  197. package/dist/collection/components/action-bar/utils.js +1 -1
  198. package/dist/collection/components/action-group/action-group.js +1 -1
  199. package/dist/collection/components/action-group/resources.js +1 -1
  200. package/dist/collection/components/action-menu/action-menu.js +1 -1
  201. package/dist/collection/components/action-menu/resources.js +1 -1
  202. package/dist/collection/components/action-pad/action-pad.js +1 -1
  203. package/dist/collection/components/action-pad/resources.js +1 -1
  204. package/dist/collection/components/alert/alert.js +1 -1
  205. package/dist/collection/components/alert/resources.js +1 -1
  206. package/dist/collection/components/avatar/avatar.js +1 -1
  207. package/dist/collection/components/avatar/utils.js +1 -1
  208. package/dist/collection/components/block/block.js +1 -1
  209. package/dist/collection/components/block/resources.js +1 -1
  210. package/dist/collection/components/block-section/block-section.js +1 -1
  211. package/dist/collection/components/block-section/resources.js +1 -1
  212. package/dist/collection/components/button/button.js +1 -1
  213. package/dist/collection/components/button/resources.js +1 -1
  214. package/dist/collection/components/card/card.js +1 -1
  215. package/dist/collection/components/card/resources.js +1 -1
  216. package/dist/collection/components/checkbox/checkbox.js +1 -1
  217. package/dist/collection/components/chip/chip.js +1 -1
  218. package/dist/collection/components/chip/resources.js +1 -1
  219. package/dist/collection/components/color-picker/color-picker.js +1 -1
  220. package/dist/collection/components/color-picker/resources.js +1 -1
  221. package/dist/collection/components/color-picker/utils.js +1 -1
  222. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  224. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  226. package/dist/collection/components/combobox/combobox.js +1 -1
  227. package/dist/collection/components/combobox/resources.js +1 -1
  228. package/dist/collection/components/combobox/utils.js +1 -1
  229. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  230. package/dist/collection/components/combobox-item/resources.js +1 -1
  231. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  232. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  233. package/dist/collection/components/date-picker/date-picker.js +1 -1
  234. package/dist/collection/components/date-picker/resources.js +1 -1
  235. package/dist/collection/components/date-picker/utils.js +1 -1
  236. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  237. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  238. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  240. package/dist/collection/components/dropdown/dropdown.js +1 -1
  241. package/dist/collection/components/dropdown/resources.js +1 -1
  242. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  243. package/dist/collection/components/dropdown-group/resources.js +1 -1
  244. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  245. package/dist/collection/components/dropdown-item/resources.js +1 -1
  246. package/dist/collection/components/fab/fab.js +1 -1
  247. package/dist/collection/components/fab/resources.js +1 -1
  248. package/dist/collection/components/filter/filter.js +1 -1
  249. package/dist/collection/components/filter/resources.js +1 -1
  250. package/dist/collection/components/flow/flow.js +1 -1
  251. package/dist/collection/components/flow/resources.js +1 -1
  252. package/dist/collection/components/flow-item/flow-item.js +1 -1
  253. package/dist/collection/components/flow-item/resources.js +1 -1
  254. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  255. package/dist/collection/components/functional/Heading.js +1 -1
  256. package/dist/collection/components/graph/graph.js +1 -1
  257. package/dist/collection/components/graph/util.js +1 -1
  258. package/dist/collection/components/handle/handle.js +1 -1
  259. package/dist/collection/components/handle/resources.js +1 -1
  260. package/dist/collection/components/icon/icon.js +1 -1
  261. package/dist/collection/components/icon/resources.js +1 -1
  262. package/dist/collection/components/icon/utils.js +1 -1
  263. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  264. package/dist/collection/components/inline-editable/resources.js +1 -1
  265. package/dist/collection/components/input/input.js +1 -1
  266. package/dist/collection/components/input/resources.js +1 -1
  267. package/dist/collection/components/input-date-picker/input-date-picker.js +12 -126
  268. package/dist/collection/components/input-date-picker/resources.js +1 -1
  269. package/dist/collection/components/input-message/input-message.js +1 -1
  270. package/dist/collection/components/input-message/interfaces.js +1 -1
  271. package/dist/collection/components/input-number/input-number.js +1 -1
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +1 -1
  274. package/dist/collection/components/input-text/resources.js +1 -1
  275. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  276. package/dist/collection/components/label/label.js +1 -1
  277. package/dist/collection/components/label/resources.js +1 -1
  278. package/dist/collection/components/link/link.js +1 -1
  279. package/dist/collection/components/list/list.js +1 -1
  280. package/dist/collection/components/list/resources.js +1 -1
  281. package/dist/collection/components/list-item/list-item.js +1 -1
  282. package/dist/collection/components/list-item/resources.js +1 -1
  283. package/dist/collection/components/list-item/utils.js +1 -1
  284. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  285. package/dist/collection/components/list-item-group/resources.js +1 -1
  286. package/dist/collection/components/loader/loader.js +1 -1
  287. package/dist/collection/components/modal/modal.js +1 -1
  288. package/dist/collection/components/modal/resources.js +1 -1
  289. package/dist/collection/components/notice/notice.js +1 -1
  290. package/dist/collection/components/notice/resources.js +1 -1
  291. package/dist/collection/components/option/option.js +1 -1
  292. package/dist/collection/components/option-group/option-group.js +1 -1
  293. package/dist/collection/components/pagination/pagination.js +1 -1
  294. package/dist/collection/components/pagination/resources.js +1 -1
  295. package/dist/collection/components/panel/panel.js +1 -1
  296. package/dist/collection/components/panel/resources.js +1 -1
  297. package/dist/collection/components/pick-list/pick-list.js +1 -1
  298. package/dist/collection/components/pick-list/resources.js +1 -1
  299. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  300. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  301. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  302. package/dist/collection/components/pick-list-group/resources.js +1 -1
  303. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  304. package/dist/collection/components/pick-list-item/resources.js +1 -1
  305. package/dist/collection/components/popover/PopoverManager.js +1 -1
  306. package/dist/collection/components/popover/popover.js +1 -1
  307. package/dist/collection/components/popover/resources.js +1 -1
  308. package/dist/collection/components/progress/progress.js +1 -1
  309. package/dist/collection/components/radio-button/radio-button.js +1 -1
  310. package/dist/collection/components/radio-button/resources.js +1 -1
  311. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  312. package/dist/collection/components/radio-group/radio-group.js +1 -1
  313. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  314. package/dist/collection/components/radio-group-item/resources.js +1 -1
  315. package/dist/collection/components/rating/function/star.js +1 -1
  316. package/dist/collection/components/rating/rating.js +1 -1
  317. package/dist/collection/components/resources.js +1 -1
  318. package/dist/collection/components/scrim/resources.js +1 -1
  319. package/dist/collection/components/scrim/scrim.js +1 -1
  320. package/dist/collection/components/select/resources.js +1 -1
  321. package/dist/collection/components/select/select.js +1 -1
  322. package/dist/collection/components/shell/resources.js +1 -1
  323. package/dist/collection/components/shell/shell.js +1 -1
  324. package/dist/collection/components/shell-center-row/resources.js +1 -1
  325. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  326. package/dist/collection/components/shell-panel/resources.js +1 -1
  327. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  328. package/dist/collection/components/slider/resources.js +1 -1
  329. package/dist/collection/components/slider/slider.js +1 -1
  330. package/dist/collection/components/sortable-list/resources.js +1 -1
  331. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  332. package/dist/collection/components/split-button/resources.js +1 -1
  333. package/dist/collection/components/split-button/split-button.js +1 -1
  334. package/dist/collection/components/stepper/stepper.js +1 -1
  335. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  336. package/dist/collection/components/switch/switch.js +1 -1
  337. package/dist/collection/components/tab/tab.js +1 -1
  338. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  339. package/dist/collection/components/tab-title/tab-title.js +1 -1
  340. package/dist/collection/components/tabs/resources.js +1 -1
  341. package/dist/collection/components/tabs/tabs.js +1 -1
  342. package/dist/collection/components/tile/resources.js +1 -1
  343. package/dist/collection/components/tile/tile.js +1 -1
  344. package/dist/collection/components/tile-select/resources.js +1 -1
  345. package/dist/collection/components/tile-select/tile-select.js +1 -1
  346. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  347. package/dist/collection/components/time-picker/resources.js +1 -1
  348. package/dist/collection/components/time-picker/time-picker.js +1 -1
  349. package/dist/collection/components/tip/resources.js +1 -1
  350. package/dist/collection/components/tip/tip.js +1 -1
  351. package/dist/collection/components/tip-group/tip-group.js +1 -1
  352. package/dist/collection/components/tip-manager/resources.js +1 -1
  353. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  354. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  355. package/dist/collection/components/tooltip/resources.js +1 -1
  356. package/dist/collection/components/tooltip/tooltip.js +1 -1
  357. package/dist/collection/components/tree/tree.js +1 -1
  358. package/dist/collection/components/tree/utils.js +1 -1
  359. package/dist/collection/components/tree-item/resources.js +1 -1
  360. package/dist/collection/components/tree-item/tree-item.js +1 -1
  361. package/dist/collection/components/value-list/resources.js +1 -1
  362. package/dist/collection/components/value-list/utils.js +1 -1
  363. package/dist/collection/components/value-list/value-list.js +1 -1
  364. package/dist/collection/components/value-list-item/resources.js +1 -1
  365. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  366. package/dist/collection/utils/array.js +1 -1
  367. package/dist/collection/utils/conditionalSlot.js +1 -1
  368. package/dist/collection/utils/config.js +1 -1
  369. package/dist/collection/utils/date.js +1 -1
  370. package/dist/collection/utils/dom.js +1 -1
  371. package/dist/collection/utils/filter.js +1 -1
  372. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  373. package/dist/collection/utils/floating-ui.js +1 -1
  374. package/dist/collection/utils/focusTrapComponent.js +1 -1
  375. package/dist/collection/utils/form.js +1 -1
  376. package/dist/collection/utils/globalAttributes.js +1 -1
  377. package/dist/collection/utils/globalScript.js +1 -1
  378. package/dist/collection/utils/guid.js +1 -1
  379. package/dist/collection/utils/interactive.js +1 -1
  380. package/dist/collection/utils/key.js +1 -1
  381. package/dist/collection/utils/label.js +1 -1
  382. package/dist/collection/utils/loadable.js +1 -1
  383. package/dist/collection/utils/locale.js +1 -1
  384. package/dist/collection/utils/math.js +1 -1
  385. package/dist/collection/utils/number.js +1 -1
  386. package/dist/collection/utils/observers.js +1 -1
  387. package/dist/collection/utils/openCloseComponent.js +1 -1
  388. package/dist/collection/utils/resources.js +1 -1
  389. package/dist/collection/utils/t9n.js +1 -1
  390. package/dist/collection/utils/theme.js +1 -1
  391. package/dist/collection/utils/time.js +1 -1
  392. package/dist/components/ExpandToggle.js +1 -1
  393. package/dist/components/Heading.js +1 -1
  394. package/dist/components/action-group.js +1 -1
  395. package/dist/components/action-menu.js +1 -1
  396. package/dist/components/action.js +1 -1
  397. package/dist/components/array.js +1 -1
  398. package/dist/components/button.js +1 -1
  399. package/dist/components/calcite-accordion-item.js +1 -1
  400. package/dist/components/calcite-accordion.js +1 -1
  401. package/dist/components/calcite-action-bar.js +1 -1
  402. package/dist/components/calcite-action-group.js +1 -1
  403. package/dist/components/calcite-action-menu.js +1 -1
  404. package/dist/components/calcite-action-pad.js +1 -1
  405. package/dist/components/calcite-action.js +1 -1
  406. package/dist/components/calcite-alert.js +1 -1
  407. package/dist/components/calcite-avatar.js +1 -1
  408. package/dist/components/calcite-block-section.js +1 -1
  409. package/dist/components/calcite-block.js +1 -1
  410. package/dist/components/calcite-button.js +1 -1
  411. package/dist/components/calcite-card.js +1 -1
  412. package/dist/components/calcite-checkbox.js +1 -1
  413. package/dist/components/calcite-chip.js +1 -1
  414. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  415. package/dist/components/calcite-color-picker-swatch.js +1 -1
  416. package/dist/components/calcite-color-picker.js +1 -1
  417. package/dist/components/calcite-combobox-item-group.js +1 -1
  418. package/dist/components/calcite-combobox-item.js +1 -1
  419. package/dist/components/calcite-combobox.js +1 -1
  420. package/dist/components/calcite-date-picker-day.js +1 -1
  421. package/dist/components/calcite-date-picker-month-header.js +1 -1
  422. package/dist/components/calcite-date-picker-month.js +1 -1
  423. package/dist/components/calcite-date-picker.js +1 -1
  424. package/dist/components/calcite-dropdown-group.js +1 -1
  425. package/dist/components/calcite-dropdown-item.js +1 -1
  426. package/dist/components/calcite-dropdown.js +1 -1
  427. package/dist/components/calcite-fab.js +1 -1
  428. package/dist/components/calcite-filter.js +1 -1
  429. package/dist/components/calcite-flow-item.js +1 -1
  430. package/dist/components/calcite-flow.js +1 -1
  431. package/dist/components/calcite-graph.js +1 -1
  432. package/dist/components/calcite-handle.js +1 -1
  433. package/dist/components/calcite-icon.js +1 -1
  434. package/dist/components/calcite-inline-editable.js +1 -1
  435. package/dist/components/calcite-input-date-picker.js +12 -42
  436. package/dist/components/calcite-input-message.js +1 -1
  437. package/dist/components/calcite-input-number.js +1 -1
  438. package/dist/components/calcite-input-text.js +1 -1
  439. package/dist/components/calcite-input-time-picker.js +1 -1
  440. package/dist/components/calcite-input.js +1 -1
  441. package/dist/components/calcite-label.js +1 -1
  442. package/dist/components/calcite-link.js +1 -1
  443. package/dist/components/calcite-list-item-group.js +1 -1
  444. package/dist/components/calcite-list-item.js +1 -1
  445. package/dist/components/calcite-list.js +1 -1
  446. package/dist/components/calcite-loader.js +1 -1
  447. package/dist/components/calcite-modal.js +1 -1
  448. package/dist/components/calcite-notice.js +1 -1
  449. package/dist/components/calcite-option-group.js +1 -1
  450. package/dist/components/calcite-option.js +1 -1
  451. package/dist/components/calcite-pagination.js +1 -1
  452. package/dist/components/calcite-panel.js +1 -1
  453. package/dist/components/calcite-pick-list-group.js +1 -1
  454. package/dist/components/calcite-pick-list-item.js +1 -1
  455. package/dist/components/calcite-pick-list.js +1 -1
  456. package/dist/components/calcite-popover.js +1 -1
  457. package/dist/components/calcite-progress.js +1 -1
  458. package/dist/components/calcite-radio-button-group.js +1 -1
  459. package/dist/components/calcite-radio-button.js +1 -1
  460. package/dist/components/calcite-radio-group-item.js +1 -1
  461. package/dist/components/calcite-radio-group.js +1 -1
  462. package/dist/components/calcite-rating.js +1 -1
  463. package/dist/components/calcite-scrim.js +1 -1
  464. package/dist/components/calcite-select.js +1 -1
  465. package/dist/components/calcite-shell-center-row.js +1 -1
  466. package/dist/components/calcite-shell-panel.js +1 -1
  467. package/dist/components/calcite-shell.js +1 -1
  468. package/dist/components/calcite-slider.js +1 -1
  469. package/dist/components/calcite-sortable-list.js +1 -1
  470. package/dist/components/calcite-split-button.js +1 -1
  471. package/dist/components/calcite-stepper-item.js +1 -1
  472. package/dist/components/calcite-stepper.js +1 -1
  473. package/dist/components/calcite-switch.js +1 -1
  474. package/dist/components/calcite-tab-nav.js +1 -1
  475. package/dist/components/calcite-tab-title.js +1 -1
  476. package/dist/components/calcite-tab.js +1 -1
  477. package/dist/components/calcite-tabs.js +1 -1
  478. package/dist/components/calcite-tile-select-group.js +1 -1
  479. package/dist/components/calcite-tile-select.js +1 -1
  480. package/dist/components/calcite-tile.js +1 -1
  481. package/dist/components/calcite-time-picker.js +1 -1
  482. package/dist/components/calcite-tip-group.js +1 -1
  483. package/dist/components/calcite-tip-manager.js +1 -1
  484. package/dist/components/calcite-tip.js +1 -1
  485. package/dist/components/calcite-tooltip.js +1 -1
  486. package/dist/components/calcite-tree-item.js +1 -1
  487. package/dist/components/calcite-tree.js +1 -1
  488. package/dist/components/calcite-value-list-item.js +1 -1
  489. package/dist/components/calcite-value-list.js +1 -1
  490. package/dist/components/checkbox.js +1 -1
  491. package/dist/components/chip.js +1 -1
  492. package/dist/components/color-picker-hex-input.js +1 -1
  493. package/dist/components/color-picker-swatch.js +1 -1
  494. package/dist/components/conditionalSlot.js +1 -1
  495. package/dist/components/date-picker-day.js +1 -1
  496. package/dist/components/date-picker-month-header.js +1 -1
  497. package/dist/components/date-picker-month.js +1 -1
  498. package/dist/components/date-picker.js +1 -1
  499. package/dist/components/date.js +1 -1
  500. package/dist/components/debounce.js +1 -1
  501. package/dist/components/dom.js +1 -1
  502. package/dist/components/dropdown.js +1 -1
  503. package/dist/components/filter.js +1 -1
  504. package/dist/components/filter2.js +1 -1
  505. package/dist/components/floating-ui.js +1 -1
  506. package/dist/components/focusTrapComponent.js +1 -1
  507. package/dist/components/form.js +1 -1
  508. package/dist/components/graph.js +1 -1
  509. package/dist/components/guid.js +1 -1
  510. package/dist/components/handle.js +1 -1
  511. package/dist/components/icon.js +1 -1
  512. package/dist/components/index.js +1 -1
  513. package/dist/components/input.js +1 -1
  514. package/dist/components/interactive.js +1 -1
  515. package/dist/components/key.js +1 -1
  516. package/dist/components/label.js +1 -1
  517. package/dist/components/label2.js +1 -1
  518. package/dist/components/link.js +1 -1
  519. package/dist/components/loadable.js +1 -1
  520. package/dist/components/loader.js +1 -1
  521. package/dist/components/locale.js +1 -1
  522. package/dist/components/math.js +1 -1
  523. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  524. package/dist/components/observers.js +1 -1
  525. package/dist/components/openCloseComponent.js +1 -1
  526. package/dist/components/panel.js +1 -1
  527. package/dist/components/pick-list-item.js +1 -1
  528. package/dist/components/popover.js +1 -1
  529. package/dist/components/progress.js +1 -1
  530. package/dist/components/resources.js +1 -1
  531. package/dist/components/resources2.js +1 -1
  532. package/dist/components/resources3.js +1 -1
  533. package/dist/components/resources4.js +1 -1
  534. package/dist/components/scrim.js +1 -1
  535. package/dist/components/shared-list-render.js +1 -1
  536. package/dist/components/sortable.esm.js +1 -1
  537. package/dist/components/switch.js +1 -1
  538. package/dist/components/t9n.js +1 -1
  539. package/dist/components/tab-nav.js +1 -1
  540. package/dist/components/tab-title.js +1 -1
  541. package/dist/components/tab.js +1 -1
  542. package/dist/components/tabs.js +1 -1
  543. package/dist/components/tile.js +1 -1
  544. package/dist/components/time-picker.js +1 -1
  545. package/dist/components/tooltip.js +1 -1
  546. package/dist/components/utils.js +1 -1
  547. package/dist/components/utils2.js +1 -1
  548. package/dist/esm/{ExpandToggle-1cc1df01.js → ExpandToggle-52db4bd6.js} +5 -5
  549. package/dist/esm/{Heading-69ade3fa.js → Heading-5aba45d8.js} +2 -2
  550. package/dist/esm/{app-globals-a8902642.js → app-globals-d2ce5336.js} +2 -2
  551. package/dist/esm/{array-dd4b874f.js → array-0e55ec94.js} +1 -1
  552. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  553. package/dist/esm/calcite-action-bar.entry.js +15 -15
  554. package/dist/esm/calcite-action-group.entry.js +12 -12
  555. package/dist/esm/calcite-action-menu.entry.js +9 -9
  556. package/dist/esm/calcite-action-pad.entry.js +14 -14
  557. package/dist/esm/calcite-action.entry.js +11 -11
  558. package/dist/esm/calcite-alert.entry.js +12 -12
  559. package/dist/esm/calcite-avatar.entry.js +6 -6
  560. package/dist/esm/calcite-block_2.entry.js +12 -12
  561. package/dist/esm/calcite-button.entry.js +13 -13
  562. package/dist/esm/calcite-card.entry.js +10 -10
  563. package/dist/esm/calcite-checkbox.entry.js +10 -10
  564. package/dist/esm/calcite-chip.entry.js +11 -11
  565. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  566. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  567. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  568. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  569. package/dist/esm/calcite-fab.entry.js +7 -7
  570. package/dist/esm/calcite-filter.entry.js +13 -13
  571. package/dist/esm/calcite-flow-item.entry.js +12 -12
  572. package/dist/esm/calcite-flow.entry.js +3 -3
  573. package/dist/esm/calcite-graph_2.entry.js +13 -13
  574. package/dist/esm/calcite-handle.entry.js +6 -6
  575. package/dist/esm/calcite-icon.entry.js +6 -6
  576. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  577. package/dist/esm/calcite-input-date-picker.entry.js +27 -53
  578. package/dist/esm/calcite-input-message.entry.js +5 -5
  579. package/dist/esm/calcite-input-number.entry.js +14 -14
  580. package/dist/esm/calcite-input-text.entry.js +13 -13
  581. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  582. package/dist/esm/calcite-input.entry.js +14 -14
  583. package/dist/esm/calcite-label.entry.js +6 -6
  584. package/dist/esm/calcite-link.entry.js +7 -7
  585. package/dist/esm/calcite-list_3.entry.js +9 -9
  586. package/dist/esm/calcite-loader.entry.js +3 -3
  587. package/dist/esm/calcite-modal.entry.js +13 -13
  588. package/dist/esm/calcite-notice.entry.js +12 -12
  589. package/dist/esm/calcite-option_3.entry.js +10 -10
  590. package/dist/esm/calcite-pagination.entry.js +9 -9
  591. package/dist/esm/calcite-panel.entry.js +14 -14
  592. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  593. package/dist/esm/calcite-popover.entry.js +15 -15
  594. package/dist/esm/calcite-progress.entry.js +2 -2
  595. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  596. package/dist/esm/calcite-radio-button.entry.js +10 -10
  597. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  598. package/dist/esm/calcite-rating.entry.js +13 -13
  599. package/dist/esm/calcite-scrim.entry.js +9 -9
  600. package/dist/esm/calcite-shell_3.entry.js +8 -8
  601. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  602. package/dist/esm/calcite-split-button.entry.js +3 -3
  603. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  604. package/dist/esm/calcite-switch.entry.js +10 -10
  605. package/dist/esm/calcite-tab_4.entry.js +7 -7
  606. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  607. package/dist/esm/calcite-tile.entry.js +8 -8
  608. package/dist/esm/calcite-tip_3.entry.js +8 -8
  609. package/dist/esm/calcite-tooltip.entry.js +8 -8
  610. package/dist/esm/calcite-tree_2.entry.js +8 -8
  611. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  612. package/dist/esm/calcite.js +5 -5
  613. package/dist/esm/{conditionalSlot-01bd503c.js → conditionalSlot-ae50e0ee.js} +3 -3
  614. package/dist/esm/{debounce-83740f38.js → debounce-b20edb73.js} +1 -1
  615. package/dist/esm/{dom-d0f68aaa.js → dom-4fec36e2.js} +3 -3
  616. package/dist/esm/{filter-e047bbc0.js → filter-35d65d57.js} +2 -2
  617. package/dist/esm/{floating-ui-7a021f4a.js → floating-ui-0720b4cd.js} +4 -4
  618. package/dist/esm/{focusTrapComponent-f1bdf1ff.js → focusTrapComponent-aa813b19.js} +2 -2
  619. package/dist/esm/{form-73c0caae.js → form-884a2e03.js} +3 -3
  620. package/dist/esm/{guid-39968fc4.js → guid-7b3a1428.js} +1 -1
  621. package/dist/esm/{index-f8e868ed.js → index-cd76ebb2.js} +1 -1
  622. package/dist/esm/index.js +1 -1
  623. package/dist/esm/{interactive-b1d02d77.js → interactive-fbea9f2f.js} +1 -1
  624. package/dist/esm/{key-059bc9a2.js → key-eb088cf6.js} +1 -1
  625. package/dist/esm/{label-754bcf32.js → label-d0cdc945.js} +2 -2
  626. package/dist/esm/{loadable-becc8130.js → loadable-d1e9c824.js} +1 -1
  627. package/dist/esm/loader.js +5 -5
  628. package/dist/esm/{locale-48d3c5e9.js → locale-48053015.js} +4 -4
  629. package/dist/esm/{math-ddd93c6f.js → math-a8a40789.js} +1 -1
  630. package/dist/esm/{nonChromiumPlatformUtils-0834ce37.js → nonChromiumPlatformUtils-9f70c206.js} +6 -6
  631. package/dist/esm/{observers-594fb11c.js → observers-5d0a9d68.js} +1 -1
  632. package/dist/esm/{openCloseComponent-d97a6ab7.js → openCloseComponent-dad618c5.js} +2 -2
  633. package/dist/esm/{resources-ea713983.js → resources-0d11a2c9.js} +1 -1
  634. package/dist/esm/{resources-792c6775.js → resources-1c22e023.js} +5 -5
  635. package/dist/esm/{resources-88a3150d.js → resources-3be10ead.js} +1 -1
  636. package/dist/esm/{resources-f2fc183b.js → resources-c3c9bbc5.js} +1 -1
  637. package/dist/esm/{resources-98b70b3d.js → resources-caa49722.js} +1 -1
  638. package/dist/esm/{resources-3c3d1cb8.js → resources-dcb9e4a0.js} +1 -1
  639. package/dist/esm/{sortable.esm-7ece9d60.js → sortable.esm-8fdd4ea6.js} +1 -1
  640. package/dist/esm/{t9n-dafe7d43.js → t9n-1912fb3c.js} +3 -3
  641. package/dist/esm/{utils-3842c319.js → utils-64351d9c.js} +1 -1
  642. package/dist/esm/{utils-717a8ea8.js → utils-79f38360.js} +3 -3
  643. package/dist/extras/docs-json.json +1 -87
  644. package/dist/loader/cdn.js +1 -1
  645. package/dist/loader/index.cjs.js +1 -1
  646. package/dist/loader/index.es2017.js +1 -1
  647. package/dist/loader/index.js +1 -1
  648. package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -26
  649. package/dist/types/components.d.ts +0 -40
  650. package/hydrate/index.js +13 -43
  651. package/package.json +1 -1
  652. package/dist/calcite/p-00b5b3a6.entry.js +0 -6
  653. package/dist/calcite/p-299c20da.entry.js +0 -6
  654. package/dist/calcite/p-5219763b.js +0 -6
  655. package/dist/calcite/p-5864033f.js +0 -6
  656. package/dist/calcite/p-8ab83f10.entry.js +0 -6
  657. package/dist/calcite/p-ca26ef33.js +0 -6
  658. package/dist/calcite/p-fe176f27.entry.js +0 -6
@@ -37,18 +37,6 @@ export declare class InputDatePicker implements LabelableComponent, FormComponen
37
37
  headingLevel: HeadingLevel;
38
38
  /** The component's value as a full date object. */
39
39
  valueAsDate: Date | Date[];
40
- /**
41
- * The component's start date as a full date object.
42
- *
43
- * @deprecated use `valueAsDate` instead.
44
- */
45
- startAsDate: Date;
46
- /**
47
- * The component's end date as a full date object.
48
- *
49
- * @deprecated use `valueAsDate` instead.
50
- */
51
- endAsDate: Date;
52
40
  /** Specifies the earliest allowed date as a full date object. */
53
41
  minAsDate: Date;
54
42
  /** Specifies the latest allowed date as a full date object. */
@@ -87,18 +75,6 @@ export declare class InputDatePicker implements LabelableComponent, FormComponen
87
75
  * @internal
88
76
  */
89
77
  required: boolean;
90
- /**
91
- * The component's start date.
92
- *
93
- * @deprecated use `value` instead.
94
- */
95
- start: string;
96
- /**
97
- * The component's end date.
98
- *
99
- * @deprecated use `value` instead.
100
- */
101
- end: string;
102
78
  /**
103
79
  * Determines the type of positioning to use for the overlaid content.
104
80
  *
@@ -193,8 +169,6 @@ export declare class InputDatePicker implements LabelableComponent, FormComponen
193
169
  setFloatingEl: (el: HTMLDivElement) => void;
194
170
  setStartWrapper: (el: HTMLDivElement) => void;
195
171
  setEndWrapper: (el: HTMLDivElement) => void;
196
- startWatcher(start: string): void;
197
- endWatcher(end: string): void;
198
172
  private loadLocaleData;
199
173
  /**
200
174
  * Event handler for when the selected date changes
@@ -1686,16 +1686,6 @@ export namespace Components {
1686
1686
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
1687
1687
  */
1688
1688
  "disabled": boolean;
1689
- /**
1690
- * The component's end date.
1691
- * @deprecated use `value` instead.
1692
- */
1693
- "end": string;
1694
- /**
1695
- * The component's end date as a full date object.
1696
- * @deprecated use `valueAsDate` instead.
1697
- */
1698
- "endAsDate": Date;
1699
1689
  /**
1700
1690
  * Defines the available placements that can be used when a flip occurs.
1701
1691
  */
@@ -1779,16 +1769,6 @@ export namespace Components {
1779
1769
  * Sets focus on the component.
1780
1770
  */
1781
1771
  "setFocus": () => Promise<void>;
1782
- /**
1783
- * The component's start date.
1784
- * @deprecated use `value` instead.
1785
- */
1786
- "start": string;
1787
- /**
1788
- * The component's start date as a full date object.
1789
- * @deprecated use `valueAsDate` instead.
1790
- */
1791
- "startAsDate": Date;
1792
1772
  /**
1793
1773
  * Selected date as a string in ISO format (YYYY-MM-DD)
1794
1774
  */
@@ -6444,16 +6424,6 @@ declare namespace LocalJSX {
6444
6424
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
6445
6425
  */
6446
6426
  "disabled"?: boolean;
6447
- /**
6448
- * The component's end date.
6449
- * @deprecated use `value` instead.
6450
- */
6451
- "end"?: string;
6452
- /**
6453
- * The component's end date as a full date object.
6454
- * @deprecated use `valueAsDate` instead.
6455
- */
6456
- "endAsDate"?: Date;
6457
6427
  /**
6458
6428
  * Defines the available placements that can be used when a flip occurs.
6459
6429
  */
@@ -6550,16 +6520,6 @@ declare namespace LocalJSX {
6550
6520
  * Specifies the size of the component.
6551
6521
  */
6552
6522
  "scale"?: "s" | "m" | "l";
6553
- /**
6554
- * The component's start date.
6555
- * @deprecated use `value` instead.
6556
- */
6557
- "start"?: string;
6558
- /**
6559
- * The component's start date as a full date object.
6560
- * @deprecated use `valueAsDate` instead.
6561
- */
6562
- "startAsDate"?: Date;
6563
6523
  /**
6564
6524
  * Selected date as a string in ISO format (YYYY-MM-DD)
6565
6525
  */
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.690
4
+ * v1.0.0-next.691
5
5
  */
6
6
  'use strict';
7
7
 
@@ -21297,8 +21297,6 @@ class InputDatePicker {
21297
21297
  this.userChangedValue = true;
21298
21298
  this.value = newValue;
21299
21299
  this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
21300
- this.start = newStartDateISO;
21301
- this.end = newEndDateISO;
21302
21300
  const eventDetail = {
21303
21301
  startDate: newStartDate,
21304
21302
  endDate: newEndDate ? setEndOfDay(newEndDate) : null
@@ -21350,8 +21348,6 @@ class InputDatePicker {
21350
21348
  this.flipPlacements = undefined;
21351
21349
  this.headingLevel = undefined;
21352
21350
  this.valueAsDate = undefined;
21353
- this.startAsDate = undefined;
21354
- this.endAsDate = undefined;
21355
21351
  this.minAsDate = undefined;
21356
21352
  this.maxAsDate = undefined;
21357
21353
  this.min = undefined;
@@ -21363,8 +21359,6 @@ class InputDatePicker {
21363
21359
  this.placement = defaultMenuPlacement;
21364
21360
  this.range = false;
21365
21361
  this.required = false;
21366
- this.start = undefined;
21367
- this.end = undefined;
21368
21362
  this.overlayPositioning = "absolute";
21369
21363
  this.proximitySelectionDisabled = false;
21370
21364
  this.layout = "horizontal";
@@ -21385,8 +21379,6 @@ class InputDatePicker {
21385
21379
  let newValueAsDate;
21386
21380
  if (Array.isArray(newValue)) {
21387
21381
  newValueAsDate = getValueAsDateRange(newValue);
21388
- this.start = newValue[0];
21389
- this.end = newValue[1];
21390
21382
  }
21391
21383
  else if (newValue) {
21392
21384
  newValueAsDate = dateFromISO(newValue);
@@ -21492,8 +21484,6 @@ class InputDatePicker {
21492
21484
  open && this.openHandler(open);
21493
21485
  if (Array.isArray(this.value)) {
21494
21486
  this.valueAsDate = getValueAsDateRange(this.value);
21495
- this.start = this.value[0];
21496
- this.end = this.value[1];
21497
21487
  }
21498
21488
  else if (this.value) {
21499
21489
  try {
@@ -21503,18 +21493,10 @@ class InputDatePicker {
21503
21493
  this.warnAboutInvalidValue(this.value);
21504
21494
  this.value = "";
21505
21495
  }
21506
- this.start = "";
21507
- this.end = "";
21508
21496
  }
21509
21497
  else if (this.range && this.valueAsDate) {
21510
21498
  this.setRangeValue(this.valueAsDate);
21511
21499
  }
21512
- if (this.start) {
21513
- this.startAsDate = dateFromISO(this.start);
21514
- }
21515
- if (this.end) {
21516
- this.endAsDate = setEndOfDay(dateFromISO(this.end));
21517
- }
21518
21500
  if (this.min) {
21519
21501
  this.minAsDate = dateFromISO(this.min);
21520
21502
  }
@@ -21568,7 +21550,7 @@ class InputDatePicker {
21568
21550
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
21569
21551
  [FloatingCSS.animation]: true,
21570
21552
  [FloatingCSS.animationActive]: this.open
21571
- }, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: 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: {
21553
+ }, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, 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: {
21572
21554
  input: true,
21573
21555
  "border-top-color-one": this.layout === "vertical" && this.range
21574
21556
  }, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), hAsync(HiddenFormInputSlot, { component: this })));
@@ -21641,33 +21623,27 @@ class InputDatePicker {
21641
21623
  this.localizeInputValues();
21642
21624
  }
21643
21625
  }
21644
- startWatcher(start) {
21645
- this.startAsDate = dateFromISO(start);
21646
- }
21647
- endWatcher(end) {
21648
- this.endAsDate = end ? setEndOfDay(dateFromISO(end)) : dateFromISO(end);
21649
- }
21650
21626
  async loadLocaleData() {
21651
21627
  {
21652
21628
  return;
21653
21629
  }
21654
21630
  }
21655
21631
  shouldFocusRangeStart() {
21656
- return !!(this.endAsDate &&
21657
- !this.startAsDate &&
21658
- this.focusedInput === "end" &&
21659
- this.startInput);
21632
+ const startValue = this.value[0] || undefined;
21633
+ const endValue = this.value[1] || undefined;
21634
+ return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
21660
21635
  }
21661
21636
  shouldFocusRangeEnd() {
21662
- return !!(this.startAsDate &&
21663
- !this.endAsDate &&
21664
- this.focusedInput === "start" &&
21665
- this.endInput);
21637
+ const startValue = this.value[0] || undefined;
21638
+ const endValue = this.value[1] || undefined;
21639
+ return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
21666
21640
  }
21667
21641
  localizeInputValues() {
21668
- const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
21642
+ const date = dateFromRange((this.range
21643
+ ? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
21644
+ : this.valueAsDate), this.minAsDate, this.maxAsDate);
21669
21645
  const endDate = this.range
21670
- ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
21646
+ ? dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
21671
21647
  : null;
21672
21648
  const localizedDate = date && this.formatNumerals(date.toLocaleDateString(this.effectiveLocale));
21673
21649
  const localizedEndDate = endDate && this.formatNumerals(endDate.toLocaleDateString(this.effectiveLocale));
@@ -21691,8 +21667,6 @@ class InputDatePicker {
21691
21667
  "overlayPositioning": ["overlayPositioningHandler"],
21692
21668
  "layout": ["setReferenceEl"],
21693
21669
  "focusedInput": ["setReferenceEl"],
21694
- "start": ["startWatcher"],
21695
- "end": ["endWatcher"],
21696
21670
  "effectiveLocale": ["loadLocaleData"]
21697
21671
  }; }
21698
21672
  static get style() { return inputDatePickerCss; }
@@ -21706,8 +21680,6 @@ class InputDatePicker {
21706
21680
  "flipPlacements": [16],
21707
21681
  "headingLevel": [514, "heading-level"],
21708
21682
  "valueAsDate": [1040],
21709
- "startAsDate": [1040],
21710
- "endAsDate": [1040],
21711
21683
  "minAsDate": [1040],
21712
21684
  "maxAsDate": [1040],
21713
21685
  "min": [1025],
@@ -21719,8 +21691,6 @@ class InputDatePicker {
21719
21691
  "placement": [513],
21720
21692
  "range": [516],
21721
21693
  "required": [516],
21722
- "start": [1537],
21723
- "end": [1537],
21724
21694
  "overlayPositioning": [513, "overlay-positioning"],
21725
21695
  "proximitySelectionDisabled": [4, "proximity-selection-disabled"],
21726
21696
  "layout": [513],
@@ -21735,7 +21705,7 @@ class InputDatePicker {
21735
21705
  },
21736
21706
  "$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
21737
21707
  "$lazyBundleId$": "-",
21738
- "$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["start", "start"], ["end", "end"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
21708
+ "$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
21739
21709
  }; }
21740
21710
  }
21741
21711
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.690",
3
+ "version": "1.0.0-next.691",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-597cc6aa.js";import{g as s}from"./p-87f4b8ec.js";import{c,d as n,H as r}from"./p-af294645.js";import{c as l,d as h,g as d}from"./p-7cd7e6e3.js";import{u as m}from"./p-73fca9e0.js";import{t as p}from"./p-244b36da.js";import{i as u}from"./p-383cbbcf.js";import{c as f,s as b,a as g}from"./p-0a9ea827.js";import"./p-dfaa05f7.js";const v=class{constructor(a){t(this,a),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{u(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){await f(this),this.toggleEl?.focus()}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${s()}`,l(this),c(this)}disconnectedCallback(){h(this),n(this)}componentWillLoad(){b(this)}componentDidLoad(){g(this)}componentDidRender(){m(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":p(this.checked),"aria-label":d(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:t=>this.toggleEl=t,role:"checkbox",tabIndex:this.disabled?void 0:0},a("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},a("path",{d:this.getPath()})),a("slot",null)),a(r,{component:this}))}get el(){return o(this)}};v.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{v as calcite_checkbox}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{r as t,c as i,h as a,H as e,g as s}from"./p-597cc6aa.js";import{d as n,a as r,i as o,b as c,g as l,s as h,c as d,e as p,f as m}from"./p-1bd4fbd5.js";import{c as u,d as f,g}from"./p-7cd7e6e3.js";import{s as v,c as y,d as b,H as w}from"./p-af294645.js";import{f as x,c as k,d as D,u as C,r as I,a as z,F as P}from"./p-c3ca79b5.js";import{u as A}from"./p-73fca9e0.js";import{t as j}from"./p-244b36da.js";import{c as R,d as _}from"./p-6356a6f7.js";import{n as O,c as W,d as E}from"./p-56f349a0.js";import{n as S}from"./p-383cbbcf.js";import{c as H,s as F,a as L}from"./p-0a9ea827.js";import"./p-044baeff.js";import"./p-dfaa05f7.js";import"./p-87f4b8ec.js";import"./p-c45d16f7.js";const B=class{constructor(a){t(this,a),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target.value,{year:a}=n(i,this.localeData);if(a&&a.length<4)return;const e=r(i,this.localeData);o(e,this.min,this.max)&&(this.datePickerActiveDate=e)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?x(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t,R(this)},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:a}=t;"Enter"!==a||i?"Escape"!==a||i||(this.open=!1,t.preventDefault()):(this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),v(this)&&t.preventDefault())},this.startInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="start"},this.endInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="end"},this.setFloatingEl=t=>{t&&(this.floatingEl=t,k(this,this.referenceEl,this.floatingEl))},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus())},this.setInputValue=(t,i="start")=>{const a=this[`${i}Input`];a&&(a.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,a=Array.isArray(i),e=Array.isArray(t),s=e?t[0]:"",n=e?c(s):"",r=e?t[1]:"",o=e?c(r):"",d=n||o?[n,o]:"";if(d===i)return;this.userChangedValue=!0,this.value=d,this.valueAsDate=d?l(d):void 0,this.start=n,this.end=o;const p={startDate:s,endDate:r?h(r):null},m=this.calciteInputDatePickerChange.emit(),u=this.calciteDatePickerRangeChange.emit(p);(m&&m.defaultPrevented||u&&u.defaultPrevented)&&(this.value=i,a?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value,a=c(t);a!==i&&(this.userChangedValue=!0,this.valueAsDate=a?d(a):void 0,this.value=a||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.formatNumerals=t=>t?t.split("").map((t=>S.includes(t)?O.numberFormatter.format(Number(t)):t)).join(""):"",this.disabled=!1,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.startAsDate=void 0,this.endAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.placement=D,this.range=!1,this.required=!1,this.start=void 0,this.end=void 0,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.messageOverrides=void 0,this.datePickerActiveDate=void 0,this.effectiveLocale="",this.focusedInput="start",this.globalAttributes={},this.localeData=void 0}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;Array.isArray(t)?(i=l(t),this.start=t[0],this.end=t[1]):i=t?d(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMinChanged(t){t&&(this.minAsDate=d(t))}onMaxChanged(t){t&&(this.maxAsDate=d(t))}openHandler(t){if(this.disabled||this.readOnly)return t||C(this.floatingEl),void(this.open=!1);t?this.reposition(!0):C(this.floatingEl)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await H(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:a,placement:e,overlayPositioning:s,filteredFlipPlacements:n}=this;return I(this,{floatingEl:i,referenceEl:a,overlayPositioning:s,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){W(this);const{open:t}=this;if(t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=l(this.value),this.start=this.value[0],this.end=this.value[1];else if(this.value){try{this.valueAsDate=d(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}this.start="",this.end=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.start&&(this.startAsDate=d(this.start)),this.end&&(this.endAsDate=h(d(this.end))),this.min&&(this.minAsDate=d(this.min)),this.max&&(this.maxAsDate=d(this.max)),u(this),y(this),R(this),this.setFilteredPlacements(),this.reposition(!0),O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1}}async componentWillLoad(){F(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){L(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){f(this),b(this),z(this,this.referenceEl,this.floatingEl),_(this),E(this)}componentDidRender(){A(this)}render(){const{disabled:t,effectiveLocale:i,numberingSystem:s,readOnly:n}=this;return O.numberFormatOptions={numberingSystem:s,locale:i,useGrouping:!1},a(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":j(this.open),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:t,icon:"calendar",label:g(this),"number-button-type":"none",numberingSystem:s,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:n,ref:this.setStartInput,scale:this.scale,type:"text"})),a("div",{"aria-hidden":j(!this.open),class:{"menu-container":!0,"menu-container--active":this.open},ref:this.setFloatingEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[P.animation]:!0,[P.animationActive]:this.open},ref:this.setTransitionEl},a("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:s,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&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:s,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:n,ref:this.setEndInput,scale:this.scale,type:"text"}))),a(w,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,k(this,this.referenceEl,this.floatingEl)}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit()}commitValue(){const{focusedInput:t,value:i}=this,a=r(this[`${t}Input`].value,this.localeData),e=c(a),s=Array.isArray(i);if(this.range){const n="start"===t?0:1;if(s){if(e===i[n])return;a?(this.setRangeValue(["start"===t?a:d(i[0]),"end"===t?a:d(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&d(i[0]),"start"===t&&d(i[1])])}else a&&(this.setRangeValue(["start"===t?a:d(i[0]),"end"===t?a:d(i[1])]),this.localizeInputValues())}else{if(e===i)return;this.setValue(a),this.localizeInputValues()}}startWatcher(t){this.startAsDate=d(t)}endWatcher(t){this.endAsDate=t?h(d(t)):d(t)}async loadLocaleData(){O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await p(this.effectiveLocale)}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}localizeInputValues(){const t=m(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?m(this.endAsDate,this.minAsDate,this.maxAsDate):null,a=t&&this.formatNumerals(t.toLocaleDateString(this.effectiveLocale)),e=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale));a&&this.setInputValue(a,"start"),this.range&&e&&this.setInputValue(e,"end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "yyyy-MM-dd".`)}static get delegatesFocus(){return!0}get el(){return s(this)}static get watchers(){return{disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],effectiveLocale:["loadLocaleData"]}}};B.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{--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{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--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 .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--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);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{B as calcite_input_date_picker}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{f as t,h as o}from"./p-597cc6aa.js";import{b as e}from"./p-244b36da.js";import{S as n}from"./p-e59cb3d0.js";import{S as a}from"./p-91d7e607.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const d=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),d=t?a:n,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:d,textEnabled:t})};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{h as t}from"./p-597cc6aa.js";function a(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(a,r)=>{const c=a.level?`h${a.level}`:"div";return delete a.level,t(c,{...a},r)};export{r as H,a as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{h as i,r as t,c as a,H as s,g as e}from"./p-597cc6aa.js";import{g as n}from"./p-87f4b8ec.js";import{c as o,d as c}from"./p-7cd7e6e3.js";import{c as r,d as l,H as h}from"./p-af294645.js";import{u as d}from"./p-73fca9e0.js";import{c as m,d as p}from"./p-56f349a0.js";import{u,c as f,s as v,d as g}from"./p-5827deee.js";import{s as b,a as y,c as w}from"./p-0a9ea827.js";import"./p-244b36da.js";import"./p-dfaa05f7.js";import"./p-383cbbcf.js";import"./p-c45d16f7.js";const k=({full:t,scale:a,partial:s})=>i("calcite-icon",{class:s?void 0:"icon",icon:t?"star-f":"star",scale:a}),x=class{constructor(i){t(this,i),this.calciteRatingChange=a(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),a=i.key,s=" "==a?void 0:Number(a);if(this.emit=!0,isNaN(s))switch(a){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&s>=0&&s<=this.max||this.required&&s>0&&s<=this.max)&&(this.value=s)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${n()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){m(this),f(this),o(this),r(this)}async componentWillLoad(){await v(this),b(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const a=t+1,s=this.average&&this.average+1-a,e=a<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&a<=this.average,checked:a===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===a,fraction:s,hovered:e,id:`${this.guid}-${a}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!e&&s>0&&s<1,selected:this.value>=a,value:a}}))}componentDidLoad(){y(this)}disconnectedCallback(){p(this),g(this),c(this),l(this)}componentDidRender(){d(this)}render(){return i(s,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:a,focused:s,fraction:e,hovered:n,id:o,idx:c,partial:r,selected:l,value:h})=>i("label",{class:{star:!0,focused:s,selected:l,hovered:n,average:t,partial:r},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:a,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,ref:i=>(this.inputRefs[c]=i,(1===h||h===this.value)&&(this.inputFocusRef=i)),type:"radio",value:h}),i(k,{full:l||t,scale:this.scale}),r&&i("div",{class:"fraction",style:{width:100*e+"%"}},i(k,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("${num}",`${h}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(h,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await w(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{x as calcite_rating}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{f as t}from"./p-597cc6aa.js";import{c as o}from"./p-c45d16f7.js";const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",i)),n.observe(t.el,s)}function a(t){c.delete(t.el),i(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,a as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.690
5
- */
6
- import{r as t,c as i,h as a,g as n}from"./p-597cc6aa.js";import{S as e}from"./p-bc9662b1.js";import{c}from"./p-c45d16f7.js";import{u as s}from"./p-73fca9e0.js";const o=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=c("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){s(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,c=this.items.indexOf(n);let s,o=!1;"up"===i?0===c?o=!0:s=c-1:c===e?s=0:c===e-1?o=!0:s=c+2,this.mutationObserver?.disconnect(),o?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[s]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};o.style="@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{o as calcite_sortable_list}