@esri/calcite-components 1.0.0-beta.70 → 1.0.0-beta.71

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 (481) hide show
  1. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  52. package/dist/calcite/calcite.esm.js +1 -1
  53. package/dist/calcite/{p-2a714a22.entry.js → p-04a2538a.entry.js} +1 -1
  54. package/dist/calcite/{p-d6e30c54.entry.js → p-051cc8c6.entry.js} +1 -1
  55. package/dist/calcite/{p-765fb8ed.entry.js → p-058ee7b0.entry.js} +1 -1
  56. package/dist/calcite/{p-5efd81e1.entry.js → p-0c827dec.entry.js} +1 -1
  57. package/dist/calcite/{p-59a285d8.system.entry.js → p-0f33798d.system.entry.js} +1 -1
  58. package/dist/calcite/{p-e70cb594.system.entry.js → p-0f9f1f89.system.entry.js} +1 -1
  59. package/dist/calcite/{p-1a962bdd.js → p-1161e56f.js} +1 -1
  60. package/dist/calcite/{p-044d603d.system.entry.js → p-18fbf2af.system.entry.js} +1 -1
  61. package/dist/calcite/{p-9338b0bc.entry.js → p-198902ca.entry.js} +1 -1
  62. package/dist/calcite/{p-cc788d2e.entry.js → p-1ad123f9.entry.js} +1 -1
  63. package/dist/calcite/{p-e33fe285.system.entry.js → p-1eb04aad.system.entry.js} +1 -1
  64. package/dist/calcite/{p-deb36fde.system.entry.js → p-1f809e6c.system.entry.js} +1 -1
  65. package/dist/calcite/{p-1c8fe17f.system.entry.js → p-2033f545.system.entry.js} +1 -1
  66. package/dist/calcite/p-20f91a4e.system.entry.js +5 -0
  67. package/dist/calcite/{p-7ba971b5.system.entry.js → p-227bc238.system.entry.js} +1 -1
  68. package/dist/calcite/p-239b44dd.system.entry.js +5 -0
  69. package/dist/calcite/{p-f9c46578.entry.js → p-23bc2d32.entry.js} +1 -1
  70. package/dist/calcite/p-266ee9db.entry.js +5 -0
  71. package/dist/calcite/{p-4f1f83d2.entry.js → p-2c66fb61.entry.js} +1 -1
  72. package/dist/calcite/{p-63e60894.entry.js → p-343cd887.entry.js} +1 -1
  73. package/dist/calcite/{p-ecc00ef0.entry.js → p-3d69fba9.entry.js} +1 -1
  74. package/dist/calcite/p-3ec67fae.entry.js +5 -0
  75. package/dist/calcite/p-42091a1f.system.entry.js +5 -0
  76. package/dist/calcite/p-42c7e2f0.system.entry.js +5 -0
  77. package/dist/calcite/p-43020fb5.js +5 -0
  78. package/dist/calcite/p-44a07313.system.entry.js +5 -0
  79. package/dist/calcite/{p-c34c4414.system.js → p-47f55191.system.js} +1 -1
  80. package/dist/calcite/{p-e52495d3.system.entry.js → p-4a8b3cf3.system.entry.js} +1 -1
  81. package/dist/calcite/p-4cc182af.system.entry.js +5 -0
  82. package/dist/calcite/{p-cced5508.system.entry.js → p-4ee2f6cf.system.entry.js} +1 -1
  83. package/dist/calcite/{p-c87c04a9.entry.js → p-50273eed.entry.js} +1 -1
  84. package/dist/calcite/p-5035488d.entry.js +5 -0
  85. package/dist/calcite/p-52578054.js +5 -0
  86. package/dist/calcite/{p-3a592bf3.system.entry.js → p-538e542a.system.entry.js} +1 -1
  87. package/dist/calcite/{p-ef39847e.entry.js → p-55bfe4fc.entry.js} +1 -1
  88. package/dist/calcite/{p-dd464e44.system.entry.js → p-57e9b7cb.system.entry.js} +1 -1
  89. package/dist/calcite/{p-e6d05ad6.system.entry.js → p-6c5b849f.system.entry.js} +1 -1
  90. package/dist/calcite/{p-9577dfd9.entry.js → p-6ca051ef.entry.js} +1 -1
  91. package/dist/calcite/{p-c61ebee9.entry.js → p-702140ce.entry.js} +1 -1
  92. package/dist/calcite/{p-523bc291.system.js → p-71cdeee3.system.js} +1 -1
  93. package/dist/calcite/p-71e299a6.system.js +5 -0
  94. package/dist/calcite/{p-243d95ab.system.entry.js → p-730b8963.system.entry.js} +2 -2
  95. package/dist/calcite/{p-4d11efdb.system.entry.js → p-7325e7fc.system.entry.js} +1 -1
  96. package/dist/calcite/{p-a8dc2982.system.entry.js → p-784e4e32.system.entry.js} +1 -1
  97. package/dist/calcite/{p-2aa3007a.entry.js → p-80a527ef.entry.js} +1 -1
  98. package/dist/calcite/{p-cf03b144.system.entry.js → p-832affcb.system.entry.js} +1 -1
  99. package/dist/calcite/p-837f9bb4.system.entry.js +5 -0
  100. package/dist/calcite/{p-840f2937.system.entry.js → p-83fca16e.system.entry.js} +1 -1
  101. package/dist/calcite/{p-e616f9b5.entry.js → p-84d6696b.entry.js} +1 -1
  102. package/dist/calcite/{p-38bd222a.entry.js → p-87f1831b.entry.js} +1 -1
  103. package/dist/calcite/{p-4acfb654.entry.js → p-88b4f504.entry.js} +1 -1
  104. package/dist/calcite/{p-f1c5e7cf.entry.js → p-89987575.entry.js} +1 -1
  105. package/dist/calcite/{p-c4cb4fab.system.entry.js → p-8b2d4eac.system.entry.js} +1 -1
  106. package/dist/calcite/p-8da7ad4b.entry.js +5 -0
  107. package/dist/calcite/p-8e252799.system.js +1 -1
  108. package/dist/calcite/{p-1dd440e6.system.entry.js → p-9470d123.system.entry.js} +1 -1
  109. package/dist/calcite/{p-4e16515a.system.entry.js → p-99de28b4.system.entry.js} +1 -1
  110. package/dist/calcite/{p-004460a0.system.entry.js → p-99e52ea7.system.entry.js} +1 -1
  111. package/dist/calcite/{p-29771742.entry.js → p-9be50494.entry.js} +1 -1
  112. package/dist/calcite/{p-15f3a0d7.system.entry.js → p-a821e9b3.system.entry.js} +1 -1
  113. package/dist/calcite/{p-b94bf8ac.system.entry.js → p-a98e5444.system.entry.js} +2 -2
  114. package/dist/calcite/p-ab9c6a18.entry.js +5 -0
  115. package/dist/calcite/{p-6484ffb7.system.entry.js → p-abdc7a4b.system.entry.js} +1 -1
  116. package/dist/calcite/{p-74f390e1.system.entry.js → p-ac38b743.system.entry.js} +2 -2
  117. package/dist/calcite/{p-dbe899c6.system.entry.js → p-b0b6baf4.system.entry.js} +1 -1
  118. package/dist/calcite/{p-6296644b.entry.js → p-b16b831d.entry.js} +1 -1
  119. package/dist/calcite/p-b174f9ac.entry.js +5 -0
  120. package/dist/calcite/{p-16f2d814.system.entry.js → p-b37b7b9e.system.entry.js} +1 -1
  121. package/dist/calcite/{p-502ea583.entry.js → p-b3e418f0.entry.js} +1 -1
  122. package/dist/calcite/{p-defcee80.system.entry.js → p-b5d21a5d.system.entry.js} +1 -1
  123. package/dist/calcite/p-b5f412fb.entry.js +5 -0
  124. package/dist/calcite/p-b6b6ec04.js +5 -0
  125. package/dist/calcite/{p-127e3513.system.entry.js → p-b7518275.system.entry.js} +1 -1
  126. package/dist/calcite/{p-85032edc.system.entry.js → p-b75ffebb.system.entry.js} +1 -1
  127. package/dist/calcite/{p-8603b2e1.entry.js → p-bef1f0d9.entry.js} +1 -1
  128. package/dist/calcite/{p-c0e35328.entry.js → p-c0690971.entry.js} +1 -1
  129. package/dist/calcite/{p-05da7439.entry.js → p-c12e88cd.entry.js} +1 -1
  130. package/dist/calcite/p-c1794615.entry.js +5 -0
  131. package/dist/calcite/{p-cbf6bb04.system.js → p-c937f25f.system.js} +1 -1
  132. package/dist/calcite/{p-8baa9ba4.entry.js → p-c9551366.entry.js} +1 -1
  133. package/dist/calcite/{p-efb2169a.entry.js → p-ca5c0679.entry.js} +1 -1
  134. package/dist/calcite/{p-e5e3b591.entry.js → p-cd1cdf3c.entry.js} +1 -1
  135. package/dist/calcite/p-d07ff1ee.system.js +5 -0
  136. package/dist/calcite/{p-16bb48f6.system.entry.js → p-d102e280.system.entry.js} +1 -1
  137. package/dist/calcite/p-d830efad.entry.js +5 -0
  138. package/dist/calcite/p-dacd3cf8.entry.js +5 -0
  139. package/dist/calcite/{p-9be6633a.entry.js → p-dcc6b40f.entry.js} +1 -1
  140. package/dist/calcite/p-dccb5ffd.entry.js +5 -0
  141. package/dist/calcite/{p-a5269f14.system.entry.js → p-e2d18d39.system.entry.js} +1 -1
  142. package/dist/calcite/p-e5305b02.js +5 -0
  143. package/dist/calcite/{p-10708f87.system.entry.js → p-e6a47d34.system.entry.js} +1 -1
  144. package/dist/calcite/p-e78e743b.entry.js +5 -0
  145. package/dist/calcite/{p-fc643963.entry.js → p-ea3fee96.entry.js} +1 -1
  146. package/dist/calcite/{p-109049e6.system.entry.js → p-eb0f1e0f.system.entry.js} +1 -1
  147. package/dist/calcite/{p-5eee672a.system.entry.js → p-ed3f000d.system.entry.js} +1 -1
  148. package/dist/calcite/{p-592da79d.system.entry.js → p-ee40deba.system.entry.js} +1 -1
  149. package/dist/calcite/p-ee45cff5.system.entry.js +5 -0
  150. package/dist/calcite/{p-aec398f3.system.entry.js → p-eeb8dfe5.system.entry.js} +1 -1
  151. package/dist/calcite/{p-63da2e34.system.entry.js → p-f05b5dc9.system.entry.js} +1 -1
  152. package/dist/calcite/{p-a61d85db.system.entry.js → p-f1832595.system.entry.js} +1 -1
  153. package/dist/calcite/p-f2620bc3.js +5 -0
  154. package/dist/calcite/{p-f278dd53.entry.js → p-f333e31b.entry.js} +1 -1
  155. package/dist/calcite/{p-4778c5cf.system.entry.js → p-f6323ffa.system.entry.js} +1 -1
  156. package/dist/calcite/p-f87ba8eb.system.js +5 -0
  157. package/dist/calcite/{p-578509a8.entry.js → p-f97e1a2d.entry.js} +1 -1
  158. package/dist/calcite/p-fb817417.entry.js +5 -0
  159. package/dist/calcite/{p-ace12b8d.entry.js → p-fb8b2c96.entry.js} +1 -1
  160. package/dist/calcite/{p-2451da5b.entry.js → p-fba77b86.entry.js} +1 -1
  161. package/dist/calcite/{p-289bc56f.entry.js → p-fc32b022.entry.js} +1 -1
  162. package/dist/calcite/p-fccc1605.entry.js +5 -0
  163. package/dist/calcite/{p-5f2a9710.system.entry.js → p-fd1ddcd2.system.entry.js} +1 -1
  164. package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-ca629f39.js} +3 -3
  165. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-alert.cjs.entry.js +19 -7
  171. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  176. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +20 -12
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  184. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  187. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  189. package/dist/cjs/calcite-input.cjs.entry.js +23 -17
  190. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  194. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -4
  196. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-panel.cjs.entry.js +8 -7
  198. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  199. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  200. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +18 -20
  201. package/dist/cjs/calcite-radio_2.cjs.entry.js +4 -4
  202. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-shell_3.cjs.entry.js +166 -6
  204. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -2
  205. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-tab_4.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  209. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite.cjs.js +1 -1
  215. package/dist/cjs/{dom-19822169.js → dom-41ce6029.js} +7 -0
  216. package/dist/cjs/{form-a5b44a1f.js → form-7f276aa5.js} +1 -1
  217. package/dist/cjs/{label-8e3552b2.js → label-98a31f7d.js} +1 -1
  218. package/dist/cjs/loader.cjs.js +1 -1
  219. package/dist/cjs/{popper-87bf13e6.js → popper-4c24a334.js} +91 -65
  220. package/dist/cjs/{resources-cd25dbae.js → resources-1177e39b.js} +1 -1
  221. package/dist/collection/components/calcite-alert/calcite-alert.js +19 -5
  222. package/dist/collection/components/calcite-block-section/calcite-block-section.js +2 -2
  223. package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -2
  224. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +1 -1
  225. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  226. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  227. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  228. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  229. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  230. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  231. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  232. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  233. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  234. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  235. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  236. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  237. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  238. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  239. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  240. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  241. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  242. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  276. package/dist/collection/components/calcite-input/calcite-input.css +2 -0
  277. package/dist/collection/components/calcite-input/calcite-input.js +21 -14
  278. package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
  279. package/dist/collection/components/calcite-panel/calcite-panel.css +4 -1
  280. package/dist/collection/components/calcite-panel/calcite-panel.js +9 -8
  281. package/dist/collection/components/calcite-panel/resources.js +1 -0
  282. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +2 -3
  283. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +16 -18
  284. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +1 -1
  285. package/dist/collection/components/calcite-select/calcite-select.js +2 -1
  286. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +44 -0
  287. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +204 -6
  288. package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
  289. package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
  290. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  291. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +3 -3
  292. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  293. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  294. package/dist/collection/utils/dom.js +6 -0
  295. package/dist/components/CalciteExpandToggle.js +3 -3
  296. package/dist/components/calcite-alert.js +18 -6
  297. package/dist/components/calcite-avatar.js +1 -1
  298. package/dist/components/calcite-block-section.js +2 -2
  299. package/dist/components/calcite-button2.js +1 -1
  300. package/dist/components/calcite-color-picker-swatch2.js +20 -12
  301. package/dist/components/calcite-combobox.js +2 -2
  302. package/dist/components/calcite-dropdown2.js +1 -1
  303. package/dist/components/calcite-input2.js +20 -14
  304. package/dist/components/calcite-modal.js +2 -2
  305. package/dist/components/calcite-panel.js +8 -7
  306. package/dist/components/calcite-popover-manager.js +1 -1
  307. package/dist/components/calcite-radio-button.js +2 -2
  308. package/dist/components/calcite-radio-group.js +16 -18
  309. package/dist/components/calcite-select.js +2 -1
  310. package/dist/components/calcite-shell-panel.js +171 -8
  311. package/dist/components/calcite-slider.js +1 -1
  312. package/dist/components/calcite-split-button.js +4 -1
  313. package/dist/components/calcite-tab-nav2.js +3 -3
  314. package/dist/components/calcite-tab-title2.js +3 -3
  315. package/dist/components/calcite-tip-manager.js +2 -2
  316. package/dist/components/calcite-tree-item.js +1 -1
  317. package/dist/components/dom.js +7 -1
  318. package/dist/components/form.js +1 -1
  319. package/dist/components/label.js +1 -1
  320. package/dist/components/popper.js +90 -64
  321. package/dist/custom-elements/index.js +451 -232
  322. package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-4b38a7d1.js} +3 -3
  323. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  324. package/dist/esm/calcite-action-bar.entry.js +2 -2
  325. package/dist/esm/calcite-action-group.entry.js +1 -1
  326. package/dist/esm/calcite-action-menu.entry.js +1 -1
  327. package/dist/esm/calcite-action-pad.entry.js +2 -2
  328. package/dist/esm/calcite-alert.entry.js +19 -7
  329. package/dist/esm/calcite-avatar.entry.js +1 -1
  330. package/dist/esm/calcite-block_2.entry.js +2 -2
  331. package/dist/esm/calcite-button.entry.js +2 -2
  332. package/dist/esm/calcite-card.entry.js +1 -1
  333. package/dist/esm/calcite-checkbox.entry.js +3 -3
  334. package/dist/esm/calcite-chip.entry.js +1 -1
  335. package/dist/esm/calcite-color-picker_3.entry.js +20 -12
  336. package/dist/esm/calcite-combobox_3.entry.js +5 -5
  337. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  338. package/dist/esm/calcite-dropdown_3.entry.js +3 -3
  339. package/dist/esm/calcite-fab.entry.js +1 -1
  340. package/dist/esm/calcite-filter.entry.js +1 -1
  341. package/dist/esm/calcite-graph_2.entry.js +3 -3
  342. package/dist/esm/calcite-icon.entry.js +1 -1
  343. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  344. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  345. package/dist/esm/calcite-input-message.entry.js +1 -1
  346. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  347. package/dist/esm/calcite-input.entry.js +23 -17
  348. package/dist/esm/calcite-label.entry.js +1 -1
  349. package/dist/esm/calcite-link.entry.js +1 -1
  350. package/dist/esm/calcite-list_3.entry.js +1 -1
  351. package/dist/esm/calcite-modal.entry.js +2 -2
  352. package/dist/esm/calcite-notice.entry.js +1 -1
  353. package/dist/esm/calcite-option_3.entry.js +5 -4
  354. package/dist/esm/calcite-pagination.entry.js +1 -1
  355. package/dist/esm/calcite-panel.entry.js +8 -7
  356. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  357. package/dist/esm/calcite-popover_2.entry.js +2 -2
  358. package/dist/esm/calcite-radio-group_2.entry.js +18 -20
  359. package/dist/esm/calcite-radio_2.entry.js +4 -4
  360. package/dist/esm/calcite-rating.entry.js +3 -3
  361. package/dist/esm/calcite-shell_3.entry.js +167 -7
  362. package/dist/esm/calcite-split-button.entry.js +4 -2
  363. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  364. package/dist/esm/calcite-switch.entry.js +3 -3
  365. package/dist/esm/calcite-tab_4.entry.js +5 -5
  366. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  367. package/dist/esm/calcite-tile.entry.js +1 -1
  368. package/dist/esm/calcite-tip_3.entry.js +2 -2
  369. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  370. package/dist/esm/calcite-tree_2.entry.js +1 -1
  371. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  372. package/dist/esm/calcite.js +1 -1
  373. package/dist/esm/{dom-f24e866c.js → dom-dc012a45.js} +7 -1
  374. package/dist/esm/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  375. package/dist/esm/{label-5559055d.js → label-0d804a87.js} +1 -1
  376. package/dist/esm/loader.js +1 -1
  377. package/dist/esm/{popper-dc4b45cf.js → popper-ed1eefa6.js} +91 -65
  378. package/dist/esm/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  379. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +5 -0
  380. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  381. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  382. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  383. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  384. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  385. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  386. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  387. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  388. package/dist/esm-es5/calcite-button.entry.js +1 -1
  389. package/dist/esm-es5/calcite-card.entry.js +1 -1
  390. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  391. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  392. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  393. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  394. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  395. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  396. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  397. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  398. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  399. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  400. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  401. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  402. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  403. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  404. package/dist/esm-es5/calcite-input.entry.js +1 -1
  405. package/dist/esm-es5/calcite-label.entry.js +1 -1
  406. package/dist/esm-es5/calcite-link.entry.js +1 -1
  407. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  408. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  409. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  410. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  411. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  412. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  413. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  414. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  416. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  417. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  418. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  419. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  420. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  421. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  422. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  423. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  424. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  425. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  426. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  427. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  428. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  429. package/dist/esm-es5/calcite.js +1 -1
  430. package/dist/esm-es5/dom-dc012a45.js +5 -0
  431. package/dist/esm-es5/{form-160b0fb5.js → form-6b717ce8.js} +1 -1
  432. package/dist/esm-es5/{label-5559055d.js → label-0d804a87.js} +1 -1
  433. package/dist/esm-es5/loader.js +1 -1
  434. package/dist/esm-es5/popper-ed1eefa6.js +5 -0
  435. package/dist/esm-es5/{resources-16a2a25a.js → resources-eafda211.js} +1 -1
  436. package/dist/extras/docs-json.json +63 -1
  437. package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -1
  438. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  439. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
  440. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  441. package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
  442. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  443. package/dist/types/components.d.ts +26 -0
  444. package/dist/types/utils/dom.d.ts +4 -0
  445. package/hydrate/index.js +455 -232
  446. package/package.json +17 -16
  447. package/readme.md +2 -2
  448. package/CHANGELOG.md +0 -1540
  449. package/dist/calcite/p-047e1000.system.entry.js +0 -5
  450. package/dist/calcite/p-08d707c4.entry.js +0 -5
  451. package/dist/calcite/p-1434e37e.entry.js +0 -5
  452. package/dist/calcite/p-1942876c.js +0 -5
  453. package/dist/calcite/p-1aa89347.system.entry.js +0 -5
  454. package/dist/calcite/p-33226317.entry.js +0 -5
  455. package/dist/calcite/p-3dae9da3.js +0 -5
  456. package/dist/calcite/p-3e6fcede.entry.js +0 -5
  457. package/dist/calcite/p-52cc870b.js +0 -5
  458. package/dist/calcite/p-54394dfe.system.entry.js +0 -5
  459. package/dist/calcite/p-5c0c29bc.entry.js +0 -5
  460. package/dist/calcite/p-5f817b79.entry.js +0 -5
  461. package/dist/calcite/p-6cc23c39.system.js +0 -5
  462. package/dist/calcite/p-6d44b7d9.system.js +0 -5
  463. package/dist/calcite/p-75264173.entry.js +0 -5
  464. package/dist/calcite/p-75955cef.entry.js +0 -5
  465. package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
  466. package/dist/calcite/p-81ab443c.entry.js +0 -5
  467. package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
  468. package/dist/calcite/p-968ea270.entry.js +0 -5
  469. package/dist/calcite/p-aa47308a.entry.js +0 -5
  470. package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
  471. package/dist/calcite/p-b1a96c72.system.entry.js +0 -5
  472. package/dist/calcite/p-b1f88d45.system.js +0 -5
  473. package/dist/calcite/p-ca3bb147.entry.js +0 -5
  474. package/dist/calcite/p-d53cc958.js +0 -5
  475. package/dist/calcite/p-d550ee4d.entry.js +0 -5
  476. package/dist/calcite/p-d6f20229.js +0 -5
  477. package/dist/calcite/p-ed15771f.system.entry.js +0 -5
  478. package/dist/calcite/p-ed453bfb.entry.js +0 -5
  479. package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
  480. package/dist/esm-es5/dom-f24e866c.js +0 -5
  481. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
