@esri/calcite-components 1.0.0-next.413 → 1.0.0-next.416

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 (655) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/{p-02854dce.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
  4. package/dist/calcite/{p-993a9701.system.entry.js → p-035c70fd.system.entry.js} +1 -1
  5. package/dist/calcite/p-03c92ad2.entry.js +5 -0
  6. package/dist/calcite/{p-847fc3a4.system.entry.js → p-052ba882.system.entry.js} +1 -1
  7. package/dist/calcite/p-07f1f162.system.entry.js +5 -0
  8. package/dist/calcite/p-1263bcc0.entry.js +5 -0
  9. package/dist/calcite/p-18be4438.entry.js +5 -0
  10. package/dist/calcite/p-193749c1.entry.js +5 -0
  11. package/dist/calcite/{p-129954f1.system.entry.js → p-1aded388.system.entry.js} +1 -1
  12. package/dist/calcite/p-1aeca42a.system.entry.js +5 -0
  13. package/dist/calcite/p-1b1bca2d.entry.js +5 -0
  14. package/dist/calcite/{p-3c773436.system.entry.js → p-1fc943d5.system.entry.js} +1 -1
  15. package/dist/calcite/p-23145377.entry.js +5 -0
  16. package/dist/calcite/p-28c333d0.entry.js +5 -0
  17. package/dist/calcite/p-2bcaed33.entry.js +5 -0
  18. package/dist/calcite/p-2dd22e8c.system.entry.js +5 -0
  19. package/dist/calcite/p-2fae8516.system.entry.js +5 -0
  20. package/dist/calcite/p-3119ffce.system.js +5 -0
  21. package/dist/calcite/p-31c58f25.entry.js +5 -0
  22. package/dist/calcite/p-32d6b962.entry.js +5 -0
  23. package/dist/calcite/{p-475869c9.system.entry.js → p-32efc4cd.system.entry.js} +1 -1
  24. package/dist/calcite/p-34730e94.entry.js +5 -0
  25. package/dist/calcite/p-364db271.entry.js +5 -0
  26. package/dist/calcite/p-3915705c.entry.js +5 -0
  27. package/dist/calcite/p-3b4662a5.entry.js +5 -0
  28. package/dist/calcite/p-3b707a1c.system.entry.js +5 -0
  29. package/dist/calcite/{p-41806a13.system.entry.js → p-3cdee187.system.entry.js} +1 -1
  30. package/dist/calcite/{p-296c1d5a.system.entry.js → p-3e149640.system.entry.js} +1 -1
  31. package/dist/calcite/p-3e9d96c6.system.entry.js +5 -0
  32. package/dist/calcite/{p-f5e91588.system.entry.js → p-3ea157ba.system.entry.js} +1 -1
  33. package/dist/calcite/p-411dcd52.entry.js +5 -0
  34. package/dist/calcite/p-42227a04.entry.js +5 -0
  35. package/dist/calcite/p-426f011a.entry.js +5 -0
  36. package/dist/calcite/p-4730df46.js +5 -0
  37. package/dist/calcite/p-47d38839.entry.js +5 -0
  38. package/dist/calcite/{p-aa336fc3.system.entry.js → p-482885ae.system.entry.js} +1 -1
  39. package/dist/calcite/{p-df3775ba.system.entry.js → p-48637359.system.entry.js} +1 -1
  40. package/dist/calcite/p-496e907a.system.entry.js +5 -0
  41. package/dist/calcite/p-4aecbaef.entry.js +5 -0
  42. package/dist/calcite/p-4afb5a1b.system.entry.js +5 -0
  43. package/dist/calcite/p-4eae61c5.entry.js +5 -0
  44. package/dist/calcite/p-5394666a.entry.js +5 -0
  45. package/dist/calcite/p-54c49493.entry.js +5 -0
  46. package/dist/calcite/{p-0bd5bb31.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
  47. package/dist/calcite/{p-3543ddfe.system.entry.js → p-569150ab.system.entry.js} +1 -1
  48. package/dist/calcite/p-577bc6de.entry.js +5 -0
  49. package/dist/calcite/p-57e0428a.system.entry.js +5 -0
  50. package/dist/calcite/{p-9d071e3c.system.js → p-588bfa74.system.js} +1 -1
  51. package/dist/calcite/p-5a8829cd.entry.js +5 -0
  52. package/dist/calcite/p-5bb4d012.entry.js +5 -0
  53. package/dist/calcite/{p-a7e2bf9b.system.entry.js → p-5be48d2a.system.entry.js} +1 -1
  54. package/dist/calcite/p-6137468f.system.entry.js +5 -0
  55. package/dist/calcite/p-614d8925.js +5 -0
  56. package/dist/calcite/p-6261469d.entry.js +5 -0
  57. package/dist/calcite/p-62c7ab61.entry.js +5 -0
  58. package/dist/calcite/p-65dbbfb5.system.js +5 -0
  59. package/dist/calcite/p-69d2d9cf.system.entry.js +5 -0
  60. package/dist/calcite/p-6ab3e489.entry.js +5 -0
  61. package/dist/calcite/p-6b7b23d0.js +5 -0
  62. package/dist/calcite/{p-a6261f6b.system.entry.js → p-6c4a7041.system.entry.js} +1 -1
  63. package/dist/calcite/p-6e0103f5.system.entry.js +5 -0
  64. package/dist/calcite/{p-579d1f1a.system.entry.js → p-6ed27595.system.entry.js} +1 -1
  65. package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
  66. package/dist/calcite/{p-2eb067c8.system.entry.js → p-7247b667.system.entry.js} +1 -1
  67. package/dist/calcite/p-7260c869.system.entry.js +5 -0
  68. package/dist/calcite/p-73d23656.entry.js +5 -0
  69. package/dist/calcite/p-7432e5ef.system.entry.js +5 -0
  70. package/dist/calcite/p-765c9bef.entry.js +5 -0
  71. package/dist/calcite/p-78bc502f.entry.js +5 -0
  72. package/dist/calcite/{p-ee88180e.system.entry.js → p-7bee4942.system.entry.js} +1 -1
  73. package/dist/calcite/{p-c0e695bd.js → p-7c88d545.js} +1 -1
  74. package/dist/calcite/p-824da4be.entry.js +5 -0
  75. package/dist/calcite/p-872e82a6.system.entry.js +5 -0
  76. package/dist/calcite/p-87888359.entry.js +5 -0
  77. package/dist/calcite/p-8a7596e3.entry.js +5 -0
  78. package/dist/calcite/{p-ba2c5e07.js → p-8ab345f2.js} +1 -1
  79. package/dist/calcite/{p-4ff0e3a9.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
  80. package/dist/calcite/{p-e4c317a4.system.js → p-9385e4b4.system.js} +1 -1
  81. package/dist/calcite/p-963e9aec.system.entry.js +5 -0
  82. package/dist/calcite/p-97904e9a.entry.js +5 -0
  83. package/dist/calcite/p-9940b82a.system.entry.js +5 -0
  84. package/dist/calcite/p-9ac86d6a.entry.js +5 -0
  85. package/dist/calcite/p-9ad8c7c5.system.entry.js +5 -0
  86. package/dist/calcite/p-9c913e3a.entry.js +5 -0
  87. package/dist/calcite/p-9e61d89d.entry.js +5 -0
  88. package/dist/calcite/{p-1f82294e.system.entry.js → p-a11ee541.system.entry.js} +1 -1
  89. package/dist/calcite/p-a144a9e2.system.entry.js +5 -0
  90. package/dist/calcite/{p-7d937b47.entry.js → p-a7770d75.entry.js} +1 -1
  91. package/dist/calcite/{p-f56ce7ea.js → p-a9b3ef39.js} +1 -1
  92. package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
  93. package/dist/calcite/p-aaa21a84.system.entry.js +5 -0
  94. package/dist/calcite/p-aad14a5d.system.entry.js +5 -0
  95. package/dist/calcite/p-afe59546.entry.js +5 -0
  96. package/dist/calcite/p-b10af2b4.entry.js +5 -0
  97. package/dist/calcite/p-b2493735.entry.js +5 -0
  98. package/dist/calcite/p-b3c5247b.system.entry.js +5 -0
  99. package/dist/calcite/p-b47dc903.system.entry.js +5 -0
  100. package/dist/calcite/{p-c9f280c1.system.js → p-b765d197.system.js} +1 -1
  101. package/dist/calcite/p-bccbf58a.entry.js +5 -0
  102. package/dist/calcite/p-bd38ff21.js +5 -0
  103. package/dist/calcite/{p-cd406e29.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
  104. package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
  105. package/dist/calcite/p-c024d833.entry.js +5 -0
  106. package/dist/calcite/{p-d1060fb1.system.entry.js → p-c228a1da.system.entry.js} +1 -1
  107. package/dist/calcite/p-c2adeae4.entry.js +5 -0
  108. package/dist/calcite/p-c33f47d5.system.js +5 -0
  109. package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
  110. package/dist/calcite/{p-5d52246b.system.js → p-c51699d3.system.js} +1 -1
  111. package/dist/calcite/p-c5c42405.entry.js +5 -0
  112. package/dist/calcite/{p-a4cc864a.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
  113. package/dist/calcite/p-cafd98e8.entry.js +5 -0
  114. package/dist/calcite/p-cb28aa6a.entry.js +5 -0
  115. package/dist/calcite/{p-08c58589.system.js → p-cb57638c.system.js} +1 -1
  116. package/dist/calcite/p-cb847074.entry.js +5 -0
  117. package/dist/calcite/p-cbc6fee6.entry.js +5 -0
  118. package/dist/calcite/p-cc6e7726.entry.js +5 -0
  119. package/dist/calcite/{p-2277b440.js → p-cd5f5c8f.js} +1 -1
  120. package/dist/calcite/{p-1d345756.system.entry.js → p-cd9226a1.system.entry.js} +1 -1
  121. package/dist/calcite/p-daf5f04c.system.js +5 -0
  122. package/dist/calcite/{p-fedbc6e6.js → p-dcf33bb2.js} +1 -1
  123. package/dist/calcite/{p-36fa8b0f.system.entry.js → p-dd460534.system.entry.js} +1 -1
  124. package/dist/calcite/p-e22ab8fa.entry.js +5 -0
  125. package/dist/calcite/p-e3280a36.system.entry.js +5 -0
  126. package/dist/calcite/p-e43605c5.entry.js +5 -0
  127. package/dist/calcite/p-e4d1651b.system.entry.js +5 -0
  128. package/dist/calcite/p-e5a7ca2a.entry.js +5 -0
  129. package/dist/calcite/p-e65b6bfb.entry.js +5 -0
  130. package/dist/calcite/p-e66a8ca1.system.entry.js +5 -0
  131. package/dist/calcite/p-ea4119b1.system.entry.js +5 -0
  132. package/dist/calcite/p-ef17447d.system.entry.js +5 -0
  133. package/dist/calcite/p-f344e163.entry.js +5 -0
  134. package/dist/calcite/p-f8238718.system.entry.js +5 -0
  135. package/dist/calcite/p-fe9380a0.system.js +5 -0
  136. package/dist/cjs/{ExpandToggle-dbdede53.js → ExpandToggle-f7682a15.js} +1 -1
  137. package/dist/cjs/{Heading-1870bc0e.js → Heading-ec707493.js} +1 -1
  138. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
  139. package/dist/cjs/calcite-action-bar.cjs.entry.js +4 -4
  140. package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
  141. package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -4
  143. package/dist/cjs/calcite-action.cjs.entry.js +7 -3
  144. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  145. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-block_2.cjs.entry.js +19 -10
  147. package/dist/cjs/calcite-button.cjs.entry.js +8 -4
  148. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -5
  150. package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
  151. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -6
  152. package/dist/cjs/calcite-combobox_3.cjs.entry.js +37 -32
  153. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -9
  154. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +31 -11
  155. package/dist/cjs/calcite-fab.cjs.entry.js +12 -3
  156. package/dist/cjs/calcite-filter.cjs.entry.js +14 -5
  157. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  158. package/dist/cjs/calcite-graph_2.cjs.entry.js +8 -6
  159. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  161. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -11
  162. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +30 -9
  163. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  164. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +23 -7
  165. package/dist/cjs/calcite-input.cjs.entry.js +9 -5
  166. package/dist/cjs/calcite-label.cjs.entry.js +17 -4
  167. package/dist/cjs/calcite-link.cjs.entry.js +8 -4
  168. package/dist/cjs/calcite-list_3.cjs.entry.js +34 -8
  169. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
  171. package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
  172. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -7
  173. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-panel.cjs.entry.js +16 -7
  175. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
  176. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -5
  177. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  178. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -5
  180. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -7
  181. package/dist/cjs/calcite-rating.cjs.entry.js +14 -8
  182. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
  184. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
  185. package/dist/cjs/calcite-split-button.cjs.entry.js +27 -4
  186. package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -5
  187. package/dist/cjs/calcite-switch.cjs.entry.js +9 -12
  188. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -8
  189. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +20 -5
  190. package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
  191. package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -4
  193. package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -11
  195. package/dist/cjs/calcite.cjs.js +3 -3
  196. package/dist/cjs/{conditionalSlot-2917212e.js → conditionalSlot-64f9bfd3.js} +1 -1
  197. package/dist/cjs/{form-d540f0cb.js → form-0ef859c8.js} +1 -1
  198. package/dist/cjs/{index-8760acaf.js → index-1af0efd3.js} +4 -1
  199. package/dist/cjs/interactive-87406231.js +44 -0
  200. package/dist/cjs/{label-6b18ca08.js → label-980508de.js} +40 -6
  201. package/dist/cjs/loader.cjs.js +3 -3
  202. package/dist/cjs/{resources-1e94d43c.js → resources-7811eb2c.js} +1 -1
  203. package/dist/cjs/{resources-415f797b.js → resources-daf15d54.js} +34 -9
  204. package/dist/collection/collection-manifest.json +1 -1
  205. package/dist/collection/components/action/action.css +9 -0
  206. package/dist/collection/components/action/action.js +4 -0
  207. package/dist/collection/components/block/block.css +13 -9
  208. package/dist/collection/components/block/block.js +13 -4
  209. package/dist/collection/components/button/button.css +15 -2
  210. package/dist/collection/components/button/button.js +4 -0
  211. package/dist/collection/components/checkbox/checkbox.css +7 -0
  212. package/dist/collection/components/checkbox/checkbox.js +4 -0
  213. package/dist/collection/components/color-picker/color-picker.css +13 -0
  214. package/dist/collection/components/color-picker/color-picker.js +32 -1
  215. package/dist/collection/components/combobox/combobox.css +7 -1
  216. package/dist/collection/components/combobox/combobox.js +29 -27
  217. package/dist/collection/components/combobox-item/combobox-item.css +13 -0
  218. package/dist/collection/components/combobox-item/combobox-item.js +4 -0
  219. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  220. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
  221. package/dist/collection/components/dropdown/dropdown.css +8 -0
  222. package/dist/collection/components/dropdown/dropdown.js +28 -6
  223. package/dist/collection/components/fab/fab.css +13 -0
  224. package/dist/collection/components/fab/fab.js +9 -0
  225. package/dist/collection/components/filter/filter.css +13 -0
  226. package/dist/collection/components/filter/filter.js +11 -3
  227. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  228. package/dist/collection/components/inline-editable/inline-editable.js +9 -7
  229. package/dist/collection/components/input/input.css +8 -7
  230. package/dist/collection/components/input/input.js +4 -0
  231. package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
  232. package/dist/collection/components/input-date-picker/input-date-picker.js +26 -3
  233. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  234. package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
  235. package/dist/collection/components/label/label.css +12 -0
  236. package/dist/collection/components/label/label.js +16 -2
  237. package/dist/collection/components/link/link.css +13 -8
  238. package/dist/collection/components/link/link.js +5 -1
  239. package/dist/collection/components/list/list.css +13 -0
  240. package/dist/collection/components/list/list.js +38 -0
  241. package/dist/collection/components/list-item/list-item.css +8 -0
  242. package/dist/collection/components/list-item/list-item.js +9 -0
  243. package/dist/collection/components/panel/panel.css +13 -0
  244. package/dist/collection/components/panel/panel.js +11 -2
  245. package/dist/collection/components/pick-list/pick-list.css +13 -0
  246. package/dist/collection/components/pick-list/pick-list.js +4 -0
  247. package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
  248. package/dist/collection/components/pick-list/shared-list-render.js +2 -2
  249. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  250. package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
  251. package/dist/collection/components/popover/popover.js +5 -1
  252. package/dist/collection/components/radio-button/radio-button.css +10 -1
  253. package/dist/collection/components/radio-button/radio-button.js +4 -0
  254. package/dist/collection/components/radio-group/radio-group.css +13 -5
  255. package/dist/collection/components/radio-group/radio-group.js +5 -1
  256. package/dist/collection/components/rating/rating.css +13 -5
  257. package/dist/collection/components/rating/rating.js +9 -3
  258. package/dist/collection/components/select/select.css +13 -7
  259. package/dist/collection/components/select/select.js +4 -0
  260. package/dist/collection/components/slider/slider.css +8 -0
  261. package/dist/collection/components/slider/slider.js +2 -0
  262. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  263. package/dist/collection/components/sortable-list/sortable-list.js +4 -0
  264. package/dist/collection/components/split-button/split-button.css +12 -0
  265. package/dist/collection/components/split-button/split-button.js +29 -3
  266. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  267. package/dist/collection/components/stepper-item/stepper-item.js +6 -2
  268. package/dist/collection/components/switch/switch.css +7 -0
  269. package/dist/collection/components/switch/switch.js +5 -13
  270. package/dist/collection/components/tab-title/tab-title.css +9 -0
  271. package/dist/collection/components/tab-title/tab-title.js +6 -3
  272. package/dist/collection/components/tile/tile.css +17 -1
  273. package/dist/collection/components/tile/tile.js +4 -0
  274. package/dist/collection/components/tile-select/tile-select.css +9 -1
  275. package/dist/collection/components/tile-select/tile-select.js +4 -0
  276. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  277. package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
  278. package/dist/collection/components/tooltip/tooltip.js +5 -1
  279. package/dist/collection/components/value-list/value-list.css +13 -0
  280. package/dist/collection/components/value-list/value-list.js +6 -5
  281. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  282. package/dist/collection/components/value-list-item/value-list-item.js +5 -1
  283. package/dist/collection/utils/interactive.js +42 -0
  284. package/dist/collection/utils/label.js +38 -6
  285. package/dist/components/action-group.js +3 -4
  286. package/dist/components/action-menu.js +3 -4
  287. package/dist/components/action.js +8 -5
  288. package/dist/components/button.js +8 -5
  289. package/dist/components/calcite-accordion-item.js +3 -4
  290. package/dist/components/calcite-accordion.js +3 -4
  291. package/dist/components/calcite-action-bar.js +3 -4
  292. package/dist/components/calcite-action-pad.js +3 -4
  293. package/dist/components/calcite-alert.js +3 -4
  294. package/dist/components/calcite-avatar.js +3 -4
  295. package/dist/components/calcite-block-section.js +3 -4
  296. package/dist/components/calcite-block.js +17 -9
  297. package/dist/components/calcite-card.js +3 -4
  298. package/dist/components/calcite-color-picker.js +19 -6
  299. package/dist/components/calcite-combobox-item-group.js +3 -4
  300. package/dist/components/calcite-combobox-item.js +8 -5
  301. package/dist/components/calcite-combobox.js +29 -30
  302. package/dist/components/calcite-dropdown-group.js +3 -4
  303. package/dist/components/calcite-dropdown-item.js +3 -4
  304. package/dist/components/calcite-fab.js +13 -5
  305. package/dist/components/calcite-flow.js +3 -4
  306. package/dist/components/calcite-inline-editable.js +13 -12
  307. package/dist/components/calcite-input-date-picker.js +28 -8
  308. package/dist/components/calcite-input-message.js +3 -4
  309. package/dist/components/calcite-input-time-picker.js +21 -6
  310. package/dist/components/calcite-list-item-group.js +3 -4
  311. package/dist/components/calcite-list-item.js +13 -5
  312. package/dist/components/calcite-list.js +23 -5
  313. package/dist/components/calcite-modal.js +3 -4
  314. package/dist/components/calcite-notice.js +3 -4
  315. package/dist/components/calcite-option-group.js +3 -4
  316. package/dist/components/calcite-option.js +3 -4
  317. package/dist/components/calcite-pagination.js +3 -4
  318. package/dist/components/calcite-panel.js +15 -7
  319. package/dist/components/calcite-pick-list-group.js +3 -4
  320. package/dist/components/calcite-pick-list.js +8 -5
  321. package/dist/components/calcite-popover-manager.js +3 -4
  322. package/dist/components/calcite-radio-button-group.js +3 -4
  323. package/dist/components/calcite-radio-button.js +8 -5
  324. package/dist/components/calcite-radio-group-item.js +3 -4
  325. package/dist/components/calcite-radio-group.js +9 -6
  326. package/dist/components/calcite-rating.js +13 -8
  327. package/dist/components/calcite-select.js +8 -5
  328. package/dist/components/calcite-shell-center-row.js +3 -4
  329. package/dist/components/calcite-shell-panel.js +3 -4
  330. package/dist/components/calcite-shell.js +3 -4
  331. package/dist/components/calcite-slider.js +6 -5
  332. package/dist/components/calcite-sortable-list.js +8 -5
  333. package/dist/components/calcite-split-button.js +29 -7
  334. package/dist/components/calcite-stepper-item.js +10 -7
  335. package/dist/components/calcite-stepper.js +3 -4
  336. package/dist/components/calcite-tile-select-group.js +17 -5
  337. package/dist/components/calcite-tile-select.js +8 -5
  338. package/dist/components/calcite-tip-group.js +3 -4
  339. package/dist/components/calcite-tip-manager.js +3 -4
  340. package/dist/components/calcite-tip.js +3 -4
  341. package/dist/components/calcite-tooltip.js +8 -5
  342. package/dist/components/calcite-tree-item.js +3 -4
  343. package/dist/components/calcite-tree.js +3 -4
  344. package/dist/components/calcite-value-list-item.js +8 -5
  345. package/dist/components/calcite-value-list.js +10 -10
  346. package/dist/components/checkbox.js +8 -5
  347. package/dist/components/chip.js +3 -4
  348. package/dist/components/color-picker-hex-input.js +3 -4
  349. package/dist/components/color-picker-swatch.js +3 -4
  350. package/dist/components/date-picker-day.js +12 -6
  351. package/dist/components/date-picker-month-header.js +3 -4
  352. package/dist/components/date-picker-month.js +3 -4
  353. package/dist/components/date-picker.js +3 -4
  354. package/dist/components/dropdown.js +30 -11
  355. package/dist/components/filter.js +21 -25
  356. package/dist/components/graph.js +3 -4
  357. package/dist/components/handle.js +3 -4
  358. package/dist/components/icon.js +3 -4
  359. package/dist/components/input.js +8 -5
  360. package/dist/components/interactive.js +42 -0
  361. package/dist/components/label.js +39 -7
  362. package/dist/components/label2.js +16 -6
  363. package/dist/components/link.js +9 -6
  364. package/dist/components/loader.js +3 -4
  365. package/dist/components/pick-list-item.js +8 -8
  366. package/dist/components/popover.js +8 -5
  367. package/dist/components/progress.js +3 -4
  368. package/dist/components/scrim.js +3 -4
  369. package/dist/components/shared-list-render.js +33 -9
  370. package/dist/components/switch.js +8 -13
  371. package/dist/components/tab-nav.js +3 -4
  372. package/dist/components/tab-title.js +9 -7
  373. package/dist/components/tab.js +3 -4
  374. package/dist/components/tabs.js +3 -4
  375. package/dist/components/tile.js +8 -5
  376. package/dist/components/time-picker.js +3 -4
  377. package/dist/components/tooltip-manager.js +3 -4
  378. package/dist/custom-elements/index.js +548 -223
  379. package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
  380. package/dist/esm/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
  381. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  382. package/dist/esm/calcite-action-bar.entry.js +4 -4
  383. package/dist/esm/calcite-action-group.entry.js +3 -3
  384. package/dist/esm/calcite-action-menu.entry.js +3 -3
  385. package/dist/esm/calcite-action-pad.entry.js +4 -4
  386. package/dist/esm/calcite-action.entry.js +7 -3
  387. package/dist/esm/calcite-alert.entry.js +2 -2
  388. package/dist/esm/calcite-avatar.entry.js +2 -2
  389. package/dist/esm/calcite-block_2.entry.js +19 -10
  390. package/dist/esm/calcite-button.entry.js +8 -4
  391. package/dist/esm/calcite-card.entry.js +3 -3
  392. package/dist/esm/calcite-checkbox.entry.js +9 -5
  393. package/dist/esm/calcite-chip.entry.js +3 -3
  394. package/dist/esm/calcite-color-picker_3.entry.js +19 -6
  395. package/dist/esm/calcite-combobox_3.entry.js +37 -32
  396. package/dist/esm/calcite-date-picker_4.entry.js +16 -9
  397. package/dist/esm/calcite-dropdown_3.entry.js +31 -11
  398. package/dist/esm/calcite-fab.entry.js +12 -3
  399. package/dist/esm/calcite-filter.entry.js +14 -5
  400. package/dist/esm/calcite-flow.entry.js +2 -2
  401. package/dist/esm/calcite-graph_2.entry.js +8 -6
  402. package/dist/esm/calcite-handle.entry.js +2 -2
  403. package/dist/esm/calcite-icon.entry.js +2 -2
  404. package/dist/esm/calcite-inline-editable.entry.js +13 -11
  405. package/dist/esm/calcite-input-date-picker.entry.js +30 -9
  406. package/dist/esm/calcite-input-message.entry.js +2 -2
  407. package/dist/esm/calcite-input-time-picker_2.entry.js +23 -7
  408. package/dist/esm/calcite-input.entry.js +9 -5
  409. package/dist/esm/calcite-label.entry.js +17 -4
  410. package/dist/esm/calcite-link.entry.js +8 -4
  411. package/dist/esm/calcite-list_3.entry.js +34 -8
  412. package/dist/esm/calcite-loader.entry.js +2 -2
  413. package/dist/esm/calcite-modal.entry.js +3 -3
  414. package/dist/esm/calcite-notice.entry.js +3 -3
  415. package/dist/esm/calcite-option_3.entry.js +11 -7
  416. package/dist/esm/calcite-pagination.entry.js +2 -2
  417. package/dist/esm/calcite-panel.entry.js +16 -7
  418. package/dist/esm/calcite-pick-list_3.entry.js +16 -12
  419. package/dist/esm/calcite-popover_2.entry.js +9 -5
  420. package/dist/esm/calcite-progress.entry.js +2 -2
  421. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  422. package/dist/esm/calcite-radio-button.entry.js +9 -5
  423. package/dist/esm/calcite-radio-group_2.entry.js +11 -7
  424. package/dist/esm/calcite-rating.entry.js +14 -8
  425. package/dist/esm/calcite-scrim.entry.js +2 -2
  426. package/dist/esm/calcite-shell_3.entry.js +5 -5
  427. package/dist/esm/calcite-sortable-list.entry.js +7 -3
  428. package/dist/esm/calcite-split-button.entry.js +27 -4
  429. package/dist/esm/calcite-stepper_2.entry.js +9 -5
  430. package/dist/esm/calcite-switch.entry.js +9 -12
  431. package/dist/esm/calcite-tab_4.entry.js +11 -8
  432. package/dist/esm/calcite-tile-select_2.entry.js +20 -5
  433. package/dist/esm/calcite-tile.entry.js +8 -4
  434. package/dist/esm/calcite-tip_3.entry.js +6 -6
  435. package/dist/esm/calcite-tooltip_2.entry.js +8 -4
  436. package/dist/esm/calcite-tree_2.entry.js +4 -4
  437. package/dist/esm/calcite-value-list_2.entry.js +16 -11
  438. package/dist/esm/calcite.js +3 -3
  439. package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
  440. package/dist/esm/{form-d07b2414.js → form-5e4609eb.js} +1 -1
  441. package/dist/esm/{index-0fefddd1.js → index-bd94948c.js} +4 -1
  442. package/dist/esm/interactive-48b5cc0f.js +42 -0
  443. package/dist/esm/{label-2bffc9f4.js → label-68f22660.js} +39 -7
  444. package/dist/esm/loader.js +3 -3
  445. package/dist/esm/{resources-431fa051.js → resources-73dac782.js} +1 -1
  446. package/dist/esm/{resources-999109fa.js → resources-cbfcf4a3.js} +34 -10
  447. package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
  448. package/dist/esm-es5/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
  449. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  450. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  451. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  452. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  453. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  454. package/dist/esm-es5/calcite-action.entry.js +1 -1
  455. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  456. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  457. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  458. package/dist/esm-es5/calcite-button.entry.js +1 -1
  459. package/dist/esm-es5/calcite-card.entry.js +1 -1
  460. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  461. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  462. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  463. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  464. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  465. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  466. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  467. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  468. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  469. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  470. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  471. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  472. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  473. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  474. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  475. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  476. package/dist/esm-es5/calcite-input.entry.js +1 -1
  477. package/dist/esm-es5/calcite-label.entry.js +1 -1
  478. package/dist/esm-es5/calcite-link.entry.js +2 -2
  479. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  480. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  481. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  482. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  483. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  484. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  485. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  486. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  487. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  488. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  489. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  490. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  491. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  492. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  493. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  494. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  495. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  496. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  497. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  498. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  499. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  500. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  501. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  502. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  503. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  504. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  505. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  506. package/dist/esm-es5/calcite.js +1 -1
  507. package/dist/esm-es5/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
  508. package/dist/esm-es5/{form-d07b2414.js → form-5e4609eb.js} +1 -1
  509. package/dist/esm-es5/{index-0fefddd1.js → index-bd94948c.js} +1 -1
  510. package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
  511. package/dist/esm-es5/label-68f22660.js +5 -0
  512. package/dist/esm-es5/loader.js +1 -1
  513. package/dist/esm-es5/{resources-431fa051.js → resources-73dac782.js} +2 -2
  514. package/dist/esm-es5/resources-cbfcf4a3.js +5 -0
  515. package/dist/extras/docs-json.json +69 -23
  516. package/dist/types/components/action/action.d.ts +3 -1
  517. package/dist/types/components/block/block.d.ts +3 -1
  518. package/dist/types/components/button/button.d.ts +3 -1
  519. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  520. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  521. package/dist/types/components/combobox/combobox.d.ts +4 -4
  522. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  523. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  524. package/dist/types/components/dropdown/dropdown.d.ts +4 -1
  525. package/dist/types/components/fab/fab.d.ts +3 -1
  526. package/dist/types/components/filter/filter.d.ts +3 -1
  527. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  528. package/dist/types/components/input/input.d.ts +3 -1
  529. package/dist/types/components/input-date-picker/input-date-picker.d.ts +4 -1
  530. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
  531. package/dist/types/components/label/label.d.ts +7 -1
  532. package/dist/types/components/link/link.d.ts +3 -1
  533. package/dist/types/components/list/list.d.ts +7 -1
  534. package/dist/types/components/list-item/list-item.d.ts +3 -1
  535. package/dist/types/components/panel/panel.d.ts +3 -1
  536. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  537. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  538. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  539. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  540. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  541. package/dist/types/components/rating/rating.d.ts +3 -1
  542. package/dist/types/components/select/select.d.ts +3 -1
  543. package/dist/types/components/slider/slider.d.ts +2 -1
  544. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  545. package/dist/types/components/split-button/split-button.d.ts +5 -1
  546. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  547. package/dist/types/components/switch/switch.d.ts +3 -4
  548. package/dist/types/components/tab-title/tab-title.d.ts +3 -1
  549. package/dist/types/components/tile/tile.d.ts +3 -1
  550. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  551. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  552. package/dist/types/components/value-list/value-list.d.ts +3 -1
  553. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  554. package/dist/types/components.d.ts +28 -2
  555. package/dist/types/utils/interactive.d.ts +28 -0
  556. package/dist/types/utils/label.d.ts +3 -1
  557. package/hydrate/index.js +464 -137
  558. package/package.json +8 -8
  559. package/dist/calcite/p-00d4b36e.entry.js +0 -5
  560. package/dist/calcite/p-02a3ad67.entry.js +0 -5
  561. package/dist/calcite/p-02b4bcec.entry.js +0 -5
  562. package/dist/calcite/p-02cc50b9.entry.js +0 -5
  563. package/dist/calcite/p-11413626.system.entry.js +0 -5
  564. package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
  565. package/dist/calcite/p-1370cabf.entry.js +0 -5
  566. package/dist/calcite/p-13e36552.system.entry.js +0 -5
  567. package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
  568. package/dist/calcite/p-1a3a366d.system.js +0 -5
  569. package/dist/calcite/p-1fe5a777.entry.js +0 -5
  570. package/dist/calcite/p-26bcdb22.entry.js +0 -5
  571. package/dist/calcite/p-2a3d08b7.entry.js +0 -5
  572. package/dist/calcite/p-2c293ed2.entry.js +0 -5
  573. package/dist/calcite/p-2fbc2a9b.system.entry.js +0 -5
  574. package/dist/calcite/p-313fa6fa.system.entry.js +0 -5
  575. package/dist/calcite/p-322195bf.system.entry.js +0 -5
  576. package/dist/calcite/p-35461165.system.entry.js +0 -5
  577. package/dist/calcite/p-362522e5.js +0 -5
  578. package/dist/calcite/p-3a7606c8.entry.js +0 -5
  579. package/dist/calcite/p-3e522dbe.entry.js +0 -5
  580. package/dist/calcite/p-417c7d5d.entry.js +0 -5
  581. package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
  582. package/dist/calcite/p-44dcac16.entry.js +0 -5
  583. package/dist/calcite/p-458933db.system.entry.js +0 -5
  584. package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
  585. package/dist/calcite/p-55fa7908.entry.js +0 -5
  586. package/dist/calcite/p-5a4b0056.system.entry.js +0 -5
  587. package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
  588. package/dist/calcite/p-5c425028.entry.js +0 -5
  589. package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
  590. package/dist/calcite/p-633a2c7f.entry.js +0 -5
  591. package/dist/calcite/p-673a3cd9.entry.js +0 -5
  592. package/dist/calcite/p-6a3357f9.system.js +0 -5
  593. package/dist/calcite/p-71d1bfb2.entry.js +0 -5
  594. package/dist/calcite/p-743597e4.entry.js +0 -5
  595. package/dist/calcite/p-783bfba1.entry.js +0 -5
  596. package/dist/calcite/p-7863deb5.entry.js +0 -5
  597. package/dist/calcite/p-793659d0.entry.js +0 -5
  598. package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
  599. package/dist/calcite/p-7ccf6273.entry.js +0 -5
  600. package/dist/calcite/p-7d9f20b8.entry.js +0 -5
  601. package/dist/calcite/p-7dfe915f.entry.js +0 -5
  602. package/dist/calcite/p-802a05a2.entry.js +0 -5
  603. package/dist/calcite/p-80ab216e.entry.js +0 -5
  604. package/dist/calcite/p-818b3ac7.entry.js +0 -5
  605. package/dist/calcite/p-81a3de30.system.entry.js +0 -5
  606. package/dist/calcite/p-81f7b919.entry.js +0 -5
  607. package/dist/calcite/p-82c142d8.entry.js +0 -5
  608. package/dist/calcite/p-84f8db8e.entry.js +0 -5
  609. package/dist/calcite/p-874ac36f.entry.js +0 -5
  610. package/dist/calcite/p-8f93be14.system.js +0 -5
  611. package/dist/calcite/p-91b23d79.system.entry.js +0 -5
  612. package/dist/calcite/p-93bf2f70.entry.js +0 -5
  613. package/dist/calcite/p-99da584e.system.entry.js +0 -5
  614. package/dist/calcite/p-9a7c4812.js +0 -5
  615. package/dist/calcite/p-9c86f528.entry.js +0 -5
  616. package/dist/calcite/p-9cfa3928.entry.js +0 -5
  617. package/dist/calcite/p-9d102b23.system.entry.js +0 -5
  618. package/dist/calcite/p-9f2e3d1e.entry.js +0 -5
  619. package/dist/calcite/p-a0ffad45.entry.js +0 -5
  620. package/dist/calcite/p-a5397c9d.entry.js +0 -5
  621. package/dist/calcite/p-a5e8d728.entry.js +0 -5
  622. package/dist/calcite/p-ad7fbabd.entry.js +0 -5
  623. package/dist/calcite/p-b03b03d5.entry.js +0 -5
  624. package/dist/calcite/p-b55643f5.entry.js +0 -5
  625. package/dist/calcite/p-b58cdaca.entry.js +0 -5
  626. package/dist/calcite/p-b76ee102.system.entry.js +0 -5
  627. package/dist/calcite/p-b85064fc.entry.js +0 -5
  628. package/dist/calcite/p-bfaed65e.entry.js +0 -5
  629. package/dist/calcite/p-c6851d0b.system.entry.js +0 -5
  630. package/dist/calcite/p-cc894f09.entry.js +0 -5
  631. package/dist/calcite/p-d08d1450.entry.js +0 -5
  632. package/dist/calcite/p-d2a1cbbf.entry.js +0 -5
  633. package/dist/calcite/p-d359def7.system.entry.js +0 -5
  634. package/dist/calcite/p-d44165c7.entry.js +0 -5
  635. package/dist/calcite/p-d648a677.entry.js +0 -5
  636. package/dist/calcite/p-d7395b71.system.entry.js +0 -5
  637. package/dist/calcite/p-da78fbb6.system.entry.js +0 -5
  638. package/dist/calcite/p-dc9ff95e.system.entry.js +0 -5
  639. package/dist/calcite/p-dcf17450.system.entry.js +0 -5
  640. package/dist/calcite/p-de562f92.system.js +0 -5
  641. package/dist/calcite/p-e23de208.entry.js +0 -5
  642. package/dist/calcite/p-e88fd904.system.entry.js +0 -5
  643. package/dist/calcite/p-e9460f3c.js +0 -5
  644. package/dist/calcite/p-eb43eb28.system.entry.js +0 -5
  645. package/dist/calcite/p-efb21590.system.entry.js +0 -5
  646. package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
  647. package/dist/calcite/p-f31de031.system.entry.js +0 -5
  648. package/dist/calcite/p-f542ba26.entry.js +0 -5
  649. package/dist/calcite/p-f681fbba.entry.js +0 -5
  650. package/dist/calcite/p-f6d994ff.entry.js +0 -5
  651. package/dist/calcite/p-f9d1a58e.entry.js +0 -5
  652. package/dist/calcite/p-fad60503.entry.js +0 -5
  653. package/dist/calcite/p-fd0d5d44.system.entry.js +0 -5
  654. package/dist/esm-es5/label-2bffc9f4.js +0 -5
  655. package/dist/esm-es5/resources-999109fa.js +0 -5
@@ -2,16 +2,17 @@
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
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0fefddd1.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-bd94948c.js';
6
6
  import { a as isSymbol, S as Symbol, d as debounce } from './debounce-79648d42.js';
7
7
  import { i as isArray, f as forIn } from './forIn-48d8fb84.js';
8
8
  import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-ae231554.js';
9
9
  import { g as guid } from './guid-196bd5ea.js';
10
10
  import { n as nodeListToArray, d as getElementProp, g as getSlotted } from './dom-e7fa77b9.js';
11
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-2bffc9f4.js';
12
- import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-d07b2414.js';
11
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-68f22660.js';
12
+ import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-5e4609eb.js';
13
13
  import { c as createObserver } from './observers-46118290.js';
14
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-c4b6c8b1.js';
14
+ import { u as updateHostInteraction } from './interactive-48b5cc0f.js';
15
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-67f579ff.js';
15
16
 
16
17
  /**
17
18
  * A specialized version of `_.map` for arrays without support for iteratee
@@ -182,7 +183,7 @@ function getDepth(element) {
182
183
  return result.snapshotLength;
183
184
  }
184
185
 
185
- const comboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
186
+ const comboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
186
187
 
187
188
  const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
188
189
  const itemUidPrefix = "combobox-item-";
@@ -190,7 +191,7 @@ const chipUidPrefix = "combobox-chip-";
190
191
  const labelUidPrefix = "combobox-label-";
191
192
  const listboxUidPrefix = "combobox-listbox-";
192
193
  const inputUidPrefix = "combobox-input-";
193
- let Combobox = class {
194
+ const Combobox = class {
194
195
  constructor(hostRef) {
195
196
  registerInstance(this, hostRef);
196
197
  this.calciteLookupChange = createEvent(this, "calciteLookupChange", 7);
@@ -242,12 +243,10 @@ let Combobox = class {
242
243
  this.groupItems = [];
243
244
  this.selectedItems = [];
244
245
  this.visibleItems = [];
245
- this.hideList = !this.active;
246
246
  this.activeItemIndex = -1;
247
247
  this.activeChipIndex = -1;
248
248
  this.activeDescendant = "";
249
249
  this.text = "";
250
- this.open = this.active;
251
250
  this.textInput = null;
252
251
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
253
252
  this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
@@ -336,11 +335,11 @@ let Combobox = class {
336
335
  }
337
336
  };
338
337
  this.toggleCloseEnd = () => {
339
- this.hideList = true;
338
+ this.active = false;
340
339
  this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
341
340
  };
342
341
  this.toggleOpenEnd = () => {
343
- this.hideList = false;
342
+ this.active = true;
344
343
  this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
345
344
  };
346
345
  this.transitionEnd = (event) => {
@@ -374,9 +373,7 @@ let Combobox = class {
374
373
  };
375
374
  this.setInactiveIfNotContained = (event) => {
376
375
  const composedPath = event.composedPath();
377
- if ((!this.active && !this.open) ||
378
- composedPath.includes(this.el) ||
379
- composedPath.includes(this.referenceEl)) {
376
+ if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
380
377
  return;
381
378
  }
382
379
  if (this.allowCustomValues && this.text) {
@@ -391,7 +388,6 @@ let Combobox = class {
391
388
  this.updateActiveItemIndex(-1);
392
389
  }
393
390
  this.active = false;
394
- this.open = false;
395
391
  };
396
392
  this.setMenuEl = (el) => {
397
393
  this.menuEl = el;
@@ -469,18 +465,18 @@ let Combobox = class {
469
465
  this.setInactiveIfNotContained(event);
470
466
  };
471
467
  }
472
- activeHandler(newValue, oldValue) {
473
- // when closing, wait transition time then hide to prevent overscroll
474
- if (oldValue && !newValue) {
475
- this.el.addEventListener("calciteComboboxClose", this.toggleCloseEnd);
476
- this.open = false;
477
- }
478
- else if (!oldValue && newValue) {
479
- this.el.addEventListener("calciteComboboxOpen", this.toggleOpenEnd);
480
- this.open = true;
468
+ activeHandler() {
469
+ if (this.disabled) {
470
+ this.active = false;
471
+ return;
481
472
  }
482
473
  this.reposition();
483
474
  }
475
+ handleDisabledChange(value) {
476
+ if (!value) {
477
+ this.active = false;
478
+ }
479
+ }
484
480
  maxItemsHandler() {
485
481
  this.setMaxScrollerHeight();
486
482
  }
@@ -566,6 +562,7 @@ let Combobox = class {
566
562
  this.reposition();
567
563
  this.inputHeight = this.el.offsetHeight;
568
564
  }
565
+ updateHostInteraction(this);
569
566
  }
570
567
  disconnectedCallback() {
571
568
  var _a, _b;
@@ -592,7 +589,11 @@ let Combobox = class {
592
589
  flipModifier.options = {
593
590
  fallbackPlacements: ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
594
591
  };
595
- return [flipModifier];
592
+ const eventListenerModifier = {
593
+ name: "eventListeners",
594
+ enabled: this.active
595
+ };
596
+ return [flipModifier, eventListenerModifier];
596
597
  }
597
598
  createPopper() {
598
599
  this.destroyPopper();
@@ -881,13 +882,13 @@ let Combobox = class {
881
882
  return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
882
883
  }
883
884
  renderPopperContainer() {
884
- const { active, setMenuEl, setListContainerEl, hideList, open } = this;
885
+ const { active, setMenuEl, setListContainerEl } = this;
885
886
  const classes = {
886
887
  "list-container": true,
887
888
  [CSS$2.animation]: true,
888
889
  [CSS$2.animationActive]: active
889
890
  };
890
- return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": hideList } }, h("slot", null)))));
891
+ return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
891
892
  }
892
893
  renderIconStart() {
893
894
  const { selectionMode, needsIcon, selectedItems } = this;
@@ -899,17 +900,18 @@ let Combobox = class {
899
900
  return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
900
901
  }
901
902
  render() {
902
- const { guid, open, label } = this;
903
+ const { active, guid, label } = this;
903
904
  const single = this.selectionMode === "single";
904
- return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
905
+ return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": active.toString(), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
905
906
  wrapper: true,
906
907
  "wrapper--single": single || !this.selectedItems.length,
907
- "wrapper--active": open
908
+ "wrapper--active": active
908
909
  }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
909
910
  }
910
911
  get el() { return getElement(this); }
911
912
  static get watchers() { return {
912
913
  "active": ["activeHandler"],
914
+ "disabled": ["handleDisabledChange"],
913
915
  "maxItems": ["maxItemsHandler"],
914
916
  "value": ["valueHandler"],
915
917
  "selectedItems": ["selectedItemsHandler"],
@@ -931,9 +933,9 @@ const CSS$1 = {
931
933
  textContainer: "text-container"
932
934
  };
933
935
 
934
- const comboboxItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
936
+ const comboboxItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
935
937
 
936
- let ComboboxItem = class {
938
+ const ComboboxItem = class {
937
939
  constructor(hostRef) {
938
940
  registerInstance(this, hostRef);
939
941
  this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 7);
@@ -980,6 +982,9 @@ let ComboboxItem = class {
980
982
  disconnectedCallback() {
981
983
  disconnectConditionalSlotComponent(this);
982
984
  }
985
+ componentDidRender() {
986
+ updateHostInteraction(this);
987
+ }
983
988
  // --------------------------------------------------------------------------
984
989
  //
985
990
  // Public Methods
@@ -1049,7 +1054,7 @@ const CSS = {
1049
1054
 
1050
1055
  const comboboxItemGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";
1051
1056
 
1052
- let ComboboxItemGroup = class {
1057
+ const ComboboxItemGroup = class {
1053
1058
  constructor(hostRef) {
1054
1059
  registerInstance(this, hostRef);
1055
1060
  this.guid = guid();
@@ -2,17 +2,18 @@
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
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-0fefddd1.js';
6
- import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-431fa051.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-bd94948c.js';
6
+ import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-73dac782.js';
7
7
  import { a as getElementDir, C as CSS_UTILITY } from './dom-e7fa77b9.js';
8
- import { H as Heading } from './Heading-8289fa96.js';
8
+ import { u as updateHostInteraction } from './interactive-48b5cc0f.js';
9
+ import { H as Heading } from './Heading-d5f1710a.js';
9
10
  import './locale-fc850b7c.js';
10
11
  import './number-8779395f.js';
11
12
  import './guid-196bd5ea.js';
12
13
 
13
14
  const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
14
15
 
15
- let DatePicker = class {
16
+ const DatePicker = class {
16
17
  constructor(hostRef) {
17
18
  registerInstance(this, hostRef);
18
19
  this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
@@ -399,9 +400,9 @@ let DatePicker = class {
399
400
  };
400
401
  DatePicker.style = datePickerCss;
401
402
 
402
- const datePickerDayCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0px;margin-bottom:0px;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host([disabled]){cursor:default;opacity:0.25}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px}:host([selected]) .day{background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
403
+ const datePickerDayCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0px;margin-bottom:0px;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px}:host([selected]) .day{background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
403
404
 
404
- let DatePickerDay = class {
405
+ const DatePickerDay = class {
405
406
  constructor(hostRef) {
406
407
  registerInstance(this, hostRef);
407
408
  this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
@@ -455,7 +456,13 @@ let DatePickerDay = class {
455
456
  .map((i) => this.localeData.numerals[i])
456
457
  .join("");
457
458
  const dir = getElementDir(this.el);
458
- return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell", tabindex: this.active ? 0 : -1 }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
459
+ return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
460
+ }
461
+ componentDidRender() {
462
+ updateHostInteraction(this, this.isTabbable);
463
+ }
464
+ isTabbable() {
465
+ return this.active;
459
466
  }
460
467
  get el() { return getElement(this); }
461
468
  };
@@ -463,7 +470,7 @@ DatePickerDay.style = datePickerDayCss;
463
470
 
464
471
  const datePickerMonthCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);width:14.2857142857%}:host([scale=s]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-left:0px;padding-right:0px;padding-top:1rem;padding-bottom:1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0px;padding-bottom:0px;padding-left:6px;padding-right:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
465
472
 
466
- let DatePickerMonth = class {
473
+ const DatePickerMonth = class {
467
474
  constructor(hostRef) {
468
475
  registerInstance(this, hostRef);
469
476
  this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
@@ -735,7 +742,7 @@ DatePickerMonth.style = datePickerMonthCss;
735
742
 
736
743
  const datePickerMonthHeaderCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}.suffix__invisible{visibility:hidden}";
737
744
 
738
- let DatePickerMonthHeader = class {
745
+ const DatePickerMonthHeader = class {
739
746
  constructor(hostRef) {
740
747
  registerInstance(this, hostRef);
741
748
  this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
@@ -2,10 +2,11 @@
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
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0fefddd1.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-bd94948c.js';
6
6
  import { g as getSlotted, f as focusElement, d as getElementProp } from './dom-e7fa77b9.js';
7
7
  import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-ae231554.js';
8
8
  import { c as createObserver } from './observers-46118290.js';
9
+ import { u as updateHostInteraction } from './interactive-48b5cc0f.js';
9
10
  import './guid-196bd5ea.js';
10
11
 
11
12
  const DefaultDropdownPlacement = "bottom-leading";
@@ -13,9 +14,9 @@ const SLOTS = {
13
14
  dropdownTrigger: "dropdown-trigger"
14
15
  };
15
16
 
16
- const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
17
+ const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
17
18
 
18
- let Dropdown = class {
19
+ const Dropdown = class {
19
20
  constructor(hostRef) {
20
21
  registerInstance(this, hostRef);
21
22
  this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 7);
@@ -142,7 +143,16 @@ let Dropdown = class {
142
143
  };
143
144
  }
144
145
  activeHandler() {
145
- this.reposition();
146
+ if (!this.disabled) {
147
+ this.reposition();
148
+ return;
149
+ }
150
+ this.active = false;
151
+ }
152
+ handleDisabledChange(value) {
153
+ if (!value) {
154
+ this.active = false;
155
+ }
146
156
  }
147
157
  maxItemsHandler() {
148
158
  this.setMaxScrollerHeight();
@@ -164,6 +174,9 @@ let Dropdown = class {
164
174
  componentDidLoad() {
165
175
  this.reposition();
166
176
  }
177
+ componentDidRender() {
178
+ updateHostInteraction(this);
179
+ }
167
180
  disconnectedCallback() {
168
181
  var _a, _b;
169
182
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
@@ -172,7 +185,7 @@ let Dropdown = class {
172
185
  }
173
186
  render() {
174
187
  const { active } = this;
175
- return (h(Host, { tabIndex: this.disabled ? -1 : null }, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
188
+ return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
176
189
  ["calcite-dropdown-content"]: true,
177
190
  [CSS$2.animation]: true,
178
191
  [CSS$2.animationActive]: active
@@ -200,7 +213,7 @@ let Dropdown = class {
200
213
  if (!this.active || e.composedPath().includes(this.el)) {
201
214
  return;
202
215
  }
203
- this.closeCalciteDropdown();
216
+ this.closeCalciteDropdown(false);
204
217
  }
205
218
  closeCalciteDropdownOnEvent() {
206
219
  this.closeCalciteDropdown();
@@ -275,7 +288,11 @@ let Dropdown = class {
275
288
  flipModifier.options = {
276
289
  fallbackPlacements: ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
277
290
  };
278
- return [flipModifier];
291
+ const eventListenerModifier = {
292
+ name: "eventListeners",
293
+ enabled: this.active
294
+ };
295
+ return [flipModifier, eventListenerModifier];
279
296
  }
280
297
  createPopper() {
281
298
  this.destroyPopper();
@@ -324,9 +341,11 @@ let Dropdown = class {
324
341
  });
325
342
  return maxScrollerHeight;
326
343
  }
327
- closeCalciteDropdown() {
344
+ closeCalciteDropdown(focusTrigger = true) {
328
345
  this.active = false;
329
- focusElement(this.triggers[0]);
346
+ if (focusTrigger) {
347
+ focusElement(this.triggers[0]);
348
+ }
330
349
  }
331
350
  focusFirstItem() {
332
351
  const firstItem = this.items[0];
@@ -361,6 +380,7 @@ let Dropdown = class {
361
380
  get el() { return getElement(this); }
362
381
  static get watchers() { return {
363
382
  "active": ["activeHandler"],
383
+ "disabled": ["handleDisabledChange"],
364
384
  "maxItems": ["maxItemsHandler"],
365
385
  "placement": ["placementHandler"]
366
386
  }; }
@@ -375,7 +395,7 @@ const CSS$1 = {
375
395
 
376
396
  const dropdownGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";
377
397
 
378
- let DropdownGroup = class {
398
+ const DropdownGroup = class {
379
399
  constructor(hostRef) {
380
400
  registerInstance(this, hostRef);
381
401
  this.calciteDropdownItemChange = createEvent(this, "calciteDropdownItemChange", 7);
@@ -439,7 +459,7 @@ const CSS = {
439
459
 
440
460
  const dropdownItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";
441
461
 
442
- let DropdownItem = class {
462
+ const DropdownItem = class {
443
463
  constructor(hostRef) {
444
464
  registerInstance(this, hostRef);
445
465
  this.calciteDropdownItemSelect = createEvent(this, "calciteDropdownItemSelect", 7);