@esri/calcite-components 1.0.0-next.312 → 1.0.0-next.316

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 (391) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
  3. package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
  4. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  5. package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
  6. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  7. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  8. package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
  9. package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  10. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  11. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  12. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  13. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  14. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  15. package/dist/calcite/{p-f1e111f4.system.entry.js → p-20f91a4e.system.entry.js} +1 -1
  16. package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
  17. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  18. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  19. package/dist/calcite/{p-a19e423a.entry.js → p-266ee9db.entry.js} +1 -1
  20. package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
  21. package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
  22. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  23. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  24. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  25. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  26. package/dist/calcite/p-43020fb5.js +5 -0
  27. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  28. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  29. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  30. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  31. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  32. package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
  33. package/dist/calcite/p-5035488d.entry.js +5 -0
  34. package/dist/calcite/p-52578054.js +5 -0
  35. package/dist/calcite/{p-34038a94.system.entry.js → p-538e542a.system.entry.js} +1 -1
  36. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  37. package/dist/calcite/{p-55a5535b.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  38. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  39. package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
  40. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  41. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  42. package/dist/calcite/p-71e299a6.system.js +5 -0
  43. package/dist/calcite/{p-a5e8f022.system.entry.js → p-730b8963.system.entry.js} +1 -1
  44. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  45. package/dist/calcite/{p-25caf637.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  46. package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
  47. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  48. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  49. package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
  50. package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
  51. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  52. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  53. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  54. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  55. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  56. package/dist/calcite/p-8e252799.system.js +1 -1
  57. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  58. package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  59. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  60. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  61. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  62. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  63. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  64. package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  65. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  66. package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
  67. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  68. package/dist/calcite/{p-0f014648.entry.js → p-b174f9ac.entry.js} +1 -1
  69. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  70. package/dist/calcite/{p-9a3bed69.entry.js → p-b3e418f0.entry.js} +1 -1
  71. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  72. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  73. package/dist/calcite/{p-0229a408.js → p-b6b6ec04.js} +1 -1
  74. package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
  75. package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
  76. package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
  77. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  78. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  79. package/dist/calcite/p-c1794615.entry.js +5 -0
  80. package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
  81. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  82. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  83. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  84. package/dist/calcite/{p-35a5c74c.system.js → p-d07ff1ee.system.js} +1 -1
  85. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  86. package/dist/calcite/p-d830efad.entry.js +5 -0
  87. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  88. package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
  89. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  90. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  91. package/dist/calcite/p-e5305b02.js +5 -0
  92. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  93. package/dist/calcite/p-e78e743b.entry.js +5 -0
  94. package/dist/calcite/{p-45b4443f.entry.js → p-ea3fee96.entry.js} +1 -1
  95. package/dist/calcite/{p-aaec0d11.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
  96. package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
  97. package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
  98. package/dist/calcite/{p-a46c3870.system.entry.js → p-ee45cff5.system.entry.js} +1 -1
  99. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  100. package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
  101. package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
  102. package/dist/calcite/p-f2620bc3.js +5 -0
  103. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  104. package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
  105. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  106. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  107. package/dist/calcite/p-fb817417.entry.js +5 -0
  108. package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
  109. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  110. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  111. package/dist/calcite/p-fccc1605.entry.js +5 -0
  112. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  113. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  114. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  115. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  116. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  117. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  118. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  119. package/dist/cjs/calcite-alert.cjs.entry.js +13 -18
  120. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  121. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  122. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  123. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  124. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  127. package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
  128. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  130. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  131. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  136. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  138. package/dist/cjs/calcite-input.cjs.entry.js +12 -7
  139. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  143. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  145. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  146. package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
  147. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  148. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  149. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
  150. package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
  151. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  152. package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -8
  153. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  156. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  157. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  159. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  161. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  163. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  164. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  165. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  166. package/dist/cjs/{popper-a7580aca.js → popper-4c24a334.js} +1 -1
  167. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  168. package/dist/collection/components/calcite-alert/calcite-alert.js +12 -17
  169. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  170. package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
  171. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  172. package/dist/collection/components/calcite-input/calcite-input.js +11 -5
  173. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  174. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  175. package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
  176. package/dist/collection/components/calcite-panel/resources.js +1 -0
  177. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
  178. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
  179. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  180. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  181. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +17 -8
  182. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  183. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
  184. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  185. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  186. package/dist/collection/utils/dom.js +6 -0
  187. package/dist/components/CalciteExpandToggle.js +3 -3
  188. package/dist/components/calcite-alert.js +12 -17
  189. package/dist/components/calcite-avatar.js +1 -1
  190. package/dist/components/calcite-block-section.js +2 -2
  191. package/dist/components/calcite-button2.js +1 -1
  192. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  193. package/dist/components/calcite-combobox.js +2 -2
  194. package/dist/components/calcite-dropdown2.js +1 -1
  195. package/dist/components/calcite-input2.js +9 -4
  196. package/dist/components/calcite-modal.js +2 -2
  197. package/dist/components/calcite-panel.js +8 -7
  198. package/dist/components/calcite-popover-manager.js +1 -1
  199. package/dist/components/calcite-radio-button.js +2 -2
  200. package/dist/components/calcite-radio-group.js +16 -18
  201. package/dist/components/calcite-select.js +2 -1
  202. package/dist/components/calcite-shell-panel.js +17 -8
  203. package/dist/components/calcite-slider.js +1 -1
  204. package/dist/components/calcite-tab-nav2.js +3 -3
  205. package/dist/components/calcite-tab-title2.js +3 -3
  206. package/dist/components/calcite-tip-manager.js +2 -2
  207. package/dist/components/calcite-tree-item.js +1 -1
  208. package/dist/components/dom.js +7 -1
  209. package/dist/components/form.js +1 -1
  210. package/dist/components/label.js +1 -1
  211. package/dist/custom-elements/index.js +79 -64
  212. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  213. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  214. package/dist/esm/calcite-action-bar.entry.js +2 -2
  215. package/dist/esm/calcite-action-group.entry.js +1 -1
  216. package/dist/esm/calcite-action-menu.entry.js +1 -1
  217. package/dist/esm/calcite-action-pad.entry.js +2 -2
  218. package/dist/esm/calcite-alert.entry.js +13 -18
  219. package/dist/esm/calcite-avatar.entry.js +1 -1
  220. package/dist/esm/calcite-block_2.entry.js +2 -2
  221. package/dist/esm/calcite-button.entry.js +2 -2
  222. package/dist/esm/calcite-card.entry.js +1 -1
  223. package/dist/esm/calcite-checkbox.entry.js +3 -3
  224. package/dist/esm/calcite-chip.entry.js +1 -1
  225. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  226. package/dist/esm/calcite-combobox_3.entry.js +5 -5
  227. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  228. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  229. package/dist/esm/calcite-fab.entry.js +1 -1
  230. package/dist/esm/calcite-filter.entry.js +1 -1
  231. package/dist/esm/calcite-graph_2.entry.js +3 -3
  232. package/dist/esm/calcite-icon.entry.js +1 -1
  233. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  234. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  235. package/dist/esm/calcite-input-message.entry.js +1 -1
  236. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  237. package/dist/esm/calcite-input.entry.js +12 -7
  238. package/dist/esm/calcite-label.entry.js +1 -1
  239. package/dist/esm/calcite-link.entry.js +1 -1
  240. package/dist/esm/calcite-list_3.entry.js +1 -1
  241. package/dist/esm/calcite-modal.entry.js +2 -2
  242. package/dist/esm/calcite-notice.entry.js +1 -1
  243. package/dist/esm/calcite-option_3.entry.js +5 -4
  244. package/dist/esm/calcite-pagination.entry.js +1 -1
  245. package/dist/esm/calcite-panel.entry.js +8 -7
  246. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  247. package/dist/esm/calcite-popover_2.entry.js +2 -2
  248. package/dist/esm/calcite-radio-group_2.entry.js +18 -20
  249. package/dist/esm/calcite-radio_2.entry.js +4 -4
  250. package/dist/esm/calcite-rating.entry.js +3 -3
  251. package/dist/esm/calcite-shell_3.entry.js +17 -8
  252. package/dist/esm/calcite-split-button.entry.js +1 -1
  253. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  254. package/dist/esm/calcite-switch.entry.js +3 -3
  255. package/dist/esm/calcite-tab_4.entry.js +5 -5
  256. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  257. package/dist/esm/calcite-tile.entry.js +1 -1
  258. package/dist/esm/calcite-tip_3.entry.js +2 -2
  259. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  260. package/dist/esm/calcite-tree_2.entry.js +1 -1
  261. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  262. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  263. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  264. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  265. package/dist/esm/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  266. package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  267. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  268. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  269. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  270. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  271. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  272. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  273. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  274. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  275. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  276. package/dist/esm-es5/calcite-button.entry.js +1 -1
  277. package/dist/esm-es5/calcite-card.entry.js +1 -1
  278. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  279. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  280. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  281. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  282. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  283. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  284. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  285. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  286. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  287. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  288. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  289. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  290. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  291. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  292. package/dist/esm-es5/calcite-input.entry.js +1 -1
  293. package/dist/esm-es5/calcite-label.entry.js +1 -1
  294. package/dist/esm-es5/calcite-link.entry.js +1 -1
  295. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  296. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  297. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  298. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  299. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  300. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  301. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  302. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  303. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  304. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  305. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  306. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  307. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  308. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  309. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  310. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  311. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  312. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  313. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  314. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  315. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  316. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  317. package/dist/esm-es5/dom-dc012a45.js +5 -0
  318. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  319. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  320. package/dist/esm-es5/{popper-f5caedc4.js → popper-ed1eefa6.js} +1 -1
  321. package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  322. package/dist/extras/docs-json.json +2 -1
  323. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -2
  324. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  325. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  326. package/dist/types/utils/dom.d.ts +4 -0
  327. package/hydrate/index.js +79 -64
  328. package/package.json +4 -3
  329. package/readme.md +2 -2
  330. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  331. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  332. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  333. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  334. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  335. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  336. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  337. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  338. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  339. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  340. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  341. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  342. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  343. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  344. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  345. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  346. package/dist/calcite/p-0d807182.system.entry.js +0 -5
  347. package/dist/calcite/p-0fa1ba75.entry.js +0 -5
  348. package/dist/calcite/p-1434e37e.entry.js +0 -5
  349. package/dist/calcite/p-1942876c.js +0 -5
  350. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  351. package/dist/calcite/p-21290fba.system.entry.js +0 -5
  352. package/dist/calcite/p-33226317.entry.js +0 -5
  353. package/dist/calcite/p-34e89de8.entry.js +0 -5
  354. package/dist/calcite/p-362cb320.entry.js +0 -5
  355. package/dist/calcite/p-3b29e94a.entry.js +0 -5
  356. package/dist/calcite/p-3dae9da3.js +0 -5
  357. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  358. package/dist/calcite/p-52cc870b.js +0 -5
  359. package/dist/calcite/p-6cc23c39.system.js +0 -5
  360. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  361. package/dist/calcite/p-81ab443c.entry.js +0 -5
  362. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  363. package/dist/calcite/p-bab99544.entry.js +0 -5
  364. package/dist/calcite/p-bdb92546.entry.js +0 -5
  365. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  366. package/dist/calcite/p-cbbfa133.system.entry.js +0 -5
  367. package/dist/calcite/p-d6f20229.js +0 -5
  368. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  369. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  371. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  372. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  373. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  374. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  375. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  376. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  377. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  386. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  387. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  388. package/dist/collection/demos/_assets/demo-template.js +0 -13
  389. package/dist/collection/demos/_assets/head.js +0 -45
  390. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  391. package/dist/esm-es5/dom-f24e866c.js +0 -5
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
- const dom = require('./dom-19822169.js');
11
+ const dom = require('./dom-41ce6029.js');
12
12
  const key = require('./key-8bfb93ec.js');
13
13
  const observers = require('./observers-41837607.js');
14
14
 
@@ -187,7 +187,7 @@ let CalciteTabNav = class {
187
187
  }
188
188
  }
189
189
  render() {
190
- const dir = dom.getElementDir(this.el);
190
+ const dir = dom.getElementStyleDir(this.el);
191
191
  const width = `${this.indicatorWidth}px`;
192
192
  const offset = `${this.indicatorOffset}px`;
193
193
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -244,7 +244,7 @@ let CalciteTabNav = class {
244
244
  }
245
245
  updateOffsetPosition() {
246
246
  var _a, _b, _c, _d, _e;
247
- const dir = dom.getElementDir(this.el);
247
+ const dir = dom.getElementStyleDir(this.el);
248
248
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
249
249
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
250
250
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -402,7 +402,7 @@ let CalciteTabTitle = class {
402
402
  e.preventDefault();
403
403
  break;
404
404
  case "ArrowRight":
405
- if (dom.getElementDir(this.el) === "ltr") {
405
+ if (dom.getElementStyleDir(this.el) === "ltr") {
406
406
  this.calciteTabsFocusNext.emit();
407
407
  }
408
408
  else {
@@ -410,7 +410,7 @@ let CalciteTabTitle = class {
410
410
  }
411
411
  break;
412
412
  case "ArrowLeft":
413
- if (dom.getElementDir(this.el) === "ltr") {
413
+ if (dom.getElementStyleDir(this.el) === "ltr") {
414
414
  this.calciteTabsFocusPrevious.emit();
415
415
  }
416
416
  else {
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
- const dom = require('./dom-19822169.js');
10
+ const dom = require('./dom-41ce6029.js');
11
11
  const guid = require('./guid-b270f0db.js');
12
12
 
13
13
  const calciteTileSelectCss = "@-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}.root{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;vertical-align:top;z-index:10}:host{display:block}:host(:hover) .root{z-index:20;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-1);box-shadow:0 0 0 1px var(--calcite-ui-border-1)}:host([checked]) .root{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}.root.focused{z-index:30}:host(:not([input-enabled]):hover) .root{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host(:not([input-enabled])) .root.focused{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand)}:host([width=full]) .root{max-width:none;display:-ms-flexbox;display:flex}:host([width=full]) calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host([input-alignment=start][width=full]) calcite-tile{-ms-flex-order:1;order:1;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host(:not([input-enabled])) ::slotted(calcite-checkbox),:host(:not([input-enabled])) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([heading]:not([icon]):not([description])) .root{-ms-flex-align:center;align-items:center}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) .root,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-radio-button),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-radio-button){-ms-flex-order:0;order:0}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) calcite-tile,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) calcite-tile{-ms-flex-order:1;order:1}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;left:0.75rem}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-radio-button){right:0.75rem;left:unset}:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;right:0.75rem}:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-radio-button){right:unset;left:0.75rem}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-radio-button){justify-self:flex-end}:host([hidden]){display:none}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
- const dom = require('./dom-19822169.js');
10
+ const dom = require('./dom-41ce6029.js');
11
11
  require('./guid-b270f0db.js');
12
12
 
13
13
  const SLOTS = {
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
- const dom = require('./dom-19822169.js');
10
+ const dom = require('./dom-41ce6029.js');
11
11
  const CalciteHeading = require('./CalciteHeading-112c19f9.js');
12
12
  const observers = require('./observers-41837607.js');
13
13
  require('./guid-b270f0db.js');
@@ -269,7 +269,7 @@ let CalciteTipManager = class {
269
269
  //
270
270
  // --------------------------------------------------------------------------
271
271
  renderPagination() {
272
- const dir = dom.getElementDir(this.el);
272
+ const dir = dom.getElementStyleDir(this.el);
273
273
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
274
274
  const nextLabel = intlNext || TEXT$1.next;
275
275
  const previousLabel = intlPrevious || TEXT$1.previous;
@@ -8,8 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
- const popper = require('./popper-a7580aca.js');
12
- const dom = require('./dom-19822169.js');
11
+ const popper = require('./popper-4c24a334.js');
12
+ const dom = require('./dom-41ce6029.js');
13
13
  const key = require('./key-8bfb93ec.js');
14
14
 
15
15
  const CSS = {
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
- const dom = require('./dom-19822169.js');
10
+ const dom = require('./dom-41ce6029.js');
11
11
  const key = require('./key-8bfb93ec.js');
12
12
  require('./guid-b270f0db.js');
13
13
 
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-6b5d2de5.js');
10
10
  const sortable_esm = require('./sortable.esm-d7a4560b.js');
11
- const resources = require('./resources-cd25dbae.js');
11
+ const resources = require('./resources-1177e39b.js');
12
12
  const array = require('./array-a5dedf5a.js');
13
13
  const observers = require('./observers-41837607.js');
14
14
  const guid = require('./guid-b270f0db.js');
15
- const dom = require('./dom-19822169.js');
15
+ const dom = require('./dom-41ce6029.js');
16
16
  require('./debounce-95979061.js');
17
17
 
18
18
  const CSS = {
@@ -38,6 +38,12 @@ function nodeListToArray(nodeList) {
38
38
  function getThemeName(el) {
39
39
  return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
40
40
  }
41
+ function getElementStyleDir(el) {
42
+ return window.getComputedStyle(el).direction || "ltr";
43
+ }
44
+ /**
45
+ * @deprecated use getElementStyleDir instead.
46
+ */
41
47
  function getElementDir(el) {
42
48
  const prop = "dir";
43
49
  const selector = `[${prop}]`;
@@ -160,6 +166,7 @@ exports.filterDirectChildren = filterDirectChildren;
160
166
  exports.focusElement = focusElement;
161
167
  exports.getElementDir = getElementDir;
162
168
  exports.getElementProp = getElementProp;
169
+ exports.getElementStyleDir = getElementStyleDir;
163
170
  exports.getSlotted = getSlotted;
164
171
  exports.getThemeName = getThemeName;
165
172
  exports.intersects = intersects;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const dom = require('./dom-19822169.js');
7
+ const dom = require('./dom-41ce6029.js');
8
8
  const index = require('./index-6b5d2de5.js');
9
9
 
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const dom = require('./dom-19822169.js');
7
+ const dom = require('./dom-41ce6029.js');
8
8
 
9
9
  /**
10
10
  * Exported for testing purposes only
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const dom = require('./dom-19822169.js');
7
+ const dom = require('./dom-41ce6029.js');
8
8
 
9
9
  var top = 'top';
10
10
  var bottom = 'bottom';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const dom = require('./dom-19822169.js');
7
+ const dom = require('./dom-41ce6029.js');
8
8
  const array = require('./array-a5dedf5a.js');
9
9
  const debounce = require('./debounce-95979061.js');
10
10
  const index = require('./index-6b5d2de5.js');
@@ -47,13 +47,11 @@ export class CalciteAlert {
47
47
  this.queueLength = 0;
48
48
  /** is the alert queued */
49
49
  this.queued = false;
50
- this.autoDismissTimeout = null;
51
- this.trackTimer = new Date();
50
+ this.autoDismissTimeoutId = null;
51
+ this.trackTimer = Date.now();
52
52
  /** close and emit the closed alert and the queue */
53
53
  this.closeAlert = () => {
54
- if (this.autoDismissTimeout) {
55
- this.autoDismissTimeout = null;
56
- }
54
+ this.autoDismissTimeoutId = null;
57
55
  this.queued = false;
58
56
  this.active = false;
59
57
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -77,10 +75,10 @@ export class CalciteAlert {
77
75
  updateRequestedIcon() {
78
76
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
79
77
  }
80
- updateDuration(newDuration, prevDuration) {
81
- if (this.autoDismiss && prevDuration !== newDuration && this.autoDismissTimeout) {
82
- window.clearTimeout(this.autoDismissTimeout);
83
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (new Date().valueOf() - this.trackTimer.valueOf()));
78
+ updateDuration() {
79
+ if (this.autoDismiss && this.autoDismissTimeoutId) {
80
+ window.clearTimeout(this.autoDismissTimeoutId);
81
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
84
82
  }
85
83
  }
86
84
  //--------------------------------------------------------------------------
@@ -100,9 +98,7 @@ export class CalciteAlert {
100
98
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
101
99
  }
102
100
  disconnectedCallback() {
103
- if (this.autoDismissTimeout) {
104
- window.clearTimeout(this.autoDismissTimeout);
105
- }
101
+ window.clearTimeout(this.autoDismissTimeoutId);
106
102
  }
107
103
  render() {
108
104
  const dir = getElementDir(this.el);
@@ -112,7 +108,6 @@ export class CalciteAlert {
112
108
  const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` },
113
109
  h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
114
110
  const { active, autoDismiss, label, queued, requestedIcon } = this;
115
- const progressBar = h("div", { class: "alert-dismiss-progress" });
116
111
  const role = autoDismiss ? "alert" : "alertdialog";
117
112
  const hidden = !active;
118
113
  return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role },
@@ -129,7 +124,7 @@ export class CalciteAlert {
129
124
  h("slot", { name: SLOTS.link })),
130
125
  queueCount,
131
126
  !autoDismiss ? closeButton : null,
132
- active && !queued && autoDismiss ? progressBar : null)));
127
+ active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
133
128
  }
134
129
  // when an alert is opened or closed, update queue and determine active alert
135
130
  alertSync(event) {
@@ -175,9 +170,9 @@ export class CalciteAlert {
175
170
  var _a;
176
171
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
177
172
  this.openAlert();
178
- if (this.autoDismiss && !this.autoDismissTimeout) {
179
- this.trackTimer = new Date();
180
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
173
+ if (this.autoDismiss && !this.autoDismissTimeoutId) {
174
+ this.trackTimer = Date.now();
175
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
181
176
  }
182
177
  }
183
178
  else {
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { Component, Element, Event, Prop, h } from "@stencil/core";
6
- import { getElementDir } from "../../utils/dom";
6
+ import { getElementStyleDir } from "../../utils/dom";
7
7
  import { CSS_UTILITY } from "../../utils/resources";
8
8
  import { CSS, ICONS, TEXT } from "./resources";
9
9
  /**
@@ -56,7 +56,7 @@ export class CalciteBlockSection {
56
56
  }
57
57
  render() {
58
58
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
59
- const dir = getElementDir(el);
59
+ const dir = getElementStyleDir(el);
60
60
  const arrowIcon = open
61
61
  ? ICONS.menuOpen
62
62
  : dir === "rtl"
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, h, Prop, State, Listen, Event, Element, Method, Watch, Host } from "@stencil/core";
6
6
  import { filter } from "../../utils/filter";
7
- import { getElementDir } from "../../utils/dom";
7
+ import { getElementDir, getElementStyleDir } from "../../utils/dom";
8
8
  import { debounce } from "lodash-es";
9
9
  import { getKey } from "../../utils/key";
10
10
  import { createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
@@ -86,7 +86,7 @@ export class CalciteCombobox {
86
86
  this.setFocus();
87
87
  };
88
88
  this.keydownHandler = (event) => {
89
- const key = getKey(event.key, getElementDir(this.el));
89
+ const key = getKey(event.key, getElementStyleDir(this.el));
90
90
  switch (key) {
91
91
  case "Tab":
92
92
  this.activeChipIndex = -1;
@@ -59,7 +59,7 @@ export class CalciteDropdown {
59
59
  //
60
60
  //--------------------------------------------------------------------------
61
61
  this.items = [];
62
- this.activeTransitionProp = "opacity";
62
+ this.activeTransitionProp = "visibility";
63
63
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
64
64
  //--------------------------------------------------------------------------
65
65
  //
@@ -71,6 +71,8 @@ export class CalciteInput {
71
71
  * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
72
72
  */
73
73
  this.type = "text";
74
+ /** input value */
75
+ this.value = "";
74
76
  /** keep track of the rendered child type */
75
77
  this.childElType = "input";
76
78
  //--------------------------------------------------------------------------
@@ -92,7 +94,7 @@ export class CalciteInput {
92
94
  }
93
95
  };
94
96
  this.clearInputValue = (nativeEvent) => {
95
- this.setValue(null, nativeEvent, true);
97
+ this.setValue("", nativeEvent, true);
96
98
  };
97
99
  this.inputBlurHandler = () => {
98
100
  if (this.type === "number") {
@@ -234,7 +236,7 @@ export class CalciteInput {
234
236
  this.setLocalizedValue(this.value);
235
237
  }
236
238
  if (nativeEvent) {
237
- if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
239
+ if (this.type === "number" && value.endsWith(".")) {
238
240
  return;
239
241
  }
240
242
  const calciteInputInputEvent = this.calciteInputInput.emit({
@@ -269,6 +271,10 @@ export class CalciteInput {
269
271
  this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
270
272
  }
271
273
  valueWatcher(newValue) {
274
+ if (newValue == null) {
275
+ this.value = "";
276
+ return;
277
+ }
272
278
  if (this.type === "number" &&
273
279
  this.localizedValue !== localizeNumberString(newValue, this.locale)) {
274
280
  this.setLocalizedValue(newValue);
@@ -281,8 +287,7 @@ export class CalciteInput {
281
287
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
282
288
  }
283
289
  get isClearable() {
284
- var _a;
285
- return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
290
+ return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
286
291
  }
287
292
  get isTextarea() {
288
293
  return this.childElType === "textarea";
@@ -1041,7 +1046,8 @@ export class CalciteInput {
1041
1046
  "text": "input value"
1042
1047
  },
1043
1048
  "attribute": "value",
1044
- "reflect": false
1049
+ "reflect": false,
1050
+ "defaultValue": "\"\""
1045
1051
  }
1046
1052
  }; }
1047
1053
  static get states() { return {
@@ -154,7 +154,7 @@ export class CalciteModal {
154
154
  }
155
155
  renderCloseButton() {
156
156
  return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose },
157
- h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
157
+ h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
158
158
  }
159
159
  renderStyle() {
160
160
  const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
@@ -313,10 +313,13 @@ h5.heading {
313
313
  }
314
314
 
315
315
  .content-wrapper {
316
- height: 100%;
317
316
  overflow: auto;
318
317
  }
319
318
 
319
+ .content-height {
320
+ height: 100%;
321
+ }
322
+
320
323
  .content-container {
321
324
  align-items: stretch;
322
325
  background-color: var(--calcite-ui-background);
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Element, Event, Method, Prop, Watch, h, Fragment } from "@stencil/core";
6
6
  import { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from "./resources";
7
- import { getElementDir, getSlotted } from "../../utils/dom";
7
+ import { getElementDir, getElementStyleDir, getSlotted } from "../../utils/dom";
8
8
  import { CSS_UTILITY } from "../../utils/resources";
9
9
  import { CalciteHeading } from "../functional/CalciteHeading";
10
10
  import { SLOTS as ACTION_MENU_SLOTS } from "../calcite-action-menu/resources";
@@ -106,7 +106,7 @@ export class CalcitePanel {
106
106
  // --------------------------------------------------------------------------
107
107
  renderBackButton() {
108
108
  const { el } = this;
109
- const rtl = getElementDir(el) === "rtl";
109
+ const rtl = getElementStyleDir(el) === "rtl";
110
110
  const { showBackButton, intlBack, backButtonClick } = this;
111
111
  const label = intlBack || TEXT.back;
112
112
  const icon = rtl ? ICONS.backRight : ICONS.backLeft;
@@ -187,16 +187,17 @@ export class CalcitePanel {
187
187
  h("slot", { name: SLOTS.footerActions }))) : null;
188
188
  }
189
189
  renderContent() {
190
- return (h("div", { class: CSS.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 },
190
+ const { el } = this;
191
+ const hasFab = getSlotted(el, SLOTS.fab);
192
+ return hasFab ? (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
191
193
  h("section", { class: CSS.contentContainer },
192
194
  h("slot", null)),
193
- this.renderFab()));
195
+ this.renderFab())) : (h("section", { class: { [CSS.contentWrapper]: true, [CSS.contentContainer]: true }, onScroll: this.panelScrollHandler, tabIndex: 0 },
196
+ h("slot", null)));
194
197
  }
195
198
  renderFab() {
196
- const { el } = this;
197
- const hasFab = getSlotted(el, SLOTS.fab);
198
- return hasFab ? (h("div", { class: CSS.fabContainer },
199
- h("slot", { name: SLOTS.fab }))) : null;
199
+ return (h("div", { class: CSS.fabContainer },
200
+ h("slot", { name: SLOTS.fab })));
200
201
  }
201
202
  render() {
202
203
  const { dismissed, disabled, dismissible, el, loading, panelKeyUpHandler } = this;
@@ -14,6 +14,7 @@ export const CSS = {
14
14
  headerActionsStart: "header-actions--start",
15
15
  contentWrapper: "content-wrapper",
16
16
  contentContainer: "content-container",
17
+ contentHeight: "content-height",
17
18
  fabContainer: "fab-container",
18
19
  footer: "footer",
19
20
  menuContainer: "menu-container",
@@ -4,12 +4,11 @@
4
4
  */
5
5
  import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
6
6
  import { guid } from "../../utils/guid";
7
- import { focusElement } from "../../utils/dom";
7
+ import { focusElement, getElementStyleDir } from "../../utils/dom";
8
8
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
9
9
  import { HiddenFormInputSlot, connectForm, disconnectForm } from "../../utils/form";
10
10
  import { CSS } from "./resources";
11
11
  import { getKey } from "../../utils/key";
12
- import { getElementDir } from "../../utils/dom";
13
12
  import { getRoundRobinIndex } from "../../utils/array";
14
13
  export class CalciteRadioButton {
15
14
  constructor() {
@@ -80,7 +79,7 @@ export class CalciteRadioButton {
80
79
  return;
81
80
  }
82
81
  let adjustedKey = key;
83
- if (getElementDir(el) === "rtl") {
82
+ if (getElementStyleDir(el) === "rtl") {
84
83
  if (key === "ArrowRight") {
85
84
  adjustedKey = "ArrowLeft";
86
85
  }
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { Component, Event, h, Listen, Element, Prop, Watch, Host, Build, Method } from "@stencil/core";
6
- import { getElementDir } from "../../utils/dom";
6
+ import { getElementStyleDir } from "../../utils/dom";
7
7
  import { getKey } from "../../utils/key";
8
8
  import { connectLabel, disconnectLabel } from "../../utils/label";
9
9
  import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
@@ -42,7 +42,7 @@ export class CalciteRadioGroup {
42
42
  //--------------------------------------------------------------------------
43
43
  this.handleClick = (event) => {
44
44
  if (event.target.localName === "calcite-radio-group-item") {
45
- this.selectItem(event.target);
45
+ this.selectItem(event.target, true);
46
46
  }
47
47
  };
48
48
  }
@@ -61,7 +61,6 @@ export class CalciteRadioGroup {
61
61
  .pop();
62
62
  if (match) {
63
63
  this.selectItem(match);
64
- this.calciteRadioGroupChange.emit(match.value);
65
64
  }
66
65
  else if (items[0]) {
67
66
  items[0].tabIndex = 0;
@@ -72,7 +71,7 @@ export class CalciteRadioGroup {
72
71
  // Lifecycle
73
72
  //
74
73
  //--------------------------------------------------------------------------
75
- connectedCallback() {
74
+ componentWillLoad() {
76
75
  const items = this.getItems();
77
76
  const lastChecked = Array.from(items)
78
77
  .filter((item) => item.checked)
@@ -83,6 +82,8 @@ export class CalciteRadioGroup {
83
82
  else if (items[0]) {
84
83
  items[0].tabIndex = 0;
85
84
  }
85
+ }
86
+ connectedCallback() {
86
87
  connectLabel(this);
87
88
  connectForm(this);
88
89
  }
@@ -90,21 +91,15 @@ export class CalciteRadioGroup {
90
91
  disconnectLabel(this);
91
92
  disconnectForm(this);
92
93
  }
93
- componentDidLoad() {
94
- this.hasLoaded = true;
95
- }
96
94
  render() {
97
95
  return (h(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null },
98
96
  h("slot", null),
99
97
  h(HiddenFormInputSlot, { component: this })));
100
98
  }
101
99
  handleSelected(event) {
102
- // only fire after initial setup to prevent semi-infinite loops
103
- if (this.hasLoaded) {
104
- event.stopPropagation();
105
- event.preventDefault();
106
- this.selectItem(event.target);
107
- }
100
+ event.stopPropagation();
101
+ event.preventDefault();
102
+ this.selectItem(event.target);
108
103
  }
109
104
  handleKeyDown(event) {
110
105
  const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
@@ -114,7 +109,7 @@ export class CalciteRadioGroup {
114
109
  return;
115
110
  }
116
111
  let adjustedKey = key;
117
- if (getElementDir(el) === "rtl") {
112
+ if (getElementStyleDir(el) === "rtl") {
118
113
  if (key === "ArrowRight") {
119
114
  adjustedKey = "ArrowLeft";
120
115
  }
@@ -134,17 +129,17 @@ export class CalciteRadioGroup {
134
129
  case "ArrowUp":
135
130
  event.preventDefault();
136
131
  const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
137
- this.selectItem(previous);
132
+ this.selectItem(previous, true);
138
133
  return;
139
134
  case "ArrowRight":
140
135
  case "ArrowDown":
141
136
  event.preventDefault();
142
137
  const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
143
- this.selectItem(next);
138
+ this.selectItem(next, true);
144
139
  return;
145
140
  case " ":
146
141
  event.preventDefault();
147
- this.selectItem(event.target);
142
+ this.selectItem(event.target, true);
148
143
  return;
149
144
  default:
150
145
  return;
@@ -171,7 +166,7 @@ export class CalciteRadioGroup {
171
166
  getItems() {
172
167
  return this.el.querySelectorAll("calcite-radio-group-item");
173
168
  }
174
- selectItem(selected) {
169
+ selectItem(selected, emit = false) {
175
170
  if (selected === this.selectedItem) {
176
171
  return;
177
172
  }
@@ -185,6 +180,9 @@ export class CalciteRadioGroup {
185
180
  item.tabIndex = matches ? 0 : -1;
186
181
  if (matches) {
187
182
  match = item;
183
+ if (emit) {
184
+ this.calciteRadioGroupChange.emit(match.value);
185
+ }
188
186
  }
189
187
  });
190
188
  this.selectedItem = match;
@@ -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 { Component, Event, h, Prop, Element, Host, Watch, State } from "@stencil/core";
5
+ import { Component, h, Prop, Element, Event, Host, Watch, State } from "@stencil/core";
6
6
  import { getElementDir, getElementProp } from "../../utils/dom";
7
7
  import { SLOTS, CSS } from "./resources";
8
8
  import { createObserver } from "../../utils/observers";
@@ -118,6 +118,7 @@ export class CalciteSelect {
118
118
  this.updateNativeElement(optionOrGroup, nativeEl);
119
119
  if (isOption(optionOrGroup) && optionOrGroup.selected) {
120
120
  this.deselectAllExcept(optionOrGroup);
121
+ this.selectedOption = optionOrGroup;
121
122
  }
122
123
  }
123
124
  //--------------------------------------------------------------------------
@@ -157,7 +158,7 @@ export class CalciteSelect {
157
158
  }
158
159
  });
159
160
  if (futureSelected) {
160
- requestAnimationFrame(() => (this.selectedOption = futureSelected));
161
+ this.selectedOption = futureSelected;
161
162
  }
162
163
  }
163
164
  toNativeElement(optionOrGroup) {