@@ -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) {
@@ -88,6 +88,7 @@
88
88
  display: flex;
89
89
  align-items: stretch;
90
90
  flex: 0 1 auto;
91
+ pointer-events: none;
91
92
  --calcite-shell-panel-detached-max-height: unset;
92
93
  }
93
94
 
@@ -106,6 +107,49 @@
106
107
  box-sizing: border-box;
107
108
  }
108
109
 
110
+ :host(:hover) .separator:not(:hover):not(:focus),
111
+ :host(:focus-within) .separator:not(:hover):not(:focus) {
112
+ opacity: 1;
113
+ background-color: var(--calcite-ui-border-3);
114
+ }
115
+
116
+ .separator {
117
+ position: absolute;
118
+ background-color: transparent;
119
+ bottom: 0;
120
+ display: flex;
121
+ height: 100%;
122
+ opacity: 0;
123
+ pointer-events: auto;
124
+ top: 0;
125
+ transition-property: all;
126
+ transition-duration: 150ms;
127
+ transition-timing-function: ease-in-out;
128
+ transition-delay: 0s;
129
+ width: 0.125rem;
130
+ z-index: 10;
131
+ cursor: col-resize;
132
+ outline: none;
133
+ }
134
+
135
+ .separator:hover {
136
+ opacity: 1;
137
+ background-color: var(--calcite-ui-border-2);
138
+ }
139
+
140
+ .separator:focus {
141
+ background-color: var(--calcite-ui-brand);
142
+ opacity: 1;
143
+ }
144
+
145
+ :host([position=start]) .separator {
146
+ inset-inline-end: -2px;
147
+ }
148
+
149
+ :host([position=end]) .separator {
150
+ inset-inline-start: -2px;
151
+ }
152
+
109
153
  ::slotted(calcite-panel),
