@esri/calcite-components 1.0.0-next.414 → 1.0.0-next.417

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 (659) 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-03c92ad2.entry.js +5 -0
  5. package/dist/calcite/{p-847fc3a4.system.entry.js → p-052ba882.system.entry.js} +1 -1
  6. package/dist/calcite/p-07f1f162.system.entry.js +5 -0
  7. package/dist/calcite/p-1263bcc0.entry.js +5 -0
  8. package/dist/calcite/p-184049cb.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-42227a04.entry.js +5 -0
  34. package/dist/calcite/p-426f011a.entry.js +5 -0
  35. package/dist/calcite/p-4570cf6c.js +5 -0
  36. package/dist/calcite/p-4696e56f.entry.js +5 -0
  37. package/dist/calcite/p-4730df46.js +5 -0
  38. package/dist/calcite/p-47d38839.entry.js +5 -0
  39. package/dist/calcite/{p-aa336fc3.system.entry.js → p-482885ae.system.entry.js} +1 -1
  40. package/dist/calcite/{p-df3775ba.system.entry.js → p-48637359.system.entry.js} +1 -1
  41. package/dist/calcite/p-496e907a.system.entry.js +5 -0
  42. package/dist/calcite/p-4aecbaef.entry.js +5 -0
  43. package/dist/calcite/p-4afb5a1b.system.entry.js +5 -0
  44. package/dist/calcite/p-4eae61c5.entry.js +5 -0
  45. package/dist/calcite/p-5394666a.entry.js +5 -0
  46. package/dist/calcite/p-54c49493.entry.js +5 -0
  47. package/dist/calcite/{p-0bd5bb31.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
  48. package/dist/calcite/{p-3543ddfe.system.entry.js → p-569150ab.system.entry.js} +1 -1
  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-a7e2bf9b.system.entry.js → p-58adb34d.system.entry.js} +1 -1
  52. package/dist/calcite/p-5a8829cd.entry.js +5 -0
  53. package/dist/calcite/p-5bb4d012.entry.js +5 -0
  54. package/dist/calcite/p-6261469d.entry.js +5 -0
  55. package/dist/calcite/p-65dbbfb5.system.js +5 -0
  56. package/dist/calcite/p-69d2d9cf.system.entry.js +5 -0
  57. package/dist/calcite/p-6ab3e489.entry.js +5 -0
  58. package/dist/calcite/p-6b7b23d0.js +5 -0
  59. package/dist/calcite/{p-a6261f6b.system.entry.js → p-6c4a7041.system.entry.js} +1 -1
  60. package/dist/calcite/p-6e0103f5.system.entry.js +5 -0
  61. package/dist/calcite/{p-579d1f1a.system.entry.js → p-6ed27595.system.entry.js} +1 -1
  62. package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
  63. package/dist/calcite/{p-2eb067c8.system.entry.js → p-7247b667.system.entry.js} +1 -1
  64. package/dist/calcite/p-7260c869.system.entry.js +5 -0
  65. package/dist/calcite/p-73d23656.entry.js +5 -0
  66. package/dist/calcite/p-7432e5ef.system.entry.js +5 -0
  67. package/dist/calcite/p-765c9bef.entry.js +5 -0
  68. package/dist/calcite/p-78bc502f.entry.js +5 -0
  69. package/dist/calcite/{p-ee88180e.system.entry.js → p-7bee4942.system.entry.js} +1 -1
  70. package/dist/calcite/{p-c0e695bd.js → p-7c88d545.js} +1 -1
  71. package/dist/calcite/p-7dfd6480.system.entry.js +5 -0
  72. package/dist/calcite/{p-fda8b94b.entry.js → p-824da4be.entry.js} +1 -1
  73. package/dist/calcite/p-867f7b7a.system.entry.js +5 -0
  74. package/dist/calcite/p-872e82a6.system.entry.js +5 -0
  75. package/dist/calcite/p-87888359.entry.js +5 -0
  76. package/dist/calcite/p-895d22f3.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-a3527241.system.entry.js +5 -0
  90. package/dist/calcite/p-a38fe099.entry.js +5 -0
  91. package/dist/calcite/{p-7d937b47.entry.js → p-a7770d75.entry.js} +1 -1
  92. package/dist/calcite/{p-f56ce7ea.js → p-a9b3ef39.js} +1 -1
  93. package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
  94. package/dist/calcite/p-aaa21a84.system.entry.js +5 -0
  95. package/dist/calcite/p-aad14a5d.system.entry.js +5 -0
  96. package/dist/calcite/p-afe59546.entry.js +5 -0
  97. package/dist/calcite/p-b10af2b4.entry.js +5 -0
  98. package/dist/calcite/p-b2493735.entry.js +5 -0
  99. package/dist/calcite/p-b3c5247b.system.entry.js +5 -0
  100. package/dist/calcite/p-b47dc903.system.entry.js +5 -0
  101. package/dist/calcite/{p-c9f280c1.system.js → p-b765d197.system.js} +1 -1
  102. package/dist/calcite/p-bccbf58a.entry.js +5 -0
  103. package/dist/calcite/{p-993a9701.system.entry.js → p-bcdc20c3.system.entry.js} +1 -1
  104. package/dist/calcite/p-bd38ff21.js +5 -0
  105. package/dist/calcite/{p-cd406e29.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
  106. package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
  107. package/dist/calcite/{p-d1060fb1.system.entry.js → p-c228a1da.system.entry.js} +1 -1
  108. package/dist/calcite/p-c2adeae4.entry.js +5 -0
  109. package/dist/calcite/p-c33f47d5.system.js +5 -0
  110. package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
  111. package/dist/calcite/{p-5d52246b.system.js → p-c51699d3.system.js} +1 -1
  112. package/dist/calcite/p-c5c42405.entry.js +5 -0
  113. package/dist/calcite/{p-a4cc864a.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
  114. package/dist/calcite/p-cafd98e8.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-da7c2542.entry.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-bcd705be.system.entry.js → p-ef17447d.system.entry.js} +1 -1
  133. package/dist/calcite/p-f09e27b0.system.js +5 -0
  134. package/dist/calcite/p-f344e163.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 +7 -3
  148. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -4
  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 +40 -36
  153. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -9
  154. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +34 -15
  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 +7 -5
  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 +12 -10
  162. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +33 -13
  163. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  164. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -6
  165. package/dist/cjs/calcite-input.cjs.entry.js +8 -4
  166. package/dist/cjs/calcite-label.cjs.entry.js +8 -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 +10 -6
  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 +10 -6
  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 +8 -4
  180. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -6
  181. package/dist/cjs/calcite-rating.cjs.entry.js +13 -7
  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 +8 -11
  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 +9 -5
  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/loader.cjs.js +3 -3
  201. package/dist/cjs/{popper-13a2bb46.js → popper-64d89ef7.js} +17 -2
  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 +54 -32
  217. package/dist/collection/components/combobox/resources.js +0 -1
  218. package/dist/collection/components/combobox-item/combobox-item.css +13 -0
  219. package/dist/collection/components/combobox-item/combobox-item.js +4 -0
  220. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  221. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
  222. package/dist/collection/components/dropdown/dropdown.css +8 -0
  223. package/dist/collection/components/dropdown/dropdown.js +56 -14
  224. package/dist/collection/components/dropdown/resources.js +0 -1
  225. package/dist/collection/components/fab/fab.css +13 -0
  226. package/dist/collection/components/fab/fab.js +9 -0
  227. package/dist/collection/components/filter/filter.css +13 -0
  228. package/dist/collection/components/filter/filter.js +11 -3
  229. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  230. package/dist/collection/components/inline-editable/inline-editable.js +9 -7
  231. package/dist/collection/components/input/input.css +8 -7
  232. package/dist/collection/components/input/input.js +4 -0
  233. package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
  234. package/dist/collection/components/input-date-picker/input-date-picker.js +50 -8
  235. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  236. package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
  237. package/dist/collection/components/label/label.css +12 -0
  238. package/dist/collection/components/label/label.js +9 -2
  239. package/dist/collection/components/link/link.css +13 -8
  240. package/dist/collection/components/link/link.js +5 -1
  241. package/dist/collection/components/list/list.css +13 -0
  242. package/dist/collection/components/list/list.js +38 -0
  243. package/dist/collection/components/list-item/list-item.css +8 -0
  244. package/dist/collection/components/list-item/list-item.js +9 -0
  245. package/dist/collection/components/panel/panel.css +13 -0
  246. package/dist/collection/components/panel/panel.js +11 -2
  247. package/dist/collection/components/pick-list/pick-list.css +13 -0
  248. package/dist/collection/components/pick-list/pick-list.js +4 -0
  249. package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
  250. package/dist/collection/components/pick-list/shared-list-render.js +2 -2
  251. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  252. package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
  253. package/dist/collection/components/popover/popover.js +5 -1
  254. package/dist/collection/components/radio-button/radio-button.css +10 -1
  255. package/dist/collection/components/radio-button/radio-button.js +4 -0
  256. package/dist/collection/components/radio-group/radio-group.css +13 -5
  257. package/dist/collection/components/radio-group/radio-group.js +5 -1
  258. package/dist/collection/components/rating/rating.css +13 -5
  259. package/dist/collection/components/rating/rating.js +9 -3
  260. package/dist/collection/components/select/select.css +13 -7
  261. package/dist/collection/components/select/select.js +4 -0
  262. package/dist/collection/components/slider/slider.css +8 -0
  263. package/dist/collection/components/slider/slider.js +2 -0
  264. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  265. package/dist/collection/components/sortable-list/sortable-list.js +4 -0
  266. package/dist/collection/components/split-button/split-button.css +12 -0
  267. package/dist/collection/components/split-button/split-button.js +29 -3
  268. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  269. package/dist/collection/components/stepper-item/stepper-item.js +6 -2
  270. package/dist/collection/components/switch/switch.css +7 -0
  271. package/dist/collection/components/switch/switch.js +5 -13
  272. package/dist/collection/components/tab-title/tab-title.css +9 -0
  273. package/dist/collection/components/tab-title/tab-title.js +6 -3
  274. package/dist/collection/components/tile/tile.css +17 -1
  275. package/dist/collection/components/tile/tile.js +4 -0
  276. package/dist/collection/components/tile-select/tile-select.css +9 -1
  277. package/dist/collection/components/tile-select/tile-select.js +4 -0
  278. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  279. package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
  280. package/dist/collection/components/tooltip/tooltip.js +5 -1
  281. package/dist/collection/components/value-list/value-list.css +13 -0
  282. package/dist/collection/components/value-list/value-list.js +6 -5
  283. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  284. package/dist/collection/components/value-list-item/value-list-item.js +5 -1
  285. package/dist/collection/utils/interactive.js +42 -0
  286. package/dist/collection/utils/popper.js +66 -0
  287. package/dist/components/action-group.js +3 -4
  288. package/dist/components/action-menu.js +3 -4
  289. package/dist/components/action.js +8 -5
  290. package/dist/components/button.js +8 -5
  291. package/dist/components/calcite-accordion-item.js +3 -4
  292. package/dist/components/calcite-accordion.js +3 -4
  293. package/dist/components/calcite-action-bar.js +3 -4
  294. package/dist/components/calcite-action-pad.js +3 -4
  295. package/dist/components/calcite-alert.js +3 -4
  296. package/dist/components/calcite-avatar.js +3 -4
  297. package/dist/components/calcite-block-section.js +3 -4
  298. package/dist/components/calcite-block.js +17 -9
  299. package/dist/components/calcite-card.js +3 -4
  300. package/dist/components/calcite-color-picker.js +19 -6
  301. package/dist/components/calcite-combobox-item-group.js +4 -5
  302. package/dist/components/calcite-combobox-item.js +9 -6
  303. package/dist/components/calcite-combobox.js +35 -35
  304. package/dist/components/calcite-dropdown-group.js +3 -4
  305. package/dist/components/calcite-dropdown-item.js +3 -4
  306. package/dist/components/calcite-fab.js +13 -5
  307. package/dist/components/calcite-flow.js +3 -4
  308. package/dist/components/calcite-inline-editable.js +13 -12
  309. package/dist/components/calcite-input-date-picker.js +33 -13
  310. package/dist/components/calcite-input-message.js +3 -4
  311. package/dist/components/calcite-input-time-picker.js +21 -6
  312. package/dist/components/calcite-list-item-group.js +3 -4
  313. package/dist/components/calcite-list-item.js +13 -5
  314. package/dist/components/calcite-list.js +23 -5
  315. package/dist/components/calcite-modal.js +3 -4
  316. package/dist/components/calcite-notice.js +3 -4
  317. package/dist/components/calcite-option-group.js +3 -4
  318. package/dist/components/calcite-option.js +3 -4
  319. package/dist/components/calcite-pagination.js +3 -4
  320. package/dist/components/calcite-panel.js +15 -7
  321. package/dist/components/calcite-pick-list-group.js +3 -4
  322. package/dist/components/calcite-pick-list.js +8 -5
  323. package/dist/components/calcite-popover-manager.js +3 -4
  324. package/dist/components/calcite-radio-button-group.js +3 -4
  325. package/dist/components/calcite-radio-button.js +8 -5
  326. package/dist/components/calcite-radio-group-item.js +3 -4
  327. package/dist/components/calcite-radio-group.js +9 -6
  328. package/dist/components/calcite-rating.js +13 -8
  329. package/dist/components/calcite-select.js +8 -5
  330. package/dist/components/calcite-shell-center-row.js +3 -4
  331. package/dist/components/calcite-shell-panel.js +3 -4
  332. package/dist/components/calcite-shell.js +3 -4
  333. package/dist/components/calcite-slider.js +6 -5
  334. package/dist/components/calcite-sortable-list.js +8 -5
  335. package/dist/components/calcite-split-button.js +29 -7
  336. package/dist/components/calcite-stepper-item.js +10 -7
  337. package/dist/components/calcite-stepper.js +3 -4
  338. package/dist/components/calcite-tile-select-group.js +17 -5
  339. package/dist/components/calcite-tile-select.js +8 -5
  340. package/dist/components/calcite-tip-group.js +3 -4
  341. package/dist/components/calcite-tip-manager.js +3 -4
  342. package/dist/components/calcite-tip.js +3 -4
  343. package/dist/components/calcite-tooltip.js +8 -5
  344. package/dist/components/calcite-tree-item.js +3 -4
  345. package/dist/components/calcite-tree.js +3 -4
  346. package/dist/components/calcite-value-list-item.js +8 -5
  347. package/dist/components/calcite-value-list.js +10 -10
  348. package/dist/components/checkbox.js +8 -5
  349. package/dist/components/chip.js +3 -4
  350. package/dist/components/color-picker-hex-input.js +3 -4
  351. package/dist/components/color-picker-swatch.js +3 -4
  352. package/dist/components/date-picker-day.js +12 -6
  353. package/dist/components/date-picker-month-header.js +3 -4
  354. package/dist/components/date-picker-month.js +3 -4
  355. package/dist/components/date-picker.js +3 -4
  356. package/dist/components/dropdown.js +34 -15
  357. package/dist/components/filter.js +21 -25
  358. package/dist/components/graph.js +3 -4
  359. package/dist/components/handle.js +3 -4
  360. package/dist/components/icon.js +3 -4
  361. package/dist/components/input.js +8 -5
  362. package/dist/components/interactive.js +42 -0
  363. package/dist/components/label2.js +9 -6
  364. package/dist/components/link.js +9 -6
  365. package/dist/components/loader.js +3 -4
  366. package/dist/components/pick-list-item.js +8 -8
  367. package/dist/components/popover.js +8 -5
  368. package/dist/components/popper.js +16 -3
  369. package/dist/components/progress.js +3 -4
  370. package/dist/components/scrim.js +3 -4
  371. package/dist/components/shared-list-render.js +33 -9
  372. package/dist/components/switch.js +8 -13
  373. package/dist/components/tab-nav.js +3 -4
  374. package/dist/components/tab-title.js +9 -7
  375. package/dist/components/tab.js +3 -4
  376. package/dist/components/tabs.js +3 -4
  377. package/dist/components/tile.js +8 -5
  378. package/dist/components/time-picker.js +3 -4
  379. package/dist/components/tooltip-manager.js +3 -4
  380. package/dist/components/utils2.js +1 -2
  381. package/dist/custom-elements/index.js +529 -232
  382. package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
  383. package/dist/esm/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
  384. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  385. package/dist/esm/calcite-action-bar.entry.js +4 -4
  386. package/dist/esm/calcite-action-group.entry.js +3 -3
  387. package/dist/esm/calcite-action-menu.entry.js +3 -3
  388. package/dist/esm/calcite-action-pad.entry.js +4 -4
  389. package/dist/esm/calcite-action.entry.js +7 -3
  390. package/dist/esm/calcite-alert.entry.js +2 -2
  391. package/dist/esm/calcite-avatar.entry.js +2 -2
  392. package/dist/esm/calcite-block_2.entry.js +19 -10
  393. package/dist/esm/calcite-button.entry.js +7 -3
  394. package/dist/esm/calcite-card.entry.js +3 -3
  395. package/dist/esm/calcite-checkbox.entry.js +8 -4
  396. package/dist/esm/calcite-chip.entry.js +3 -3
  397. package/dist/esm/calcite-color-picker_3.entry.js +19 -6
  398. package/dist/esm/calcite-combobox_3.entry.js +40 -36
  399. package/dist/esm/calcite-date-picker_4.entry.js +16 -9
  400. package/dist/esm/calcite-dropdown_3.entry.js +34 -15
  401. package/dist/esm/calcite-fab.entry.js +12 -3
  402. package/dist/esm/calcite-filter.entry.js +14 -5
  403. package/dist/esm/calcite-flow.entry.js +2 -2
  404. package/dist/esm/calcite-graph_2.entry.js +7 -5
  405. package/dist/esm/calcite-handle.entry.js +2 -2
  406. package/dist/esm/calcite-icon.entry.js +2 -2
  407. package/dist/esm/calcite-inline-editable.entry.js +12 -10
  408. package/dist/esm/calcite-input-date-picker.entry.js +33 -13
  409. package/dist/esm/calcite-input-message.entry.js +2 -2
  410. package/dist/esm/calcite-input-time-picker_2.entry.js +22 -6
  411. package/dist/esm/calcite-input.entry.js +8 -4
  412. package/dist/esm/calcite-label.entry.js +8 -4
  413. package/dist/esm/calcite-link.entry.js +8 -4
  414. package/dist/esm/calcite-list_3.entry.js +34 -8
  415. package/dist/esm/calcite-loader.entry.js +2 -2
  416. package/dist/esm/calcite-modal.entry.js +3 -3
  417. package/dist/esm/calcite-notice.entry.js +3 -3
  418. package/dist/esm/calcite-option_3.entry.js +10 -6
  419. package/dist/esm/calcite-pagination.entry.js +2 -2
  420. package/dist/esm/calcite-panel.entry.js +16 -7
  421. package/dist/esm/calcite-pick-list_3.entry.js +16 -12
  422. package/dist/esm/calcite-popover_2.entry.js +10 -6
  423. package/dist/esm/calcite-progress.entry.js +2 -2
  424. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  425. package/dist/esm/calcite-radio-button.entry.js +8 -4
  426. package/dist/esm/calcite-radio-group_2.entry.js +10 -6
  427. package/dist/esm/calcite-rating.entry.js +13 -7
  428. package/dist/esm/calcite-scrim.entry.js +2 -2
  429. package/dist/esm/calcite-shell_3.entry.js +5 -5
  430. package/dist/esm/calcite-sortable-list.entry.js +7 -3
  431. package/dist/esm/calcite-split-button.entry.js +27 -4
  432. package/dist/esm/calcite-stepper_2.entry.js +9 -5
  433. package/dist/esm/calcite-switch.entry.js +8 -11
  434. package/dist/esm/calcite-tab_4.entry.js +11 -8
  435. package/dist/esm/calcite-tile-select_2.entry.js +20 -5
  436. package/dist/esm/calcite-tile.entry.js +8 -4
  437. package/dist/esm/calcite-tip_3.entry.js +6 -6
  438. package/dist/esm/calcite-tooltip_2.entry.js +9 -5
  439. package/dist/esm/calcite-tree_2.entry.js +4 -4
  440. package/dist/esm/calcite-value-list_2.entry.js +16 -11
  441. package/dist/esm/calcite.js +3 -3
  442. package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
  443. package/dist/esm/{form-d07b2414.js → form-5e4609eb.js} +1 -1
  444. package/dist/esm/{index-0fefddd1.js → index-bd94948c.js} +4 -1
  445. package/dist/esm/interactive-48b5cc0f.js +42 -0
  446. package/dist/esm/loader.js +3 -3
  447. package/dist/esm/{popper-ae231554.js → popper-da45ec93.js} +16 -3
  448. package/dist/esm/{resources-431fa051.js → resources-73dac782.js} +1 -1
  449. package/dist/esm/{resources-999109fa.js → resources-cbfcf4a3.js} +34 -10
  450. package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
  451. package/dist/esm-es5/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
  452. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  453. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  454. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  455. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  456. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  457. package/dist/esm-es5/calcite-action.entry.js +1 -1
  458. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  459. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  460. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  461. package/dist/esm-es5/calcite-button.entry.js +1 -1
  462. package/dist/esm-es5/calcite-card.entry.js +1 -1
  463. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  464. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  465. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  466. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  467. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  468. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  469. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  470. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  471. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  472. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  473. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  474. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  475. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  476. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  477. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  478. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  479. package/dist/esm-es5/calcite-input.entry.js +1 -1
  480. package/dist/esm-es5/calcite-label.entry.js +1 -1
  481. package/dist/esm-es5/calcite-link.entry.js +2 -2
  482. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  483. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  484. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  485. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  486. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  487. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  488. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  489. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  490. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  491. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  492. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  493. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  494. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  495. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  496. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  497. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  498. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  499. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  500. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  501. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  502. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  503. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  504. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  505. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  506. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  507. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  508. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  509. package/dist/esm-es5/calcite.js +1 -1
  510. package/dist/esm-es5/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
  511. package/dist/esm-es5/{form-d07b2414.js → form-5e4609eb.js} +1 -1
  512. package/dist/esm-es5/{index-0fefddd1.js → index-bd94948c.js} +1 -1
  513. package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
  514. package/dist/esm-es5/loader.js +1 -1
  515. package/dist/esm-es5/popper-da45ec93.js +5 -0
  516. package/dist/esm-es5/{resources-431fa051.js → resources-73dac782.js} +2 -2
  517. package/dist/esm-es5/resources-cbfcf4a3.js +5 -0
  518. package/dist/extras/docs-json.json +115 -24
  519. package/dist/types/components/action/action.d.ts +3 -1
  520. package/dist/types/components/block/block.d.ts +3 -1
  521. package/dist/types/components/button/button.d.ts +3 -1
  522. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  523. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  524. package/dist/types/components/combobox/combobox.d.ts +9 -5
  525. package/dist/types/components/combobox/resources.d.ts +0 -1
  526. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  527. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  528. package/dist/types/components/dropdown/dropdown.d.ts +11 -4
  529. package/dist/types/components/dropdown/interfaces.d.ts +0 -2
  530. package/dist/types/components/dropdown/resources.d.ts +0 -1
  531. package/dist/types/components/fab/fab.d.ts +3 -1
  532. package/dist/types/components/filter/filter.d.ts +3 -1
  533. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  534. package/dist/types/components/input/input.d.ts +3 -1
  535. package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -2
  536. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
  537. package/dist/types/components/label/label.d.ts +5 -1
  538. package/dist/types/components/link/link.d.ts +3 -1
  539. package/dist/types/components/list/list.d.ts +7 -1
  540. package/dist/types/components/list-item/list-item.d.ts +3 -1
  541. package/dist/types/components/panel/panel.d.ts +3 -1
  542. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  543. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  544. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  545. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  546. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  547. package/dist/types/components/rating/rating.d.ts +3 -1
  548. package/dist/types/components/select/select.d.ts +3 -1
  549. package/dist/types/components/slider/slider.d.ts +2 -1
  550. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  551. package/dist/types/components/split-button/split-button.d.ts +5 -1
  552. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  553. package/dist/types/components/switch/switch.d.ts +3 -4
  554. package/dist/types/components/tab-title/tab-title.d.ts +3 -1
  555. package/dist/types/components/tile/tile.d.ts +3 -1
  556. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  557. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  558. package/dist/types/components/value-list/value-list.d.ts +3 -1
  559. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  560. package/dist/types/components.d.ts +56 -6
  561. package/dist/types/utils/interactive.d.ts +28 -0
  562. package/dist/types/utils/popper.d.ts +8 -1
  563. package/hydrate/index.js +446 -144
  564. package/package.json +9 -9
  565. package/dist/calcite/p-02b4bcec.entry.js +0 -5
  566. package/dist/calcite/p-02cc50b9.entry.js +0 -5
  567. package/dist/calcite/p-0aee798e.entry.js +0 -5
  568. package/dist/calcite/p-0d09d73b.system.entry.js +0 -5
  569. package/dist/calcite/p-11413626.system.entry.js +0 -5
  570. package/dist/calcite/p-125c9edc.entry.js +0 -5
  571. package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
  572. package/dist/calcite/p-1370cabf.entry.js +0 -5
  573. package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
  574. package/dist/calcite/p-1c1ad353.system.entry.js +0 -5
  575. package/dist/calcite/p-236b8f2e.system.entry.js +0 -5
  576. package/dist/calcite/p-26bcdb22.entry.js +0 -5
  577. package/dist/calcite/p-2c293ed2.entry.js +0 -5
  578. package/dist/calcite/p-322195bf.system.entry.js +0 -5
  579. package/dist/calcite/p-35461165.system.entry.js +0 -5
  580. package/dist/calcite/p-362522e5.js +0 -5
  581. package/dist/calcite/p-38c5a816.system.entry.js +0 -5
  582. package/dist/calcite/p-3e522dbe.entry.js +0 -5
  583. package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
  584. package/dist/calcite/p-44dcac16.entry.js +0 -5
  585. package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
  586. package/dist/calcite/p-5079ec88.entry.js +0 -5
  587. package/dist/calcite/p-514f6d94.system.entry.js +0 -5
  588. package/dist/calcite/p-55fa7908.entry.js +0 -5
  589. package/dist/calcite/p-563bce5c.entry.js +0 -5
  590. package/dist/calcite/p-57186636.system.entry.js +0 -5
  591. package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
  592. package/dist/calcite/p-5c425028.entry.js +0 -5
  593. package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
  594. package/dist/calcite/p-633a2c7f.entry.js +0 -5
  595. package/dist/calcite/p-640a1577.system.entry.js +0 -5
  596. package/dist/calcite/p-673a3cd9.entry.js +0 -5
  597. package/dist/calcite/p-6a3357f9.system.js +0 -5
  598. package/dist/calcite/p-71d1bfb2.entry.js +0 -5
  599. package/dist/calcite/p-743597e4.entry.js +0 -5
  600. package/dist/calcite/p-74b8f15f.entry.js +0 -5
  601. package/dist/calcite/p-77564c0d.entry.js +0 -5
  602. package/dist/calcite/p-793659d0.entry.js +0 -5
  603. package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
  604. package/dist/calcite/p-7ccf6273.entry.js +0 -5
  605. package/dist/calcite/p-7d9f20b8.entry.js +0 -5
  606. package/dist/calcite/p-7dfe915f.entry.js +0 -5
  607. package/dist/calcite/p-802a05a2.entry.js +0 -5
  608. package/dist/calcite/p-8046175f.entry.js +0 -5
  609. package/dist/calcite/p-80ab216e.entry.js +0 -5
  610. package/dist/calcite/p-818b3ac7.entry.js +0 -5
  611. package/dist/calcite/p-81a3de30.system.entry.js +0 -5
  612. package/dist/calcite/p-82c142d8.entry.js +0 -5
  613. package/dist/calcite/p-84f8db8e.entry.js +0 -5
  614. package/dist/calcite/p-8683663f.entry.js +0 -5
  615. package/dist/calcite/p-8c59090d.entry.js +0 -5
  616. package/dist/calcite/p-8f93be14.system.js +0 -5
  617. package/dist/calcite/p-91b23d79.system.entry.js +0 -5
  618. package/dist/calcite/p-949a2fcd.entry.js +0 -5
  619. package/dist/calcite/p-99da584e.system.entry.js +0 -5
  620. package/dist/calcite/p-9c86f528.entry.js +0 -5
  621. package/dist/calcite/p-9d102b23.system.entry.js +0 -5
  622. package/dist/calcite/p-a0ffad45.entry.js +0 -5
  623. package/dist/calcite/p-a5397c9d.entry.js +0 -5
  624. package/dist/calcite/p-a5e8d728.entry.js +0 -5
  625. package/dist/calcite/p-a6686c30.system.entry.js +0 -5
  626. package/dist/calcite/p-ad7fbabd.entry.js +0 -5
  627. package/dist/calcite/p-adfa48bc.entry.js +0 -5
  628. package/dist/calcite/p-b03b03d5.entry.js +0 -5
  629. package/dist/calcite/p-b55643f5.entry.js +0 -5
  630. package/dist/calcite/p-b58cdaca.entry.js +0 -5
  631. package/dist/calcite/p-b85064fc.entry.js +0 -5
  632. package/dist/calcite/p-b88fa028.system.entry.js +0 -5
  633. package/dist/calcite/p-b8ce64ec.entry.js +0 -5
  634. package/dist/calcite/p-badc48d2.entry.js +0 -5
  635. package/dist/calcite/p-bfaed65e.entry.js +0 -5
  636. package/dist/calcite/p-c1018bb4.system.entry.js +0 -5
  637. package/dist/calcite/p-cc894f09.entry.js +0 -5
  638. package/dist/calcite/p-cfe2e6ee.system.entry.js +0 -5
  639. package/dist/calcite/p-d08d1450.entry.js +0 -5
  640. package/dist/calcite/p-d2a1cbbf.entry.js +0 -5
  641. package/dist/calcite/p-d359def7.system.entry.js +0 -5
  642. package/dist/calcite/p-d44165c7.entry.js +0 -5
  643. package/dist/calcite/p-d648a677.entry.js +0 -5
  644. package/dist/calcite/p-dcf17450.system.entry.js +0 -5
  645. package/dist/calcite/p-de562f92.system.js +0 -5
  646. package/dist/calcite/p-e2047621.system.js +0 -5
  647. package/dist/calcite/p-e23de208.entry.js +0 -5
  648. package/dist/calcite/p-e9460f3c.js +0 -5
  649. package/dist/calcite/p-eeb91710.js +0 -5
  650. package/dist/calcite/p-efb21590.system.entry.js +0 -5
  651. package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
  652. package/dist/calcite/p-f542ba26.entry.js +0 -5
  653. package/dist/calcite/p-f681fbba.entry.js +0 -5
  654. package/dist/calcite/p-f6d994ff.entry.js +0 -5
  655. package/dist/calcite/p-f9d1a58e.entry.js +0 -5
  656. package/dist/calcite/p-fbbf933d.system.entry.js +0 -5
  657. package/dist/calcite/p-fc11382c.system.entry.js +0 -5
  658. package/dist/esm-es5/popper-ae231554.js +0 -5
  659. package/dist/esm-es5/resources-999109fa.js +0 -5
@@ -8,8 +8,8 @@ import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDa
8
8
  import { TEXT } from "../date-picker/resources";
9
9
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
10
10
  import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
11
- import { createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
12
- const DEFAULT_PLACEMENT = "bottom-leading";
11
+ import { createPopper, updatePopper, CSS as PopperCSS, popperMenuFlipPlacements, defaultMenuPlacement } from "../../utils/popper";
12
+ import { updateHostInteraction } from "../../utils/interactive";
13
13
  export class InputDatePicker {
14
14
  constructor() {
15
15
  //--------------------------------------------------------------------------
@@ -130,6 +130,11 @@ export class InputDatePicker {
130
130
  }
131
131
  };
132
132
  }
133
+ handleDisabledChange(value) {
134
+ if (!value) {
135
+ this.active = false;
136
+ }
137
+ }
133
138
  valueHandler(value) {
134
139
  if (Array.isArray(value)) {
135
140
  this.valueAsDate = value.map((v) => dateFromISO(v));
@@ -154,7 +159,11 @@ export class InputDatePicker {
154
159
  this.maxAsDate = dateFromISO(max);
155
160
  }
156
161
  activeHandler() {
157
- this.reposition();
162
+ if (!this.disabled) {
163
+ this.reposition();
164
+ return;
165
+ }
166
+ this.active = false;
158
167
  }
159
168
  //--------------------------------------------------------------------------
160
169
  //
@@ -188,7 +197,7 @@ export class InputDatePicker {
188
197
  ? await updatePopper({
189
198
  el: menuEl,
190
199
  modifiers,
191
- placement: DEFAULT_PLACEMENT,
200
+ placement: defaultMenuPlacement,
192
201
  popper
193
202
  })
194
203
  : this.createPopper();
@@ -235,6 +244,9 @@ export class InputDatePicker {
235
244
  disconnectLabel(this);
236
245
  disconnectForm(this);
237
246
  }
247
+ componentDidRender() {
248
+ updateHostInteraction(this);
249
+ }
238
250
  render() {
239
251
  var _a, _b;
240
252
  const { disabled } = this;
@@ -248,7 +260,10 @@ export class InputDatePicker {
248
260
  this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", role: "application" },
249
261
  h("div", { class: "input-wrapper", ref: this.setStartWrapper },
250
262
  h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })),
251
- h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl },
263
+ h("div", { "aria-hidden": (!this.active).toString(), class: {
264
+ "menu-container": true,
265
+ "menu-container--active": this.active
266
+ }, ref: this.setMenuEl },
252
267
  h("div", { class: {
253
268
  ["calendar-picker-wrapper"]: true,
254
269
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
@@ -289,9 +304,13 @@ export class InputDatePicker {
289
304
  enabled: true
290
305
  };
291
306
  flipModifier.options = {
292
- fallbackPlacements: ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
307
+ fallbackPlacements: this.flipPlacements || popperMenuFlipPlacements
308
+ };
309
+ const eventListenerModifier = {
310
+ name: "eventListeners",
311
+ enabled: this.active
293
312
  };
294
- return [flipModifier];
313
+ return [flipModifier, eventListenerModifier];
295
314
  }
296
315
  createPopper() {
297
316
  this.destroyPopper();
@@ -304,7 +323,7 @@ export class InputDatePicker {
304
323
  el: menuEl,
305
324
  modifiers,
306
325
  overlayPositioning,
307
- placement: DEFAULT_PLACEMENT,
326
+ placement: defaultMenuPlacement,
308
327
  referenceEl
309
328
  });
310
329
  }
@@ -488,6 +507,26 @@ export class InputDatePicker {
488
507
  "attribute": "value",
489
508
  "reflect": false
490
509
  },
510
+ "flipPlacements": {
511
+ "type": "unknown",
512
+ "mutable": false,
513
+ "complexType": {
514
+ "original": "ComputedPlacement[]",
515
+ "resolved": "ComputedPlacement[]",
516
+ "references": {
517
+ "ComputedPlacement": {
518
+ "location": "import",
519
+ "path": "../../utils/popper"
520
+ }
521
+ }
522
+ },
523
+ "required": false,
524
+ "optional": true,
525
+ "docs": {
526
+ "tags": [],
527
+ "text": "Defines the available placements that can be used when a flip occurs."
528
+ }
529
+ },
491
530
  "headingLevel": {
492
531
  "type": "number",
493
532
  "mutable": false,
@@ -1058,6 +1097,9 @@ export class InputDatePicker {
1058
1097
  }; }
1059
1098
  static get elementRef() { return "el"; }
1060
1099
  static get watchers() { return [{
1100
+ "propName": "disabled",
1101
+ "methodName": "handleDisabledChange"
1102
+ }, {
1061
1103
  "propName": "value",
1062
1104
  "methodName": "valueHandler"
1063
1105
  }, {
@@ -84,6 +84,19 @@
84
84
  user-select: none;
85
85
  }
86
86
 
87
+ :host([disabled]) {
88
+ pointer-events: none;
89
+ cursor: default;
90
+ -webkit-user-select: none;
91
+ user-select: none;
92
+ opacity: var(--calcite-ui-opacity-disabled);
93
+ }
94
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
95
+ :host([disabled]) [calcite-hydrated][disabled] {
96
+ /* prevent opacity stacking */
97
+ opacity: 1;
98
+ }
99
+
87
100
  ::slotted(input[slot=hidden-form-input]) {
88
101
  bottom: 0 !important;
89
102
  left: 0 !important;
@@ -7,6 +7,7 @@ import { guid } from "../../utils/guid";
7
7
  import { formatTimeString, isValidTime, localizeTimeString } from "../../utils/time";
8
8
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
9
9
  import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
10
+ import { updateHostInteraction } from "../../utils/interactive";
10
11
  export class InputTimePicker {
11
12
  constructor() {
12
13
  //--------------------------------------------------------------------------
@@ -115,6 +116,16 @@ export class InputTimePicker {
115
116
  }
116
117
  };
117
118
  }
119
+ activeHandler() {
120
+ if (this.disabled) {
121
+ this.active = false;
122
+ }
123
+ }
124
+ handleDisabledChange(value) {
125
+ if (!value) {
126
+ this.active = false;
127
+ }
128
+ }
118
129
  localeWatcher(newLocale) {
119
130
  this.setInputValue(localizeTimeString(this.value, newLocale, this.shouldIncludeSeconds()));
120
131
  }
@@ -184,6 +195,9 @@ export class InputTimePicker {
184
195
  disconnectLabel(this);
185
196
  disconnectForm(this);
186
197
  }
198
+ componentDidRender() {
199
+ updateHostInteraction(this);
200
+ }
187
201
  // --------------------------------------------------------------------------
188
202
  //
189
203
  // Render Methods
@@ -194,7 +208,7 @@ export class InputTimePicker {
194
208
  return (h(Host, null,
195
209
  h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" },
196
210
  h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })),
197
- h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId },
211
+ h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, referenceElement: this.referenceElementId },
198
212
  h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })),
199
213
  h(HiddenFormInputSlot, { component: this })));
200
214
  }
@@ -605,6 +619,12 @@ export class InputTimePicker {
605
619
  }; }
