@esri/calcite-components 1.0.0-next.533 → 1.0.0-next.536

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 (828) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-5df80811.system.entry.js → p-04e3f038.system.entry.js} +2 -2
  5. package/dist/calcite/{p-da2417d0.system.entry.js → p-06febbfa.system.entry.js} +2 -2
  6. package/dist/calcite/{p-41f3b1d8.system.entry.js → p-078735c1.system.entry.js} +2 -2
  7. package/dist/calcite/{p-cc81b169.system.js → p-08231ce9.system.js} +1 -1
  8. package/dist/calcite/{p-bf14c09c.system.js → p-08504f13.system.js} +1 -1
  9. package/dist/calcite/{p-2259c364.system.js → p-08705cda.system.js} +1 -1
  10. package/dist/calcite/{p-ebcecdea.entry.js → p-0935bbf9.entry.js} +2 -2
  11. package/dist/calcite/{p-aadd6b69.system.entry.js → p-09684aef.system.entry.js} +2 -2
  12. package/dist/calcite/{p-b4d5052f.system.entry.js → p-097ca5df.system.entry.js} +2 -2
  13. package/dist/calcite/{p-3bd916b9.system.entry.js → p-0cf9bcf9.system.entry.js} +2 -2
  14. package/dist/calcite/{p-c0e40aa2.entry.js → p-0ebb6ba0.entry.js} +2 -2
  15. package/dist/calcite/{p-212a4413.system.js → p-102bbe84.system.js} +1 -1
  16. package/dist/calcite/{p-01e76782.system.entry.js → p-1034b7c5.system.entry.js} +2 -2
  17. package/dist/calcite/{p-6ec0c99a.system.js → p-10fbf257.system.js} +1 -1
  18. package/dist/calcite/{p-2fe7bc86.entry.js → p-12b14edc.entry.js} +2 -2
  19. package/dist/calcite/{p-3ffce263.js → p-166135f9.js} +2 -2
  20. package/dist/calcite/{p-823ff7f7.system.js → p-1665aaa6.system.js} +1 -1
  21. package/dist/calcite/p-16c6194c.entry.js +6 -0
  22. package/dist/calcite/{p-af56e820.entry.js → p-184e6851.entry.js} +2 -2
  23. package/dist/calcite/{p-4ee37b84.system.entry.js → p-1c5ba4b4.system.entry.js} +2 -2
  24. package/dist/calcite/{p-8836dcad.entry.js → p-1f20423b.entry.js} +2 -2
  25. package/dist/calcite/{p-a2fcc50f.system.entry.js → p-1fd34a17.system.entry.js} +2 -2
  26. package/dist/calcite/p-2135f6e1.entry.js +6 -0
  27. package/dist/calcite/{p-df006183.system.entry.js → p-2301c0da.system.entry.js} +3 -3
  28. package/dist/calcite/{p-f74f9722.system.entry.js → p-24c11ed8.system.entry.js} +2 -2
  29. package/dist/calcite/{p-81e5723c.system.entry.js → p-25155361.system.entry.js} +2 -2
  30. package/dist/calcite/{p-46fc1a6f.entry.js → p-26002747.entry.js} +2 -2
  31. package/dist/calcite/{p-3c953b39.js → p-26182cea.js} +1 -1
  32. package/dist/calcite/{p-e4f49f1f.system.js → p-2cda9002.system.js} +1 -1
  33. package/dist/calcite/{p-933492c8.system.entry.js → p-2d08233c.system.entry.js} +2 -2
  34. package/dist/calcite/{p-fd834451.system.entry.js → p-2e6eac2d.system.entry.js} +2 -2
  35. package/dist/calcite/{p-726211c1.system.entry.js → p-2f1daf72.system.entry.js} +2 -2
  36. package/dist/calcite/{p-cd1a0884.js → p-3144c2c9.js} +1 -1
  37. package/dist/calcite/{p-3ca2d4ed.js → p-31a9a3da.js} +1 -1
  38. package/dist/calcite/{p-60d235f5.entry.js → p-3214f3a9.entry.js} +2 -2
  39. package/dist/calcite/{p-0294fd22.system.js → p-32335125.system.js} +2 -2
  40. package/dist/calcite/{p-7c9744bc.entry.js → p-34660010.entry.js} +2 -2
  41. package/dist/calcite/{p-094d1ff9.system.js → p-34cc0092.system.js} +2 -2
  42. package/dist/calcite/{p-e911b13a.entry.js → p-357a6a16.entry.js} +2 -2
  43. package/dist/calcite/p-3956397b.system.entry.js +6 -0
  44. package/dist/calcite/{p-ad23962e.system.entry.js → p-3b8f3666.system.entry.js} +2 -2
  45. package/dist/calcite/{p-c284bdc6.entry.js → p-3fb2d1ac.entry.js} +2 -2
  46. package/dist/calcite/{p-8ba3c609.system.entry.js → p-3fb71d73.system.entry.js} +2 -2
  47. package/dist/calcite/{p-298156a5.system.js → p-401543ef.system.js} +2 -2
  48. package/dist/calcite/p-4058f8f8.system.entry.js +6 -0
  49. package/dist/calcite/{p-3e0a6864.system.js → p-441a1675.system.js} +1 -1
  50. package/dist/calcite/{p-48f7cb3d.entry.js → p-47519d23.entry.js} +2 -2
  51. package/dist/calcite/{p-b4289144.entry.js → p-47dcd6b7.entry.js} +2 -2
  52. package/dist/calcite/{p-648aa0e8.system.entry.js → p-482ee39b.system.entry.js} +2 -2
  53. package/dist/calcite/{p-f760ec16.system.js → p-4a0ae383.system.js} +2 -2
  54. package/dist/calcite/{p-facae938.system.entry.js → p-4b2ba3f7.system.entry.js} +2 -2
  55. package/dist/calcite/{p-e426b839.entry.js → p-4cb5ea4c.entry.js} +2 -2
  56. package/dist/calcite/p-4d8c1276.system.entry.js +6 -0
  57. package/dist/calcite/{p-58a20b0e.system.js → p-4de5dcdb.system.js} +1 -1
  58. package/dist/calcite/p-50c43276.entry.js +6 -0
  59. package/dist/calcite/{p-86e91aee.system.entry.js → p-50e4f585.system.entry.js} +2 -2
  60. package/dist/calcite/{p-77111b93.entry.js → p-50e93efa.entry.js} +2 -2
  61. package/dist/calcite/{p-ee41c0ce.entry.js → p-5302cf8a.entry.js} +2 -2
  62. package/dist/calcite/p-586037fe.system.entry.js +6 -0
  63. package/dist/calcite/{p-065286a4.system.entry.js → p-5a8d763d.system.entry.js} +2 -2
  64. package/dist/calcite/{p-a10f92b8.system.entry.js → p-5bcf5fee.system.entry.js} +2 -2
  65. package/dist/calcite/{p-d48fd31d.js → p-5e8ea13d.js} +1 -1
  66. package/dist/calcite/{p-bbe637bd.entry.js → p-5ee48bee.entry.js} +2 -2
  67. package/dist/calcite/p-5fbdfaa7.entry.js +6 -0
  68. package/dist/calcite/{p-b64484f1.system.entry.js → p-63487526.system.entry.js} +2 -2
  69. package/dist/calcite/{p-a6aad35c.entry.js → p-637f4659.entry.js} +2 -2
  70. package/dist/calcite/{p-5bade79b.entry.js → p-645f150f.entry.js} +2 -2
  71. package/dist/calcite/p-6598726d.js +6 -0
  72. package/dist/calcite/{p-f30fe164.system.entry.js → p-65aaa12e.system.entry.js} +2 -2
  73. package/dist/calcite/{p-70dfc55e.js → p-6617780c.js} +2 -2
  74. package/dist/calcite/{p-1051e792.system.entry.js → p-68ada27b.system.entry.js} +2 -2
  75. package/dist/calcite/{p-70ac446d.system.entry.js → p-694e8b7a.system.entry.js} +2 -2
  76. package/dist/calcite/{p-86606363.system.entry.js → p-6c4411f5.system.entry.js} +2 -2
  77. package/dist/calcite/{p-59cc5c20.js → p-6dc405ba.js} +1 -1
  78. package/dist/calcite/{p-89f88eb1.system.entry.js → p-6dc9328d.system.entry.js} +2 -2
  79. package/dist/calcite/{p-574658d6.system.entry.js → p-6e61c008.system.entry.js} +2 -2
  80. package/dist/calcite/{p-42324be3.system.js → p-6e7905dc.system.js} +1 -1
  81. package/dist/calcite/{p-1cdc0c9a.system.entry.js → p-73448047.system.entry.js} +2 -2
  82. package/dist/calcite/{p-496af930.system.entry.js → p-74fead9f.system.entry.js} +2 -2
  83. package/dist/calcite/{p-987f990b.system.entry.js → p-76b93090.system.entry.js} +2 -2
  84. package/dist/calcite/{p-a27c8406.js → p-7750b6b0.js} +2 -2
  85. package/dist/calcite/p-77d27d35.system.entry.js +6 -0
  86. package/dist/calcite/{p-441a971e.entry.js → p-7cbaa04b.entry.js} +2 -2
  87. package/dist/calcite/{p-fbfd4635.entry.js → p-7d860bcf.entry.js} +2 -2
  88. package/dist/calcite/{p-2b4562ec.system.js → p-7f2deef0.system.js} +1 -1
  89. package/dist/calcite/{p-e51be3fb.entry.js → p-7f88eb2a.entry.js} +2 -2
  90. package/dist/calcite/{p-7aec06e2.entry.js → p-81c97a79.entry.js} +2 -2
  91. package/dist/calcite/{p-6d23c2d1.system.entry.js → p-83468388.system.entry.js} +2 -2
  92. package/dist/calcite/{p-e505b211.system.entry.js → p-8490a045.system.entry.js} +2 -2
  93. package/dist/calcite/{p-04707996.entry.js → p-86b183a4.entry.js} +2 -2
  94. package/dist/calcite/{p-28f7118b.js → p-87e4387f.js} +1 -1
  95. package/dist/calcite/{p-7ea272f9.system.entry.js → p-8e35b6ff.system.entry.js} +2 -2
  96. package/dist/calcite/{p-a298d77d.system.entry.js → p-8eb5cf26.system.entry.js} +3 -3
  97. package/dist/calcite/{p-e24c929a.system.entry.js → p-8fe187a0.system.entry.js} +2 -2
  98. package/dist/calcite/{p-ead88603.js → p-92cf28a5.js} +1 -1
  99. package/dist/calcite/{p-adefe43a.js → p-94116de5.js} +1 -1
  100. package/dist/calcite/{p-ce33ca4d.system.js → p-94c6a912.system.js} +2 -2
  101. package/dist/calcite/p-9565e272.system.js +6 -0
  102. package/dist/calcite/{p-28c389f9.system.js → p-95d359a0.system.js} +2 -2
  103. package/dist/calcite/{p-84f4627c.entry.js → p-9612316c.entry.js} +2 -2
  104. package/dist/calcite/{p-699810b8.entry.js → p-997baa52.entry.js} +2 -2
  105. package/dist/calcite/p-9c415160.entry.js +6 -0
  106. package/dist/calcite/{p-535dc4df.js → p-9c82818f.js} +2 -2
  107. package/dist/calcite/{p-c75b4b33.entry.js → p-a01f21f9.entry.js} +2 -2
  108. package/dist/calcite/{p-28eeee68.entry.js → p-a0fe3f6a.entry.js} +2 -2
  109. package/dist/calcite/{p-7e2e788e.system.entry.js → p-a5dc627e.system.entry.js} +2 -2
  110. package/dist/calcite/{p-55a140ac.entry.js → p-a5e5ab32.entry.js} +2 -2
  111. package/dist/calcite/{p-79b8eb4d.js → p-a98641bb.js} +1 -1
  112. package/dist/calcite/{p-a46f4a3f.system.js → p-aa18754a.system.js} +1 -1
  113. package/dist/calcite/p-abd03dd2.system.entry.js +6 -0
  114. package/dist/calcite/{p-b1688902.system.js → p-abe82149.system.js} +1 -1
  115. package/dist/calcite/{p-e3198236.entry.js → p-af4b5db0.entry.js} +2 -2
  116. package/dist/calcite/{p-e4e7b8cf.entry.js → p-afbdaee0.entry.js} +2 -2
  117. package/dist/calcite/{p-0adf1906.entry.js → p-b2b75dae.entry.js} +2 -2
  118. package/dist/calcite/{p-0cffd8bf.entry.js → p-b3da1c98.entry.js} +2 -2
  119. package/dist/calcite/{p-f3ed2b84.entry.js → p-b5ca0caf.entry.js} +2 -2
  120. package/dist/calcite/{p-a6a169a4.system.entry.js → p-b686b60d.system.entry.js} +3 -3
  121. package/dist/calcite/{p-8f39171a.entry.js → p-b8e6e5c0.entry.js} +2 -2
  122. package/dist/calcite/{p-60b5c89d.system.entry.js → p-b92b9204.system.entry.js} +2 -2
  123. package/dist/calcite/{p-0ad61440.system.js → p-ba127efa.system.js} +2 -2
  124. package/dist/calcite/{p-8fdcbeb4.system.entry.js → p-bae076bb.system.entry.js} +2 -2
  125. package/dist/calcite/{p-b1849cb6.entry.js → p-c3c97f90.entry.js} +2 -2
  126. package/dist/calcite/{p-59837d7f.js → p-c48af2a0.js} +1 -1
  127. package/dist/calcite/{p-15114392.system.js → p-c5a4dceb.system.js} +3 -3
  128. package/dist/calcite/{p-08bef61d.system.entry.js → p-c6b62d14.system.entry.js} +2 -2
  129. package/dist/calcite/{p-692cf8c7.system.js → p-c967dc80.system.js} +2 -2
  130. package/dist/calcite/{p-4ace0c19.entry.js → p-cd9fa81a.entry.js} +2 -2
  131. package/dist/calcite/{p-b11d4c80.system.js → p-cfb24148.system.js} +2 -2
  132. package/dist/calcite/p-cfb908f5.system.entry.js +6 -0
  133. package/dist/calcite/{p-67b139be.js → p-d01abd40.js} +1 -1
  134. package/dist/calcite/{p-cf723ac9.js → p-d0266cac.js} +2 -2
  135. package/dist/calcite/{p-fbf296cd.js → p-d04f9e89.js} +1 -1
  136. package/dist/calcite/{p-6a22d33b.system.entry.js → p-d1bb18b5.system.entry.js} +2 -2
  137. package/dist/calcite/p-d2eb2c4c.system.entry.js +6 -0
  138. package/dist/calcite/{p-78bf3005.entry.js → p-d3713f2a.entry.js} +2 -2
  139. package/dist/calcite/p-d4aff2ba.entry.js +6 -0
  140. package/dist/calcite/{p-3b1d8823.system.js → p-d7066ab1.system.js} +1 -1
  141. package/dist/calcite/p-d7da3c2e.entry.js +6 -0
  142. package/dist/calcite/{p-7a471105.system.entry.js → p-d8083b68.system.entry.js} +2 -2
  143. package/dist/calcite/{p-885796af.js → p-d88d0463.js} +2 -2
  144. package/dist/calcite/{p-5c47159c.system.entry.js → p-d95eb741.system.entry.js} +2 -2
  145. package/dist/calcite/{p-5129a6ac.system.js → p-d9e26d43.system.js} +2 -2
  146. package/dist/calcite/{p-f8ad7f22.js → p-da12e88f.js} +2 -2
  147. package/dist/calcite/{p-154b10d4.entry.js → p-da2b6e2b.entry.js} +2 -2
  148. package/dist/calcite/{p-70274e31.system.entry.js → p-dae9f88d.system.entry.js} +2 -2
  149. package/dist/calcite/{p-77047b9c.js → p-daf225c5.js} +2 -2
  150. package/dist/calcite/{p-3d7fafb1.entry.js → p-db411253.entry.js} +2 -2
  151. package/dist/calcite/p-dd55336b.js +6 -0
  152. package/dist/calcite/{p-8966028d.system.entry.js → p-e01317c1.system.entry.js} +2 -2
  153. package/dist/calcite/{p-6ae871fc.entry.js → p-e031c759.entry.js} +2 -2
  154. package/dist/calcite/{p-51902083.system.entry.js → p-e0c014ef.system.entry.js} +2 -2
  155. package/dist/calcite/{p-8559da10.entry.js → p-e0d93df3.entry.js} +2 -2
  156. package/dist/calcite/{p-75a541ba.system.entry.js → p-e2496a0e.system.entry.js} +2 -2
  157. package/dist/calcite/{p-5da76bc6.system.entry.js → p-e41fb136.system.entry.js} +2 -2
  158. package/dist/calcite/{p-57d1bbb0.entry.js → p-e4272a68.entry.js} +2 -2
  159. package/dist/calcite/{p-a3c91348.entry.js → p-e5088b00.entry.js} +2 -2
  160. package/dist/calcite/{p-29bb3692.entry.js → p-e6d149ac.entry.js} +2 -2
  161. package/dist/calcite/{p-9fb26cd5.entry.js → p-ee289874.entry.js} +2 -2
  162. package/dist/calcite/{p-68ff3d7e.entry.js → p-eea9b8fc.entry.js} +2 -2
  163. package/dist/calcite/{p-b8fa3631.entry.js → p-f1098cdb.entry.js} +2 -2
  164. package/dist/calcite/{p-a985374f.entry.js → p-f35bdb55.entry.js} +2 -2
  165. package/dist/calcite/{p-3eb90daa.js → p-f69941da.js} +2 -2
  166. package/dist/calcite/{p-2543bc16.entry.js → p-f7560661.entry.js} +2 -2
  167. package/dist/calcite/{p-cbc712e0.entry.js → p-f7cbddd8.entry.js} +2 -2
  168. package/dist/calcite/{p-9b91c29a.entry.js → p-f8b6ac4a.entry.js} +2 -2
  169. package/dist/calcite/{p-e593eb98.js → p-fd1c465a.js} +1 -1
  170. package/dist/cjs/{ExpandToggle-265db309.js → ExpandToggle-040dfc1a.js} +5 -5
  171. package/dist/cjs/{Heading-9bbbc47b.js → Heading-25b7c86d.js} +2 -2
  172. package/dist/cjs/{array-55b1cd37.js → array-0a83a7ea.js} +1 -1
  173. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  178. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  179. package/dist/cjs/calcite-alert.cjs.entry.js +29 -36
  180. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  183. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  187. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -24
  188. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +28 -33
  190. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  193. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +41 -18
  198. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  201. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-modal.cjs.entry.js +36 -12
  207. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +35 -10
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite.cjs.js +2 -2
  232. package/dist/cjs/{conditionalSlot-e5ab103b.js → conditionalSlot-b1e9a0d5.js} +3 -3
  233. package/dist/cjs/{debounce-3455b74c.js → debounce-7d796398.js} +1 -1
  234. package/dist/cjs/{dom-4d09c3dc.js → dom-cce0df0a.js} +2 -2
  235. package/dist/cjs/{forIn-e615a95d.js → forIn-e74ad23a.js} +2 -2
  236. package/dist/cjs/{form-d6e57873.js → form-cdd07aac.js} +3 -3
  237. package/dist/cjs/{guid-c6a06ec6.js → guid-35b68ef9.js} +1 -1
  238. package/dist/cjs/{index-6c1747a3.js → index-9f8e5752.js} +1 -1
  239. package/dist/cjs/index.cjs.js +1 -1
  240. package/dist/cjs/{interactive-67a17ca7.js → interactive-e684850f.js} +1 -1
  241. package/dist/cjs/{interfaces-7467c492.js → interfaces-a3319637.js} +1 -1
  242. package/dist/cjs/{key-b0726837.js → key-5c53b599.js} +1 -1
  243. package/dist/cjs/{label-de2d29e2.js → label-ea6636ec.js} +2 -2
  244. package/dist/cjs/loader.cjs.js +2 -2
  245. package/dist/cjs/{locale-96002d05.js → locale-101de999.js} +2 -2
  246. package/dist/cjs/{math-833b1d4a.js → math-d74bd7c7.js} +1 -1
  247. package/dist/cjs/{observers-8aa66e0e.js → observers-6195e9ff.js} +1 -1
  248. package/dist/cjs/{popper-1f73ae32.js → popper-83c44b1e.js} +2 -2
  249. package/dist/cjs/{resources-e9f178a9.js → resources-0ac017d3.js} +5 -5
  250. package/dist/cjs/{resources-49055faa.js → resources-0f71dfe7.js} +1 -1
  251. package/dist/cjs/{resources-67915e58.js → resources-bb79fe67.js} +1 -1
  252. package/dist/cjs/{resources-02d026a3.js → resources-f2926c4e.js} +3 -3
  253. package/dist/cjs/{sortable.esm-8725a7eb.js → sortable.esm-4bac2c92.js} +1 -1
  254. package/dist/cjs/{utils-674983a0.js → utils-6dd571c1.js} +1 -1
  255. package/dist/collection/components/accordion/accordion.js +1 -1
  256. package/dist/collection/components/accordion/interfaces.js +1 -1
  257. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  258. package/dist/collection/components/action/action.css +5 -3
  259. package/dist/collection/components/action/action.js +1 -1
  260. package/dist/collection/components/action/resources.js +1 -1
  261. package/dist/collection/components/action-bar/action-bar.js +1 -1
  262. package/dist/collection/components/action-bar/resources.js +1 -1
  263. package/dist/collection/components/action-bar/utils.js +1 -1
  264. package/dist/collection/components/action-group/action-group.js +1 -1
  265. package/dist/collection/components/action-group/resources.js +1 -1
  266. package/dist/collection/components/action-menu/action-menu.js +1 -1
  267. package/dist/collection/components/action-menu/resources.js +1 -1
  268. package/dist/collection/components/action-pad/action-pad.js +1 -1
  269. package/dist/collection/components/action-pad/resources.js +1 -1
  270. package/dist/collection/components/alert/alert.css +2 -5
  271. package/dist/collection/components/alert/alert.js +36 -59
  272. package/dist/collection/components/alert/interfaces.js +1 -1
  273. package/dist/collection/components/alert/resources.js +1 -1
  274. package/dist/collection/components/avatar/avatar.js +1 -1
  275. package/dist/collection/components/avatar/utils.js +1 -1
  276. package/dist/collection/components/block/block.js +1 -1
  277. package/dist/collection/components/block/resources.js +1 -1
  278. package/dist/collection/components/block-section/block-section.js +1 -1
  279. package/dist/collection/components/block-section/interfaces.js +1 -1
  280. package/dist/collection/components/block-section/resources.js +1 -1
  281. package/dist/collection/components/button/button.css +2 -4
  282. package/dist/collection/components/button/button.js +1 -1
  283. package/dist/collection/components/button/interfaces.js +1 -1
  284. package/dist/collection/components/button/resources.js +1 -1
  285. package/dist/collection/components/card/card.js +1 -1
  286. package/dist/collection/components/card/resources.js +1 -1
  287. package/dist/collection/components/checkbox/checkbox.js +1 -1
  288. package/dist/collection/components/chip/chip.js +1 -1
  289. package/dist/collection/components/chip/interfaces.js +1 -1
  290. package/dist/collection/components/chip/resources.js +1 -1
  291. package/dist/collection/components/color-picker/color-picker.js +1 -1
  292. package/dist/collection/components/color-picker/interfaces.js +1 -1
  293. package/dist/collection/components/color-picker/resources.js +1 -1
  294. package/dist/collection/components/color-picker/utils.js +1 -1
  295. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  296. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  297. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  298. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  299. package/dist/collection/components/combobox/combobox.js +19 -41
  300. package/dist/collection/components/combobox/interfaces.js +1 -1
  301. package/dist/collection/components/combobox/resources.js +1 -1
  302. package/dist/collection/components/combobox/utils.js +1 -1
  303. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  304. package/dist/collection/components/combobox-item/resources.js +1 -1
  305. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  306. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  307. package/dist/collection/components/date-picker/date-picker.js +1 -1
  308. package/dist/collection/components/date-picker/interfaces.js +1 -1
  309. package/dist/collection/components/date-picker/resources.js +1 -1
  310. package/dist/collection/components/date-picker/utils.js +1 -1
  311. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  312. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  313. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  314. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  315. package/dist/collection/components/dropdown/dropdown.js +40 -61
  316. package/dist/collection/components/dropdown/interfaces.js +1 -1
  317. package/dist/collection/components/dropdown/resources.js +1 -1
  318. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  319. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  320. package/dist/collection/components/dropdown-group/resources.js +1 -1
  321. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  322. package/dist/collection/components/dropdown-item/resources.js +1 -1
  323. package/dist/collection/components/fab/fab.js +1 -1
  324. package/dist/collection/components/fab/resources.js +1 -1
  325. package/dist/collection/components/filter/filter.js +1 -1
  326. package/dist/collection/components/filter/resources.js +1 -1
  327. package/dist/collection/components/flow/flow.js +1 -1
  328. package/dist/collection/components/flow/interfaces.js +1 -1
  329. package/dist/collection/components/flow/resources.js +1 -1
  330. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  331. package/dist/collection/components/functional/Heading.js +1 -1
  332. package/dist/collection/components/graph/graph.js +1 -1
  333. package/dist/collection/components/graph/interfaces.js +1 -1
  334. package/dist/collection/components/graph/util.js +1 -1
  335. package/dist/collection/components/handle/handle.js +1 -1
  336. package/dist/collection/components/handle/resources.js +1 -1
  337. package/dist/collection/components/icon/icon.js +1 -1
  338. package/dist/collection/components/icon/resources.js +1 -1
  339. package/dist/collection/components/icon/utils.js +1 -1
  340. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  341. package/dist/collection/components/inline-editable/resources.js +1 -1
  342. package/dist/collection/components/input/input.js +1 -1
  343. package/dist/collection/components/input/interfaces.js +1 -1
  344. package/dist/collection/components/input/resources.js +1 -1
  345. package/dist/collection/components/input-date-picker/input-date-picker.js +67 -22
  346. package/dist/collection/components/input-date-picker/resources.js +1 -1
  347. package/dist/collection/components/input-message/input-message.js +1 -1
  348. package/dist/collection/components/input-message/interfaces.js +1 -1
  349. package/dist/collection/components/input-number/input-number.js +1 -1
  350. package/dist/collection/components/input-number/interfaces.js +1 -1
  351. package/dist/collection/components/input-number/resources.js +1 -1
  352. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  353. package/dist/collection/components/interfaces.js +1 -1
  354. package/dist/collection/components/label/label.js +1 -1
  355. package/dist/collection/components/label/resources.js +1 -1
  356. package/dist/collection/components/link/link.js +1 -1
  357. package/dist/collection/components/list/list.js +1 -1
  358. package/dist/collection/components/list/resources.js +1 -1
  359. package/dist/collection/components/list-item/list-item.js +1 -1
  360. package/dist/collection/components/list-item/resources.js +1 -1
  361. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  362. package/dist/collection/components/list-item-group/resources.js +1 -1
  363. package/dist/collection/components/loader/loader.js +1 -1
  364. package/dist/collection/components/modal/interfaces.js +1 -1
  365. package/dist/collection/components/modal/modal.js +66 -14
  366. package/dist/collection/components/modal/resources.js +1 -1
  367. package/dist/collection/components/notice/notice.css +0 -1
  368. package/dist/collection/components/notice/notice.js +1 -1
  369. package/dist/collection/components/notice/resources.js +1 -1
  370. package/dist/collection/components/option/option.js +1 -1
  371. package/dist/collection/components/option-group/option-group.js +1 -1
  372. package/dist/collection/components/pagination/pagination.css +1 -2
  373. package/dist/collection/components/pagination/pagination.js +1 -1
  374. package/dist/collection/components/pagination/resources.js +1 -1
  375. package/dist/collection/components/panel/panel.css +1 -1
  376. package/dist/collection/components/panel/panel.js +1 -1
  377. package/dist/collection/components/panel/resources.js +1 -1
  378. package/dist/collection/components/pick-list/pick-list.js +1 -1
  379. package/dist/collection/components/pick-list/resources.js +1 -1
  380. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  381. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  382. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  383. package/dist/collection/components/pick-list-group/resources.js +1 -1
  384. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  385. package/dist/collection/components/pick-list-item/resources.js +1 -1
  386. package/dist/collection/components/popover/PopoverManager.js +1 -1
  387. package/dist/collection/components/popover/popover.js +63 -10
  388. package/dist/collection/components/popover/resources.js +1 -1
  389. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  390. package/dist/collection/components/progress/progress.js +1 -1
  391. package/dist/collection/components/radio-button/radio-button.js +1 -1
  392. package/dist/collection/components/radio-button/resources.js +1 -1
  393. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  394. package/dist/collection/components/radio-group/interfaces.js +1 -1
  395. package/dist/collection/components/radio-group/radio-group.js +1 -1
  396. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  397. package/dist/collection/components/radio-group-item/resources.js +1 -1
  398. package/dist/collection/components/rating/rating.js +1 -1
  399. package/dist/collection/components/rating/resources.js +1 -1
  400. package/dist/collection/components/scrim/resources.js +1 -1
  401. package/dist/collection/components/scrim/scrim.js +1 -1
  402. package/dist/collection/components/select/resources.js +1 -1
  403. package/dist/collection/components/select/select.js +1 -1
  404. package/dist/collection/components/shell/resources.js +1 -1
  405. package/dist/collection/components/shell/shell.js +1 -1
  406. package/dist/collection/components/shell-center-row/resources.js +1 -1
  407. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  408. package/dist/collection/components/shell-panel/resources.js +1 -1
  409. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  410. package/dist/collection/components/slider/slider.js +1 -1
  411. package/dist/collection/components/sortable-list/resources.js +1 -1
  412. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  413. package/dist/collection/components/split-button/resources.js +1 -1
  414. package/dist/collection/components/split-button/split-button.css +1 -2
  415. package/dist/collection/components/split-button/split-button.js +1 -1
  416. package/dist/collection/components/stepper/interfaces.js +1 -1
  417. package/dist/collection/components/stepper/stepper.js +1 -1
  418. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  419. package/dist/collection/components/switch/switch.js +1 -1
  420. package/dist/collection/components/tab/interfaces.js +1 -1
  421. package/dist/collection/components/tab/tab.js +1 -1
  422. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  423. package/dist/collection/components/tab-title/tab-title.js +1 -1
  424. package/dist/collection/components/tabs/interfaces.js +1 -1
  425. package/dist/collection/components/tabs/resources.js +1 -1
  426. package/dist/collection/components/tabs/tabs.js +1 -1
  427. package/dist/collection/components/tile/resources.js +1 -1
  428. package/dist/collection/components/tile/tile.js +1 -1
  429. package/dist/collection/components/tile-select/interfaces.js +1 -1
  430. package/dist/collection/components/tile-select/resources.js +1 -1
  431. package/dist/collection/components/tile-select/tile-select.js +1 -1
  432. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  433. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  434. package/dist/collection/components/time-picker/resources.js +1 -1
  435. package/dist/collection/components/time-picker/time-picker.js +1 -1
  436. package/dist/collection/components/tip/resources.js +1 -1
  437. package/dist/collection/components/tip/tip.js +1 -1
  438. package/dist/collection/components/tip-group/tip-group.js +1 -1
  439. package/dist/collection/components/tip-manager/resources.js +1 -1
  440. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  441. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  442. package/dist/collection/components/tooltip/resources.js +1 -1
  443. package/dist/collection/components/tooltip/tooltip.js +1 -1
  444. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  445. package/dist/collection/components/tree/interfaces.js +1 -1
  446. package/dist/collection/components/tree/tree.js +1 -1
  447. package/dist/collection/components/tree-item/interfaces.js +1 -1
  448. package/dist/collection/components/tree-item/resources.js +1 -1
  449. package/dist/collection/components/tree-item/tree-item.js +1 -1
  450. package/dist/collection/components/value-list/interfaces.js +1 -1
  451. package/dist/collection/components/value-list/resources.js +1 -1
  452. package/dist/collection/components/value-list/utils.js +1 -1
  453. package/dist/collection/components/value-list/value-list.js +1 -1
  454. package/dist/collection/components/value-list-item/resources.js +1 -1
  455. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  456. package/dist/collection/utils/array.js +1 -1
  457. package/dist/collection/utils/conditionalSlot.js +1 -1
  458. package/dist/collection/utils/date.js +1 -1
  459. package/dist/collection/utils/dom.js +1 -1
  460. package/dist/collection/utils/filter.js +1 -1
  461. package/dist/collection/utils/form.js +1 -1
  462. package/dist/collection/utils/globalAttributes.js +1 -1
  463. package/dist/collection/utils/guid.js +1 -1
  464. package/dist/collection/utils/interactive.js +1 -1
  465. package/dist/collection/utils/key.js +1 -1
  466. package/dist/collection/utils/label.js +1 -1
  467. package/dist/collection/utils/locale.js +1 -1
  468. package/dist/collection/utils/math.js +1 -1
  469. package/dist/collection/utils/number.js +1 -1
  470. package/dist/collection/utils/observers.js +1 -1
  471. package/dist/collection/utils/openCloseComponent.js +1 -1
  472. package/dist/collection/utils/popper.js +1 -1
  473. package/dist/collection/utils/resources.js +1 -1
  474. package/dist/collection/utils/time.js +1 -1
  475. package/dist/components/ExpandToggle.js +1 -1
  476. package/dist/components/Heading.js +1 -1
  477. package/dist/components/action-group.js +1 -1
  478. package/dist/components/action-menu.js +1 -1
  479. package/dist/components/action.js +2 -2
  480. package/dist/components/array.js +1 -1
  481. package/dist/components/button.js +2 -2
  482. package/dist/components/calcite-accordion-item.js +1 -1
  483. package/dist/components/calcite-accordion.js +1 -1
  484. package/dist/components/calcite-action-bar.js +1 -1
  485. package/dist/components/calcite-action-group.js +1 -1
  486. package/dist/components/calcite-action-menu.js +1 -1
  487. package/dist/components/calcite-action-pad.js +1 -1
  488. package/dist/components/calcite-action.js +1 -1
  489. package/dist/components/calcite-alert.js +25 -32
  490. package/dist/components/calcite-avatar.js +1 -1
  491. package/dist/components/calcite-block-section.js +1 -1
  492. package/dist/components/calcite-block.js +1 -1
  493. package/dist/components/calcite-button.js +1 -1
  494. package/dist/components/calcite-card.js +1 -1
  495. package/dist/components/calcite-checkbox.js +1 -1
  496. package/dist/components/calcite-chip.js +1 -1
  497. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  498. package/dist/components/calcite-color-picker-swatch.js +1 -1
  499. package/dist/components/calcite-color-picker.js +1 -1
  500. package/dist/components/calcite-combobox-item-group.js +1 -1
  501. package/dist/components/calcite-combobox-item.js +1 -1
  502. package/dist/components/calcite-combobox.js +7 -13
  503. package/dist/components/calcite-date-picker-day.js +1 -1
  504. package/dist/components/calcite-date-picker-month-header.js +1 -1
  505. package/dist/components/calcite-date-picker-month.js +1 -1
  506. package/dist/components/calcite-date-picker.js +1 -1
  507. package/dist/components/calcite-dropdown-group.js +1 -1
  508. package/dist/components/calcite-dropdown-item.js +1 -1
  509. package/dist/components/calcite-dropdown.js +1 -1
  510. package/dist/components/calcite-fab.js +1 -1
  511. package/dist/components/calcite-filter.js +1 -1
  512. package/dist/components/calcite-flow.js +1 -1
  513. package/dist/components/calcite-graph.js +1 -1
  514. package/dist/components/calcite-handle.js +1 -1
  515. package/dist/components/calcite-icon.js +1 -1
  516. package/dist/components/calcite-inline-editable.js +1 -1
  517. package/dist/components/calcite-input-date-picker.js +31 -8
  518. package/dist/components/calcite-input-message.js +1 -1
  519. package/dist/components/calcite-input-number.js +1 -1
  520. package/dist/components/calcite-input-time-picker.js +1 -1
  521. package/dist/components/calcite-input.js +1 -1
  522. package/dist/components/calcite-label.js +1 -1
  523. package/dist/components/calcite-link.js +1 -1
  524. package/dist/components/calcite-list-item-group.js +1 -1
  525. package/dist/components/calcite-list-item.js +1 -1
  526. package/dist/components/calcite-list.js +1 -1
  527. package/dist/components/calcite-loader.js +1 -1
  528. package/dist/components/calcite-modal.js +31 -7
  529. package/dist/components/calcite-notice.js +2 -2
  530. package/dist/components/calcite-option-group.js +1 -1
  531. package/dist/components/calcite-option.js +1 -1
  532. package/dist/components/calcite-pagination.js +2 -2
  533. package/dist/components/calcite-panel.js +2 -2
  534. package/dist/components/calcite-pick-list-group.js +1 -1
  535. package/dist/components/calcite-pick-list-item.js +1 -1
  536. package/dist/components/calcite-pick-list.js +1 -1
  537. package/dist/components/calcite-popover-manager.js +1 -1
  538. package/dist/components/calcite-popover.js +1 -1
  539. package/dist/components/calcite-progress.js +1 -1
  540. package/dist/components/calcite-radio-button-group.js +1 -1
  541. package/dist/components/calcite-radio-button.js +1 -1
  542. package/dist/components/calcite-radio-group-item.js +1 -1
  543. package/dist/components/calcite-radio-group.js +1 -1
  544. package/dist/components/calcite-rating.js +1 -1
  545. package/dist/components/calcite-scrim.js +1 -1
  546. package/dist/components/calcite-select.js +1 -1
  547. package/dist/components/calcite-shell-center-row.js +1 -1
  548. package/dist/components/calcite-shell-panel.js +1 -1
  549. package/dist/components/calcite-shell.js +1 -1
  550. package/dist/components/calcite-slider.js +1 -1
  551. package/dist/components/calcite-sortable-list.js +1 -1
  552. package/dist/components/calcite-split-button.js +2 -2
  553. package/dist/components/calcite-stepper-item.js +1 -1
  554. package/dist/components/calcite-stepper.js +1 -1
  555. package/dist/components/calcite-switch.js +1 -1
  556. package/dist/components/calcite-tab-nav.js +1 -1
  557. package/dist/components/calcite-tab-title.js +1 -1
  558. package/dist/components/calcite-tab.js +1 -1
  559. package/dist/components/calcite-tabs.js +1 -1
  560. package/dist/components/calcite-tile-select-group.js +1 -1
  561. package/dist/components/calcite-tile-select.js +1 -1
  562. package/dist/components/calcite-tile.js +1 -1
  563. package/dist/components/calcite-time-picker.js +1 -1
  564. package/dist/components/calcite-tip-group.js +1 -1
  565. package/dist/components/calcite-tip-manager.js +1 -1
  566. package/dist/components/calcite-tip.js +1 -1
  567. package/dist/components/calcite-tooltip-manager.js +1 -1
  568. package/dist/components/calcite-tooltip.js +1 -1
  569. package/dist/components/calcite-tree-item.js +1 -1
  570. package/dist/components/calcite-tree.js +1 -1
  571. package/dist/components/calcite-value-list-item.js +1 -1
  572. package/dist/components/calcite-value-list.js +1 -1
  573. package/dist/components/checkbox.js +1 -1
  574. package/dist/components/chip.js +1 -1
  575. package/dist/components/color-picker-hex-input.js +1 -1
  576. package/dist/components/color-picker-swatch.js +1 -1
  577. package/dist/components/conditionalSlot.js +1 -1
  578. package/dist/components/date-picker-day.js +1 -1
  579. package/dist/components/date-picker-month-header.js +1 -1
  580. package/dist/components/date-picker-month.js +1 -1
  581. package/dist/components/date-picker.js +1 -1
  582. package/dist/components/date.js +1 -1
  583. package/dist/components/debounce.js +1 -1
  584. package/dist/components/dom.js +1 -1
  585. package/dist/components/dropdown.js +22 -27
  586. package/dist/components/filter.js +1 -1
  587. package/dist/components/forIn.js +1 -1
  588. package/dist/components/form.js +1 -1
  589. package/dist/components/graph.js +1 -1
  590. package/dist/components/guid.js +1 -1
  591. package/dist/components/handle.js +1 -1
  592. package/dist/components/icon.js +1 -1
  593. package/dist/components/index.js +1 -1
  594. package/dist/components/input.js +1 -1
  595. package/dist/components/interactive.js +1 -1
  596. package/dist/components/interfaces.js +1 -1
  597. package/dist/components/interfaces2.js +1 -1
  598. package/dist/components/key.js +1 -1
  599. package/dist/components/label.js +1 -1
  600. package/dist/components/label2.js +1 -1
  601. package/dist/components/link.js +1 -1
  602. package/dist/components/loader.js +1 -1
  603. package/dist/components/locale.js +1 -1
  604. package/dist/components/math.js +1 -1
  605. package/dist/components/observers.js +1 -1
  606. package/dist/components/pick-list-item.js +1 -1
  607. package/dist/components/popover.js +29 -4
  608. package/dist/components/popper.js +1 -1
  609. package/dist/components/progress.js +1 -1
  610. package/dist/components/resources.js +1 -1
  611. package/dist/components/resources2.js +1 -1
  612. package/dist/components/resources3.js +1 -1
  613. package/dist/components/scrim.js +1 -1
  614. package/dist/components/shared-list-render.js +1 -1
  615. package/dist/components/sortable.esm.js +1 -1
  616. package/dist/components/switch.js +1 -1
  617. package/dist/components/tab-nav.js +1 -1
  618. package/dist/components/tab-title.js +1 -1
  619. package/dist/components/tab.js +1 -1
  620. package/dist/components/tabs.js +1 -1
  621. package/dist/components/tile.js +1 -1
  622. package/dist/components/time-picker.js +1 -1
  623. package/dist/components/utils.js +1 -1
  624. package/dist/components/utils2.js +1 -1
  625. package/dist/custom-elements/index.js +146 -92
  626. package/dist/esm/{ExpandToggle-d836b4c2.js → ExpandToggle-564ab063.js} +5 -5
  627. package/dist/esm/{Heading-48c92432.js → Heading-167a94b8.js} +2 -2
  628. package/dist/esm/{array-4b131c4b.js → array-4282e96e.js} +1 -1
  629. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  630. package/dist/esm/calcite-action-bar.entry.js +10 -10
  631. package/dist/esm/calcite-action-group.entry.js +8 -8
  632. package/dist/esm/calcite-action-menu.entry.js +8 -8
  633. package/dist/esm/calcite-action-pad.entry.js +9 -9
  634. package/dist/esm/calcite-action.entry.js +7 -7
  635. package/dist/esm/calcite-alert.entry.js +29 -36
  636. package/dist/esm/calcite-avatar.entry.js +5 -5
  637. package/dist/esm/calcite-block_2.entry.js +8 -8
  638. package/dist/esm/calcite-button.entry.js +9 -9
  639. package/dist/esm/calcite-card.entry.js +6 -6
  640. package/dist/esm/calcite-checkbox.entry.js +7 -7
  641. package/dist/esm/calcite-chip.entry.js +6 -6
  642. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  643. package/dist/esm/calcite-combobox_3.entry.js +18 -24
  644. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  645. package/dist/esm/calcite-dropdown_3.entry.js +28 -33
  646. package/dist/esm/calcite-fab.entry.js +5 -5
  647. package/dist/esm/calcite-filter.entry.js +7 -7
  648. package/dist/esm/calcite-flow.entry.js +3 -3
  649. package/dist/esm/calcite-graph_2.entry.js +9 -9
  650. package/dist/esm/calcite-handle.entry.js +4 -4
  651. package/dist/esm/calcite-icon.entry.js +5 -5
  652. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  653. package/dist/esm/calcite-input-date-picker.entry.js +41 -18
  654. package/dist/esm/calcite-input-message.entry.js +4 -4
  655. package/dist/esm/calcite-input-number.entry.js +11 -11
  656. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  657. package/dist/esm/calcite-input.entry.js +11 -11
  658. package/dist/esm/calcite-label.entry.js +5 -5
  659. package/dist/esm/calcite-link.entry.js +5 -5
  660. package/dist/esm/calcite-list_3.entry.js +8 -8
  661. package/dist/esm/calcite-loader.entry.js +3 -3
  662. package/dist/esm/calcite-modal.entry.js +36 -12
  663. package/dist/esm/calcite-notice.entry.js +8 -8
  664. package/dist/esm/calcite-option_3.entry.js +8 -8
  665. package/dist/esm/calcite-pagination.entry.js +6 -6
  666. package/dist/esm/calcite-panel.entry.js +10 -10
  667. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  668. package/dist/esm/calcite-popover_2.entry.js +35 -10
  669. package/dist/esm/calcite-progress.entry.js +2 -2
  670. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  671. package/dist/esm/calcite-radio-button.entry.js +8 -8
  672. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  673. package/dist/esm/calcite-rating.entry.js +8 -8
  674. package/dist/esm/calcite-scrim.entry.js +2 -2
  675. package/dist/esm/calcite-shell_3.entry.js +7 -7
  676. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  677. package/dist/esm/calcite-split-button.entry.js +4 -4
  678. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  679. package/dist/esm/calcite-switch.entry.js +7 -7
  680. package/dist/esm/calcite-tab_4.entry.js +6 -6
  681. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  682. package/dist/esm/calcite-tile.entry.js +7 -7
  683. package/dist/esm/calcite-tip_3.entry.js +7 -7
  684. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  685. package/dist/esm/calcite-tree_2.entry.js +6 -6
  686. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  687. package/dist/esm/calcite.js +2 -2
  688. package/dist/esm/{conditionalSlot-51883c81.js → conditionalSlot-ae9812b3.js} +3 -3
  689. package/dist/esm/{debounce-7152e426.js → debounce-e9410502.js} +1 -1
  690. package/dist/esm/{dom-4deab368.js → dom-46fec73e.js} +2 -2
  691. package/dist/esm/{forIn-57f3069a.js → forIn-38c4f193.js} +2 -2
  692. package/dist/esm/{form-f82e2815.js → form-5d2ff12f.js} +3 -3
  693. package/dist/esm/{guid-ce02e0fd.js → guid-7d5a88a7.js} +1 -1
  694. package/dist/esm/{index-2302d792.js → index-54fbbd11.js} +1 -1
  695. package/dist/esm/index.js +1 -1
  696. package/dist/esm/{interactive-6b719f79.js → interactive-77259559.js} +1 -1
  697. package/dist/esm/{interfaces-6dd03259.js → interfaces-bc107cfe.js} +1 -1
  698. package/dist/esm/{key-0c5cd06e.js → key-a5afd74d.js} +1 -1
  699. package/dist/esm/{label-977e5b15.js → label-9d4f93d7.js} +2 -2
  700. package/dist/esm/loader.js +2 -2
  701. package/dist/esm/{locale-67ea5211.js → locale-337cbe89.js} +2 -2
  702. package/dist/esm/{math-ab13649d.js → math-5fd28257.js} +1 -1
  703. package/dist/esm/{observers-d6b625df.js → observers-9f1d9383.js} +1 -1
  704. package/dist/esm/{popper-cbcc474a.js → popper-afb3154c.js} +2 -2
  705. package/dist/esm/{resources-41f9ccd3.js → resources-15438a9d.js} +3 -3
  706. package/dist/esm/{resources-1174197b.js → resources-cb271b95.js} +1 -1
  707. package/dist/esm/{resources-0c7a0345.js → resources-ea7a1bf2.js} +1 -1
  708. package/dist/esm/{resources-fb770018.js → resources-f75eb881.js} +5 -5
  709. package/dist/esm/{sortable.esm-b0277ca6.js → sortable.esm-05affc15.js} +1 -1
  710. package/dist/esm/{utils-8da1d515.js → utils-4edcf5ff.js} +1 -1
  711. package/dist/esm-es5/{ExpandToggle-d836b4c2.js → ExpandToggle-564ab063.js} +2 -2
  712. package/dist/esm-es5/{Heading-48c92432.js → Heading-167a94b8.js} +2 -2
  713. package/dist/esm-es5/{array-4b131c4b.js → array-4282e96e.js} +1 -1
  714. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  716. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  717. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  718. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  719. package/dist/esm-es5/calcite-action.entry.js +2 -2
  720. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  721. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  722. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  723. package/dist/esm-es5/calcite-button.entry.js +2 -2
  724. package/dist/esm-es5/calcite-card.entry.js +2 -2
  725. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  726. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  727. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  730. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  731. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  732. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  733. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  734. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  735. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  736. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  737. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  738. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  739. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  740. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  741. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  742. package/dist/esm-es5/calcite-input.entry.js +2 -2
  743. package/dist/esm-es5/calcite-label.entry.js +2 -2
  744. package/dist/esm-es5/calcite-link.entry.js +2 -2
  745. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  746. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  747. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  748. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  749. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  751. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  752. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  754. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  755. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  756. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  757. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  759. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  760. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  761. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  762. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  763. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  764. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  765. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  767. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  768. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  769. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  770. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  772. package/dist/esm-es5/calcite.js +2 -2
  773. package/dist/esm-es5/{conditionalSlot-51883c81.js → conditionalSlot-ae9812b3.js} +2 -2
  774. package/dist/esm-es5/{debounce-7152e426.js → debounce-e9410502.js} +1 -1
  775. package/dist/esm-es5/{dom-4deab368.js → dom-46fec73e.js} +2 -2
  776. package/dist/esm-es5/{forIn-57f3069a.js → forIn-38c4f193.js} +2 -2
  777. package/dist/esm-es5/{form-f82e2815.js → form-5d2ff12f.js} +2 -2
  778. package/dist/esm-es5/{guid-ce02e0fd.js → guid-7d5a88a7.js} +1 -1
  779. package/dist/esm-es5/{index-2302d792.js → index-54fbbd11.js} +1 -1
  780. package/dist/esm-es5/index.js +1 -1
  781. package/dist/esm-es5/{interactive-6b719f79.js → interactive-77259559.js} +1 -1
  782. package/dist/esm-es5/{interfaces-6dd03259.js → interfaces-bc107cfe.js} +1 -1
  783. package/dist/esm-es5/{key-0c5cd06e.js → key-a5afd74d.js} +1 -1
  784. package/dist/esm-es5/{label-977e5b15.js → label-9d4f93d7.js} +2 -2
  785. package/dist/esm-es5/loader.js +2 -2
  786. package/dist/esm-es5/{locale-67ea5211.js → locale-337cbe89.js} +2 -2
  787. package/dist/esm-es5/{math-ab13649d.js → math-5fd28257.js} +1 -1
  788. package/dist/esm-es5/{observers-d6b625df.js → observers-9f1d9383.js} +1 -1
  789. package/dist/esm-es5/{popper-cbcc474a.js → popper-afb3154c.js} +2 -2
  790. package/dist/esm-es5/{resources-41f9ccd3.js → resources-15438a9d.js} +2 -2
  791. package/dist/esm-es5/{resources-1174197b.js → resources-cb271b95.js} +1 -1
  792. package/dist/esm-es5/{resources-0c7a0345.js → resources-ea7a1bf2.js} +1 -1
  793. package/dist/esm-es5/{resources-fb770018.js → resources-f75eb881.js} +2 -2
  794. package/dist/esm-es5/{sortable.esm-b0277ca6.js → sortable.esm-05affc15.js} +1 -1
  795. package/dist/esm-es5/{utils-8da1d515.js → utils-4edcf5ff.js} +1 -1
  796. package/dist/extras/docs-json.json +94 -22
  797. package/dist/loader/cdn.js +1 -1
  798. package/dist/loader/index.cjs.js +1 -1
  799. package/dist/loader/index.es2017.js +1 -1
  800. package/dist/loader/index.js +1 -1
  801. package/dist/types/components/alert/alert.d.ts +13 -21
  802. package/dist/types/components/combobox/combobox.d.ts +5 -13
  803. package/dist/types/components/dropdown/dropdown.d.ts +11 -15
  804. package/dist/types/components/input-date-picker/input-date-picker.d.ts +13 -9
  805. package/dist/types/components/modal/modal.d.ts +13 -5
  806. package/dist/types/components/popover/popover.d.ts +13 -5
  807. package/dist/types/components.d.ts +25 -41
  808. package/dist/types/preact.d.ts +15 -9
  809. package/hydrate/index.js +146 -92
  810. package/package.json +2 -1
  811. package/dist/calcite/p-0c465aea.system.js +0 -6
  812. package/dist/calcite/p-14693e05.system.entry.js +0 -6
  813. package/dist/calcite/p-1ccc1b47.js +0 -6
  814. package/dist/calcite/p-326de897.entry.js +0 -6
  815. package/dist/calcite/p-4a8cea10.system.entry.js +0 -6
  816. package/dist/calcite/p-6afc4b8a.system.entry.js +0 -6
  817. package/dist/calcite/p-75442745.system.entry.js +0 -6
  818. package/dist/calcite/p-8a0b7455.entry.js +0 -6
  819. package/dist/calcite/p-8b69be09.system.entry.js +0 -6
  820. package/dist/calcite/p-8e8955a5.system.entry.js +0 -6
  821. package/dist/calcite/p-9b221ad4.entry.js +0 -6
  822. package/dist/calcite/p-a469734b.entry.js +0 -6
  823. package/dist/calcite/p-ada6cade.js +0 -6
  824. package/dist/calcite/p-c309559e.system.entry.js +0 -6
  825. package/dist/calcite/p-c6f113a8.system.entry.js +0 -6
  826. package/dist/calcite/p-c82ab7d8.entry.js +0 -6
  827. package/dist/calcite/p-ca37eb33.entry.js +0 -6
  828. package/dist/calcite/p-efb97360.entry.js +0 -6