110
154
  ::slotted(calcite-flow) {
111
155
  flex: 1 1 auto;
@@ -2,9 +2,10 @@
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, Element, Event, Prop, Watch, h } from "@stencil/core";
6
- import { CSS, SLOTS } from "./resources";
7
- import { getSlotted } from "../../utils/dom";
5
+ import { Component, Element, Event, Prop, Watch, h, State, forceUpdate } from "@stencil/core";
6
+ import { CSS, SLOTS, TEXT } from "./resources";
7
+ import { getSlotted, getElementStyleDir } from "../../utils/dom";
8
+ import { clamp } from "../../utils/math";
8
9
  /**
9
10
  * @slot - A slot for adding content to the shell panel.
10
11
  * @slot action-bar - A slot for adding a `calcite-action-bar` to the panel.
@@ -32,10 +33,130 @@ export class CalciteShellPanel {
32
33
  * This sets width of the content area.
33
34
  */
34
35
  this.widthScale = "m";
36
+ /**
37
+ * Accessible label for resize separator.
38
+ * @default "Resize"
39
+ */
40
+ this.intlResize = TEXT.resize;
41
+ /**
42
+ * This property makes the content area resizable if the calcite-shell-panel is not 'detached'.
43
+ */
44
+ this.resizable = false;
45
+ this.contentWidth = null;
46
+ this.initialContentWidth = null;
47
+ this.initialClientX = null;
48
+ this.contentWidthMax = null;
49
+ this.contentWidthMin = null;
50
+ this.step = 1;
51
+ this.stepMultiplier = 10;
52
+ this.storeContentEl = (contentEl) => {
53
+ this.contentEl = contentEl;
54
+ };
55
+ this.getKeyAdjustedWidth = (event) => {
56
+ const { key } = event;
57
+ const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
58
+ const multipliedStep = step * stepMultiplier;
59
+ const MOVEMENT_KEYS = [
60
+ "ArrowUp",
61
+ "ArrowDown",
62
+ "ArrowLeft",
63
+ "ArrowRight",
64
+ "Home",
65
+ "End",
66
+ "PageUp",
67
+ "PageDown"
68
+ ];
69
+ if (MOVEMENT_KEYS.indexOf(key) > -1) {
70
+ event.preventDefault();
71
+ }
72
+ const dir = getElementStyleDir(el);
73
+ const directionKeys = ["ArrowLeft", "ArrowRight"];
74
+ const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
75
+ const increaseKeys = key === "ArrowUp" ||
76
+ (position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
77
+ if (increaseKeys) {
78
+ const stepValue = event.shiftKey ? multipliedStep : step;
79
+ return initialContentWidth + directionFactor * stepValue;
80
+ }
81
+ const decreaseKeys = key === "ArrowDown" ||
82
+ (position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
83
+ if (decreaseKeys) {
84
+ const stepValue = event.shiftKey ? multipliedStep : step;
85
+ return initialContentWidth - directionFactor * stepValue;
86
+ }
87
+ if (typeof contentWidthMin === "number" && key === "Home") {
88
+ return contentWidthMin;
89
+ }
90
+ if (typeof contentWidthMax === "number" && key === "End") {
91
+ return contentWidthMax;
92
+ }
93
+ if (key === "PageDown") {
94
+ return initialContentWidth - multipliedStep;
95
+ }
96
+ if (key === "PageUp") {
97
+ return initialContentWidth + multipliedStep;
98
+ }
99
+ return null;
100
+ };
101
+ this.separatorKeyDown = (event) => {
102
+ this.setInitialContentWidth();
103
+ const width = this.getKeyAdjustedWidth(event);
104
+ if (typeof width === "number") {
105
+ this.setContentWidth(width);
106
+ }
107
+ };
108
+ this.separatorPointerMove = (event) => {
109
+ event.preventDefault();
110
+ const { el, initialContentWidth, position, initialClientX } = this;
111
+ const offset = event.clientX - initialClientX;
112
+ const dir = getElementStyleDir(el);
113
+ const adjustmentDirection = dir === "rtl" ? -1 : 1;
114
+ const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
115
+ const width = initialContentWidth + adjustedOffset;
116
+ this.setContentWidth(width);
117
+ };
118
+ this.separatorPointerUp = (event) => {
119
+ event.preventDefault();
120
+ document.removeEventListener("pointerup", this.separatorPointerUp);
121
+ document.removeEventListener("pointermove", this.separatorPointerMove);
122
+ };
123
+ this.setInitialContentWidth = () => {
124
+ var _a;
125
+ this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;
126
+ };
127
+ this.separatorPointerDown = (event) => {
128
+ event.preventDefault();
129
+ const { separatorEl } = this;
130
+ separatorEl && document.activeElement !== separatorEl && separatorEl.focus();
131
+ this.setInitialContentWidth();
132
+ this.initialClientX = event.clientX;
133
+ document.addEventListener("pointerup", this.separatorPointerUp);
134
+ document.addEventListener("pointermove", this.separatorPointerMove);
135
+ };
136
+ this.connectSeparator = (separatorEl) => {
137
+ this.disconnectSeparator();
138
+ this.separatorEl = separatorEl;
139
+ separatorEl.addEventListener("pointerdown", this.separatorPointerDown);
140
+ };
141
+ this.disconnectSeparator = () => {
142
+ var _a;
143
+ (_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
144
+ };
35
145
  }
36
146
  watchHandler() {
37
147
  this.calciteShellPanelToggle.emit();
38
148
  }
149
+ //--------------------------------------------------------------------------
150
+ //
151
+ // Lifecycle
152
+ //
153
+ //--------------------------------------------------------------------------
154
+ disconnectedCallback() {
155
+ this.disconnectSeparator();
156
+ }
157
+ componentDidLoad() {
158
+ this.updateAriaValues();
159
+ }
39
160
  // --------------------------------------------------------------------------
40
161
  //
41
162
  // Render Methods
@@ -48,18 +169,53 @@ export class CalciteShellPanel {
48
169
  h("slot", { name: SLOTS.header }))) : null;
49
170
  }