606
620
  static get elementRef() { return "el"; }
607
621
  static get watchers() { return [{
622
+ "propName": "active",
623
+ "methodName": "activeHandler"
624
+ }, {
625
+ "propName": "disabled",
626
+ "methodName": "handleDisabledChange"
627
+ }, {
608
628
  "propName": "locale",
609
629
  "methodName": "localeWatcher"
610
630
  }, {
@@ -142,6 +142,13 @@
142
142
  justify-content: space-between;
143
143
  }
144
144
 
145
+ :host([disabled]) {
146
+ pointer-events: none;
147
+ cursor: default;
148
+ -webkit-user-select: none;
149
+ user-select: none;
150
+ opacity: var(--calcite-ui-opacity-disabled);
151
+ }
145
152
  :host([disabled]) > .container {
146
153
  pointer-events: none;
147
154
  opacity: var(--calcite-ui-opacity-disabled);
@@ -155,6 +162,11 @@
155
162
  :host([disabled]) ::slotted(calcite-input-message:not([active])) {
156
163
  --tw-bg-opacity: 0;
157
164
  }
165
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
166
+ :host([disabled]) [calcite-hydrated][disabled] {
167
+ /* prevent opacity stacking */
168
+ opacity: 1;
169
+ }
158
170
 
159
171
  :host([disable-spacing]) .container {
160
172
  margin: 0px;
@@ -28,7 +28,11 @@ export class Label {
28
28
  this.layout = "default";
29
29
  /** eliminates any space around the label */
30
30
  this.disableSpacing = false;
31
- /** is the label disabled */
31
+ /**
32
+ * is the label disabled
33
+ *
34
+ * @deprecated use the `disabled` property on the interactive components instead
35
+ */
32
36
  this.disabled = false;
33
37
  //--------------------------------------------------------------------------
34
38
  //
@@ -202,7 +206,10 @@ export class Label {
202
206
  "required": false,
203
207
  "optional": false,
204
208
  "docs": {
205
- "tags": [],
209
+ "tags": [{
210
+ "name": "deprecated",
211
+ "text": "use the `disabled` property on the interactive components instead"
212
+ }],
206
213
  "text": "is the label disabled"
207
214
  },
208
215
  "attribute": "disabled",
@@ -131,14 +131,6 @@ calcite-icon {
131
131
  margin-top: 0.125rem;
132
132
  }
133
133
 
134
- :host([disabled]) {
135
- pointer-events: none;
136
- }
137
- :host([disabled]) span, :host([disabled]) a {
138
- pointer-events: none;
139
- opacity: var(--calcite-ui-opacity-disabled);
140
- }
141
-
142
134
  :host .calcite-link--icon.icon-start {
143
135
  margin-inline-end: 0.5rem;
144
136
  }
@@ -177,4 +169,17 @@ calcite-icon {
177
169
  :host span.calcite--rtl,
178
170
  :host a.calcite--rtl {
179
171
  background-position: 100% 100%, 100% 100%;
172
+ }
173
+
174
+ :host([disabled]) {
175
+ pointer-events: none;
176
+ cursor: default;
177
+ -webkit-user-select: none;
178
+ user-select: none;
179
+ opacity: var(--calcite-ui-opacity-disabled);
180
+ }
181
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
182
+ :host([disabled]) [calcite-hydrated][disabled] {
183
+ /* prevent opacity stacking */
184
+ opacity: 1;
180
185
  }
@@ -5,6 +5,7 @@
5
5
  import { Component, Element, h, Host, Method, Prop } from "@stencil/core";
6
6
  import { focusElement, getElementDir } from "../../utils/dom";
7
7
  import { CSS_UTILITY } from "../../utils/resources";
8
+ import { updateHostInteraction } from "../../utils/interactive";
8
9
  /** Any attributes placed on <calcite-link> component will propagate to the rendered child */
9
10
  /** Passing a 'href' will render an anchor link, instead of a span. Role will be set to link, or link, depending on this. */
10
11
  /** It is the consumers responsibility to add aria information, rel, target, for links, and any link attributes for form submission */
@@ -37,6 +38,9 @@ export class Link {
37
38
  // Lifecycle
38
39
  //
39
40
  //--------------------------------------------------------------------------
41
+ componentDidRender() {
42
+ updateHostInteraction(this);
43
+ }
40
44
  render() {
41
45
  const { download, el } = this;
42
46
  const dir = getElementDir(el);
@@ -45,7 +49,7 @@ export class Link {
45
49
  const iconEndEl = (h("calcite-icon", { class: "calcite-link--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
46
50
  const Tag = childElType;
47
51
  const role = childElType === "span" ? "link" : null;
48
- const tabIndex = this.disabled ? -1 : childElType === "span" ? 0 : null;
52
+ const tabIndex = childElType === "span" ? 0 : null;
49
53
  return (h(Host, { role: "presentation" },
50
54
  h(Tag, { class: { [CSS_UTILITY.rtl]: dir === "rtl" },
51
55
  /*
@@ -82,6 +82,19 @@
82
82
  display: block;
83
83
  }
84
84
 
85
+ :host([disabled]) {
86
+ pointer-events: none;
87
+ cursor: default;
88
+ -webkit-user-select: none;
89
+ user-select: none;
90
+ opacity: var(--calcite-ui-opacity-disabled);
91
+ }
92
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
93
+ :host([disabled]) [calcite-hydrated][disabled] {
94
+ /* prevent opacity stacking */
95
+ opacity: 1;
96
+ }
97
+
85
98
  .container {
86
99
  box-sizing: border-box;
87
100
  display: flex;
@@ -4,11 +4,31 @@
4
4
  */
5
5
  import { Component, Element, h, Host, Prop, Method } from "@stencil/core";
6
6
  import { CSS } from "./resources";
7
+ import { updateHostInteraction } from "../../utils/interactive";
7
8
  /**
8
9
  * A general purpose list that enables users to construct list items that conform to Calcite styling.
9
10
  * @slot - A slot for adding `calcite-list-item` elements.
10
11
  */
11
12
  export class List {
13
+ constructor() {
14
+ // --------------------------------------------------------------------------
15
+ //
16
+ // Properties
17
+ //
18
+ // --------------------------------------------------------------------------
19
+ /**
20
+ * When true, disabled prevents user interaction.
21
+ */
22
+ this.disabled = false;
23
+ }
24
+ //--------------------------------------------------------------------------
25
+ //
26
+ // Lifecycle
27
+ //
28
+ //--------------------------------------------------------------------------
29
+ componentDidRender() {
30
+ updateHostInteraction(this);
31
+ }
12
32
  // --------------------------------------------------------------------------
13
33
  //
14
34
  // Public Methods
@@ -38,6 +58,24 @@ export class List {
38
58
  "$": ["list.css"]
39
59
  }; }
40
60
  static get properties() { return {
61
+ "disabled": {
62
+ "type": "boolean",
63
+ "mutable": false,
64
+ "complexType": {
65
+ "original": "boolean",
66
+ "resolved": "boolean",
67
+ "references": {}
68
+ },
69
+ "required": false,
70
+ "optional": false,
71
+ "docs": {
72
+ "tags": [],
73
+ "text": "When true, disabled prevents user interaction."
74
+ },
75
+ "attribute": "disabled",
76
+ "reflect": true,
77
+ "defaultValue": "false"
78
+ },
41
79
  "headingLevel": {
42
80
  "type": "number",
43
81
  "mutable": false,
@@ -86,6 +86,14 @@
86
86
  :host([disabled]) {
87
87
  pointer-events: none;
88
88
  cursor: default;
89
+ -webkit-user-select: none;
90
+ user-select: none;
91
+ opacity: var(--calcite-ui-opacity-disabled);
92
+ }
93
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
94
+ :host([disabled]) [calcite-hydrated][disabled] {
95
+ /* prevent opacity stacking */
96
+ opacity: 1;
89
97
  }
90
98
 
91
99
  .container {
@@ -6,6 +6,7 @@ import { Component, Element, Prop, h, Host, Method } from "@stencil/core";
6
6
  import { SLOTS, CSS } from "./resources";
7
7
  import { getSlotted } from "../../utils/dom";
8
8
  import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
9
+ import { updateHostInteraction } from "../../utils/interactive";
9
10
  /**
10
11
  * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
11
12
  * @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the list item.
@@ -29,6 +30,14 @@ export class ListItem {
29
30
  */
30
31
  this.disabled = false;
31
32
  }
33
+ //--------------------------------------------------------------------------
34
+ //
35
+ // Lifecycle
36
+ //
37
+ //--------------------------------------------------------------------------
38
+ componentDidRender() {
39
+ updateHostInteraction(this);
40
+ }
32
41
  // --------------------------------------------------------------------------
33
42
  //
34
43
  // Lifecycle
@@ -111,6 +111,19 @@
111
111
  --calcite-panel-max-width: unset;
112
112
  }
113
113
 
114
+ :host([disabled]) {
115
+ pointer-events: none;
116
+ cursor: default;
117
+ -webkit-user-select: none;
118
+ user-select: none;
119
+ opacity: var(--calcite-ui-opacity-disabled);
120
+ }
121
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
122
+ :host([disabled]) [calcite-hydrated][disabled] {
123
+ /* prevent opacity stacking */
124
+ opacity: 1;
125
+ }
126
+
114
127
  /* Shared styles for header elements */
115
128
  .header {
116
129
  margin: 0px;
@@ -8,6 +8,7 @@ import { getElementDir, getSlotted } from "../../utils/dom";
8
8
  import { Heading } from "../functional/Heading";
9
9
  import { SLOTS as ACTION_MENU_SLOTS } from "../action-menu/resources";
10
10
  import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
11
+ import { updateHostInteraction } from "../../utils/interactive";
11
12
  /**
12
13
  * @slot - A slot for adding custom content.
13
14
  * @slot header-actions-start - A slot for adding actions or content to the start side of the panel header.
@@ -81,6 +82,14 @@ export class Panel {
81
82
  dismissedHandler() {
82
83
  this.calcitePanelDismissedChange.emit();
83
84
  }
85
+ //--------------------------------------------------------------------------
86
+ //
87
+ // Lifecycle
88
+ //
89
+ //--------------------------------------------------------------------------
90
+ componentDidRender() {
91
+ updateHostInteraction(this);
92
+ }
84
93
  // --------------------------------------------------------------------------
85
94
  //
86
95
  // Lifecycle
@@ -218,13 +227,13 @@ export class Panel {
218
227
  h("slot", { name: SLOTS.fab })));
219
228
  }
220
229
  render() {
221
- const { dismissed, disabled, dismissible, loading, panelKeyDownHandler } = this;
230
+ const { dismissed, dismissible, loading, panelKeyDownHandler } = this;
222
231
  const panelNode = (h("article", { "aria-busy": loading.toString(), class: CSS.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 },
223
232
  this.renderHeaderNode(),
224
233
  this.renderContent(),
225
234
  this.renderFooterNode()));
226
235
  return (h(Fragment, null,
227
- loading || disabled ? h("calcite-scrim", { loading: loading }) : null,
236
+ loading ? h("calcite-scrim", { loading: loading }) : null,
228
237
  panelNode));
229
238
  }
230
239
  static get is() { return "calcite-panel"; }
@@ -95,6 +95,19 @@
95
95
  box-sizing: border-box;
96
96
  }
97
97
 
98
+ :host([disabled]) {
99
+ pointer-events: none;
100
+ cursor: default;
101
+ -webkit-user-select: none;
102
+ user-select: none;
103
+ opacity: var(--calcite-ui-opacity-disabled);
104
+ }
105
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
106
+ :host([disabled]) [calcite-hydrated][disabled] {
107
+ /* prevent opacity stacking */
108
+ opacity: 1;
109
+ }
110
+
98
111
  :host([filter-enabled]) header {
99
112
  margin-bottom: 0.25rem;
100
113
  display: flex;
@@ -7,6 +7,7 @@ import { ICON_TYPES } from "./resources";
7
7
  import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, calciteListFocusOutHandler, initialize, initializeObserver, mutationObserverCallback, selectSiblings, setUpItems, keyDownHandler, setFocus, removeItem } from "./shared-list-logic";
8
8
  import List from "./shared-list-render";
9
9
  import { createObserver } from "../../utils/observers";
10
+ import { updateHostInteraction } from "../../utils/interactive";
10
11
  /**
11
12
  * @slot - A slot for adding `calcite-pick-list-item` elements or `calcite-pick-list-group` elements. Items are displayed as a vertical list.
12
13
  * @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
@@ -72,6 +73,9 @@ export class PickList {
72
73
  disconnectedCallback() {
73
74
  cleanUpObserver.call(this);
74
75
  }
76
+ componentDidRender() {
77
+ updateHostInteraction(this);
78
+ }
75
79
  calciteListItemRemoveHandler(event) {
76
80
  removeItem.call(this, event);
77
81
  }
@@ -88,7 +88,7 @@ export function calciteListFocusOutHandler(event) {
88
88
  if (focusedInside) {
89
89
  return;
90
90
  }
91
- items.forEach((item) => {
91
+ filterOutDisabled(items).forEach((item) => {
92
92
  toggleSingleSelectItemTabbing(item, selectedValues.size === 0 ? item.contains(event.target) || event.target === item : item.selected);
93
93
  });
94
94
  }
@@ -104,7 +104,7 @@ export function keyDownHandler(event) {
104
104
  return;
105
105
  }
106
106
  event.preventDefault();
107
- const index = getRoundRobinIndex(currentIndex + (key === "ArrowUp" ? -1 : 1), totalItems);
107
+ const index = moveItemIndex(this, target, key === "ArrowUp" ? "up" : "down");
108
108
  const item = items[index];
109
109
  items.forEach((i) => toggleSingleSelectItemTabbing(i, i === item));
110
110
  if (!multiple && selectionFollowsFocus) {
@@ -112,6 +112,25 @@ export function keyDownHandler(event) {
112
112
  }
113
113
  focusElement(item);
114
114
  }
115
+ export function moveItemIndex(list, item, direction) {
116
+ const { items } = list;
117
+ const { length: totalItems } = items;
118
+ const currentIndex = items.indexOf(item);
119
+ const directionFactor = direction === "up" ? -1 : 1;
120
+ let moveOffset = 1;
121
+ let index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);
122
+ const firstMovedIndex = index;
123
+ while (items[index].disabled) {
124
+ index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);
125
+ if (index === firstMovedIndex) {
126
+ break;
127
+ }
128
+ }
129
+ return index;
130
+ }
131
+ function filterOutDisabled(items) {
132
+ return items.filter((item) => !item.disabled);
133
+ }
115
134
  export function internalCalciteListChangeEvent() {
116
135
  this.calciteListChange.emit(this.selectedValues);
117
136
  }
@@ -132,6 +151,9 @@ export function removeItem(event) {
132
151
  this.emitCalciteListChange();
133
152
  }
134
153
  function toggleSingleSelectItemTabbing(item, selectable) {
154
+ if (item.disabled) {
155
+ return;
156
+ }
135
157
  // using attribute intentionally
136
158
  if (selectable) {
137
159
  item.removeAttribute("tabindex");
@@ -141,6 +163,7 @@ function toggleSingleSelectItemTabbing(item, selectable) {
141
163
  }
142
164
  }
143
165
  export async function setFocus(focusId) {
166
+ var _a;
144
167
  if (this.filterEnabled && focusId === "filter") {
145
168
  await focusElement(this.filterEl);
146
169
  return;
@@ -150,10 +173,11 @@ export async function setFocus(focusId) {
150
173
  return;
151
174
  }
152
175
  if (multiple) {
153
- return items[0].setFocus();
176
+ return (_a = filterOutDisabled(items)[0]) === null || _a === void 0 ? void 0 : _a.setFocus();
154
177
  }
155
- const focusTarget = items.find((item) => item.selected) || items[0];
156
- if (selectionFollowsFocus) {
178
+ const filtered = filterOutDisabled(items);
179
+ const focusTarget = filtered.find((item) => item.selected) || filtered[0];
180
+ if (selectionFollowsFocus && focusTarget) {
157
181
  focusTarget.selected = true;
158
182
  }
159
183
  return focusTarget.setFocus();
@@ -175,7 +199,7 @@ export function setUpItems(tagName) {
175
199
  }
176
200
  });
177
201
  const [first] = items;
178
- if (!hasSelected && first) {
202
+ if (!hasSelected && first && !first.disabled) {
179
203
  toggleSingleSelectItemTabbing(first, true);
180
204
  }
181
205
  }
@@ -18,12 +18,12 @@ import { CSS, SLOTS } from "./resources";
18
18
  export const List = (_a) => {
19
19
  var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
20
20
  const defaultSlot = h("slot", null);
21
- return (h(Host, Object.assign({ "aria-busy": loading.toString(), "aria-disabled": disabled.toString(), role: "menu" }, rest),
21
+ return (h(Host, Object.assign({ "aria-busy": loading.toString(), role: "menu" }, rest),
22
22
  h("section", null,
23
23
  h("header", { class: { [CSS.sticky]: true } },
24
24
  filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
25
25
  h("slot", { name: SLOTS.menuActions })),
26
- loading || disabled ? h("calcite-scrim", { loading: loading }) : null,
26
+ loading ? h("calcite-scrim", { loading: loading }) : null,
27
27
  defaultSlot)));
28
28
  };
29
29
  export default List;
@@ -198,4 +198,17 @@
198
198
 
199
199
  .actions--start ~ .label {
200
200
  padding-inline-start: 0.25rem;
201
+ }
202
+
203
+ :host([disabled]){
204
+ pointer-events: none;
205
+ cursor: default;
206
+ -webkit-user-select: none;
207
+ user-select: none;
208
+ opacity: var(--calcite-ui-opacity-disabled);
209
+ }
210
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
211
+ :host([disabled]) [calcite-hydrated][disabled] {
212
+ /* prevent opacity stacking */
213
+ opacity: 1;
201
214
  }