@esri/calcite-components 1.2.0 → 1.2.1-next.1

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 (694) 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-384ea8a3.entry.js → p-00bed0c6.entry.js} +2 -2
  4. package/dist/calcite/p-07af00ff.entry.js +6 -0
  5. package/dist/calcite/{p-bb5a7862.js → p-0e502912.js} +1 -1
  6. package/dist/calcite/{p-72f2f04b.entry.js → p-0e5a522b.entry.js} +2 -2
  7. package/dist/calcite/{p-19422786.js → p-10b90278.js} +2 -2
  8. package/dist/calcite/{p-fd46c6b7.entry.js → p-1584038e.entry.js} +2 -2
  9. package/dist/calcite/p-1b266886.js +6 -0
  10. package/dist/calcite/{p-5b9ce91b.entry.js → p-1d2d6d3d.entry.js} +2 -2
  11. package/dist/calcite/{p-d2b28559.entry.js → p-1ec5615a.entry.js} +2 -2
  12. package/dist/calcite/{p-4df1bcf0.entry.js → p-255c2eb8.entry.js} +2 -2
  13. package/dist/calcite/{p-0b1f31dd.js → p-2b7990f8.js} +1 -1
  14. package/dist/calcite/p-2c180454.entry.js +6 -0
  15. package/dist/calcite/{p-13f0cdda.entry.js → p-2d419200.entry.js} +2 -2
  16. package/dist/calcite/{p-fd3b58e5.entry.js → p-2f17270e.entry.js} +2 -2
  17. package/dist/calcite/p-2f5b918d.entry.js +6 -0
  18. package/dist/calcite/{p-e1349fa9.js → p-33a5532e.js} +2 -2
  19. package/dist/calcite/{p-774c2616.entry.js → p-35694467.entry.js} +2 -2
  20. package/dist/calcite/{p-d1077a87.entry.js → p-3a1b27f3.entry.js} +2 -2
  21. package/dist/calcite/p-3b53df40.entry.js +6 -0
  22. package/dist/calcite/{p-d95dd729.js → p-3f349d3d.js} +2 -2
  23. package/dist/calcite/{p-3d51c732.entry.js → p-425da2a1.entry.js} +2 -2
  24. package/dist/calcite/{p-403627a1.js → p-4266c63f.js} +2 -2
  25. package/dist/calcite/{p-cce57689.js → p-430aed61.js} +1 -1
  26. package/dist/calcite/{p-57ae6d0f.entry.js → p-45f73d22.entry.js} +2 -2
  27. package/dist/calcite/{p-55b16a54.js → p-46914f5e.js} +1 -1
  28. package/dist/calcite/{p-4ae1fc79.entry.js → p-48ca2a3d.entry.js} +2 -2
  29. package/dist/calcite/{p-b0493125.entry.js → p-4bf51ed3.entry.js} +2 -2
  30. package/dist/calcite/{p-b5c59463.js → p-522115b6.js} +1 -1
  31. package/dist/calcite/{p-aff8afea.entry.js → p-56040cf5.entry.js} +2 -2
  32. package/dist/calcite/{p-de9d0e6d.entry.js → p-576a63f5.entry.js} +2 -2
  33. package/dist/calcite/{p-9e7a442e.entry.js → p-590aeac5.entry.js} +2 -2
  34. package/dist/calcite/{p-b9e13a83.entry.js → p-5b3cd23a.entry.js} +2 -2
  35. package/dist/calcite/p-5ca50a55.entry.js +6 -0
  36. package/dist/calcite/{p-9ee2e227.js → p-5f200216.js} +2 -2
  37. package/dist/calcite/{p-76928557.js → p-6111f395.js} +1 -1
  38. package/dist/calcite/{p-55baafb1.entry.js → p-64365eef.entry.js} +2 -2
  39. package/dist/calcite/{p-a9158071.js → p-6671a718.js} +2 -2
  40. package/dist/calcite/p-6dabfb0d.entry.js +6 -0
  41. package/dist/calcite/{p-2d675cda.entry.js → p-6e8cfdcb.entry.js} +2 -2
  42. package/dist/calcite/{p-969fa230.entry.js → p-6f040e1d.entry.js} +2 -2
  43. package/dist/calcite/{p-232abc61.js → p-71813f7a.js} +1 -1
  44. package/dist/calcite/{p-3e11d878.entry.js → p-73fcec5f.entry.js} +2 -2
  45. package/dist/calcite/{p-57475aad.entry.js → p-7a32d7c4.entry.js} +2 -2
  46. package/dist/calcite/p-7c145fa3.entry.js +6 -0
  47. package/dist/calcite/{p-a8790d90.entry.js → p-7e07c949.entry.js} +2 -2
  48. package/dist/calcite/{p-320e4fc1.entry.js → p-8009938c.entry.js} +2 -2
  49. package/dist/calcite/{p-d6d039b5.entry.js → p-82d45d24.entry.js} +2 -2
  50. package/dist/calcite/{p-1465611a.entry.js → p-85bf63c3.entry.js} +2 -2
  51. package/dist/calcite/{p-9ea8dd79.entry.js → p-87d6d17e.entry.js} +2 -2
  52. package/dist/calcite/{p-ce979e83.entry.js → p-8a8d7198.entry.js} +2 -2
  53. package/dist/calcite/{p-8728d1dd.js → p-93e08d18.js} +1 -1
  54. package/dist/calcite/{p-89b710ae.js → p-9a5fa8b0.js} +3 -3
  55. package/dist/calcite/{p-1ac41302.js → p-9a7ef58f.js} +1 -1
  56. package/dist/calcite/{p-6fff0923.entry.js → p-9b0c88ae.entry.js} +2 -2
  57. package/dist/calcite/{p-aa271401.entry.js → p-9b7b3f7c.entry.js} +2 -2
  58. package/dist/calcite/{p-26d8628f.js → p-9c930457.js} +1 -1
  59. package/dist/calcite/{p-b16095ce.js → p-9c9bc09e.js} +1 -1
  60. package/dist/calcite/{p-48b61c4b.js → p-9e49f8d9.js} +1 -1
  61. package/dist/calcite/p-9e7ea398.js +6 -0
  62. package/dist/calcite/{p-48ab9a1b.entry.js → p-a44088a7.entry.js} +2 -2
  63. package/dist/calcite/p-a45b1a36.js +6 -0
  64. package/dist/calcite/{p-aa232102.entry.js → p-a78f8b9c.entry.js} +2 -2
  65. package/dist/calcite/{p-b5774a7b.entry.js → p-a84475d6.entry.js} +2 -2
  66. package/dist/calcite/{p-8a099a88.entry.js → p-ad1af6a8.entry.js} +2 -2
  67. package/dist/calcite/{p-d7a6cadf.entry.js → p-af44dd98.entry.js} +2 -2
  68. package/dist/calcite/{p-911962bd.js → p-b0036c1a.js} +1 -1
  69. package/dist/calcite/{p-9f076e5d.entry.js → p-b9392c6e.entry.js} +2 -2
  70. package/dist/calcite/{p-3bfa15de.entry.js → p-baccc6e7.entry.js} +2 -2
  71. package/dist/calcite/{p-3421c539.entry.js → p-bb5cbbb9.entry.js} +2 -2
  72. package/dist/calcite/{p-4680a41d.js → p-c16ca3a3.js} +1 -1
  73. package/dist/calcite/{p-dc8b0da1.entry.js → p-c523b651.entry.js} +2 -2
  74. package/dist/calcite/{p-cd6ef38b.js → p-c84b5e33.js} +2 -2
  75. package/dist/calcite/{p-1e3ef9c7.entry.js → p-ccb8e20c.entry.js} +2 -2
  76. package/dist/calcite/{p-872be970.entry.js → p-d2570f97.entry.js} +2 -2
  77. package/dist/calcite/{p-d33afdbc.entry.js → p-d6a4df39.entry.js} +2 -2
  78. package/dist/calcite/{p-42dd4006.entry.js → p-d77387a0.entry.js} +2 -2
  79. package/dist/calcite/{p-9dea6751.entry.js → p-d7f4a72c.entry.js} +2 -2
  80. package/dist/calcite/{p-863adbc0.entry.js → p-d8194788.entry.js} +2 -2
  81. package/dist/calcite/{p-67dc4de5.entry.js → p-de312e3e.entry.js} +2 -2
  82. package/dist/calcite/{p-c519e114.entry.js → p-df52031a.entry.js} +2 -2
  83. package/dist/calcite/{p-78b606c3.js → p-e3175a5f.js} +2 -2
  84. package/dist/calcite/{p-28407877.js → p-e5c1b5db.js} +1 -1
  85. package/dist/calcite/{p-5f91b826.js → p-ecaf9069.js} +2 -2
  86. package/dist/calcite/p-ee8b3f2c.entry.js +6 -0
  87. package/dist/calcite/{p-be98f17e.entry.js → p-efa35100.entry.js} +2 -2
  88. package/dist/calcite/{p-2154b7de.js → p-f1afab51.js} +1 -1
  89. package/dist/calcite/{p-5351c56f.js → p-f72782df.js} +1 -1
  90. package/dist/calcite/{p-6813168f.entry.js → p-f7e7c738.entry.js} +2 -2
  91. package/dist/calcite/{p-89edac92.entry.js → p-f90b698d.entry.js} +2 -2
  92. package/dist/calcite/{p-b80446b3.js → p-f943665f.js} +3 -3
  93. package/dist/calcite/{p-11c55611.entry.js → p-f9c03e0d.entry.js} +2 -2
  94. package/dist/calcite/{p-05215047.js → p-fea8604d.js} +2 -2
  95. package/dist/calcite/{p-3719b1b0.js → p-fecaadb0.js} +2 -2
  96. package/dist/calcite/{p-f0a56732.entry.js → p-fffea9c2.entry.js} +2 -2
  97. package/dist/cjs/{ExpandToggle-7367419c.js → ExpandToggle-196652a3.js} +5 -5
  98. package/dist/cjs/{Heading-dcba7c66.js → Heading-9f4915eb.js} +2 -2
  99. package/dist/cjs/{app-globals-0788b16e.js → app-globals-62fe1039.js} +2 -2
  100. package/dist/cjs/{array-16cfc2ce.js → array-894b7525.js} +1 -1
  101. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  103. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  104. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  105. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  106. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  107. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  109. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  110. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  111. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  112. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  113. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  114. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  115. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  116. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +32 -26
  117. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  118. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  119. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  120. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  121. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  122. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  123. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  124. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  125. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -14
  126. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  127. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -6
  128. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -14
  129. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -14
  130. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -27
  131. package/dist/cjs/calcite-input.cjs.entry.js +13 -15
  132. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  133. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  134. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  135. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  136. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  137. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  138. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  139. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  140. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  141. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  142. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  143. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  144. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  145. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  146. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  147. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  148. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  149. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  150. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  151. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  152. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  153. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  154. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  155. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  156. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  157. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  158. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  159. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  160. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  161. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  162. package/dist/cjs/calcite.cjs.js +5 -5
  163. package/dist/cjs/{conditionalSlot-5656d59c.js → conditionalSlot-c84383db.js} +3 -3
  164. package/dist/cjs/{debounce-a11903ad.js → debounce-329e16b1.js} +1 -1
  165. package/dist/cjs/{dom-dc375f9f.js → dom-690eeecb.js} +3 -3
  166. package/dist/cjs/{filter-09a2cbf3.js → filter-c7889229.js} +2 -2
  167. package/dist/cjs/{floating-ui-d76898e7.js → floating-ui-1f36eb8b.js} +4 -4
  168. package/dist/cjs/{focusTrapComponent-10b93e09.js → focusTrapComponent-db260b2f.js} +2 -2
  169. package/dist/cjs/{form-85e72154.js → form-02dd7416.js} +3 -3
  170. package/dist/cjs/{guid-4daeb326.js → guid-4a48b4ff.js} +1 -1
  171. package/dist/cjs/{index-b6e1067b.js → index-75596ece.js} +1 -1
  172. package/dist/cjs/index.cjs.js +1 -1
  173. package/dist/cjs/{interactive-059fb608.js → interactive-711a7a15.js} +1 -1
  174. package/dist/cjs/{key-d7b507f8.js → key-6221c014.js} +1 -1
  175. package/dist/cjs/{label-5380391e.js → label-0170a60f.js} +2 -2
  176. package/dist/cjs/{loadable-19d269a6.js → loadable-71c8a0dd.js} +1 -1
  177. package/dist/cjs/loader.cjs.js +5 -5
  178. package/dist/cjs/{locale-cc5d712a.js → locale-e2d5103f.js} +54 -4
  179. package/dist/cjs/{math-da4701fc.js → math-dac3bc85.js} +1 -1
  180. package/dist/cjs/{observers-8c623fb7.js → observers-80dcbedb.js} +1 -1
  181. package/dist/cjs/{openCloseComponent-08e6daa2.js → openCloseComponent-5ff5e6c0.js} +2 -2
  182. package/dist/cjs/{resources-0c82b41e.js → resources-17abd055.js} +1 -1
  183. package/dist/cjs/{resources-e94f129e.js → resources-1ad48e4c.js} +1 -1
  184. package/dist/cjs/{resources-78766ff3.js → resources-435e3b87.js} +1 -1
  185. package/dist/cjs/{resources-ed022f42.js → resources-4dc0c126.js} +1 -1
  186. package/dist/cjs/{resources-90786f6b.js → resources-6243382b.js} +5 -5
  187. package/dist/cjs/{resources-6c2223d4.js → resources-cc652d30.js} +1 -1
  188. package/dist/cjs/{sortable.esm-ac24f8d4.js → sortable.esm-0959bb77.js} +1 -1
  189. package/dist/cjs/{t9n-394540b0.js → t9n-aba3d842.js} +3 -3
  190. package/dist/cjs/{throttle-27c991ba.js → throttle-d387d116.js} +2 -2
  191. package/dist/cjs/{utils-3c442102.js → utils-2a421fd7.js} +1 -1
  192. package/dist/cjs/{utils-bf247e2a.js → utils-532fdbe0.js} +1 -1
  193. package/dist/cjs/{utils-f0c307f8.js → utils-9ca8abbe.js} +3 -3
  194. package/dist/collection/components/accordion/accordion.js +1 -1
  195. package/dist/collection/components/accordion-item/accordion-item.css +1 -2
  196. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  197. package/dist/collection/components/accordion-item/resources.js +1 -1
  198. package/dist/collection/components/action/action.js +1 -1
  199. package/dist/collection/components/action/resources.js +1 -1
  200. package/dist/collection/components/action-bar/action-bar.js +1 -1
  201. package/dist/collection/components/action-bar/resources.js +1 -1
  202. package/dist/collection/components/action-bar/utils.js +1 -1
  203. package/dist/collection/components/action-group/action-group.js +1 -1
  204. package/dist/collection/components/action-group/resources.js +1 -1
  205. package/dist/collection/components/action-menu/action-menu.js +1 -1
  206. package/dist/collection/components/action-menu/resources.js +1 -1
  207. package/dist/collection/components/action-pad/action-pad.js +1 -1
  208. package/dist/collection/components/action-pad/resources.js +1 -1
  209. package/dist/collection/components/alert/alert.js +1 -1
  210. package/dist/collection/components/alert/resources.js +1 -1
  211. package/dist/collection/components/avatar/avatar.js +1 -1
  212. package/dist/collection/components/avatar/utils.js +1 -1
  213. package/dist/collection/components/block/block.js +1 -1
  214. package/dist/collection/components/block/resources.js +1 -1
  215. package/dist/collection/components/block-section/block-section.js +1 -1
  216. package/dist/collection/components/block-section/resources.js +1 -1
  217. package/dist/collection/components/button/button.js +1 -1
  218. package/dist/collection/components/button/resources.js +1 -1
  219. package/dist/collection/components/card/card.js +1 -1
  220. package/dist/collection/components/card/resources.js +1 -1
  221. package/dist/collection/components/checkbox/checkbox.js +1 -1
  222. package/dist/collection/components/chip/chip.js +1 -1
  223. package/dist/collection/components/chip/resources.js +1 -1
  224. package/dist/collection/components/color-picker/color-picker.js +1 -1
  225. package/dist/collection/components/color-picker/resources.js +1 -1
  226. package/dist/collection/components/color-picker/utils.js +1 -1
  227. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  228. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  229. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  230. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  231. package/dist/collection/components/combobox/combobox.css +1 -1
  232. package/dist/collection/components/combobox/combobox.js +1 -1
  233. package/dist/collection/components/combobox/resources.js +1 -1
  234. package/dist/collection/components/combobox/utils.js +1 -1
  235. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  236. package/dist/collection/components/combobox-item/resources.js +1 -1
  237. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  238. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  239. package/dist/collection/components/date-picker/date-picker.js +17 -14
  240. package/dist/collection/components/date-picker/resources.js +2 -1
  241. package/dist/collection/components/date-picker/utils.js +1 -1
  242. package/dist/collection/components/date-picker-day/date-picker-day.css +4 -10
  243. package/dist/collection/components/date-picker-day/date-picker-day.js +27 -3
  244. package/dist/collection/components/date-picker-month/date-picker-month.css +8 -1
  245. package/dist/collection/components/date-picker-month/date-picker-month.js +28 -5
  246. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  247. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  248. package/dist/collection/components/dropdown/dropdown.js +1 -1
  249. package/dist/collection/components/dropdown/resources.js +1 -1
  250. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  251. package/dist/collection/components/dropdown-group/resources.js +1 -1
  252. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  253. package/dist/collection/components/dropdown-item/resources.js +1 -1
  254. package/dist/collection/components/fab/fab.js +1 -1
  255. package/dist/collection/components/fab/resources.js +1 -1
  256. package/dist/collection/components/filter/filter.js +1 -1
  257. package/dist/collection/components/filter/resources.js +1 -1
  258. package/dist/collection/components/flow/flow.js +1 -1
  259. package/dist/collection/components/flow/resources.js +1 -1
  260. package/dist/collection/components/flow-item/flow-item.js +1 -1
  261. package/dist/collection/components/flow-item/resources.js +1 -1
  262. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  263. package/dist/collection/components/functional/Heading.js +1 -1
  264. package/dist/collection/components/graph/graph.js +1 -1
  265. package/dist/collection/components/graph/util.js +1 -1
  266. package/dist/collection/components/handle/handle.js +1 -1
  267. package/dist/collection/components/handle/resources.js +1 -1
  268. package/dist/collection/components/icon/icon.js +1 -1
  269. package/dist/collection/components/icon/resources.js +1 -1
  270. package/dist/collection/components/icon/utils.js +1 -1
  271. package/dist/collection/components/inline-editable/inline-editable.js +3 -4
  272. package/dist/collection/components/inline-editable/resources.js +1 -1
  273. package/dist/collection/components/input/input.js +2 -4
  274. package/dist/collection/components/input/resources.js +1 -1
  275. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  276. package/dist/collection/components/input-date-picker/resources.js +1 -1
  277. package/dist/collection/components/input-message/input-message.js +2 -3
  278. package/dist/collection/components/input-message/interfaces.js +1 -1
  279. package/dist/collection/components/input-number/input-number.js +2 -3
  280. package/dist/collection/components/input-number/resources.js +1 -1
  281. package/dist/collection/components/input-text/input-text.js +2 -3
  282. package/dist/collection/components/input-text/resources.js +1 -1
  283. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  284. package/dist/collection/components/label/label.js +1 -1
  285. package/dist/collection/components/label/resources.js +1 -1
  286. package/dist/collection/components/link/link.js +1 -1
  287. package/dist/collection/components/list/list.js +1 -1
  288. package/dist/collection/components/list/resources.js +1 -1
  289. package/dist/collection/components/list-item/list-item.js +1 -1
  290. package/dist/collection/components/list-item/resources.js +1 -1
  291. package/dist/collection/components/list-item/utils.js +1 -1
  292. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  293. package/dist/collection/components/list-item-group/resources.js +1 -1
  294. package/dist/collection/components/loader/loader.css +0 -2
  295. package/dist/collection/components/loader/loader.js +1 -1
  296. package/dist/collection/components/modal/modal.css +4 -9
  297. package/dist/collection/components/modal/modal.js +1 -1
  298. package/dist/collection/components/modal/resources.js +1 -1
  299. package/dist/collection/components/notice/notice.js +1 -1
  300. package/dist/collection/components/notice/resources.js +1 -1
  301. package/dist/collection/components/option/option.js +1 -1
  302. package/dist/collection/components/option-group/option-group.js +1 -1
  303. package/dist/collection/components/pagination/pagination.js +1 -1
  304. package/dist/collection/components/pagination/resources.js +1 -1
  305. package/dist/collection/components/panel/panel.js +1 -1
  306. package/dist/collection/components/panel/resources.js +1 -1
  307. package/dist/collection/components/pick-list/pick-list.js +1 -1
  308. package/dist/collection/components/pick-list/resources.js +1 -1
  309. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  310. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  311. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  312. package/dist/collection/components/pick-list-group/resources.js +1 -1
  313. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  314. package/dist/collection/components/pick-list-item/resources.js +1 -1
  315. package/dist/collection/components/popover/PopoverManager.js +1 -1
  316. package/dist/collection/components/popover/popover.js +1 -1
  317. package/dist/collection/components/popover/resources.js +1 -1
  318. package/dist/collection/components/progress/progress.css +0 -1
  319. package/dist/collection/components/progress/progress.js +1 -1
  320. package/dist/collection/components/radio-button/radio-button.css +1 -1
  321. package/dist/collection/components/radio-button/radio-button.js +1 -1
  322. package/dist/collection/components/radio-button/resources.js +1 -1
  323. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  324. package/dist/collection/components/rating/function/star.js +1 -1
  325. package/dist/collection/components/rating/rating.js +1 -1
  326. package/dist/collection/components/resources.js +1 -1
  327. package/dist/collection/components/scrim/resources.js +1 -1
  328. package/dist/collection/components/scrim/scrim.js +1 -1
  329. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  330. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  331. package/dist/collection/components/segmented-control-item/segmented-control-item.css +1 -3
  332. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  333. package/dist/collection/components/select/resources.js +1 -1
  334. package/dist/collection/components/select/select.js +1 -1
  335. package/dist/collection/components/shell/resources.js +1 -1
  336. package/dist/collection/components/shell/shell.js +1 -1
  337. package/dist/collection/components/shell-center-row/resources.js +1 -1
  338. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  339. package/dist/collection/components/shell-panel/resources.js +1 -1
  340. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  341. package/dist/collection/components/slider/resources.js +1 -1
  342. package/dist/collection/components/slider/slider.css +4 -8
  343. package/dist/collection/components/slider/slider.js +1 -1
  344. package/dist/collection/components/sortable-list/resources.js +1 -1
  345. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  346. package/dist/collection/components/split-button/resources.js +1 -1
  347. package/dist/collection/components/split-button/split-button.js +1 -1
  348. package/dist/collection/components/stepper/stepper.js +1 -1
  349. package/dist/collection/components/stepper-item/stepper-item.css +1 -4
  350. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  351. package/dist/collection/components/switch/switch.js +1 -1
  352. package/dist/collection/components/tab/tab.js +1 -1
  353. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  354. package/dist/collection/components/tab-title/resources.js +1 -1
  355. package/dist/collection/components/tab-title/tab-title.css +0 -5
  356. package/dist/collection/components/tab-title/tab-title.js +1 -1
  357. package/dist/collection/components/tabs/resources.js +1 -1
  358. package/dist/collection/components/tabs/tabs.css +0 -1
  359. package/dist/collection/components/tabs/tabs.js +1 -1
  360. package/dist/collection/components/text-area/resources.js +1 -1
  361. package/dist/collection/components/text-area/text-area.js +1 -1
  362. package/dist/collection/components/tile/resources.js +1 -1
  363. package/dist/collection/components/tile/tile.js +1 -1
  364. package/dist/collection/components/tile-select/resources.js +1 -1
  365. package/dist/collection/components/tile-select/tile-select.js +1 -1
  366. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  367. package/dist/collection/components/time-picker/resources.js +1 -1
  368. package/dist/collection/components/time-picker/time-picker.js +1 -1
  369. package/dist/collection/components/tip/resources.js +1 -1
  370. package/dist/collection/components/tip/tip.js +1 -1
  371. package/dist/collection/components/tip-group/tip-group.js +1 -1
  372. package/dist/collection/components/tip-manager/resources.js +1 -1
  373. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  374. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  375. package/dist/collection/components/tooltip/resources.js +1 -1
  376. package/dist/collection/components/tooltip/tooltip.js +1 -1
  377. package/dist/collection/components/tooltip/utils.js +1 -1
  378. package/dist/collection/components/tree/tree.js +2 -2
  379. package/dist/collection/components/tree/utils.js +1 -1
  380. package/dist/collection/components/tree-item/resources.js +1 -1
  381. package/dist/collection/components/tree-item/tree-item.js +1 -1
  382. package/dist/collection/components/value-list/resources.js +1 -1
  383. package/dist/collection/components/value-list/utils.js +1 -1
  384. package/dist/collection/components/value-list/value-list.js +1 -1
  385. package/dist/collection/components/value-list-item/resources.js +1 -1
  386. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  387. package/dist/collection/utils/array.js +1 -1
  388. package/dist/collection/utils/conditionalSlot.js +1 -1
  389. package/dist/collection/utils/config.js +1 -1
  390. package/dist/collection/utils/date.js +1 -1
  391. package/dist/collection/utils/dom.js +1 -1
  392. package/dist/collection/utils/filter.js +1 -1
  393. package/dist/collection/utils/floating-ui/utils.js +1 -1
  394. package/dist/collection/utils/floating-ui.js +1 -1
  395. package/dist/collection/utils/focusTrapComponent.js +1 -1
  396. package/dist/collection/utils/form.js +1 -1
  397. package/dist/collection/utils/globalAttributes.js +1 -1
  398. package/dist/collection/utils/globalScript.js +1 -1
  399. package/dist/collection/utils/guid.js +1 -1
  400. package/dist/collection/utils/interactive.js +1 -1
  401. package/dist/collection/utils/key.js +1 -1
  402. package/dist/collection/utils/label.js +1 -1
  403. package/dist/collection/utils/loadable.js +1 -1
  404. package/dist/collection/utils/locale.js +50 -1
  405. package/dist/collection/utils/math.js +1 -1
  406. package/dist/collection/utils/mode.js +1 -1
  407. package/dist/collection/utils/number.js +1 -1
  408. package/dist/collection/utils/observers.js +1 -1
  409. package/dist/collection/utils/openCloseComponent.js +1 -1
  410. package/dist/collection/utils/resources.js +1 -1
  411. package/dist/collection/utils/t9n.js +1 -1
  412. package/dist/collection/utils/time.js +11 -16
  413. package/dist/components/ExpandToggle.js +1 -1
  414. package/dist/components/Heading.js +1 -1
  415. package/dist/components/action-group.js +1 -1
  416. package/dist/components/action-menu.js +1 -1
  417. package/dist/components/action.js +1 -1
  418. package/dist/components/array.js +1 -1
  419. package/dist/components/button.js +1 -1
  420. package/dist/components/calcite-accordion-item.js +1 -1
  421. package/dist/components/calcite-accordion.js +1 -1
  422. package/dist/components/calcite-action-bar.js +1 -1
  423. package/dist/components/calcite-action-group.js +1 -1
  424. package/dist/components/calcite-action-menu.js +1 -1
  425. package/dist/components/calcite-action-pad.js +1 -1
  426. package/dist/components/calcite-action.js +1 -1
  427. package/dist/components/calcite-alert.js +1 -1
  428. package/dist/components/calcite-avatar.js +1 -1
  429. package/dist/components/calcite-block-section.js +1 -1
  430. package/dist/components/calcite-block.js +1 -1
  431. package/dist/components/calcite-button.js +1 -1
  432. package/dist/components/calcite-card.js +1 -1
  433. package/dist/components/calcite-checkbox.js +1 -1
  434. package/dist/components/calcite-chip.js +1 -1
  435. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  436. package/dist/components/calcite-color-picker-swatch.js +1 -1
  437. package/dist/components/calcite-color-picker.js +1 -1
  438. package/dist/components/calcite-combobox-item-group.js +1 -1
  439. package/dist/components/calcite-combobox-item.js +1 -1
  440. package/dist/components/calcite-combobox.js +1 -1
  441. package/dist/components/calcite-date-picker-day.js +1 -1
  442. package/dist/components/calcite-date-picker-month-header.js +1 -1
  443. package/dist/components/calcite-date-picker-month.js +1 -1
  444. package/dist/components/calcite-date-picker.js +1 -1
  445. package/dist/components/calcite-dropdown-group.js +1 -1
  446. package/dist/components/calcite-dropdown-item.js +1 -1
  447. package/dist/components/calcite-dropdown.js +1 -1
  448. package/dist/components/calcite-fab.js +1 -1
  449. package/dist/components/calcite-filter.js +1 -1
  450. package/dist/components/calcite-flow-item.js +1 -1
  451. package/dist/components/calcite-flow.js +1 -1
  452. package/dist/components/calcite-graph.js +1 -1
  453. package/dist/components/calcite-handle.js +1 -1
  454. package/dist/components/calcite-icon.js +1 -1
  455. package/dist/components/calcite-inline-editable.js +3 -4
  456. package/dist/components/calcite-input-date-picker.js +1 -1
  457. package/dist/components/calcite-input-message.js +2 -3
  458. package/dist/components/calcite-input-number.js +2 -3
  459. package/dist/components/calcite-input-text.js +2 -3
  460. package/dist/components/calcite-input-time-picker.js +1 -1
  461. package/dist/components/calcite-input.js +1 -1
  462. package/dist/components/calcite-label.js +1 -1
  463. package/dist/components/calcite-link.js +1 -1
  464. package/dist/components/calcite-list-item-group.js +1 -1
  465. package/dist/components/calcite-list-item.js +1 -1
  466. package/dist/components/calcite-list.js +1 -1
  467. package/dist/components/calcite-loader.js +1 -1
  468. package/dist/components/calcite-modal.js +1 -1
  469. package/dist/components/calcite-notice.js +1 -1
  470. package/dist/components/calcite-option-group.js +1 -1
  471. package/dist/components/calcite-option.js +1 -1
  472. package/dist/components/calcite-pagination.js +1 -1
  473. package/dist/components/calcite-panel.js +1 -1
  474. package/dist/components/calcite-pick-list-group.js +1 -1
  475. package/dist/components/calcite-pick-list-item.js +1 -1
  476. package/dist/components/calcite-pick-list.js +1 -1
  477. package/dist/components/calcite-popover.js +1 -1
  478. package/dist/components/calcite-progress.js +1 -1
  479. package/dist/components/calcite-radio-button-group.js +1 -1
  480. package/dist/components/calcite-radio-button.js +1 -1
  481. package/dist/components/calcite-rating.js +1 -1
  482. package/dist/components/calcite-scrim.js +1 -1
  483. package/dist/components/calcite-segmented-control-item.js +1 -1
  484. package/dist/components/calcite-segmented-control.js +1 -1
  485. package/dist/components/calcite-select.js +1 -1
  486. package/dist/components/calcite-shell-center-row.js +1 -1
  487. package/dist/components/calcite-shell-panel.js +1 -1
  488. package/dist/components/calcite-shell.js +1 -1
  489. package/dist/components/calcite-slider.js +1 -1
  490. package/dist/components/calcite-sortable-list.js +1 -1
  491. package/dist/components/calcite-split-button.js +1 -1
  492. package/dist/components/calcite-stepper-item.js +1 -1
  493. package/dist/components/calcite-stepper.js +1 -1
  494. package/dist/components/calcite-switch.js +1 -1
  495. package/dist/components/calcite-tab-nav.js +1 -1
  496. package/dist/components/calcite-tab-title.js +1 -1
  497. package/dist/components/calcite-tab.js +1 -1
  498. package/dist/components/calcite-tabs.js +1 -1
  499. package/dist/components/calcite-text-area.js +1 -1
  500. package/dist/components/calcite-tile-select-group.js +1 -1
  501. package/dist/components/calcite-tile-select.js +1 -1
  502. package/dist/components/calcite-tile.js +1 -1
  503. package/dist/components/calcite-time-picker.js +1 -1
  504. package/dist/components/calcite-tip-group.js +1 -1
  505. package/dist/components/calcite-tip-manager.js +1 -1
  506. package/dist/components/calcite-tip.js +1 -1
  507. package/dist/components/calcite-tooltip.js +1 -1
  508. package/dist/components/calcite-tree-item.js +1 -1
  509. package/dist/components/calcite-tree.js +1 -1
  510. package/dist/components/calcite-value-list-item.js +1 -1
  511. package/dist/components/calcite-value-list.js +1 -1
  512. package/dist/components/checkbox.js +1 -1
  513. package/dist/components/chip.js +1 -1
  514. package/dist/components/color-picker-hex-input.js +1 -1
  515. package/dist/components/color-picker-swatch.js +1 -1
  516. package/dist/components/conditionalSlot.js +1 -1
  517. package/dist/components/date-picker-day.js +7 -4
  518. package/dist/components/date-picker-month-header.js +1 -1
  519. package/dist/components/date-picker-month.js +8 -6
  520. package/dist/components/date-picker.js +17 -13
  521. package/dist/components/date.js +1 -1
  522. package/dist/components/debounce.js +1 -1
  523. package/dist/components/dom.js +1 -1
  524. package/dist/components/dropdown.js +1 -1
  525. package/dist/components/filter.js +1 -1
  526. package/dist/components/filter2.js +1 -1
  527. package/dist/components/floating-ui.js +1 -1
  528. package/dist/components/focusTrapComponent.js +1 -1
  529. package/dist/components/form.js +1 -1
  530. package/dist/components/graph.js +1 -1
  531. package/dist/components/guid.js +1 -1
  532. package/dist/components/handle.js +1 -1
  533. package/dist/components/icon.js +1 -1
  534. package/dist/components/index.js +1 -1
  535. package/dist/components/input.js +2 -4
  536. package/dist/components/interactive.js +1 -1
  537. package/dist/components/key.js +1 -1
  538. package/dist/components/label.js +1 -1
  539. package/dist/components/label2.js +1 -1
  540. package/dist/components/link.js +1 -1
  541. package/dist/components/loadable.js +1 -1
  542. package/dist/components/loader.js +1 -1
  543. package/dist/components/locale.js +51 -2
  544. package/dist/components/math.js +1 -1
  545. package/dist/components/observers.js +1 -1
  546. package/dist/components/openCloseComponent.js +1 -1
  547. package/dist/components/panel.js +1 -1
  548. package/dist/components/pick-list-item.js +1 -1
  549. package/dist/components/popover.js +1 -1
  550. package/dist/components/progress.js +1 -1
  551. package/dist/components/resources.js +1 -1
  552. package/dist/components/resources2.js +1 -1
  553. package/dist/components/resources3.js +1 -1
  554. package/dist/components/scrim.js +1 -1
  555. package/dist/components/shared-list-render.js +1 -1
  556. package/dist/components/sortable.esm.js +1 -1
  557. package/dist/components/switch.js +1 -1
  558. package/dist/components/t9n.js +1 -1
  559. package/dist/components/tab-nav.js +1 -1
  560. package/dist/components/tab-title.js +1 -1
  561. package/dist/components/tab.js +1 -1
  562. package/dist/components/tabs.js +1 -1
  563. package/dist/components/throttle.js +1 -1
  564. package/dist/components/tile.js +1 -1
  565. package/dist/components/time-picker.js +11 -16
  566. package/dist/components/tooltip.js +1 -1
  567. package/dist/components/utils.js +1 -1
  568. package/dist/components/utils2.js +1 -1
  569. package/dist/components/utils3.js +1 -1
  570. package/dist/components/utils4.js +1 -1
  571. package/dist/esm/{ExpandToggle-65fad00d.js → ExpandToggle-07938c64.js} +5 -5
  572. package/dist/esm/{Heading-1ea6b199.js → Heading-fca7c1e7.js} +2 -2
  573. package/dist/esm/{app-globals-23bff25a.js → app-globals-2b4ccf7c.js} +2 -2
  574. package/dist/esm/{array-d1cecef4.js → array-5f243e47.js} +1 -1
  575. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  576. package/dist/esm/calcite-action-bar.entry.js +15 -15
  577. package/dist/esm/calcite-action-group.entry.js +13 -13
  578. package/dist/esm/calcite-action-menu.entry.js +9 -9
  579. package/dist/esm/calcite-action-pad.entry.js +14 -14
  580. package/dist/esm/calcite-action.entry.js +11 -11
  581. package/dist/esm/calcite-alert.entry.js +12 -12
  582. package/dist/esm/calcite-avatar.entry.js +6 -6
  583. package/dist/esm/calcite-block_2.entry.js +12 -12
  584. package/dist/esm/calcite-button.entry.js +13 -13
  585. package/dist/esm/calcite-card.entry.js +10 -10
  586. package/dist/esm/calcite-checkbox.entry.js +10 -10
  587. package/dist/esm/calcite-chip.entry.js +11 -11
  588. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  589. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  590. package/dist/esm/calcite-date-picker_4.entry.js +32 -26
  591. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  592. package/dist/esm/calcite-fab.entry.js +7 -7
  593. package/dist/esm/calcite-filter.entry.js +13 -13
  594. package/dist/esm/calcite-flow-item.entry.js +12 -12
  595. package/dist/esm/calcite-flow.entry.js +3 -3
  596. package/dist/esm/calcite-graph_2.entry.js +13 -13
  597. package/dist/esm/calcite-handle.entry.js +10 -10
  598. package/dist/esm/calcite-icon.entry.js +6 -6
  599. package/dist/esm/calcite-inline-editable.entry.js +13 -14
  600. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  601. package/dist/esm/calcite-input-message.entry.js +5 -6
  602. package/dist/esm/calcite-input-number.entry.js +13 -14
  603. package/dist/esm/calcite-input-text.entry.js +13 -14
  604. package/dist/esm/calcite-input-time-picker_2.entry.js +22 -27
  605. package/dist/esm/calcite-input.entry.js +13 -15
  606. package/dist/esm/calcite-label.entry.js +6 -6
  607. package/dist/esm/calcite-link.entry.js +7 -7
  608. package/dist/esm/calcite-list_3.entry.js +9 -9
  609. package/dist/esm/calcite-loader.entry.js +3 -3
  610. package/dist/esm/calcite-modal.entry.js +13 -13
  611. package/dist/esm/calcite-notice.entry.js +12 -12
  612. package/dist/esm/calcite-option_3.entry.js +10 -10
  613. package/dist/esm/calcite-pagination.entry.js +10 -10
  614. package/dist/esm/calcite-panel.entry.js +14 -14
  615. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  616. package/dist/esm/calcite-popover.entry.js +15 -15
  617. package/dist/esm/calcite-progress.entry.js +2 -2
  618. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  619. package/dist/esm/calcite-radio-button.entry.js +10 -10
  620. package/dist/esm/calcite-rating.entry.js +13 -13
  621. package/dist/esm/calcite-scrim.entry.js +9 -9
  622. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  623. package/dist/esm/calcite-shell_3.entry.js +11 -11
  624. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  625. package/dist/esm/calcite-split-button.entry.js +4 -4
  626. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  627. package/dist/esm/calcite-switch.entry.js +10 -10
  628. package/dist/esm/calcite-tab_4.entry.js +7 -7
  629. package/dist/esm/calcite-text-area.entry.js +15 -15
  630. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  631. package/dist/esm/calcite-tile.entry.js +8 -8
  632. package/dist/esm/calcite-tip_3.entry.js +11 -11
  633. package/dist/esm/calcite-tooltip.entry.js +8 -8
  634. package/dist/esm/calcite-tree_2.entry.js +9 -9
  635. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  636. package/dist/esm/calcite.js +6 -6
  637. package/dist/esm/{conditionalSlot-fa8a7775.js → conditionalSlot-9a0b9651.js} +3 -3
  638. package/dist/esm/{debounce-82a5515a.js → debounce-ce12b6e8.js} +1 -1
  639. package/dist/esm/{dom-d2c51b4f.js → dom-e9497f34.js} +4 -4
  640. package/dist/esm/{filter-10435724.js → filter-5c3a36d6.js} +2 -2
  641. package/dist/esm/{floating-ui-1971b3db.js → floating-ui-1ff1adf1.js} +4 -4
  642. package/dist/esm/{focusTrapComponent-607ce12d.js → focusTrapComponent-3366c0da.js} +2 -2
  643. package/dist/esm/{form-02f2cff9.js → form-f85cdf03.js} +3 -3
  644. package/dist/esm/{guid-a16483b5.js → guid-995c21ba.js} +1 -1
  645. package/dist/esm/{index-7cac2f3f.js → index-64479493.js} +1 -1
  646. package/dist/esm/index.js +1 -1
  647. package/dist/esm/{interactive-06caa37b.js → interactive-3e056ba4.js} +1 -1
  648. package/dist/esm/{key-81b2634f.js → key-9fb6932f.js} +1 -1
  649. package/dist/esm/{label-c485f4f8.js → label-fd0a56be.js} +2 -2
  650. package/dist/esm/{loadable-8c121e4b.js → loadable-fe2614dd.js} +1 -1
  651. package/dist/esm/loader.js +6 -6
  652. package/dist/esm/{locale-270ffb3c.js → locale-0705e691.js} +54 -5
  653. package/dist/esm/{math-a2bb65cb.js → math-f6954b53.js} +1 -1
  654. package/dist/esm/{observers-77a8b45d.js → observers-c0bb104a.js} +1 -1
  655. package/dist/esm/{openCloseComponent-6705b509.js → openCloseComponent-6d240bec.js} +2 -2
  656. package/dist/esm/{resources-48b20118.js → resources-41c8f200.js} +1 -1
  657. package/dist/esm/{resources-add10009.js → resources-4ce6a6ca.js} +1 -1
  658. package/dist/esm/{resources-3f7ed5a5.js → resources-59d36906.js} +1 -1
  659. package/dist/esm/{resources-780d7239.js → resources-74c3b5f0.js} +5 -5
  660. package/dist/esm/{resources-044bcbc4.js → resources-781f7d4e.js} +1 -1
  661. package/dist/esm/{resources-7a04dab1.js → resources-85e74d08.js} +1 -1
  662. package/dist/esm/{sortable.esm-325dcfc4.js → sortable.esm-31f9acc9.js} +1 -1
  663. package/dist/esm/{t9n-223ccb9b.js → t9n-8f29f5a4.js} +3 -3
  664. package/dist/esm/{throttle-0023c320.js → throttle-b22a0d88.js} +2 -2
  665. package/dist/esm/{utils-35c56cd6.js → utils-2805e629.js} +1 -1
  666. package/dist/esm/{utils-c1c0f2c9.js → utils-55e1c11f.js} +1 -1
  667. package/dist/esm/{utils-7c9d4f71.js → utils-bbedd4b6.js} +3 -3
  668. package/dist/extras/docs-json.json +2 -2
  669. package/dist/extras/vscode-data.json +6372 -0
  670. package/dist/loader/cdn.js +1 -1
  671. package/dist/loader/index.cjs.js +1 -1
  672. package/dist/loader/index.es2017.js +1 -1
  673. package/dist/loader/index.js +1 -1
  674. package/dist/types/components/date-picker/date-picker.d.ts +18 -12
  675. package/dist/types/components/date-picker/resources.d.ts +1 -0
  676. package/dist/types/components/date-picker-day/date-picker-day.d.ts +6 -0
  677. package/dist/types/components/date-picker-month/date-picker-month.d.ts +6 -0
  678. package/dist/types/components/tree/tree.d.ts +8 -1
  679. package/dist/types/components.d.ts +10 -2
  680. package/dist/types/utils/locale.d.ts +15 -0
  681. package/hydrate/index.js +92 -47
  682. package/package.json +10 -10
  683. package/dist/calcite/p-002052f4.js +0 -6
  684. package/dist/calcite/p-0142973c.entry.js +0 -6
  685. package/dist/calcite/p-016e277d.js +0 -6
  686. package/dist/calcite/p-1d969d62.entry.js +0 -6
  687. package/dist/calcite/p-3aa0bac2.entry.js +0 -6
  688. package/dist/calcite/p-3cf4821b.entry.js +0 -6
  689. package/dist/calcite/p-6931b06b.entry.js +0 -6
  690. package/dist/calcite/p-ae7e71fe.entry.js +0 -6
  691. package/dist/calcite/p-bd6b3b70.entry.js +0 -6
  692. package/dist/calcite/p-d30a68d5.js +0 -6
  693. package/dist/calcite/p-fa5829ef.entry.js +0 -6
  694. package/dist/types/components/textarea/assets/textarea/t9n/index.d.ts +0 -4