50
171
  render() {
51
- const { collapsed, detached, position } = this;
52
- const contentNode = (h("div", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed },
172
+ const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
173
+ const allowResizing = !detached && resizable;
174
+ const contentNode = (h("div", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null },
53
175
  this.renderHeader(),
54
176
  h("div", { class: CSS.contentBody },
55
177
  h("slot", null))));
178
+ const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
56
179
  const actionBarNode = h("slot", { name: SLOTS.actionBar });
57
- const mainNodes = [actionBarNode, contentNode];
180
+ const mainNodes = [actionBarNode, contentNode, separatorNode];
58
181
  if (position === "end") {
59
182
  mainNodes.reverse();
60
183
  }
61
184
  return h("div", { class: { [CSS.container]: true } }, mainNodes);
62
185
  }
186
+ // --------------------------------------------------------------------------
187
+ //
188
+ // private Methods
189
+ //
190
+ // --------------------------------------------------------------------------
191
+ setContentWidth(width) {
192
+ const { contentWidthMax, contentWidthMin } = this;
193
+ const roundedWidth = Math.round(width);
194
+ this.contentWidth =
195
+ typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
196
+ ? clamp(roundedWidth, contentWidthMin, contentWidthMax)
197
+ : roundedWidth;
198
+ }
199
+ updateAriaValues() {
200
+ const { contentEl } = this;
201
+ const computedStyle = contentEl && getComputedStyle(contentEl);
202
+ if (!computedStyle) {
203
+ return;
204
+ }
205
+ const max = parseInt(computedStyle.getPropertyValue("max-width"), 10);
206
+ const min = parseInt(computedStyle.getPropertyValue("min-width"), 10);
207
+ const valueNow = parseInt(computedStyle.getPropertyValue("width"), 10);
208
+ if (typeof valueNow === "number" && !isNaN(valueNow)) {
209
+ this.initialContentWidth = valueNow;
210
+ }
211
+ if (typeof max === "number" && !isNaN(max)) {
212
+ this.contentWidthMax = max;
213
+ }
214
+ if (typeof min === "number" && !isNaN(min)) {
215
+ this.contentWidthMin = min;
216
+ }
217
+ forceUpdate(this);
218
+ }
63
219
  static get is() { return "calcite-shell-panel"; }
