@esri/calcite-components 1.0.0-beta.68 → 1.0.0-beta.69

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 (533) hide show
  1. package/CHANGELOG.md +1509 -0
  2. package/dist/calcite/calcite.esm.js +1 -1
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/{p-75793454.entry.js → p-0100aeb0.entry.js} +1 -1
  5. package/dist/calcite/p-03706508.system.entry.js +5 -0
  6. package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
  7. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
  8. package/dist/calcite/{p-d7a7a544.system.entry.js → p-0797f73c.system.entry.js} +1 -1
  9. package/dist/calcite/{p-530584ff.system.entry.js → p-09e3fcfc.system.entry.js} +1 -1
  10. package/dist/calcite/p-0ba6ede9.entry.js +5 -0
  11. package/dist/calcite/{p-01c3783e.system.entry.js → p-0ecd0204.system.entry.js} +1 -1
  12. package/dist/calcite/{p-9ac1fa0b.system.entry.js → p-0f3d73e3.system.entry.js} +1 -1
  13. package/dist/calcite/{p-349333f8.system.entry.js → p-10759c71.system.entry.js} +2 -2
  14. package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
  15. package/dist/calcite/{p-7f4a5f8e.system.entry.js → p-15a45778.system.entry.js} +2 -2
  16. package/dist/calcite/p-1e875199.entry.js +5 -0
  17. package/dist/calcite/{p-693a4d5f.entry.js → p-1f7130a9.entry.js} +1 -1
  18. package/dist/calcite/{p-72ffc6d7.entry.js → p-2418cceb.entry.js} +1 -1
  19. package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
  20. package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
  21. package/dist/calcite/{p-95a3a0ce.entry.js → p-3383d9b4.entry.js} +1 -1
  22. package/dist/calcite/{p-87b93729.entry.js → p-36e5db45.entry.js} +1 -1
  23. package/dist/calcite/p-37859236.entry.js +5 -0
  24. package/dist/calcite/{p-bd555b2e.system.entry.js → p-38ee7306.system.entry.js} +1 -1
  25. package/dist/calcite/{p-9caae570.entry.js → p-38f09842.entry.js} +1 -1
  26. package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
  27. package/dist/calcite/{p-9d83f268.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
  28. package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
  29. package/dist/calcite/p-3dae9da3.js +5 -0
  30. package/dist/calcite/{p-ff04f827.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
  31. package/dist/calcite/{p-2920aa02.entry.js → p-3f1d1bad.entry.js} +1 -1
  32. package/dist/calcite/{p-69548a7d.system.entry.js → p-413b4857.system.entry.js} +1 -1
  33. package/dist/calcite/{p-da9603a3.entry.js → p-4185db77.entry.js} +1 -1
  34. package/dist/calcite/p-45257edb.js +5 -0
  35. package/dist/calcite/{p-5cb26137.system.entry.js → p-49d5ee42.system.entry.js} +1 -1
  36. package/dist/calcite/{p-5c221c33.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
  37. package/dist/calcite/p-502736d8.system.entry.js +5 -0
  38. package/dist/calcite/{p-ac3d8784.entry.js → p-507b2cc4.entry.js} +1 -1
  39. package/dist/calcite/{p-26045881.entry.js → p-51bc5466.entry.js} +1 -1
  40. package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
  41. package/dist/calcite/{p-cd8f7781.system.entry.js → p-530b28e1.system.entry.js} +1 -1
  42. package/dist/calcite/{p-f37563ac.system.entry.js → p-5322b333.system.entry.js} +1 -1
  43. package/dist/calcite/{p-d7e5b807.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
  44. package/dist/calcite/{p-1f99b038.entry.js → p-58eca102.entry.js} +1 -1
  45. package/dist/calcite/p-5ce47e9f.entry.js +5 -0
  46. package/dist/calcite/{p-9dbb69f7.entry.js → p-5efd7297.entry.js} +1 -1
  47. package/dist/calcite/{p-37cee0ea.entry.js → p-6621aee1.entry.js} +1 -1
  48. package/dist/calcite/{p-31c4a271.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
  49. package/dist/calcite/{p-473cfb74.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
  50. package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-6c8a562f.system.entry.js} +1 -1
  51. package/dist/calcite/{p-727c8f36.system.entry.js → p-70cd1387.system.entry.js} +1 -1
  52. package/dist/calcite/{p-bfc162ee.system.entry.js → p-71ea4a6f.system.entry.js} +2 -2
  53. package/dist/calcite/{p-18078190.entry.js → p-72fa390e.entry.js} +1 -1
  54. package/dist/calcite/{p-1aaf7f83.entry.js → p-75f714c9.entry.js} +1 -1
  55. package/dist/calcite/{p-41e9b889.entry.js → p-76ccd204.entry.js} +1 -1
  56. package/dist/calcite/{p-7b01fe89.js → p-79cbbf2d.js} +1 -1
  57. package/dist/calcite/p-7a6c6382.entry.js +5 -0
  58. package/dist/calcite/p-7ade2294.system.entry.js +5 -0
  59. package/dist/calcite/{p-20042561.entry.js → p-7b869bc5.entry.js} +1 -1
  60. package/dist/calcite/{p-a93678c6.system.entry.js → p-7b89726e.system.entry.js} +2 -2
  61. package/dist/calcite/{p-318e95d7.system.entry.js → p-7c161518.system.entry.js} +1 -1
  62. package/dist/calcite/{p-f4299b95.entry.js → p-7c37ca39.entry.js} +1 -1
  63. package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
  64. package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
  65. package/dist/calcite/{p-22ad79b1.entry.js → p-83302e1c.entry.js} +1 -1
  66. package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
  67. package/dist/calcite/p-86af9de1.entry.js +5 -0
  68. package/dist/calcite/{p-c0dd929a.entry.js → p-8953f712.entry.js} +1 -1
  69. package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
  70. package/dist/calcite/{p-b701101e.entry.js → p-8bc3e126.entry.js} +1 -1
  71. package/dist/calcite/p-91f046a2.entry.js +5 -0
  72. package/dist/calcite/{p-9e4f2697.system.entry.js → p-98789055.system.entry.js} +1 -1
  73. package/dist/calcite/{p-568ed3d6.system.entry.js → p-98a632a4.system.entry.js} +1 -1
  74. package/dist/calcite/{p-10ccc21d.entry.js → p-9affee61.entry.js} +1 -1
  75. package/dist/calcite/{p-81a82d01.system.entry.js → p-9f92ae58.system.entry.js} +1 -1
  76. package/dist/calcite/{p-99da965d.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
  77. package/dist/calcite/{p-7b600760.entry.js → p-9fa5e356.entry.js} +1 -1
  78. package/dist/calcite/{p-4e06a168.entry.js → p-9fa67508.entry.js} +1 -1
  79. package/dist/calcite/{p-021d44b7.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
  80. package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
  81. package/dist/calcite/{p-87e83c0d.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
  82. package/dist/calcite/p-a677e52e.entry.js +5 -0
  83. package/dist/calcite/{p-64d90b14.system.js → p-a7ba0292.system.js} +1 -1
  84. package/dist/calcite/{p-7c0debe0.system.entry.js → p-a8569c55.system.entry.js} +1 -1
  85. package/dist/calcite/p-ac6b615b.entry.js +5 -0
  86. package/dist/calcite/p-b018fbbd.entry.js +5 -0
  87. package/dist/calcite/p-b1f88d45.system.js +5 -0
  88. package/dist/calcite/{p-eb3ee207.entry.js → p-b244a00c.entry.js} +1 -1
  89. package/dist/calcite/{p-fc4846f0.system.entry.js → p-b3d6ab12.system.entry.js} +1 -1
  90. package/dist/calcite/{p-57f5866d.system.entry.js → p-b41deed0.system.entry.js} +1 -1
  91. package/dist/calcite/{p-a7521c0d.entry.js → p-b42d730f.entry.js} +1 -1
  92. package/dist/calcite/p-b4960d06.system.js +5 -0
  93. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
  94. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
  95. package/dist/calcite/{p-175764f3.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
  96. package/dist/calcite/{p-3929447c.system.entry.js → p-bf25e278.system.entry.js} +1 -1
  97. package/dist/calcite/{p-fff0a881.entry.js → p-bf8b70a8.entry.js} +1 -1
  98. package/dist/calcite/p-c34c4414.system.js +5 -0
  99. package/dist/calcite/p-c399cfce.entry.js +5 -0
  100. package/dist/calcite/p-c4294f70.entry.js +5 -0
  101. package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
  102. package/dist/calcite/p-c60e3a71.entry.js +5 -0
  103. package/dist/calcite/{p-050dc7e6.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
  104. package/dist/calcite/{p-3ba8024a.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
  105. package/dist/calcite/{p-00d72f16.entry.js → p-c9ecea64.entry.js} +1 -1
  106. package/dist/calcite/{p-9d3ee5cf.system.entry.js → p-ca79fabf.system.entry.js} +1 -1
  107. package/dist/calcite/{p-be3b0fee.entry.js → p-cacca548.entry.js} +1 -1
  108. package/dist/calcite/{p-67fd79db.entry.js → p-cc4aeb6f.entry.js} +1 -1
  109. package/dist/calcite/{p-f8d975a1.system.entry.js → p-cca94491.system.entry.js} +1 -1
  110. package/dist/calcite/{p-f141da0f.entry.js → p-cd41629f.entry.js} +1 -1
  111. package/dist/calcite/{p-7cdfec27.system.js → p-d11ad046.system.js} +1 -1
  112. package/dist/calcite/p-d4059426.entry.js +5 -0
  113. package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
  114. package/dist/calcite/p-d6048152.system.entry.js +5 -0
  115. package/dist/calcite/{p-acaad99b.system.entry.js → p-daa110fe.system.entry.js} +1 -1
  116. package/dist/calcite/{p-fe52131d.entry.js → p-dc6aef8b.entry.js} +1 -1
  117. package/dist/calcite/{p-45d123be.system.entry.js → p-dcf30b00.system.entry.js} +1 -1
  118. package/dist/calcite/{p-c20278e8.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
  119. package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
  120. package/dist/calcite/{p-f5d25746.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
  121. package/dist/calcite/{p-e693758c.entry.js → p-e638ff0e.entry.js} +1 -1
  122. package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
  123. package/dist/calcite/{p-d5d62977.entry.js → p-eccb140e.entry.js} +1 -1
  124. package/dist/calcite/{p-cb228ac0.entry.js → p-edf0f4f8.entry.js} +1 -1
  125. package/dist/calcite/p-eed43a57.system.entry.js +5 -0
  126. package/dist/calcite/{p-18574b32.entry.js → p-f0228763.entry.js} +1 -1
  127. package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
  128. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
  129. package/dist/calcite/p-f5bb39bb.js +5 -0
  130. package/dist/calcite/{p-e3a30266.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
  131. package/dist/calcite/{p-51cb078a.entry.js → p-f93a7fce.entry.js} +1 -1
  132. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
  133. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
  134. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
  135. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  137. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  138. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  139. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  140. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  144. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  145. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
  147. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  148. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -11
  149. package/dist/cjs/calcite-combobox_3.cjs.entry.js +8 -6
  150. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
  151. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
  152. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
  154. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-graph_2.cjs.entry.js +19 -11
  156. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  157. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  159. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
  160. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  161. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +2 -2
  162. package/dist/cjs/calcite-input.cjs.entry.js +32 -19
  163. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  165. package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
  166. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  172. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  173. package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-radio_2.cjs.entry.js +2 -2
  178. package/dist/cjs/calcite-rating.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  181. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-switch.cjs.entry.js +7 -2
  185. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  186. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  187. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  188. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  189. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  190. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  191. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  192. package/dist/cjs/calcite.cjs.js +3 -3
  193. package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
  194. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  195. package/dist/cjs/loader.cjs.js +3 -3
  196. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  197. package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
  198. package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
  199. package/dist/collection/collection-manifest.json +2 -2
  200. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  201. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  202. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  203. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
  204. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  205. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  206. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  207. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  208. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  209. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +8 -8
  210. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  211. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
  212. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
  213. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  214. package/dist/collection/components/calcite-combobox/calcite-combobox.js +11 -9
  215. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
  216. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  217. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  218. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
  219. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  220. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  221. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  222. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  223. package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
  224. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  225. package/dist/collection/components/calcite-graph/util.js +1 -1
  226. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  227. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +12 -12
  228. package/dist/collection/components/calcite-input/calcite-input.js +42 -29
  229. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +11 -11
  230. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  231. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  232. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  233. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  234. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  235. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  236. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  237. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  238. package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
  239. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  240. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  241. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  242. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  243. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +12 -12
  244. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  245. package/dist/collection/components/calcite-rating/calcite-rating.js +4 -4
  246. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  247. package/dist/collection/components/calcite-select/calcite-select.js +2 -2
  248. package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
  249. package/dist/collection/components/calcite-slider/calcite-slider.js +3 -3
  250. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  251. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  252. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  253. package/dist/collection/components/calcite-switch/calcite-switch.js +8 -3
  254. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  255. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  256. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  257. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  258. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  259. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  260. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  261. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  262. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  263. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
  264. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  265. package/dist/collection/utils/label.js +33 -4
  266. package/dist/collection/utils/popper.js +2 -2
  267. package/dist/components/calcite-accordion-item.js +2 -2
  268. package/dist/components/calcite-accordion.js +2 -2
  269. package/dist/components/calcite-action-bar.js +2 -2
  270. package/dist/components/calcite-action-group2.js +2 -2
  271. package/dist/components/calcite-action-menu2.js +2 -2
  272. package/dist/components/calcite-action-pad.js +2 -2
  273. package/dist/components/calcite-action2.js +2 -2
  274. package/dist/components/calcite-alert.js +2 -2
  275. package/dist/components/calcite-avatar.js +2 -2
  276. package/dist/components/calcite-block-section.js +2 -2
  277. package/dist/components/calcite-block.js +3 -3
  278. package/dist/components/calcite-button2.js +2 -2
  279. package/dist/components/calcite-card.js +11 -5
  280. package/dist/components/calcite-checkbox2.js +2 -2
  281. package/dist/components/calcite-chip2.js +2 -2
  282. package/dist/components/calcite-color-picker-hex-input2.js +2 -2
  283. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  284. package/dist/components/calcite-color-picker.js +15 -12
  285. package/dist/components/calcite-combobox-item-group.js +2 -2
  286. package/dist/components/calcite-combobox-item.js +2 -2
  287. package/dist/components/calcite-combobox.js +7 -5
  288. package/dist/components/calcite-date-picker-day2.js +2 -2
  289. package/dist/components/calcite-date-picker-month-header2.js +2 -2
  290. package/dist/components/calcite-date-picker-month2.js +2 -2
  291. package/dist/components/calcite-date-picker2.js +2 -2
  292. package/dist/components/calcite-dropdown-group.js +2 -2
  293. package/dist/components/calcite-dropdown-item.js +3 -3
  294. package/dist/components/calcite-dropdown2.js +3 -3
  295. package/dist/components/calcite-fab.js +2 -2
  296. package/dist/components/calcite-filter2.js +47 -16
  297. package/dist/components/calcite-flow.js +2 -2
  298. package/dist/components/calcite-graph2.js +20 -10
  299. package/dist/components/calcite-handle2.js +2 -2
  300. package/dist/components/calcite-icon2.js +2 -2
  301. package/dist/components/calcite-input-date-picker.js +3 -3
  302. package/dist/components/calcite-input-message.js +2 -2
  303. package/dist/components/calcite-input-time-picker.js +2 -2
  304. package/dist/components/calcite-input2.js +30 -17
  305. package/dist/components/calcite-label.js +1 -75
  306. package/dist/components/calcite-label2.js +81 -0
  307. package/dist/components/calcite-link2.js +2 -2
  308. package/dist/components/calcite-list-item-group.js +2 -2
  309. package/dist/components/calcite-list-item.js +2 -2
  310. package/dist/components/calcite-list.js +2 -2
  311. package/dist/components/calcite-loader2.js +3 -3
  312. package/dist/components/calcite-modal.js +2 -2
  313. package/dist/components/calcite-notice.js +2 -2
  314. package/dist/components/calcite-option-group.js +2 -2
  315. package/dist/components/calcite-option.js +2 -2
  316. package/dist/components/calcite-pagination.js +2 -2
  317. package/dist/components/calcite-panel.js +3 -3
  318. package/dist/components/calcite-pick-list-group.js +2 -2
  319. package/dist/components/calcite-pick-list-item2.js +2 -2
  320. package/dist/components/calcite-pick-list.js +2 -2
  321. package/dist/components/calcite-popover-manager.js +2 -2
  322. package/dist/components/calcite-popover2.js +3 -3
  323. package/dist/components/calcite-progress2.js +2 -2
  324. package/dist/components/calcite-radio-button-group.js +2 -2
  325. package/dist/components/calcite-radio-group-item.js +2 -2
  326. package/dist/components/calcite-radio-group.js +2 -2
  327. package/dist/components/calcite-radio2.js +2 -2
  328. package/dist/components/calcite-rating.js +2 -2
  329. package/dist/components/calcite-scrim2.js +2 -2
  330. package/dist/components/calcite-select.js +2 -2
  331. package/dist/components/calcite-shell-center-row.js +2 -2
  332. package/dist/components/calcite-shell-panel.js +2 -2
  333. package/dist/components/calcite-shell.js +2 -2
  334. package/dist/components/calcite-slider.js +4 -4
  335. package/dist/components/calcite-sortable-list.js +2 -2
  336. package/dist/components/calcite-split-button.js +2 -2
  337. package/dist/components/calcite-stepper-item.js +2 -2
  338. package/dist/components/calcite-stepper.js +2 -2
  339. package/dist/components/calcite-switch2.js +8 -3
  340. package/dist/components/calcite-tab-nav2.js +2 -2
  341. package/dist/components/calcite-tab-title2.js +2 -2
  342. package/dist/components/calcite-tab2.js +2 -2
  343. package/dist/components/calcite-tabs2.js +2 -2
  344. package/dist/components/calcite-tile-select-group.js +2 -2
  345. package/dist/components/calcite-tile-select.js +2 -2
  346. package/dist/components/calcite-tile2.js +3 -3
  347. package/dist/components/calcite-time-picker2.js +2 -2
  348. package/dist/components/calcite-tip-group.js +2 -2
  349. package/dist/components/calcite-tip-manager.js +2 -2
  350. package/dist/components/calcite-tip.js +2 -2
  351. package/dist/components/calcite-tooltip-manager2.js +2 -2
  352. package/dist/components/calcite-tooltip.js +3 -3
  353. package/dist/components/calcite-tree-item.js +17 -10
  354. package/dist/components/calcite-tree.js +2 -2
  355. package/dist/components/calcite-value-list-item.js +2 -2
  356. package/dist/components/calcite-value-list.js +2 -2
  357. package/dist/components/label.js +33 -4
  358. package/dist/components/popper.js +2 -2
  359. package/dist/custom-elements/index.js +264 -168
  360. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  361. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  362. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  363. package/dist/esm/calcite-action-bar.entry.js +2 -2
  364. package/dist/esm/calcite-action-group.entry.js +1 -1
  365. package/dist/esm/calcite-action-menu.entry.js +1 -1
  366. package/dist/esm/calcite-action-pad.entry.js +2 -2
  367. package/dist/esm/calcite-action.entry.js +1 -1
  368. package/dist/esm/calcite-alert.entry.js +1 -1
  369. package/dist/esm/calcite-avatar.entry.js +1 -1
  370. package/dist/esm/calcite-block_2.entry.js +3 -3
  371. package/dist/esm/calcite-button.entry.js +2 -2
  372. package/dist/esm/calcite-card.entry.js +2 -2
  373. package/dist/esm/calcite-checkbox.entry.js +2 -2
  374. package/dist/esm/calcite-chip.entry.js +1 -1
  375. package/dist/esm/calcite-color-picker_3.entry.js +14 -11
  376. package/dist/esm/calcite-combobox_3.entry.js +8 -6
  377. package/dist/esm/calcite-date-picker_4.entry.js +3 -3
  378. package/dist/esm/calcite-dropdown_3.entry.js +4 -4
  379. package/dist/esm/calcite-fab.entry.js +1 -1
  380. package/dist/esm/calcite-filter.entry.js +43 -14
  381. package/dist/esm/calcite-flow.entry.js +1 -1
  382. package/dist/esm/calcite-graph_2.entry.js +19 -11
  383. package/dist/esm/calcite-handle.entry.js +1 -1
  384. package/dist/esm/calcite-icon.entry.js +1 -1
  385. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  386. package/dist/esm/calcite-input-date-picker.entry.js +5 -5
  387. package/dist/esm/calcite-input-message.entry.js +1 -1
  388. package/dist/esm/calcite-input-time-picker_2.entry.js +2 -2
  389. package/dist/esm/calcite-input.entry.js +32 -19
  390. package/dist/esm/calcite-label.entry.js +1 -1
  391. package/dist/esm/calcite-link.entry.js +1 -1
  392. package/dist/esm/calcite-list_3.entry.js +2 -2
  393. package/dist/esm/calcite-loader.entry.js +2 -2
  394. package/dist/esm/calcite-modal.entry.js +1 -1
  395. package/dist/esm/calcite-notice.entry.js +1 -1
  396. package/dist/esm/calcite-option_3.entry.js +2 -2
  397. package/dist/esm/calcite-pagination.entry.js +1 -1
  398. package/dist/esm/calcite-panel.entry.js +3 -3
  399. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  400. package/dist/esm/calcite-popover_2.entry.js +4 -4
  401. package/dist/esm/calcite-progress.entry.js +1 -1
  402. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  403. package/dist/esm/calcite-radio-group_2.entry.js +2 -2
  404. package/dist/esm/calcite-radio_2.entry.js +2 -2
  405. package/dist/esm/calcite-rating.entry.js +2 -2
  406. package/dist/esm/calcite-scrim.entry.js +1 -1
  407. package/dist/esm/calcite-shell_3.entry.js +1 -1
  408. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  409. package/dist/esm/calcite-split-button.entry.js +1 -1
  410. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  411. package/dist/esm/calcite-switch.entry.js +7 -2
  412. package/dist/esm/calcite-tab_4.entry.js +1 -1
  413. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  414. package/dist/esm/calcite-tile.entry.js +2 -2
  415. package/dist/esm/calcite-tip_3.entry.js +2 -2
  416. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  417. package/dist/esm/calcite-tree_2.entry.js +16 -9
  418. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  419. package/dist/esm/calcite.js +3 -3
  420. package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
  421. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  422. package/dist/esm/loader.js +3 -3
  423. package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
  424. package/dist/esm/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
  425. package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  426. package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  427. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  428. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  429. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  430. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  431. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  432. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  433. package/dist/esm-es5/calcite-action.entry.js +1 -1
  434. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  435. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  436. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  437. package/dist/esm-es5/calcite-button.entry.js +1 -1
  438. package/dist/esm-es5/calcite-card.entry.js +1 -1
  439. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  440. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  441. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  442. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  443. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  444. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  445. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  446. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  447. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  448. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  449. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  450. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  451. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  452. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  453. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  454. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  455. package/dist/esm-es5/calcite-input.entry.js +1 -1
  456. package/dist/esm-es5/calcite-label.entry.js +1 -1
  457. package/dist/esm-es5/calcite-link.entry.js +1 -1
  458. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  459. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  460. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  461. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  462. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  463. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  464. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  465. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  466. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  467. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  468. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  469. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  470. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  471. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  472. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  473. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  474. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  475. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  476. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  477. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  478. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  479. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  480. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  481. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  482. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  483. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  484. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  485. package/dist/esm-es5/calcite.js +1 -1
  486. package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
  487. package/dist/esm-es5/label-5559055d.js +5 -0
  488. package/dist/esm-es5/loader.js +1 -1
  489. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  490. package/dist/esm-es5/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
  491. package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  492. package/dist/extras/docs-json.json +520 -423
  493. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  494. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
  495. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  496. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  497. package/dist/types/components/calcite-input/calcite-input.d.ts +7 -1
  498. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  499. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  500. package/dist/types/components.d.ts +48 -4
  501. package/dist/types/utils/label.d.ts +5 -0
  502. package/dist/types/utils/popper.d.ts +1 -1
  503. package/hydrate/index.js +182 -81
  504. package/package.json +11 -12
  505. package/readme.md +2 -2
  506. package/dist/calcite/p-07ba39b6.js +0 -5
  507. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  508. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  509. package/dist/calcite/p-24b86e03.entry.js +0 -5
  510. package/dist/calcite/p-29b110b2.entry.js +0 -5
  511. package/dist/calcite/p-2ba00b89.js +0 -5
  512. package/dist/calcite/p-34a1c944.entry.js +0 -5
  513. package/dist/calcite/p-361ddbb6.entry.js +0 -5
  514. package/dist/calcite/p-378b83de.entry.js +0 -5
  515. package/dist/calcite/p-43494684.entry.js +0 -5
  516. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  517. package/dist/calcite/p-61038b30.js +0 -5
  518. package/dist/calcite/p-728501db.system.js +0 -5
  519. package/dist/calcite/p-745e41ea.entry.js +0 -5
  520. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  521. package/dist/calcite/p-93d8a7d5.entry.js +0 -5
  522. package/dist/calcite/p-9965ea81.system.js +0 -5
  523. package/dist/calcite/p-ba255377.entry.js +0 -5
  524. package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
  525. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  526. package/dist/calcite/p-c1995144.system.entry.js +0 -5
  527. package/dist/calcite/p-c31243c5.entry.js +0 -5
  528. package/dist/calcite/p-de0f4633.entry.js +0 -5
  529. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  530. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  531. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  532. package/dist/esm-es5/label-bb61bdef.js +0 -5
  533. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -224,8 +224,8 @@ export class CalciteTree {
224
224
  "optional": false,
225
225
  "docs": {
226
226
  "tags": [{
227
- "text": "use \"ancestors\" selection-mode for checkbox input",
228
- "name": "deprecated"
227
+ "name": "deprecated",
228
+ "text": "use \"ancestors\" selection-mode for checkbox input"
229
229
  }],
230
230
  "text": "Display input"
231
231
  },
@@ -245,8 +245,8 @@ export class CalciteTree {
245
245
  "optional": false,
246
246
  "docs": {
247
247
  "tags": [{
248
- "text": "If this tree is nested within another tree, set to false",
249
- "name": "internal"
248
+ "name": "internal",
249
+ "text": "If this tree is nested within another tree, set to false"
250
250
  }],
251
251
  "text": ""
252
252
  },
@@ -293,11 +293,11 @@ export class CalciteTree {
293
293
  "optional": false,
294
294
  "docs": {
295
295
  "tags": [{
296
- "text": "\"single\"",
297
- "name": "default"
296
+ "name": "default",
297
+ "text": "\"single\""
298
298
  }, {
299
- "text": " [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tree/interfaces.ts#L5)",
300
- "name": "see"
299
+ "name": "see",
300
+ "text": " [TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tree/interfaces.ts#L5)"
301
301
  }],
302
302
  "text": "Customize how tree selection works (single, multi, children, multi-children, ancestors)"
303
303
  },
@@ -314,8 +314,8 @@ export class CalciteTree {
314
314
  "composed": true,
315
315
  "docs": {
316
316
  "tags": [{
317
- "text": " [TreeSelectDetail](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tree/interfaces.ts#L1)",
318
- "name": "see"
317
+ "name": "see",
318
+ "text": " [TreeSelectDetail](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tree/interfaces.ts#L1)"
319
319
  }],
320
320
  "text": "Emitted when user selects/deselects tree items. An object including an array of selected items will be passed in the event's `detail` property."
321
321
  },
@@ -45,10 +45,17 @@ export class CalciteTreeItem {
45
45
  // Private Methods
46
46
  //
47
47
  //--------------------------------------------------------------------------
48
+ this.updateParentIsExpanded = (el, expanded) => {
49
+ const items = getSlotted(el, SLOTS.children, {
50
+ all: true,
51
+ selector: "calcite-tree-item"
52
+ });
53
+ items.forEach((item) => (item.parentExpanded = expanded));
54
+ };
48
55
  this.updateAncestorTree = () => {
49
56
  if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {
50
57
  const ancestors = [];
51
- let parent = this.el.parentElement.closest("calcite-tree-item");
58
+ let parent = this.parentTreeItem;
52
59
  while (parent) {
53
60
  ancestors.push(parent);
54
61
  parent = parent.parentElement.closest("calcite-tree-item");
@@ -59,11 +66,7 @@ export class CalciteTreeItem {
59
66
  };
60
67
  }
61
68
  expandedHandler(newValue) {
62
- const items = getSlotted(this.el, "children", {
63
- all: true,
64
- selector: "calcite-tree-item"
65
- });
66
- items.forEach((item) => (item.parentExpanded = newValue));
69
+ this.updateParentIsExpanded(this.el, newValue);
67
70
  }
68
71
  //--------------------------------------------------------------------------
69
72
  //
@@ -71,7 +74,11 @@ export class CalciteTreeItem {
71
74
  //
72
75
  //--------------------------------------------------------------------------
73
76
  connectedCallback() {
74
- this.expandedHandler(this.expanded);
77
+ this.parentTreeItem = this.el.parentElement.closest("calcite-tree-item");
78
+ if (this.parentTreeItem) {
79
+ const { expanded } = this.parentTreeItem;
80
+ this.updateParentIsExpanded(this.parentTreeItem, expanded);
81
+ }
75
82
  }
76
83
  componentWillRender() {
77
84
  this.hasChildren = !!this.el.querySelector("calcite-tree");
@@ -191,7 +198,7 @@ export class CalciteTreeItem {
191
198
  break;
192
199
  }
193
200
  // When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
194
- const parentItem = this.el.parentElement.closest("calcite-tree-item");
201
+ const parentItem = this.parentTreeItem;
195
202
  if (parentItem && (!this.hasChildren || this.expanded === false)) {
196
203
  parentItem.focus();
197
204
  e.preventDefault();
@@ -301,8 +308,8 @@ export class CalciteTreeItem {
301
308
  "optional": false,
302
309
  "docs": {
303
310
  "tags": [{
304
- "text": "Is the parent of this item expanded?",
305
- "name": "internal"
311
+ "name": "internal",
312
+ "text": "Is the parent of this item expanded?"
306
313
  }],
307
314
  "text": ""
308
315
  },
@@ -322,8 +329,8 @@ export class CalciteTreeItem {
322
329
  "optional": false,
323
330
  "docs": {
324
331
  "tags": [{
325
- "text": "What level of depth is this item at?",
326
- "name": "internal"
332
+ "name": "internal",
333
+ "text": "What level of depth is this item at?"
327
334
  }],
328
335
  "text": ""
329
336
  },
@@ -343,8 +350,8 @@ export class CalciteTreeItem {
343
350
  "optional": false,
344
351
  "docs": {
345
352
  "tags": [{
346
- "text": "Does this tree item have a tree inside it?",
347
- "name": "internal"
353
+ "name": "internal",
354
+ "text": "Does this tree item have a tree inside it?"
348
355
  }],
349
356
  "text": ""
350
357
  },
@@ -364,8 +371,8 @@ export class CalciteTreeItem {
364
371
  "optional": false,
365
372
  "docs": {
366
373
  "tags": [{
367
- "text": "Draw lines (set on parent)",
368
- "name": "internal"
374
+ "name": "internal",
375
+ "text": "Draw lines (set on parent)"
369
376
  }],
370
377
  "text": ""
371
378
  },
@@ -384,11 +391,11 @@ export class CalciteTreeItem {
384
391
  "optional": false,
385
392
  "docs": {
386
393
  "tags": [{
387
- "text": undefined,
388
- "name": "internal"
394
+ "name": "internal",
395
+ "text": undefined
389
396
  }, {
390
- "text": "set \"ancestors\" selection-mode on parent tree for checkboxes",
391
- "name": "deprecated"
397
+ "name": "deprecated",
398
+ "text": "set \"ancestors\" selection-mode on parent tree for checkboxes"
392
399
  }],
393
400
  "text": "Display checkboxes (set on parent)"
394
401
  },
@@ -412,8 +419,8 @@ export class CalciteTreeItem {
412
419
  "optional": false,
413
420
  "docs": {
414
421
  "tags": [{
415
- "text": "Scale of the parent tree, defaults to m",
416
- "name": "internal"
422
+ "name": "internal",
423
+ "text": "Scale of the parent tree, defaults to m"
417
424
  }],
418
425
  "text": ""
419
426
  },
@@ -432,8 +439,8 @@ export class CalciteTreeItem {
432
439
  "optional": false,
433
440
  "docs": {
434
441
  "tags": [{
435
- "text": "In ancestor selection mode,\nshow as indeterminate when only some children are selected",
436
- "name": "internal"
442
+ "name": "internal",
443
+ "text": "In ancestor selection mode,\nshow as indeterminate when only some children are selected"
437
444
  }],
438
445
  "text": ""
439
446
  },
@@ -457,8 +464,8 @@ export class CalciteTreeItem {
457
464
  "optional": false,
458
465
  "docs": {
459
466
  "tags": [{
460
- "text": "Tree selection-mode (set on parent)",
461
- "name": "internal"
467
+ "name": "internal",
468
+ "text": "Tree selection-mode (set on parent)"
462
469
  }],
463
470
  "text": ""
464
471
  },
@@ -474,8 +481,8 @@ export class CalciteTreeItem {
474
481
  "composed": true,
475
482
  "docs": {
476
483
  "tags": [{
477
- "text": undefined,
478
- "name": "internal"
484
+ "name": "internal",
485
+ "text": undefined
479
486
  }],
480
487
  "text": ""
481
488
  },
@@ -173,8 +173,8 @@ export class CalciteValueListItem {
173
173
  "optional": false,
174
174
  "docs": {
175
175
  "tags": [{
176
- "text": "When false, the item cannot be deselected by user interaction.",
177
- "name": "internal"
176
+ "name": "internal",
177
+ "text": "When false, the item cannot be deselected by user interaction."
178
178
  }],
179
179
  "text": ""
180
180
  },
@@ -212,8 +212,8 @@ export class CalciteValueListItem {
212
212
  "optional": true,
213
213
  "docs": {
214
214
  "tags": [{
215
- "text": "- stores the activated state of the drag handle.",
216
- "name": "internal"
215
+ "name": "internal",
216
+ "text": "- stores the activated state of the drag handle."
217
217
  }],
218
218
  "text": ""
219
219
  },
@@ -238,8 +238,8 @@ export class CalciteValueListItem {
238
238
  "optional": true,
239
239
  "docs": {
240
240
  "tags": [{
241
- "text": " [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pick-list/resources.ts#L5)",
242
- "name": "see"
241
+ "name": "see",
242
+ "text": " [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pick-list/resources.ts#L5)"
243
243
  }],
244
244
  "text": "Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null."
245
245
  },
@@ -3,14 +3,43 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { closestElementCrossShadowBoundary, queryElementRoots } from "./dom";
6
+ /**
7
+ * Exported for testing purposes only
8
+ * @internal
9
+ */
10
+ export const labelClickEvent = "calciteInternalLabelClick";
6
11
  const labelTagName = "calcite-label";
7
- const labelClickEvent = "calciteInternalLabelClick";
8
12
  const onLabelClickMap = new WeakMap();
9
13
  const findLabelForComponent = (componentEl) => {
10
- const id = componentEl.id;
11
- return ((id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`)) ||
12
- closestElementCrossShadowBoundary(componentEl, labelTagName));
14
+ const { id } = componentEl;
15
+ const forLabel = id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`);
16
+ if (forLabel) {
17
+ return forLabel;
18
+ }
19
+ const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
20
+ if (!parentLabel ||
21
+ // labelable components within other custom elements are not considered labelable
22
+ hasAncestorCustomElements(parentLabel, componentEl)) {
23
+ return null;
24
+ }
25
+ return parentLabel;
13
26
  };
27
+ function hasAncestorCustomElements(label, componentEl) {
28
+ let traversedElements;
29
+ const customElementAncestorCheckEventType = "custom-element-ancestor-check";
30
+ const listener = (event) => {
31
+ event.stopImmediatePropagation();
32
+ const composedPath = event.composedPath();
33
+ traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
34
+ };
35
+ label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
36
+ componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
37
+ label.removeEventListener(customElementAncestorCheckEventType, listener);
38
+ const ancestorCustomElements = traversedElements
39
+ .filter((el) => el !== componentEl && el !== label)
40
+ .filter((el) => { var _a; return (_a = el.tagName) === null || _a === void 0 ? void 0 : _a.includes("-"); });
41
+ return ancestorCustomElements.length > 0;
42
+ }
14
43
  /**
15
44
  * Helper to set up label interactions on connectedCallback.
16
45
  */
@@ -31,9 +31,9 @@ export function createPopper({ referenceEl, el, placement, overlayPositioning =
31
31
  modifiers
32
32
  });
33
33
  }
34
- export function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
34
+ export async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
35
35
  const placement = getPlacement(el, PopperPlacement);
36
- popper.setOptions({
36
+ await popper.setOptions({
37
37
  modifiers,
38
38
  placement
39
39
  });
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -13,7 +13,7 @@ let CalciteAccordionItem$1 = class extends HTMLElement {
13
13
  constructor() {
14
14
  super();
15
15
  this.__registerHost();
16
- attachShadow(this);
16
+ this.__attachShadow();
17
17
  this.calciteAccordionItemKeyEvent = createEvent(this, "calciteAccordionItemKeyEvent", 7);
18
18
  this.calciteAccordionItemSelect = createEvent(this, "calciteAccordionItemSelect", 7);
19
19
  this.calciteAccordionItemClose = createEvent(this, "calciteAccordionItemClose", 7);
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getKey } from './key.js';
7
7
 
8
8
  const calciteAccordionCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;position:relative;max-width:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);border-bottom-width:0;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}:host([appearance=minimal]){--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0;border-color:transparent}:host([appearance=transparent]){border-color:transparent;--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}";
@@ -11,7 +11,7 @@ let CalciteAccordion$1 = class extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
14
- attachShadow(this);
14
+ this.__attachShadow();
15
15
  this.calciteAccordionChange = createEvent(this, "calciteAccordionChange", 7);
16
16
  //--------------------------------------------------------------------------
17
17
  //
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { t as toggleChildActionText, C as CalciteExpandToggle, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, g as getOverflowCount } from './CalciteExpandToggle.js';
7
7
  import { f as focusElement, b as getSlotted } from './dom.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -33,7 +33,7 @@ let CalciteActionBar$1 = class extends HTMLElement {
33
33
  constructor() {
34
34
  super();
35
35
  this.__registerHost();
36
- attachShadow(this);
36
+ this.__attachShadow();
37
37
  this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 7);
38
38
  // --------------------------------------------------------------------------
39
39
  //
@@ -2,7 +2,7 @@
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 { attachShadow, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted } from './dom.js';
7
7
  import { S as SLOTS$1, d as defineCustomElement$5 } from './calcite-action-menu2.js';
8
8
  import { d as defineCustomElement$6 } from './calcite-action2.js';
@@ -28,7 +28,7 @@ let CalciteActionGroup = class extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
30
  this.__registerHost();
31
- attachShadow(this);
31
+ this.__attachShadow();
32
32
  // --------------------------------------------------------------------------
33
33
  //
34
34
  // Properties
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted, f as focusElement } from './dom.js';
7
7
  import { g as getRoundRobinIndex } from './array.js';
8
8
  import { g as guid } from './guid.js';
@@ -33,7 +33,7 @@ let CalciteActionMenu = class extends HTMLElement {
33
33
  constructor() {
34
34
  super();
35
35
  this.__registerHost();
36
- attachShadow(this);
36
+ this.__attachShadow();
37
37
  this.calciteActionMenuOpenChange = createEvent(this, "calciteActionMenuOpenChange", 7);
38
38
  // --------------------------------------------------------------------------
39
39
  //
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle.js';
7
7
  import { f as focusElement, b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
8
8
  import { d as defineCustomElement$8 } from './calcite-action2.js';
@@ -31,7 +31,7 @@ let CalciteActionPad$1 = class extends HTMLElement {
31
31
  constructor() {
32
32
  super();
33
33
  this.__registerHost();
34
- attachShadow(this);
34
+ this.__attachShadow();
35
35
  this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle", 7);
36
36
  // --------------------------------------------------------------------------
37
37
  //
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, forceUpdate, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, forceUpdate, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as createObserver } from './observers.js';
7
7
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$1 } from './calcite-loader2.js';
@@ -27,7 +27,7 @@ let CalciteAction = class extends HTMLElement {
27
27
  constructor() {
28
28
  super();
29
29
  this.__registerHost();
30
- attachShadow(this);
30
+ this.__attachShadow();
31
31
  this.calciteActionClick = createEvent(this, "calciteActionClick", 7);
32
32
  // --------------------------------------------------------------------------
33
33
  //
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { s as setRequestedIcon, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { S as StatusIcons } from './interfaces.js';
8
8
  import { d as defineCustomElement$3 } from './calcite-chip2.js';
@@ -28,7 +28,7 @@ let CalciteAlert$1 = class extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
30
  this.__registerHost();
31
- attachShadow(this);
31
+ this.__attachShadow();
32
32
  this.calciteAlertClose = createEvent(this, "calciteAlertClose", 7);
33
33
  this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 7);
34
34
  this.calciteAlertSync = createEvent(this, "calciteAlertSync", 7);
@@ -2,7 +2,7 @@
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 { attachShadow, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, c as getThemeName } from './dom.js';
7
7
  import { h as hexToRGB, i as isValidHex } from './utils.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -65,7 +65,7 @@ let CalciteAvatar$1 = class extends HTMLElement {
65
65
  constructor() {
66
66
  super();
67
67
  this.__registerHost();
68
- attachShadow(this);
68
+ this.__attachShadow();
69
69
  //--------------------------------------------------------------------------
70
70
  //
71
71
  // Properties
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$3 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-switch2.js';
@@ -37,7 +37,7 @@ let CalciteBlockSection$1 = class extends HTMLElement {
37
37
  constructor() {
38
38
  super();
39
39
  this.__registerHost();
40
- attachShadow(this);
40
+ this.__attachShadow();
41
41
  this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 7);
42
42
  /**
43
43
  * When true, the block's section content will be displayed.
@@ -2,7 +2,7 @@
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 { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading.js';
8
8
  import { d as defineCustomElement$9 } from './calcite-action2.js';
@@ -52,13 +52,13 @@ const ICONS = {
52
52
  };
53
53
  const HEADING_LEVEL = 4;
54
54
 
55
- const calciteBlockCss = "@-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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;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;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:1rem;padding-right:1rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}";
55
+ const calciteBlockCss = "@-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:300ms}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;text-align:left;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;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-left:0.75rem;padding-right:0.75rem;padding-top:0;padding-bottom:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{margin-left:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-right:1rem;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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)}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}.calcite--rtl .toggle-icon{margin-right:0;margin-left:1rem}.calcite--rtl .icon{margin-left:0;margin-right:0.75rem}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}:host([drag-handle]) .calcite--rtl .title{padding-left:0;padding-right:0.25rem}";
56
56
 
57
57
  let CalciteBlock$1 = class extends HTMLElement {
58
58
  constructor() {
59
59
  super();
60
60
  this.__registerHost();
61
- attachShadow(this);
61
+ this.__attachShadow();
62
62
  this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 7);
63
63
  // --------------------------------------------------------------------------
64
64
  //
@@ -2,7 +2,7 @@
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 { attachShadow, Build, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { Build, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { d as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -57,7 +57,7 @@ let CalciteButton = class extends HTMLElement {
57
57
  constructor() {
58
58
  super();
59
59
  this.__registerHost();
60
- attachShadow(this);
60
+ this.__attachShadow();
61
61
  //--------------------------------------------------------------------------
62
62
  //
63
63
  // Properties
@@ -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 { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
- import { d as defineCustomElement$3 } from './calcite-checkbox2.js';
8
+ import { d as defineCustomElement$4 } from './calcite-checkbox2.js';
9
+ import { d as defineCustomElement$3 } from './calcite-label2.js';
9
10
  import { d as defineCustomElement$2 } from './calcite-loader2.js';
10
11
 
11
12
  const CSS = {
@@ -36,7 +37,7 @@ let CalciteCard$1 = class extends HTMLElement {
36
37
  constructor() {
37
38
  super();
38
39
  this.__registerHost();
39
- attachShadow(this);
40
+ this.__attachShadow();
40
41
  this.calciteCardSelect = createEvent(this, "calciteCardSelect", 7);
41
42
  //--------------------------------------------------------------------------
42
43
  //
@@ -103,7 +104,7 @@ let CalciteCard$1 = class extends HTMLElement {
103
104
  }
104
105
  renderCheckbox() {
105
106
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
106
- return (h("label", { "aria-label": checkboxLabel, class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown, title: checkboxLabel }, h("calcite-checkbox", { checked: this.selected })));
107
+ return (h("calcite-label", { class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
107
108
  }
108
109
  renderHeader() {
109
110
  const title = this.el.querySelector(`[slot=${SLOTS.title}]`);
@@ -129,7 +130,7 @@ CalciteCard$1 = /*@__PURE__*/ proxyCustomElement(CalciteCard$1, [1, "calcite-car
129
130
  "intlDeselect": [1, "intl-deselect"]
130
131
  }]);
131
132
  function defineCustomElement$1() {
132
- const components = ["calcite-card", "calcite-checkbox", "calcite-loader"];
133
+ const components = ["calcite-card", "calcite-checkbox", "calcite-label", "calcite-loader"];
133
134
  components.forEach(tagName => { switch (tagName) {
134
135
  case "calcite-card":
135
136
  if (!customElements.get(tagName)) {
@@ -137,6 +138,11 @@ function defineCustomElement$1() {
137
138
  }
138
139
  break;
139
140
  case "calcite-checkbox":
141
+ if (!customElements.get(tagName)) {
142
+ defineCustomElement$4();
143
+ }
144
+ break;
145
+ case "calcite-label":
140
146
  if (!customElements.get(tagName)) {
141
147
  defineCustomElement$3();
142
148
  }