@@ -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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,ye.t);return t.origin!==me.location.origin?t.href:t.pathname},i="s-id",c="sty-id",r="c-id",u="http://www.w3.org/1999/xlink",a={},f=e=>"object"==(e=typeof e)||"function"===e;function $(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const d=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!f(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?h(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,p);const u=h(e,null);return u.o=t,c.length>0&&(u.i=c),u.u=s,u},h=(e,t)=>({$:0,h:e,l:t,m:null,i:null,o:null,u:null}),m={},p={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(w)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.p,vtag:e.h,vtext:e.l}),w=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),d(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.p=e.vname,t},b=(e,t,n,l,s,o,i)=>{let c,u,a,f;if(1===o.nodeType){for(c=o.getAttribute(r),c&&(u=c.split("."),u[0]!==i&&"0"!==u[0]||(a={$:0,v:u[0],g:u[1],k:u[2],j:u[3],h:o.tagName.toLowerCase(),m:o,o:null,i:null,u:null,p:null,l:null},t.push(a),o.removeAttribute(r),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.m))),f=o.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)u=o.nodeValue.split("."),u[1]!==i&&"0"!==u[1]||(c=u[0],a={$:0,v:u[1],g:u[2],k:u[3],j:u[4],m:o,o:null,i:null,u:null,p:null,h:null,l:null},"t"===c?(a.m=o.nextSibling,a.m&&3===a.m.nodeType&&(a.l=a.m.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.m))):a.v===i&&("s"===c?(a.h="slot",o["s-sn"]=u[5]?a.p=u[5]:"",o["s-sr"]=!0,l&&(a.m=pe.createElement(a.h),a.p&&a.m.setAttribute("name",a.p),o.parentNode.insertBefore(a.m,o),o.remove(),"0"===a.k&&(l[a.j]=a.m)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=h(null,o.textContent);t.m=o,t.j="0",e.i=[t]}},v=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)v(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)v(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},g=e=>ce(e).S,k=(e,t,n)=>{const l=g(e);return{emit:e=>j(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},j=(e,t,n)=>{const l=ye.ce(t,n);return e.dispatchEvent(l),l},S=new WeakMap,x=(e,t,n)=>{let l=he.get(e);ve&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,he.set(e,l)},O=(e,t)=>{var n;let l=M(t);const s=he.get(l);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let t,o=S.get(e=e.head||e);if(o||S.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${c}="${l}"]`)))t.innerHTML=s;else{t=pe.createElement("style"),t.innerHTML=s;const l=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},M=e=>"sc-"+e.M,C=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,s,o)=>{if(n!==l){let i=ae(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=R(n),o=R(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=f(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ae(me,c)?c.slice(2):c[2]+t.slice(3),n&&ye.rel(e,t,n,!1),l&&ye.ael(e,t,l,!1)}},P=/\s/,R=e=>e?e.split(P):[],E=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.o||a,i=t.o||a;for(l in o)l in i||L(s,l,o[l],void 0,n,t.$);for(l in i)L(s,l,o[l],i[l],n,t.$)},F=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.m=pe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.m=pe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),E(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=F(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=F(null,l,o),c&&(s[o].m=c,r.insertBefore(c,t)))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,U(l),s.remove())},W=(e,t)=>e.h===t.h&&e.u===t.u,T=(e,t)=>{const n=t.m=e.m,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||E(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,u=0,a=t.length-1,f=t[0],$=t[a],d=l.length-1,h=l[0],m=l[d];for(;i<=a&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--a];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(W(f,h))T(f,h),f=t[++i],h=l[++c];else if(W($,m))T($,m),$=t[--a],m=l[--d];else if(W(f,m))T(f,m),e.insertBefore(f.m,$.m.nextSibling),f=t[++i],m=l[--d];else if(W($,h))T($,h),e.insertBefore($.m,f.m),$=t[--a],h=l[++c];else{for(r=-1,u=i;u<=a;++u)if(t[u]&&null!==t[u].u&&t[u].u===h.u){r=u;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r):(T(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c),h=l[++c]),s&&f.m.parentNode.insertBefore(s,f.m)}i>a?I(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&N(t,i,a)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&N(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},U=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(U)},A=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},D=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.L),Ce((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.P;let l;return t&&(e.$|=256,e.R&&(e.R.map((([e,t])=>G(n,e,t))),e.R=null),l=G(n,"componentWillLoad")),l=J(l,(()=>G(n,"componentWillRender"))),J(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.F,n=e.S,l=t.$,s=O(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);V(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.F,i=e.I||h(null,null),c=(e=>e&&e.h===m)(l)?l:d(null,null,l);n=s.tagName,o.N&&(c.o=c.o||{},o.N.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.I=c,c.m=i.m=s.shadowRoot||s,t=s["s-sc"],T(i,c)})(e,l)}catch(t){fe(t,e.S)}return null},_=e=>{const t=e.S,n=e.P,l=e.L;G(n,"componentDidRender"),64&e.$||(e.$|=64,K(t),G(n,"componentDidLoad"),e.W(t),l||B()),e.T(t),e.C&&(e.C(),e.C=void 0),512&e.$&&Oe((()=>D(e,!1))),e.$&=-517},z=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.$)&&D(t,!1),n}},B=()=>{K(pe.documentElement),Oe((()=>j(me,"appload",{detail:{namespace:e}})))},G=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},J=(e,t)=>e&&e.then?e.then(t):t(),K=e=>e.setAttribute("calcite-hydrated",""),Q=(e,t,n)=>{if(t.U){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.D.get(t),c=s.$,r=s.P;if(n=((e,t)=>null==e||f(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;D(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.H.then((()=>n.P[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){ye.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.N.push([e,s]),s}))}}return e},X=e=>{G(e,"connectedCallback")},Y=e=>{if(0==(1&ye.$)){const t=ce(e),n=t.F,l=()=>{};if(1&t.$)te(e,t,n.q),X(t.P);else{let l;if(t.$|=1,l=e.getAttribute(i),l){if(1&n.$){const t=O(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],c=s?[]:null,r=l.I=h(t,null);ye.V||v(pe.body,ye.V=new Map),e[i]=n,e.removeAttribute(i),b(r,o,[],c,e,e,n),o.map((e=>{const n=e.v+"."+e.g,l=ye.V.get(n),o=e.m;l&&we&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),ye.V.delete(n)})),s&&c.map((e=>{e&&s.appendChild(e)}))})(e,n.M,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){A(t,t.L=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,Q(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){fe(e)}t.$&=-9,t.$|=128,e(),X(t.P)}if(s.style){let e=s.style;const t=M(n);if(!he.has(t)){const l=()=>{};x(t,e,!!(1&n.$)),l()}}}const o=t.L,i=()=>D(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},Z=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=me.customElements,i=pe.head,r=i.querySelector("meta[charset]"),u=pe.createElement("style"),a=[],f=pe.querySelectorAll(`[${c}]`);let d,h=!0,m=0;for(Object.assign(ye,t),ye.t=new URL(t.resourcesUrl||"./",pe.baseURI).href,ye.$|=2;m<f.length;m++)x(f[m].getAttribute(c),C(f[m].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],M:t[1],U:t[2],q:t[3]};n.U=t[2],n.q=t[3],n.N=[],n.A={};const i=n.M,c=class extends HTMLElement{constructor(e){super(e),ue(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)})}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):ye.jmp((()=>Y(this)))}disconnectedCallback(){ye.jmp((()=>(()=>{if(0==(1&ye.$)){const e=ce(this),t=e.P;e._&&(e._.map((e=>e())),e._=void 0),G(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this).B}};n.G=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,Q(c,n,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const e=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,r?r.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):ye.jmp((()=>d=setTimeout(B,30)))},ee=(e,t)=>t,te=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=le(e,n),i=ne(t,s),c=se(n);ye.ael(o,l,i,c),(t._=t._||[]).push((()=>ye.rel(o,l,i,c)))}))},ne=(e,t)=>n=>{try{256&e.$?e.P[t](n):(e.R=e.R||[]).push([t,n])}catch(e){fe(e)}},le=(e,t)=>4&t?pe:8&t?me:16&t?pe.body:e,se=e=>0!=(2&e),oe=e=>ye.O=e,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.P=e,t),ue=(e,t)=>{const n={$:0,S:e,F:t,D:new Map};return n.H=new Promise((e=>n.T=e)),n.B=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],te(e,n,t.q),ie.set(e,n)},ae=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.M.replace(/-/g,"_"),n=e.G,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),fe)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},he=new Map,me="undefined"!=typeof window?window:{},pe=me.document||{head:{}},ye={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},we=!0,be=e=>Promise.resolve(e),ve=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ge=[],ke=[],je=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&ye.$?Oe(xe):ye.raf(xe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},xe=()=>{Se(ge),Se(ke),(s=ge.length>0)&&ye.raf(xe)},Oe=e=>be().then(e),Me=je(ge,!1),Ce=je(ke,!0);export{ee as F,m as H,e as N,o as a,Z as b,k as c,pe as d,Me as e,z as f,g,d as h,be as p,re as r,oe as s}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  const e={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",contentHeight:"content-height",fabContainer:"fab-container",footer:"footer"},t={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"},n={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};export{e as C,t as I,n as S}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{r as a,h as i,g as t}from"./p-2154b7de.js";import{c as e,d as n}from"./p-9ee2e227.js";import{u as c,c as o,s,d as r}from"./p-a9158071.js";import"./p-89b710ae.js";import"./p-b5c59463.js";import"./p-55b16a54.js";import"./p-26d8628f.js";import"./p-8728d1dd.js";const l=class{constructor(i){a(this,i),this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){e(this),o(this)}async componentWillLoad(){await s(this)}disconnectedCallback(){n(this),r(this)}render(){const{el:a,loading:t,messages:e}=this,n=a.innerHTML.trim().length>0,c=t?i("calcite-loader",{label:e.loading}):null,o=n?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},c,o)}static get assetsDirs(){return["assets"]}get el(){return t(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};l.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}";export{l as calcite_scrim}
6
+ import{r as a,h as i,g as t}from"./p-f1afab51.js";import{c as n,d as e}from"./p-5f200216.js";import{u as c,c as o,s,d as r}from"./p-6671a718.js";import"./p-9a5fa8b0.js";import"./p-522115b6.js";import"./p-46914f5e.js";import"./p-9c930457.js";import"./p-93e08d18.js";const l=class{constructor(i){a(this,i),this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){n(this),o(this)}async componentWillLoad(){await s(this)}disconnectedCallback(){e(this),r(this)}render(){const{el:a,loading:t,messages:n}=this,e=a.innerHTML.trim().length>0,c=t?i("calcite-loader",{label:n.loading}):null,o=e?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},c,o)}static get assetsDirs(){return["assets"]}get el(){return t(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};l.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}";export{l as calcite_scrim}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{r as t,c as i,h as a,g as e,F as n}from"./p-2154b7de.js";import{u as s}from"./p-bb5a7862.js";import{s as o,a as c,c as r}from"./p-b16095ce.js";import{c as l}from"./p-8728d1dd.js";import{m as d,d as h,a as m,s as p,h as u,b as f,c as g,k as b,i as v,f as y,l as x,j as w,r as k,o as _,p as D,n as z,q as C,t as L,I as j,L as I,u as H,v as W,w as F,C as R,S as M}from"./p-78b606c3.js";import{c as S,d as V}from"./p-016e277d.js";import{g as A,t as P}from"./p-89b710ae.js";import{H as T,c as U}from"./p-d30a68d5.js";import{c as K,d as O}from"./p-9ee2e227.js";import{u as q,c as E,s as B,d as G}from"./p-a9158071.js";import"./p-76928557.js";import"./p-0b1f31dd.js";import"./p-b5c59463.js";import"./p-55b16a54.js";import"./p-26d8628f.js";const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",d.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=h.bind(this),this.deselectSiblingItems=m.bind(this),this.selectSiblings=p.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=g.bind(this),this.keyDownHandler=b.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this)}disconnectedCallback(){x.call(this)}componentWillLoad(){o(this)}componentDidLoad(){c(this),w.call(this)}componentDidRender(){s(this)}calciteListItemRemoveHandler(t){k.call(this,t)}calciteListItemChangeHandler(t){_.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){D.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){z.call(this,t)}setUpItems(){C.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await r(this),L.call(this,t)}getIconType(){return this.multiple?j.square:j.circle}render(){return a(I,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};J.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.01}}: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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:1}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const N=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){S(this)}disconnectedCallback(){V(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==A(t,H.parentItem),o={[W.container]:!0,[W.indented]:s},c=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?U(r+1):null;return a(n,null,c?a(T,{class:W.heading,level:e||l},c):null,a("slot",{name:H.parentItem}),a("section",{class:o},a("slot",null)))}get el(){return e(this)}};N.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Q=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){q(this,this.effectiveLocale)}connectedCallback(){K(this),E(this),S(this)}async componentWillLoad(){await B(this),o(this)}componentDidLoad(){c(this)}disconnectedCallback(){O(this),G(this),V(this)}componentDidRender(){s(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await r(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[R.icon]:!0,[R.iconDot]:t===j.circle},onClick:this.pickListClickHandler},t===j.square?a("calcite-icon",{flipRtl:i,icon:F.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:R.remove,icon:F.remove,onClick:this.removeClickHandler,slot:M.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return A(t,M.actionsStart)?a("div",{class:{[R.actions]:!0,[R.actionsStart]:!0}},a("slot",{name:M.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return A(t,M.actionsEnd)||i?a("div",{class:{[R.actions]:!0,[R.actionsEnd]:!0}},a("slot",{name:M.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:R.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},a("div",{"aria-checked":P(this.selected),class:R.textContainer,role:"menuitemcheckbox"},a("span",{class:R.title},i),t?a("span",{class:R.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Q.style='@charset "UTF-8";@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.01}}: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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{J as calcite_pick_list,N as calcite_pick_list_group,Q as calcite_pick_list_item}
6
+ import{r as t,c as i,h as a,g as e,F as n}from"./p-f1afab51.js";import{u as s}from"./p-0e502912.js";import{s as o,a as c,c as r}from"./p-9c9bc09e.js";import{c as l}from"./p-93e08d18.js";import{m as d,d as h,a as m,s as p,h as f,b as u,c as g,k as v,i as b,f as y,l as x,j as w,r as k,o as _,p as D,n as z,q as C,t as L,I as j,L as I,u as H,v as W,w as F,C as R,S as M}from"./p-e3175a5f.js";import{c as S,d as V}from"./p-9e7ea398.js";import{g as A,t as P}from"./p-9a5fa8b0.js";import{H as T,c as U}from"./p-a45b1a36.js";import{c as K,d as O}from"./p-5f200216.js";import{u as q,c as E,s as B,d as G}from"./p-6671a718.js";import"./p-6111f395.js";import"./p-2b7990f8.js";import"./p-522115b6.js";import"./p-46914f5e.js";import"./p-9c930457.js";const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",d.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=h.bind(this),this.deselectSiblingItems=m.bind(this),this.selectSiblings=p.bind(this),this.handleFilter=f.bind(this),this.handleFilterEvent=u.bind(this),this.getItemData=g.bind(this),this.keyDownHandler=v.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){b.call(this),y.call(this)}disconnectedCallback(){x.call(this)}componentWillLoad(){o(this)}componentDidLoad(){c(this),w.call(this)}componentDidRender(){s(this)}calciteListItemRemoveHandler(t){k.call(this,t)}calciteListItemChangeHandler(t){_.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){D.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){z.call(this,t)}setUpItems(){C.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await r(this),L.call(this,t)}getIconType(){return this.multiple?j.square:j.circle}render(){return a(I,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};J.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.01}}: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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:1}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const N=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){S(this)}disconnectedCallback(){V(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==A(t,H.parentItem),o={[W.container]:!0,[W.indented]:s},c=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?U(r+1):null;return a(n,null,c?a(T,{class:W.heading,level:e||l},c):null,a("slot",{name:H.parentItem}),a("section",{class:o},a("slot",null)))}get el(){return e(this)}};N.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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Q=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){q(this,this.effectiveLocale)}connectedCallback(){K(this),E(this),S(this)}async componentWillLoad(){await B(this),o(this)}componentDidLoad(){c(this)}disconnectedCallback(){O(this),G(this),V(this)}componentDidRender(){s(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await r(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[R.icon]:!0,[R.iconDot]:t===j.circle},onClick:this.pickListClickHandler},t===j.square?a("calcite-icon",{flipRtl:i,icon:F.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:R.remove,icon:F.remove,onClick:this.removeClickHandler,slot:M.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return A(t,M.actionsStart)?a("div",{class:{[R.actions]:!0,[R.actionsStart]:!0}},a("slot",{name:M.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return A(t,M.actionsEnd)||i?a("div",{class:{[R.actions]:!0,[R.actionsEnd]:!0}},a("slot",{name:M.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:R.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},a("div",{"aria-checked":P(this.selected),class:R.textContainer,role:"menuitemcheckbox"},a("span",{class:R.title},i),t?a("span",{class:R.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Q.style='@charset "UTF-8";@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.01}}: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{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{J as calcite_pick_list,N as calcite_pick_list_group,Q as calcite_pick_list_item}
@@ -1,10 +1,10 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{l as n,m as t,n as e,o as r,f as o,p as u}from"./p-89b710ae.js";
6
+ import{k as n,l as t,m as e,n as r,f as o,o as u}from"./p-9a5fa8b0.js";
7
7
  /*!
8
8
  * focus-trap 7.4.0
9
9
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
- */function i(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?i(Object(e),!0).forEach((function(t){c(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function c(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var s=function(n){return"Tab"===n.key||9===n.keyCode},f=function(n){return s(n)&&!n.shiftKey},l=function(n){return s(n)&&n.shiftKey},v=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},d=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},p=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},h=[];const w=[];function m(i){const{focusTrapEl:c}=i;c&&(null==c.tabIndex&&(c.tabIndex=-1),i.focusTrap=function(o,u){var i,c=(null==u?void 0:u.document)||document,w=(null==u?void 0:u.trapStack)||h,m=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:f,isKeyBackward:l},u),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},F=function(n,t,e){return n&&void 0!==n[t]?n[t]:m[e||t]},O=function(n){return y.containerGroups.findIndex((function(t){var e=t.tabbableNodes;return t.container.contains(n)||e.find((function(t){return t===n}))}))},j=function(n){var t=m[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=c.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},k=function(){var n=j("initialFocus");if(!1===n)return!1;if(void 0===n)if(O(c.activeElement)>=0)n=c.activeElement;else{var t=y.tabbableGroups[0];n=t&&t.firstTabbableNode||j("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},D=function(){if(y.containerGroups=y.containers.map((function(r){var o=n(r,m.tabbableOptions),u=t(r,m.tabbableOptions);return{container:r,tabbableNodes:o,focusableNodes:u,firstTabbableNode:o.length>0?o[0]:null,lastTabbableNode:o.length>0?o[o.length-1]:null,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));if(!(r<0))return t?u.slice(r+1).find((function(n){return e(n,m.tabbableOptions)})):u.slice(0,r).reverse().find((function(n){return e(n,m.tabbableOptions)}))}}})),y.tabbableGroups=y.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!j("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},T=function n(t){!1!==t&&t!==c.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),y.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(k()))},E=function(n){var t=j("setReturnFocus",n);return t||!1!==t&&n},g=function(n){var t=p(n);O(t)>=0||(d(m.clickOutsideDeactivates,n)?i.deactivate({returnFocus:m.returnFocusOnDeactivate}):d(m.allowOutsideClick,n)||n.preventDefault())},P=function(n){var t=p(n),e=O(t)>=0;e||t instanceof Document?e&&(y.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),T(y.mostRecentlyFocusedNode||k()))},N=function(n){if(("Escape"===(t=n).key||"Esc"===t.key||27===t.keyCode)&&!1!==d(m.escapeDeactivates,n))return n.preventDefault(),void i.deactivate();var t;(m.isKeyForward(n)||m.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=p(n);D();var u=null;if(y.tabbableGroups.length>0){var i=O(o),a=i>=0?y.containerGroups[i]:void 0;if(i<0)u=t?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(t){var c=b(y.tabbableGroups,(function(n){return o===n.firstTabbableNode}));c<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o,!1))&&(c=i),c>=0?u=y.tabbableGroups[0===c?y.tabbableGroups.length-1:c-1].lastTabbableNode:s(n)||(u=a.nextTabbableNode(o,!1))}else{var f=b(y.tabbableGroups,(function(n){return o===n.lastTabbableNode}));f<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o))&&(f=i),f>=0?u=y.tabbableGroups[f===y.tabbableGroups.length-1?0:f+1].firstTabbableNode:s(n)||(u=a.nextTabbableNode(o))}}else u=j("fallbackFocus");u&&(s(n)&&n.preventDefault(),T(u))}(n,m.isKeyBackward(n))},A=function(n){var t=p(n);O(t)>=0||d(m.clickOutsideDeactivates,n)||d(m.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},R=function(){if(y.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(w,i),y.delayInitialFocusTimer=m.delayInitialFocus?v((function(){T(k())})):T(k()),c.addEventListener("focusin",P,!0),c.addEventListener("mousedown",g,{capture:!0,passive:!1}),c.addEventListener("touchstart",g,{capture:!0,passive:!1}),c.addEventListener("click",A,{capture:!0,passive:!1}),c.addEventListener("keydown",N,{capture:!0,passive:!1}),i},S=function(){if(y.active)return c.removeEventListener("focusin",P,!0),c.removeEventListener("mousedown",g,!0),c.removeEventListener("touchstart",g,!0),c.removeEventListener("click",A,!0),c.removeEventListener("keydown",N,!0),i};return(i={get active(){return y.active},get paused(){return y.paused},activate:function(n){if(y.active)return this;var t=F(n,"onActivate"),e=F(n,"onPostActivate"),r=F(n,"checkCanFocusTrap");r||D(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=c.activeElement,null==t||t();var o=function(){r&&D(),R(),null==e||e()};return r?(r(y.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!y.active)return this;var t=a({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},n);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,S(),y.active=!1,y.paused=!1,function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(w,i);var e=F(t,"onDeactivate"),r=F(t,"onPostDeactivate"),o=F(t,"checkCanReturnFocus"),u=F(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var c=function(){v((function(){u&&T(E(y.nodeFocusedBeforeActivation)),null==r||r()}))};return u&&o?(o(E(y.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(n){if(y.paused||!y.active)return this;var t=F(n,"onPause"),e=F(n,"onPostPause");return y.paused=!0,null==t||t(),S(),null==e||e(),this},unpause:function(n){if(!y.paused||!y.active)return this;var t=F(n,"onUnpause"),e=F(n,"onPostUnpause");return y.paused=!1,null==t||t(),D(),R(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return y.containers=t.map((function(n){return"string"==typeof n?c.querySelector(n):n})),y.active&&D(),this}}).updateContainerElements(o),i}(c,{clickOutsideDeactivates:!0,document:c.ownerDocument,escapeDeactivates:!1,fallbackFocus:c,setReturnFocus:n=>(o(n),!1),tabbableOptions:u,trapStack:w}))}function y(n){n.focusTrapDisabled||n.focusTrap?.activate()}function F(n){n.focusTrap?.deactivate()}function O(n){n.focusTrap?.updateContainerElements(n.focusTrapEl)}export{y as a,m as c,F as d,O as u}
10
+ */function i(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?i(Object(e),!0).forEach((function(t){c(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function c(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var f=function(n){return"Tab"===n.key||9===n.keyCode},s=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},v=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},d=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},p=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},h=[];const w=[];function m(i){const{focusTrapEl:c}=i;c&&(null==c.tabIndex&&(c.tabIndex=-1),i.focusTrap=function(o,u){var i,c=(null==u?void 0:u.document)||document,w=(null==u?void 0:u.trapStack)||h,m=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:l},u),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},F=function(n,t,e){return n&&void 0!==n[t]?n[t]:m[e||t]},k=function(n){return y.containerGroups.findIndex((function(t){var e=t.tabbableNodes;return t.container.contains(n)||e.find((function(t){return t===n}))}))},O=function(n){var t=m[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=c.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},j=function(){var n=O("initialFocus");if(!1===n)return!1;if(void 0===n)if(k(c.activeElement)>=0)n=c.activeElement;else{var t=y.tabbableGroups[0];n=t&&t.firstTabbableNode||O("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},D=function(){if(y.containerGroups=y.containers.map((function(r){var o=n(r,m.tabbableOptions),u=t(r,m.tabbableOptions);return{container:r,tabbableNodes:o,focusableNodes:u,firstTabbableNode:o.length>0?o[0]:null,lastTabbableNode:o.length>0?o[o.length-1]:null,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));if(!(r<0))return t?u.slice(r+1).find((function(n){return e(n,m.tabbableOptions)})):u.slice(0,r).reverse().find((function(n){return e(n,m.tabbableOptions)}))}}})),y.tabbableGroups=y.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!O("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},T=function n(t){!1!==t&&t!==c.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),y.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(j()))},E=function(n){var t=O("setReturnFocus",n);return t||!1!==t&&n},g=function(n){var t=p(n);k(t)>=0||(d(m.clickOutsideDeactivates,n)?i.deactivate({returnFocus:m.returnFocusOnDeactivate}):d(m.allowOutsideClick,n)||n.preventDefault())},P=function(n){var t=p(n),e=k(t)>=0;e||t instanceof Document?e&&(y.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),T(y.mostRecentlyFocusedNode||j()))},N=function(n){if(("Escape"===(t=n).key||"Esc"===t.key||27===t.keyCode)&&!1!==d(m.escapeDeactivates,n))return n.preventDefault(),void i.deactivate();var t;(m.isKeyForward(n)||m.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=p(n);D();var u=null;if(y.tabbableGroups.length>0){var i=k(o),a=i>=0?y.containerGroups[i]:void 0;if(i<0)u=t?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(t){var c=b(y.tabbableGroups,(function(n){return o===n.firstTabbableNode}));c<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o,!1))&&(c=i),c>=0?u=y.tabbableGroups[0===c?y.tabbableGroups.length-1:c-1].lastTabbableNode:f(n)||(u=a.nextTabbableNode(o,!1))}else{var s=b(y.tabbableGroups,(function(n){return o===n.lastTabbableNode}));s<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o))&&(s=i),s>=0?u=y.tabbableGroups[s===y.tabbableGroups.length-1?0:s+1].firstTabbableNode:f(n)||(u=a.nextTabbableNode(o))}}else u=O("fallbackFocus");u&&(f(n)&&n.preventDefault(),T(u))}(n,m.isKeyBackward(n))},A=function(n){var t=p(n);k(t)>=0||d(m.clickOutsideDeactivates,n)||d(m.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},R=function(){if(y.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(w,i),y.delayInitialFocusTimer=m.delayInitialFocus?v((function(){T(j())})):T(j()),c.addEventListener("focusin",P,!0),c.addEventListener("mousedown",g,{capture:!0,passive:!1}),c.addEventListener("touchstart",g,{capture:!0,passive:!1}),c.addEventListener("click",A,{capture:!0,passive:!1}),c.addEventListener("keydown",N,{capture:!0,passive:!1}),i},S=function(){if(y.active)return c.removeEventListener("focusin",P,!0),c.removeEventListener("mousedown",g,!0),c.removeEventListener("touchstart",g,!0),c.removeEventListener("click",A,!0),c.removeEventListener("keydown",N,!0),i};return(i={get active(){return y.active},get paused(){return y.paused},activate:function(n){if(y.active)return this;var t=F(n,"onActivate"),e=F(n,"onPostActivate"),r=F(n,"checkCanFocusTrap");r||D(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=c.activeElement,null==t||t();var o=function(){r&&D(),R(),null==e||e()};return r?(r(y.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!y.active)return this;var t=a({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},n);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,S(),y.active=!1,y.paused=!1,function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(w,i);var e=F(t,"onDeactivate"),r=F(t,"onPostDeactivate"),o=F(t,"checkCanReturnFocus"),u=F(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var c=function(){v((function(){u&&T(E(y.nodeFocusedBeforeActivation)),null==r||r()}))};return u&&o?(o(E(y.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(n){if(y.paused||!y.active)return this;var t=F(n,"onPause"),e=F(n,"onPostPause");return y.paused=!0,null==t||t(),S(),null==e||e(),this},unpause:function(n){if(!y.paused||!y.active)return this;var t=F(n,"onUnpause"),e=F(n,"onPostUnpause");return y.paused=!1,null==t||t(),D(),R(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return y.containers=t.map((function(n){return"string"==typeof n?c.querySelector(n):n})),y.active&&D(),this}}).updateContainerElements(o),i}(c,{clickOutsideDeactivates:!0,document:c.ownerDocument,escapeDeactivates:!1,fallbackFocus:c,setReturnFocus:n=>(o(n),!1),tabbableOptions:u,trapStack:w}))}function y(n){n.focusTrapDisabled||n.focusTrap?.activate()}function F(n){n.focusTrap?.deactivate()}function k(n){n.focusTrap?.updateContainerElements(n.focusTrapEl)}export{y as a,m as c,F as d,k as u}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{r as t,c as i,h as e,H as a,g as s}from"./p-2154b7de.js";import{c as o,d as r,H as n}from"./p-05215047.js";import{c,d as l,g as h}from"./p-403627a1.js";import{s as d,t as m}from"./p-89b710ae.js";import{n as p,c as f,d as b}from"./p-9ee2e227.js";import{c as u}from"./p-8728d1dd.js";import{s as g,a as x,c as v}from"./p-b16095ce.js";import{c as y,s as z,d as k,u as w}from"./p-a9158071.js";import{u as j}from"./p-bb5a7862.js";import{t as H}from"./p-3719b1b0.js";import"./p-b5c59463.js";import"./p-55b16a54.js";import"./p-26d8628f.js";import"./p-0b1f31dd.js";const C="readonly",D=class{constructor(a){t(this,a),this.calciteTextAreaInput=i(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=i(this,"calciteTextAreaChange",7),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?e("span",{class:"character-limit"},e("span",{class:{"character--over-limit":this.value?.length>this.maxLength}},this.getLocalizedCharacterLength()),"/",p.localize(this.maxLength.toString())):null,this.resizeObserver=u("resize",(async()=>{await v(this);const{textAreaHeight:t,textAreaWidth:i,elHeight:e,elWidth:a,footerHeight:s,footerWidth:o}=this.getHeightandWidthOfElements();o>0&&o!==i&&(this.footerEl.style.width=`${i}px`),a===i&&e===t+(s||0)||this.setHeightAndWidthToAuto()})),this.setHeightAndWidthToAuto=H((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.autofocus=!1,this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.maxLength=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.value=void 0,this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){c(this),o(this),f(this),y(this)}async componentWillLoad(){g(this),await z(this)}componentDidLoad(){x(this)}componentDidRender(){j(this),this.setTextAreaHeight()}disconnectedCallback(){l(this),r(this),b(this),k(this),this.resizeObserver?.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return e(a,null,e("textarea",{"aria-invalid":m(this.value?.length>this.maxLength),"aria-label":h(this),autofocus:this.autofocus,class:{[C]:this.readOnly,"text-area--invalid":this.value?.length>this.maxLength,"footer--slotted":this.endSlotHasElements&&this.startSlotHasElements,"block-size--full":!t,"border--color":!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),e("span",{class:{content:!0}},e("slot",{onSlotchange:this.contentSlotChangeHandler})),e("footer",{class:{footer:!0,[C]:this.readOnly,hide:!t},ref:t=>this.footerEl=t},e("div",{class:{container:!0,"footer--end-only":!this.startSlotHasElements&&this.endSlotHasElements}},e("slot",{name:"footer-start",onSlotchange:t=>this.startSlotHasElements=d(t)}),e("slot",{name:"footer-end",onSlotchange:t=>this.endSlotHasElements=d(t)})),this.renderCharacterLimit()),e(n,{component:this}))}async setFocus(){await v(this),this.textAreaEl.focus()}async selectText(){await v(this),this.textAreaEl.select()}effectiveLocaleChange(){w(this,this.effectiveLocale)}onFormReset(){this.value=this.defaultValue}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},p.localize(this.value?this.value.length.toString():"0")}syncHiddenFormInput(t){t.setCustomValidity(""),this.value?.length>this.maxLength&&t.setCustomValidity(this.messages.tooLong)}setTextAreaHeight(){const{textAreaHeight:t,elHeight:i,footerHeight:e}=this.getHeightandWidthOfElements();e>0&&t+e!=i&&(this.textAreaEl.style.height=i-e+"px")}getHeightandWidthOfElements(){const{height:t,width:i}=this.textAreaEl.getBoundingClientRect(),{height:e,width:a}=this.el.getBoundingClientRect(),{height:s,width:o}=this.footerEl?.getBoundingClientRect();return{textAreaHeight:t,textAreaWidth:i,elHeight:e,elWidth:a,footerHeight:s,footerWidth:o}}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};D.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.01}}: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;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}.readonly{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}::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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{D as calcite_text_area}
6
+ import{r as t,c as i,h as e,H as a,g as s}from"./p-f1afab51.js";import{c as o,d as r,H as n}from"./p-fea8604d.js";import{c,d as l,g as h}from"./p-4266c63f.js";import{s as d,t as m}from"./p-9a5fa8b0.js";import{n as p,c as f,d as u}from"./p-5f200216.js";import{c as g}from"./p-93e08d18.js";import{s as b,a as x,c as v}from"./p-9c9bc09e.js";import{c as y,s as z,d as k,u as w}from"./p-6671a718.js";import{u as j}from"./p-0e502912.js";import{t as H}from"./p-fecaadb0.js";import"./p-522115b6.js";import"./p-46914f5e.js";import"./p-9c930457.js";import"./p-2b7990f8.js";const C="readonly",D=class{constructor(a){t(this,a),this.calciteTextAreaInput=i(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=i(this,"calciteTextAreaChange",7),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?e("span",{class:"character-limit"},e("span",{class:{"character--over-limit":this.value?.length>this.maxLength}},this.getLocalizedCharacterLength()),"/",p.localize(this.maxLength.toString())):null,this.resizeObserver=g("resize",(async()=>{await v(this);const{textAreaHeight:t,textAreaWidth:i,elHeight:e,elWidth:a,footerHeight:s,footerWidth:o}=this.getHeightandWidthOfElements();o>0&&o!==i&&(this.footerEl.style.width=`${i}px`),a===i&&e===t+(s||0)||this.setHeightAndWidthToAuto()})),this.setHeightAndWidthToAuto=H((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.autofocus=!1,this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.maxLength=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.value=void 0,this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){c(this),o(this),f(this),y(this)}async componentWillLoad(){b(this),await z(this)}componentDidLoad(){x(this)}componentDidRender(){j(this),this.setTextAreaHeight()}disconnectedCallback(){l(this),r(this),u(this),k(this),this.resizeObserver?.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return e(a,null,e("textarea",{"aria-invalid":m(this.value?.length>this.maxLength),"aria-label":h(this),autofocus:this.autofocus,class:{[C]:this.readOnly,"text-area--invalid":this.value?.length>this.maxLength,"footer--slotted":this.endSlotHasElements&&this.startSlotHasElements,"block-size--full":!t,"border--color":!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),e("span",{class:{content:!0}},e("slot",{onSlotchange:this.contentSlotChangeHandler})),e("footer",{class:{footer:!0,[C]:this.readOnly,hide:!t},ref:t=>this.footerEl=t},e("div",{class:{container:!0,"footer--end-only":!this.startSlotHasElements&&this.endSlotHasElements}},e("slot",{name:"footer-start",onSlotchange:t=>this.startSlotHasElements=d(t)}),e("slot",{name:"footer-end",onSlotchange:t=>this.endSlotHasElements=d(t)})),this.renderCharacterLimit()),e(n,{component:this}))}async setFocus(){await v(this),this.textAreaEl.focus()}async selectText(){await v(this),this.textAreaEl.select()}effectiveLocaleChange(){w(this,this.effectiveLocale)}onFormReset(){this.value=this.defaultValue}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},p.localize(this.value?this.value.length.toString():"0")}syncHiddenFormInput(t){t.setCustomValidity(""),this.value?.length>this.maxLength&&t.setCustomValidity(this.messages.tooLong)}setTextAreaHeight(){const{textAreaHeight:t,elHeight:i,footerHeight:e}=this.getHeightandWidthOfElements();e>0&&t+e!=i&&(this.textAreaEl.style.height=i-e+"px")}getHeightandWidthOfElements(){const{height:t,width:i}=this.textAreaEl.getBoundingClientRect(),{height:e,width:a}=this.el.getBoundingClientRect(),{height:s,width:o}=this.footerEl?.getBoundingClientRect();return{textAreaHeight:t,textAreaWidth:i,elHeight:e,elWidth:a,footerHeight:s,footerWidth:o}}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};D.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.01}}: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;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}.readonly{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}::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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{D as calcite_text_area}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{q as n,c as t}from"./p-89b710ae.js";import{h as e}from"./p-2154b7de.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
6
+ import{q as n,c as t}from"./p-9a5fa8b0.js";import{h as e}from"./p-f1afab51.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{d as i,i as n}from"./p-0b1f31dd.js";function t(t,r,a){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(a)&&(e="leading"in a?!!a.leading:e,o="trailing"in a?!!a.trailing:o),i(t,r,{leading:e,maxWait:r,trailing:o})}export{t}
6
+ import{d as i,i as n}from"./p-2b7990f8.js";function t(t,r,a){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(a)&&(e="leading"in a?!!a.leading:e,o="trailing"in a?!!a.trailing:o),i(t,r,{leading:e,maxWait:r,trailing:o})}export{t}
@@ -1,6 +1,6 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
- import{r as t,c as i,h as a,g as e,H as s}from"./p-2154b7de.js";import{S as n}from"./p-48b61c4b.js";import{u as o}from"./p-bb5a7862.js";import{s as r,a as c,c as l}from"./p-b16095ce.js";import{c as h,d}from"./p-9ee2e227.js";import{c as m}from"./p-8728d1dd.js";import{u,c as p,s as f,d as v}from"./p-a9158071.js";import{g,m as w,d as b,a as y,s as x,h as k,b as D,c as L,k as _,e as j,i as I,f as C,j as z,l as A,n as H,r as F,o as R,p as S,q as U,t as B,L as $,I as M,C as O,S as V}from"./p-78b606c3.js";import{c as q,d as K}from"./p-016e277d.js";import{g as T}from"./p-89b710ae.js";import{g as W}from"./p-b5c59463.js";import"./p-26d8628f.js";import"./p-76928557.js";import"./p-0b1f31dd.js";import"./p-55b16a54.js";var E;function P(t,i,a){const{items:e,messages:s}=a,n=e.length,o=g(a,t)+1;return function(t,i,a,e){return t.replace("${position}",a.toString()).replace("${itemLabel}",i).replace("${total}",e.toString())}("idle"===i?s.dragHandleIdle:"active"===i?s.dragHandleActive:"change"===i?s.dragHandleChange:s.dragHandleCommit,t.label,o,n)}function G(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(E||(E={}));const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=m("mutation",w.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=b.bind(this),this.deselectSiblingItems=y.bind(this),this.selectSiblings=x.bind(this),this.handleFilter=k.bind(this),this.handleFilterEvent=D.bind(this),this.getItemData=L.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:i,item:a}=G(t);if(i&&!a.handleActivated&&" "===t.key&&this.updateScreenReaderText(P(a,"commit",this)),!i||!a.handleActivated)return void _.call(this,t);t.preventDefault();const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(P(a,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;const{el:s}=this,n=j(this,a,"ArrowUp"===t.key?"up":"down");if(n===e.length-1)s.appendChild(a);else{const t=s.children[n];s.insertBefore(a,t===a.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>i?.focus())),a.handleActivated=!0,this.updateHandleAriaLabel(i,P(a,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:i,item:a}=G(t);!a?.handleActivated&&a&&i&&this.updateHandleAriaLabel(i,P(a,"idle",this))},this.disabled=!1,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){h(this),p(this),I.call(this),C.call(this)}async componentWillLoad(){r(this),await f(this)}componentDidLoad(){c(this),this.setUpDragAndDrop(),z.call(this)}componentDidRender(){o(this)}disconnectedCallback(){d(this),v(this),A.call(this),this.cleanUpDragAndDrop()}calciteListFocusOutHandler(t){H.call(this,t)}calciteListItemRemoveHandler(t){F.call(this,t)}calciteListItemChangeHandler(t){R.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){S.call(this,t),t.stopPropagation()}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){U.call(this,"calcite-value-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpDragAndDrop(){this.cleanUpDragAndDrop(),this.dragEnabled&&(this.sortable=n.create(this.el,{dataIdAttr:"id",handle:".handle",draggable:"calcite-value-list-item",group:this.group,onSort:()=>{this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}}))}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),B.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=E.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,i){t.ariaLabel=i}handleValueListItemBlur(t){const{item:i,handle:a}=t.detail;!i?.handleActivated&&i&&this.updateHandleAriaLabel(a,P(i,"idle",this)),t.stopPropagation()}render(){return a($,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.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.01}}: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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--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([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:300}calcite-filter{margin-block-end:1px}.assistive-text{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}";const N="actions-end",Q="actions-start",X=class{constructor(a){t(this,a),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=i(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${W()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){q(this)}disconnectedCallback(){K(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this)}componentDidRender(){o(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){await l(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return T(t,N)?a("slot",{name:N,slot:V.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return T(t,Q)?a("slot",{name:Q,slot:V.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===M.grip)return a("span",{class:{[O.handle]:!0,[O.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},a("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return a(s,{id:this.el.id||this.guid},this.renderHandle(),a("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};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.01}}: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{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{J as calcite_value_list,X as calcite_value_list_item}
6
+ import{r as t,c as i,h as a,g as e,H as s}from"./p-f1afab51.js";import{S as n}from"./p-9e49f8d9.js";import{u as o}from"./p-0e502912.js";import{s as r,a as c,c as l}from"./p-9c9bc09e.js";import{c as h,d}from"./p-5f200216.js";import{c as m}from"./p-93e08d18.js";import{u,c as p,s as f,d as v}from"./p-6671a718.js";import{g,m as w,d as b,a as y,s as x,h as k,b as D,c as L,k as _,e as j,i as I,f as C,j as z,l as A,n as H,r as F,o as R,p as S,q as U,t as B,L as $,I as M,C as O,S as V}from"./p-e3175a5f.js";import{c as q,d as K}from"./p-9e7ea398.js";import{g as T}from"./p-9a5fa8b0.js";import{g as W}from"./p-522115b6.js";import"./p-9c930457.js";import"./p-6111f395.js";import"./p-2b7990f8.js";import"./p-46914f5e.js";var E;function P(t,i,a){const{items:e,messages:s}=a,n=e.length,o=g(a,t)+1;return function(t,i,a,e){return t.replace("${position}",a.toString()).replace("${itemLabel}",i).replace("${total}",e.toString())}("idle"===i?s.dragHandleIdle:"active"===i?s.dragHandleActive:"change"===i?s.dragHandleChange:s.dragHandleCommit,t.label,o,n)}function G(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(E||(E={}));const J=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=m("mutation",w.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=b.bind(this),this.deselectSiblingItems=y.bind(this),this.selectSiblings=x.bind(this),this.handleFilter=k.bind(this),this.handleFilterEvent=D.bind(this),this.getItemData=L.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:i,item:a}=G(t);if(i&&!a.handleActivated&&" "===t.key&&this.updateScreenReaderText(P(a,"commit",this)),!i||!a.handleActivated)return void _.call(this,t);t.preventDefault();const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(P(a,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;const{el:s}=this,n=j(this,a,"ArrowUp"===t.key?"up":"down");if(n===e.length-1)s.appendChild(a);else{const t=s.children[n];s.insertBefore(a,t===a.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>i?.focus())),a.handleActivated=!0,this.updateHandleAriaLabel(i,P(a,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:i,item:a}=G(t);!a?.handleActivated&&a&&i&&this.updateHandleAriaLabel(i,P(a,"idle",this))},this.disabled=!1,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){h(this),p(this),I.call(this),C.call(this)}async componentWillLoad(){r(this),await f(this)}componentDidLoad(){c(this),this.setUpDragAndDrop(),z.call(this)}componentDidRender(){o(this)}disconnectedCallback(){d(this),v(this),A.call(this),this.cleanUpDragAndDrop()}calciteListFocusOutHandler(t){H.call(this,t)}calciteListItemRemoveHandler(t){F.call(this,t)}calciteListItemChangeHandler(t){R.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){S.call(this,t),t.stopPropagation()}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){U.call(this,"calcite-value-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpDragAndDrop(){this.cleanUpDragAndDrop(),this.dragEnabled&&(this.sortable=n.create(this.el,{dataIdAttr:"id",handle:".handle",draggable:"calcite-value-list-item",group:this.group,onSort:()=>{this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}}))}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),B.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=E.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,i){t.ariaLabel=i}handleValueListItemBlur(t){const{item:i,handle:a}=t.detail;!i?.handleActivated&&i&&this.updateHandleAriaLabel(a,P(i,"idle",this)),t.stopPropagation()}render(){return a($,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.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.01}}: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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--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([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:300}calcite-filter{margin-block-end:1px}.assistive-text{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}";const N="actions-end",Q="actions-start",X=class{constructor(a){t(this,a),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=i(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${W()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){q(this)}disconnectedCallback(){K(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this)}componentDidRender(){o(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){await l(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return T(t,N)?a("slot",{name:N,slot:V.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return T(t,Q)?a("slot",{name:Q,slot:V.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===M.grip)return a("span",{class:{[O.handle]:!0,[O.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},a("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return a(s,{id:this.el.id||this.guid},this.renderHandle(),a("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};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.01}}: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{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{J as calcite_value_list,X as calcite_value_list_item}
@@ -1,14 +1,14 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-b6e1067b.js');
9
- const dom = require('./dom-dc375f9f.js');
10
- const resources$1 = require('./resources-0c82b41e.js');
11
- const resources = require('./resources-e94f129e.js');
8
+ const index = require('./index-75596ece.js');
9
+ const dom = require('./dom-690eeecb.js');
10
+ const resources$1 = require('./resources-17abd055.js');
11
+ const resources = require('./resources-1ad48e4c.js');
12
12
 
13
13
  const overflowActionsDebounceInMs = 150;
14
14
  const groupBufferPx = 2;
@@ -1,11 +1,11 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-b6e1067b.js');
8
+ const index = require('./index-75596ece.js');
9
9
 
10
10
  function constrainHeadingLevel(level) {
11
11
  return Math.min(Math.max(Math.ceil(level), 1), 6);
@@ -1,11 +1,11 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
- const resources = require('./resources-ed022f42.js');
8
+ const resources = require('./resources-4dc0c126.js');
9
9
 
10
10
  /**
11
11
  * Emits when the mode is dynamically toggled between light and dark on <body> or in OS preferences.
@@ -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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,18 +1,18 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-b6e1067b.js');
11
- const conditionalSlot = require('./conditionalSlot-5656d59c.js');
12
- const dom = require('./dom-dc375f9f.js');
13
- const resources = require('./resources-ed022f42.js');
14
- require('./observers-8c623fb7.js');
15
- require('./guid-4daeb326.js');
10
+ const index = require('./index-75596ece.js');
11
+ const conditionalSlot = require('./conditionalSlot-c84383db.js');
12
+ const dom = require('./dom-690eeecb.js');
13
+ const resources = require('./resources-4dc0c126.js');
14
+ require('./observers-80dcbedb.js');
15
+ require('./guid-4a48b4ff.js');
16
16
 
17
17
  const accordionCss = "@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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
18
18
 
@@ -1,26 +1,26 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-b6e1067b.js');
11
- const conditionalSlot = require('./conditionalSlot-5656d59c.js');
12
- const dom = require('./dom-dc375f9f.js');
13
- const loadable = require('./loadable-19d269a6.js');
14
- const locale = require('./locale-cc5d712a.js');
15
- const observers = require('./observers-8c623fb7.js');
16
- const t9n = require('./t9n-394540b0.js');
17
- const ExpandToggle = require('./ExpandToggle-7367419c.js');
18
- const debounce = require('./debounce-a11903ad.js');
19
- require('./guid-4daeb326.js');
20
- require('./resources-ed022f42.js');
21
- require('./key-d7b507f8.js');
22
- require('./resources-0c82b41e.js');
23
- require('./resources-e94f129e.js');
10
+ const index = require('./index-75596ece.js');
11
+ const conditionalSlot = require('./conditionalSlot-c84383db.js');
12
+ const dom = require('./dom-690eeecb.js');
13
+ const loadable = require('./loadable-71c8a0dd.js');
14
+ const locale = require('./locale-e2d5103f.js');
15
+ const observers = require('./observers-80dcbedb.js');
16
+ const t9n = require('./t9n-aba3d842.js');
17
+ const ExpandToggle = require('./ExpandToggle-196652a3.js');
18
+ const debounce = require('./debounce-329e16b1.js');
19
+ require('./guid-4a48b4ff.js');
20
+ require('./resources-4dc0c126.js');
21
+ require('./key-6221c014.js');
22
+ require('./resources-17abd055.js');
23
+ require('./resources-1ad48e4c.js');
24
24
 
25
25
  const CSS = {
26
26
  actionGroupBottom: "action-group--bottom"
@@ -1,24 +1,24 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-b6e1067b.js');
11
- const conditionalSlot = require('./conditionalSlot-5656d59c.js');
12
- const dom = require('./dom-dc375f9f.js');
13
- const loadable = require('./loadable-19d269a6.js');
14
- const locale = require('./locale-cc5d712a.js');
15
- const t9n = require('./t9n-394540b0.js');
16
- const resources$1 = require('./resources-e94f129e.js');
17
- const resources = require('./resources-0c82b41e.js');
18
- require('./observers-8c623fb7.js');
19
- require('./guid-4daeb326.js');
20
- require('./resources-ed022f42.js');
21
- require('./key-d7b507f8.js');
10
+ const index = require('./index-75596ece.js');
11
+ const conditionalSlot = require('./conditionalSlot-c84383db.js');
12
+ const dom = require('./dom-690eeecb.js');
13
+ const loadable = require('./loadable-71c8a0dd.js');
14
+ const locale = require('./locale-e2d5103f.js');
15
+ const t9n = require('./t9n-aba3d842.js');
16
+ const resources$1 = require('./resources-1ad48e4c.js');
17
+ const resources = require('./resources-17abd055.js');
18
+ require('./observers-80dcbedb.js');
19
+ require('./guid-4a48b4ff.js');
20
+ require('./resources-4dc0c126.js');
21
+ require('./key-6221c014.js');
22
22
 
23
23
  const actionGroupCss = "@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.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
24
24
 
@@ -1,20 +1,20 @@
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.2.0
4
+ * v1.2.1-next.1
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-b6e1067b.js');
11
- const array = require('./array-16cfc2ce.js');
12
- const dom = require('./dom-dc375f9f.js');
13
- const guid = require('./guid-4daeb326.js');
14
- const key = require('./key-d7b507f8.js');
15
- const loadable = require('./loadable-19d269a6.js');
16
- const resources = require('./resources-e94f129e.js');
17
- require('./resources-ed022f42.js');
10
+ const index = require('./index-75596ece.js');
11
+ const array = require('./array-894b7525.js');
12
+ const dom = require('./dom-690eeecb.js');
13
+ const guid = require('./guid-4a48b4ff.js');
14
+ const key = require('./key-6221c014.js');
15
+ const loadable = require('./loadable-71c8a0dd.js');
16
+ const resources = require('./resources-1ad48e4c.js');
17
+ require('./resources-4dc0c126.js');
18
18
 
19
19
  const actionMenuCss = "@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.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
20
20