64
220
  static get encapsulation() { return "shadow"; }
65
221
  static get originalStyleUrls() { return {
@@ -172,8 +328,50 @@ export class CalciteShellPanel {
172
328
  },
173
329
  "attribute": "position",
174
330
  "reflect": true
331
+ },
332
+ "intlResize": {
333
+ "type": "string",
334
+ "mutable": false,
335
+ "complexType": {
336
+ "original": "string",
337
+ "resolved": "string",
338
+ "references": {}
339
+ },
340
+ "required": false,
341
+ "optional": false,
342
+ "docs": {
343
+ "tags": [{
344
+ "name": "default",
345
+ "text": "\"Resize\""
346
+ }],
347
+ "text": "Accessible label for resize separator."
348
+ },
349
+ "attribute": "intl-resize",
350
+ "reflect": false,
351
+ "defaultValue": "TEXT.resize"
352
+ },
353
+ "resizable": {
354
+ "type": "boolean",
355
+ "mutable": false,
356
+ "complexType": {
357
+ "original": "boolean",
358
+ "resolved": "boolean",
359
+ "references": {}
360
+ },
361
+ "required": false,
362
+ "optional": false,
363
+ "docs": {
364
+ "tags": [],
365
+ "text": "This property makes the content area resizable if the calcite-shell-panel is not 'detached'."
366
+ },
367
+ "attribute": "resizable",
368
+ "reflect": true,
369
+ "defaultValue": "false"
175
370
  }
176
371
  }; }