@@ -1,13 +1,13 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2302d792.js';
7
- import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean, j as filterDirectChildren } from './dom-4deab368.js';
8
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-51883c81.js';
9
- import './guid-ce02e0fd.js';
10
- import './observers-d6b625df.js';
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-54fbbd11.js';
7
+ import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean, j as filterDirectChildren } from './dom-46fec73e.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-ae9812b3.js';
9
+ import './guid-7d5a88a7.js';
10
+ import './observers-9f1d9383.js';
11
11
 
12
12
  var TreeSelectionMode;
13
13
  (function (TreeSelectionMode) {
@@ -1,18 +1,18 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-2302d792.js';
7
- import { S as Sortable } from './sortable.esm-b0277ca6.js';
8
- import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-fb770018.js';
9
- import { c as createObserver } from './observers-d6b625df.js';
10
- import { u as updateHostInteraction } from './interactive-6b719f79.js';
11
- import { g as guid } from './guid-ce02e0fd.js';
12
- import { g as getSlotted } from './dom-4deab368.js';
13
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-51883c81.js';
14
- import './array-4b131c4b.js';
15
- import './debounce-7152e426.js';
6
+ import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-54fbbd11.js';
7
+ import { S as Sortable } from './sortable.esm-05affc15.js';
8
+ import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-f75eb881.js';
9
+ import { c as createObserver } from './observers-9f1d9383.js';
10
+ import { u as updateHostInteraction } from './interactive-77259559.js';
11
+ import { g as guid } from './guid-7d5a88a7.js';
12
+ import { g as getSlotted } from './dom-46fec73e.js';
13
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-ae9812b3.js';
14
+ import './array-4282e96e.js';
15
+ import './debounce-e9410502.js';
16
16
 
17
17
  const CSS = {
18
18
  container: "container",
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-2302d792.js';
6
+ import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-54fbbd11.js';
7
7
 
8
8
  /*
9
9
  Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
@@ -1,10 +1,10 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { f as forceUpdate } from './index-2302d792.js';
7
- import { c as createObserver } from './observers-d6b625df.js';
6
+ import { f as forceUpdate } from './index-54fbbd11.js';
7
+ import { c as createObserver } from './observers-9f1d9383.js';
8
8
 
9
9
  const observed = new Set();
10
10
  let mutationObserver;
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  /** Detect free variable `global` from Node.js. */
7
7
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { g as guid } from './guid-ce02e0fd.js';
6
+ import { g as guid } from './guid-7d5a88a7.js';
7
7
 
8
8
  const autoTheme = "calcite-theme-auto";
9
9
  const darkTheme = "calcite-theme-dark";
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-7152e426.js';
6
+ import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-e9410502.js';
7
7
 
8
8
  /**
9
9
  * Checks if `value` is classified as an `Array` object.
@@ -1,10 +1,10 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { c as closestElementCrossShadowBoundary } from './dom-4deab368.js';
7
- import { h } from './index-2302d792.js';
6
+ import { c as closestElementCrossShadowBoundary } from './dom-46fec73e.js';
7
+ import { h } from './index-54fbbd11.js';
8
8
 
9
9
  /**
10
10
  * Exported for testing purposes.
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  function gen(counts) {
7
7
  return counts
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  const NAMESPACE = 'calcite';
7
7
 
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  function noopClick() {
7
7
  /** noop */
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  var StatusIcons;
7
7
  (function (StatusIcons) {
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  function isActivationKey(key) {
7
7
  return key === "Enter" || key === " ";
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-4deab368.js';
6
+ import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-46fec73e.js';
7
7
 
8
8
  /**
9
9
  * Exported for testing purposes only
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-2302d792.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-54fbbd11.js';
7
7
 
8
8
  /*
9
9
  Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { n as numberKeys } from './key-0c5cd06e.js';
6
+ import { n as numberKeys } from './key-a5afd74d.js';
7
7
 
8
8
  // regex for number sanitization
9
9
  const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
7
7
  const decimalPlaces = (value) => {
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  /**
7
7
  * This utility ensures observers are created only for browser contexts.
@@ -1,9 +1,9 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { a as getElementDir } from './dom-4deab368.js';
6
+ import { a as getElementDir } from './dom-46fec73e.js';
7
7
 
8
8
  var top = 'top';
9
9
  var bottom = 'bottom';
@@ -1,10 +1,10 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { a as getAssetPath } from './index-2302d792.js';
7
- import { a as locales } from './locale-67ea5211.js';
6
+ import { a as getAssetPath } from './index-54fbbd11.js';
7
+ import { a as locales } from './locale-337cbe89.js';
8
8
 
9
9
  /**
10
10
  * Get supported locale code from raw user input
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  const SLOTS = {
7
7
  menuActions: "menu-actions",
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  const CSS = {
7
7
  menu: "menu",
@@ -1,12 +1,12 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-4deab368.js';
7
- import { g as getRoundRobinIndex } from './array-4b131c4b.js';
8
- import { d as debounce } from './debounce-7152e426.js';
9
- import { h, H as Host } from './index-2302d792.js';
6
+ import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-46fec73e.js';
7
+ import { g as getRoundRobinIndex } from './array-4282e96e.js';
8
+ import { d as debounce } from './debounce-e9410502.js';
9
+ import { h, H as Host } from './index-54fbbd11.js';
10
10
 
11
11
  const CSS$2 = {
12
12
  heading: "heading",
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  function rgbToHex(color) {
7
7
  const { r, g, b } = color;
@@ -1,6 +1,6 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import{f as forceUpdate,h}from"./index-2302d792.js";import{a as getElementDir}from"./dom-4deab368.js";import{S as SLOTS}from"./resources-0c7a0345.js";import{S as SLOTS$1}from"./resources-1174197b.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
6
+ import{f as forceUpdate,h}from"./index-54fbbd11.js";import{a as getElementDir}from"./dom-46fec73e.js";import{S as SLOTS}from"./resources-ea7a1bf2.js";import{S as SLOTS$1}from"./resources-cb271b95.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n)
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.533
6
- */import{h}from"./index-2302d792.js";function constrainHeadingLevel(n){return Math.min(Math.max(Math.ceil(n),1),6)}var Heading=function(n,a){var e="h".concat(n.level);delete n.level;return h(e,__assign({},n),a)};export{Heading as H,constrainHeadingLevel as c};
5
+ * v1.0.0-next.536
6
+ */import{h}from"./index-54fbbd11.js";function constrainHeadingLevel(n){return Math.min(Math.max(Math.ceil(n),1),6)}var Heading=function(n,a){var e="h".concat(n.level);delete n.level;return h(e,__assign({},n),a)};export{Heading as H,constrainHeadingLevel as c};
@@ -1,6 +1,6 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
6
  function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
@@ -1,6 +1,6 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-2302d792.js";import{d as getElementProp,a as getElementDir,t as toAriaBoolean,C as CSS_UTILITY}from"./dom-4deab368.js";import"./guid-ce02e0fd.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var n=t.target;var o=this.itemIndex(n)===0;var c=this.itemIndex(n)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(n)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(n)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]),:host([expanded]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content,:host([expanded]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header,:host([expanded]) .accordion-item-header{border-block-end-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon,:host([expanded]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-heading,:host .accordion-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .accordion-item-heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-heading,:host(:hover) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:hover) .accordion-item-description{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-heading,:host(:active) .accordion-item-heading,:host([active]) .accordion-item-heading,:host([expanded]) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon,:host([expanded]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:active) .accordion-item-description,:host([active]) .accordion-item-description,:host([expanded]) .accordion-item-description{color:var(--calcite-ui-text-2)}@media (forced-colors: active){:host([expanded]) .accordion-item-header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .accordion-item-heading{font-weight:bolder}:host(:hover) .accordion-item-heading,:host(:focus) .accordion-item-heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return h(Host,null,h("div",{"aria-expanded":toAriaBoolean(this.active),class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t),onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},h("div",{class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i)},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-heading"},this.heading||this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-description"},this.description||this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),h("div",{class:"accordion-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active;this.expanded=!this.expanded}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-54fbbd11.js";import{d as getElementProp,a as getElementDir,t as toAriaBoolean,C as CSS_UTILITY}from"./dom-46fec73e.js";import"./guid-7d5a88a7.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var n=t.target;var o=this.itemIndex(n)===0;var c=this.itemIndex(n)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(n)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(n)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]),:host([expanded]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content,:host([expanded]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header,:host([expanded]) .accordion-item-header{border-block-end-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon,:host([expanded]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-heading,:host .accordion-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .accordion-item-heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-heading,:host(:hover) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:hover) .accordion-item-description{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-heading,:host(:active) .accordion-item-heading,:host([active]) .accordion-item-heading,:host([expanded]) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon,:host([expanded]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:active) .accordion-item-description,:host([active]) .accordion-item-description,:host([expanded]) .accordion-item-description{color:var(--calcite-ui-text-2)}@media (forced-colors: active){:host([expanded]) .accordion-item-header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .accordion-item-heading{font-weight:bolder}:host(:hover) .accordion-item-heading,:host(:focus) .accordion-item-heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});return h(Host,null,h("div",{"aria-expanded":toAriaBoolean(this.active),class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t),onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},h("div",{class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i)},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-heading"},this.heading||this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-description"},this.description||this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),h("div",{class:"accordion-item-content"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active;this.expanded=!this.expanded}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.533
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-2302d792.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-d836b4c2.js";import{f as focusElement,g as getSlotted}from"./dom-4deab368.js";import{c as createObserver}from"./observers-d6b625df.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-51883c81.js";import{d as debounce}from"./debounce-7152e426.js";import"./resources-0c7a0345.js";import"./resources-1174197b.js";import"./guid-ce02e0fd.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-inline-size:15vw;background:transparent}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-inline-size:20vw}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-block-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
5
+ * v1.0.0-next.536
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-54fbbd11.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-564ab063.js";import{f as focusElement,g as getSlotted}from"./dom-46fec73e.js";import{c as createObserver}from"./observers-9f1d9383.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-ae9812b3.js";import{d as debounce}from"./debounce-e9410502.js";import"./resources-ea7a1bf2.js";import"./resources-cb271b95.js";import"./guid-7d5a88a7.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-inline-size:15vw;background:transparent}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-inline-size:20vw}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-block-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
@@ -1,6 +1,6 @@
1
1
  /*!
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
- * v1.0.0-next.533
4
+ * v1.0.0-next.536
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-2302d792.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-1174197b.js";import{g as getSlotted}from"./dom-4deab368.js";import{S as SLOTS$1}from"./resources-0c7a0345.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-51883c81.js";import"./guid-ce02e0fd.js";import"./observers-d6b625df.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-54fbbd11.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-cb271b95.js";import{g as getSlotted}from"./dom-46fec73e.js";import{S as SLOTS$1}from"./resources-ea7a1bf2.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-ae9812b3.js";import"./guid-7d5a88a7.js";import"./observers-9f1d9383.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};