372
+ static get states() { return {
373
+ "contentWidth": {}
374
+ }; }
177
375
  static get events() { return [{
178
376
  "method": "calciteShellPanelToggle",
179
377
  "name": "calciteShellPanelToggle",
@@ -7,9 +7,13 @@ export const CSS = {
7
7
  content: "content",
8
8
  contentHeader: "content__header",
9
9
  contentBody: "content__body",
10
- contentDetached: "content--detached"
10
+ contentDetached: "content--detached",
11
+ separator: "separator"
11
12
  };
12
13
  export const SLOTS = {
13
14
  actionBar: "action-bar",
14
15
  header: "header"
15
16
  };
17
+ export const TEXT = {
18
+ resize: "Resize"
19
+ };
@@ -26,6 +26,8 @@ export class CalciteSplitButton {
26
26
  /** optionally add a calcite-loader component to the control,
27
27
  disabling interaction. with the primary button */
28
28
  this.loading = false;
29
+ /** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
30
+ this.overlayPositioning = "absolute";
29
31
  /** specify the scale of the control, defaults to m */
30
32
  this.scale = "m";
31
33
  /** specify the width of the button, defaults to auto */
@@ -46,7 +48,7 @@ export class CalciteSplitButton {
46
48
  h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText),
47
49
  h("div", { class: CSS.dividerContainer },
48
50
  h("div", { class: CSS.divider })),
49
- h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale },
51
+ h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
50
52
  h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }),
51
53
  h("slot", null))));
52
54
  }
@@ -211,6 +213,29 @@ export class CalciteSplitButton {
211
213
  "reflect": true,
212
214
  "defaultValue": "false"
213
215
  },
216
+ "overlayPositioning": {
217
+ "type": "string",
218
+ "mutable": false,
219
+ "complexType": {
220
+ "original": "OverlayPositioning",
221
+ "resolved": "\"absolute\" | \"fixed\"",
222
+ "references": {
223
+ "OverlayPositioning": {
224
+ "location": "import",
225
+ "path": "../../utils/popper"
226
+ }
227
+ }
228
+ },
229
+ "required": false,
230
+ "optional": false,
231
+ "docs": {
232
+ "tags": [],
233
+ "text": "Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value."
234
+ },
235
+ "attribute": "overlay-positioning",
236
+ "reflect": false,
237
+ "defaultValue": "\"absolute\""
238
+ },
214
239
  "primaryIconEnd": {
215
240
  "type": "string",
216
241
  "mutable": false,
@@ -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, h, Host, Listen, Prop, State, Watch } from "@stencil/core";
6
- import { getElementDir, filterDirectChildren } from "../../utils/dom";
6
+ import { getElementStyleDir, filterDirectChildren } from "../../utils/dom";
7
7
  /**
8
8
  * @slot - A slot for adding `calcite-tab-title`s.
9
9
  */
@@ -86,7 +86,7 @@ export class CalciteTabNav {
86
86
  }
87
87
  }
88
88
  render() {
89
- const dir = getElementDir(this.el);
89
+ const dir = getElementStyleDir(this.el);
90
90
  const width = `${this.indicatorWidth}px`;
91
91
  const offset = `${this.indicatorOffset}px`;
92
92
  const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
@@ -147,7 +147,7 @@ export class CalciteTabNav {
147
147
  }
148
148
  updateOffsetPosition() {
149
149
  var _a, _b, _c, _d, _e;
150
- const dir = getElementDir(this.el);
150
+ const dir = getElementStyleDir(this.el);
151
151
  const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
152
152
  const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
153
153
  const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Prop, Event, Listen, Element, Method, h, Host, State, Build, Watch } from "@stencil/core";
6
6
  import { guid } from "../../utils/guid";
7
- import { getElementDir, getElementProp } from "../../utils/dom";
7
+ import { getElementDir, getElementProp, getElementStyleDir } from "../../utils/dom";
8
8
  import { getKey } from "../../utils/key";
9
9
  import { CSS_UTILITY } from "../../utils/resources";
10
10
  import { createObserver } from "../../utils/observers";
@@ -130,7 +130,7 @@ export class CalciteTabTitle {
130
130
  e.preventDefault();
131
131
  break;
132
132
  case "ArrowRight":
133
- if (getElementDir(this.el) === "ltr") {
133
+ if (getElementStyleDir(this.el) === "ltr") {
134
134
  this.calciteTabsFocusNext.emit();
135
135
  }
136
136
  else {
@@ -138,7 +138,7 @@ export class CalciteTabTitle {
138
138
  }
139
139
  break;
140
140
  case "ArrowLeft":
141
- if (getElementDir(this.el) === "ltr") {
141
+ if (getElementStyleDir(this.el) === "ltr") {
142
142
  this.calciteTabsFocusPrevious.emit();
143
143
  }
144
144
  else {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { Component, Element, Event, Method, Prop, State, Watch, h } from "@stencil/core";
6
6
  import { CSS, ICONS, TEXT, HEADING_LEVEL } from "./resources";
7
- import { getElementDir } from "../../utils/dom";
7
+ import { getElementStyleDir } from "../../utils/dom";
8
8
  import { CalciteHeading } from "../functional/CalciteHeading";
9
9
  import { createObserver } from "../../utils/observers";
10
10
  /**
@@ -136,7 +136,7 @@ export class CalciteTipManager {
136
136
  //
137
137
  // --------------------------------------------------------------------------
138
138
  renderPagination() {
139
- const dir = getElementDir(this.el);
139
+ const dir = getElementStyleDir(this.el);
140
140
  const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
141
141
  const nextLabel = intlNext || TEXT.next;
142
142
  const previousLabel = intlPrevious || TEXT.previous;
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { h } from "@stencil/core";
6
- import { getElementDir } from "../../utils/dom";
6
+ import { getElementDir, getElementStyleDir } from "../../utils/dom";
7
7
  import { queryActions } from "../calcite-action-bar/utils";
8
8
  import { SLOTS as ACTION_GROUP_SLOTS } from "../calcite-action-group/resources";
9
9
  const ICONS = {
@@ -30,7 +30,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
30
30
  return referenceElement;
31
31
  };
32
32
  export const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
33
- const rtl = getElementDir(el) === "rtl";
33
+ const rtl = getElementStyleDir(el) === "rtl";
34
34
  const expandText = expanded ? intlCollapse : intlExpand;
35
35
  const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
36
36
  if (rtl) {
@@ -39,6 +39,6 @@ export const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle
39
39
  const end = getCalcitePosition(position, el) === "end";
40
40
  const expandIcon = end ? icons[1] : icons[0];
41
41
  const collapseIcon = end ? icons[0] : icons[1];
42
- const actionNode = (h("calcite-action", { dir: rtl ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
42
+ const actionNode = (h("calcite-action", { dir: getElementDir(el) === "rtl" ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
43
43
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
44
44
  };
@@ -23,6 +23,12 @@ export function nodeListToArray(nodeList) {
23
23
  export function getThemeName(el) {
24
24
  return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
25
25
  }
26
+ export function getElementStyleDir(el) {
27
+ return window.getComputedStyle(el).direction || "ltr";
28
+ }
29
+ /**
30
+ * @deprecated use getElementStyleDir instead.
31
+ */
26
32
  export function getElementDir(el) {
27
33
  const prop = "dir";
28
34
  const selector = `[${prop}]`;
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { forceUpdate, h } from '@stencil/core/internal/client';
6
- import { a as getElementDir } from './dom.js';
6
+ import { c as getElementStyleDir, a as getElementDir } from './dom.js';
7
7
  import { S as SLOTS } from './calcite-action-menu2.js';
8
8
  import { S as SLOTS$1 } from './calcite-action-group2.js';
9
9
 
@@ -71,7 +71,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
71
71
  return referenceElement;
72
72
  };
73
73
  const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
74
- const rtl = getElementDir(el) === "rtl";
74
+ const rtl = getElementStyleDir(el) === "rtl";
75
75
  const expandText = expanded ? intlCollapse : intlExpand;
76
76
  const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
77
77
  if (rtl) {
@@ -80,7 +80,7 @@ const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, p
80
80
  const end = getCalcitePosition(position, el) === "end";
81
81
  const expandIcon = end ? icons[1] : icons[0];
82
82
  const collapseIcon = end ? icons[0] : icons[1];
83
- const actionNode = (h("calcite-action", { dir: rtl ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
83
+ const actionNode = (h("calcite-action", { dir: getElementDir(el) === "rtl" ? "rtl" : "ltr", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
84
84
  return tooltip ? h("calcite-tooltip-manager", null, actionNode) : actionNode;
85
85
  };
86
86
 
@@ -63,8 +63,11 @@ let CalciteAlert$1 = class extends HTMLElement {
63
63
  this.queueLength = 0;
64
64
  /** is the alert queued */
65
65
  this.queued = false;
66
+ this.autoDismissTimeoutId = null;
67
+ this.trackTimer = Date.now();
66
68
  /** close and emit the closed alert and the queue */
67
69
  this.closeAlert = () => {
70
+ this.autoDismissTimeoutId = null;
68
71
  this.queued = false;
69
72
  this.active = false;
70
73
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -88,6 +91,12 @@ let CalciteAlert$1 = class extends HTMLElement {
88
91
  updateRequestedIcon() {
89
92
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
90
93
  }
94
+ updateDuration() {
95
+ if (this.autoDismiss && this.autoDismissTimeoutId) {
96
+ window.clearTimeout(this.autoDismissTimeoutId);
97
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (Date.now() - this.trackTimer));
98
+ }
99
+ }
91
100
  //--------------------------------------------------------------------------
92
101
  //
93
102
  // Lifecycle
@@ -104,20 +113,22 @@ let CalciteAlert$1 = class extends HTMLElement {
104
113
  componentDidLoad() {
105
114
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
106
115
  }
116
+ disconnectedCallback() {
117
+ window.clearTimeout(this.autoDismissTimeoutId);
118
+ }
107
119
  render() {
108
120
  const dir = getElementDir(this.el);
109
121
  const closeButton = (h("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
110
122
  const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
111
123
  const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
112
124
  const { active, autoDismiss, label, queued, requestedIcon } = this;
113
- const progress = h("div", { class: "alert-dismiss-progress" });
114
125
  const role = autoDismiss ? "alert" : "alertdialog";
115
126
  const hidden = !active;
116
127
  return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
117
128
  container: true,
118
129
  queued,
119
130
  [CSS_UTILITY.rtl]: dir === "rtl"
120
- } }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? progress : null)));
131
+ } }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
121
132
  }
122
133
  // when an alert is opened or closed, update queue and determine active alert
123
134
  alertSync(event) {
@@ -163,9 +174,9 @@ let CalciteAlert$1 = class extends HTMLElement {
163
174
  var _a;
164
175
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
165
176
  this.openAlert();
166
- clearTimeout(this.autoDismissTimeout);
167
- if (this.autoDismiss) {
168
- this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
177
+ if (this.autoDismiss && !this.autoDismissTimeoutId) {
178
+ this.trackTimer = Date.now();
179
+ this.autoDismissTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
169
180
  }
170
181
  }
171
182
  else {
@@ -185,7 +196,8 @@ let CalciteAlert$1 = class extends HTMLElement {
185
196
  static get watchers() { return {
186
197
  "active": ["watchActive"],
187
198
  "icon": ["updateRequestedIcon"],
188
- "color": ["updateRequestedIcon"]
199
+ "color": ["updateRequestedIcon"],
200
+ "autoDismissDuration": ["updateDuration"]
189
201
  }; }
190
202
  static get style() { return calciteAlertCss; }
191
203
  };
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, c as getThemeName } from './dom.js';
6
+ import { a as getElementDir, d 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';
9
9
 
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
6
+ import { c as getElementStyleDir, 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';
9
9
 
@@ -84,7 +84,7 @@ let CalciteBlockSection$1 = class extends HTMLElement {
84
84
  }
85
85
  render() {
86
86
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
87
- const dir = getElementDir(el);
87
+ const dir = getElementStyleDir(el);
88
88
  const arrowIcon = open
89
89
  ? ICONS.menuOpen
90
90
  : dir === "rtl"
@@ -3,7 +3,7 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { HTMLElement as HTMLElement$1, Build, h, proxyCustomElement } from '@stencil/core/internal/client';
6
- import { d as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
6
+ import { e 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';
9
9
  import { d as defineCustomElement$2 } from './calcite-icon2.js';