@esri/calcite-components 1.0.0-next.426 → 1.0.0-next.429

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 (795) hide show
  1. package/dist/calcite/calcite.esm.js +2 -1
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -0
  4. package/dist/calcite/{p-6e0103f5.system.entry.js → p-04df6ae7.system.entry.js} +2 -1
  5. package/dist/calcite/{p-079a3322.js → p-06234c01.js} +1 -0
  6. package/dist/calcite/{p-ee522afa.system.entry.js → p-06c5fe16.system.entry.js} +2 -1
  7. package/dist/calcite/p-079ce75d.system.js +6 -0
  8. package/dist/calcite/{p-ef17447d.system.entry.js → p-081c53fc.system.entry.js} +2 -1
  9. package/dist/calcite/{p-3b4662a5.entry.js → p-083883aa.entry.js} +2 -1
  10. package/dist/calcite/{p-2fae8516.system.entry.js → p-084022fd.system.entry.js} +2 -1
  11. package/dist/calcite/{p-052ba882.system.entry.js → p-098f27fb.system.entry.js} +2 -1
  12. package/dist/calcite/{p-7fc69a9d.js → p-0b9aa826.js} +1 -0
  13. package/dist/calcite/{p-569150ab.system.entry.js → p-0cb76d41.system.entry.js} +2 -1
  14. package/dist/calcite/{p-97904e9a.entry.js → p-0e6a64ec.entry.js} +2 -1
  15. package/dist/calcite/{p-6261469d.entry.js → p-0f10762b.entry.js} +2 -1
  16. package/dist/calcite/{p-4905189e.system.entry.js → p-0fe716fc.system.entry.js} +2 -1
  17. package/dist/calcite/{p-7bee4942.system.entry.js → p-1084258c.system.entry.js} +2 -1
  18. package/dist/calcite/{p-dcf33bb2.js → p-1384eab1.js} +2 -1
  19. package/dist/calcite/{p-9940b82a.system.entry.js → p-16d3bf26.system.entry.js} +2 -1
  20. package/dist/calcite/{p-6b7b23d0.js → p-16e18b83.js} +1 -0
  21. package/dist/calcite/{p-b47dc903.system.entry.js → p-191366b3.system.entry.js} +2 -1
  22. package/dist/calcite/{p-42227a04.entry.js → p-1d928283.entry.js} +2 -1
  23. package/dist/calcite/{p-31c58f25.entry.js → p-21a2e747.entry.js} +2 -1
  24. package/dist/calcite/{p-0a5d059d.js → p-256a6d8d.js} +1 -0
  25. package/dist/calcite/{p-ac4aec20.system.js → p-270616ac.system.js} +1 -0
  26. package/dist/calcite/{p-5802a565.entry.js → p-27d64f4a.entry.js} +2 -1
  27. package/dist/calcite/{p-4afb5a1b.system.entry.js → p-280ffea9.system.entry.js} +2 -1
  28. package/dist/calcite/{p-edf1e815.system.entry.js → p-286d4139.system.entry.js} +2 -1
  29. package/dist/calcite/{p-46071f17.entry.js → p-2b647f7d.entry.js} +2 -1
  30. package/dist/calcite/{p-f09e27b0.system.js → p-2c69a7d2.system.js} +2 -1
  31. package/dist/calcite/{p-9ac86d6a.entry.js → p-30b4b2e8.entry.js} +2 -1
  32. package/dist/calcite/{p-65dbbfb5.system.js → p-30e0eb07.system.js} +1 -0
  33. package/dist/calcite/{p-cd5f5c8f.js → p-35cf1c3f.js} +2 -1
  34. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-36b55f98.system.entry.js} +2 -1
  35. package/dist/calcite/{p-1fc943d5.system.entry.js → p-39dac8e7.system.entry.js} +2 -1
  36. package/dist/calcite/{p-a9b3ef39.js → p-3a4fe68c.js} +2 -1
  37. package/dist/calcite/{p-c2caeb2a.system.entry.js → p-3ab6efb6.system.entry.js} +2 -1
  38. package/dist/calcite/{p-7ed4c551.system.js → p-3da0e8a9.system.js} +1 -0
  39. package/dist/calcite/{p-c5ec8d74.js → p-3dd4f870.js} +1 -0
  40. package/dist/calcite/{p-54c49493.entry.js → p-3e1320a3.entry.js} +2 -1
  41. package/dist/calcite/{p-4aecbaef.entry.js → p-3f8d43a6.entry.js} +2 -1
  42. package/dist/calcite/{p-bffb4da3.system.entry.js → p-40adb4a8.system.entry.js} +3 -2
  43. package/dist/calcite/{p-9c913e3a.entry.js → p-41b3e11c.entry.js} +2 -1
  44. package/dist/calcite/{p-7fb5fec5.entry.js → p-4318a22a.entry.js} +2 -1
  45. package/dist/calcite/{p-b96b7c58.entry.js → p-44e388bc.entry.js} +2 -1
  46. package/dist/calcite/{p-2692ac43.entry.js → p-44f9bdb3.entry.js} +2 -1
  47. package/dist/calcite/{p-62afcb36.system.js → p-46e3b147.system.js} +2 -1
  48. package/dist/calcite/{p-03c92ad2.entry.js → p-4a8da384.entry.js} +2 -1
  49. package/dist/calcite/{p-6a541e77.system.js → p-4eafe01b.system.js} +2 -1
  50. package/dist/calcite/{p-5bb4d012.entry.js → p-4ef02d21.entry.js} +2 -1
  51. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-51e5e54c.system.entry.js} +2 -1
  52. package/dist/calcite/{p-5958acc8.system.js → p-53a6125d.system.js} +1 -0
  53. package/dist/calcite/{p-c2adeae4.entry.js → p-545f8682.entry.js} +2 -1
  54. package/dist/calcite/{p-7b8707b2.system.js → p-58e35c4e.system.js} +1 -0
  55. package/dist/calcite/{p-b2b6f712.js → p-5b52e8cc.js} +2 -1
  56. package/dist/calcite/p-5b68626d.system.js +6 -0
  57. package/dist/calcite/{p-fa922721.system.js → p-5ecd29e4.system.js} +2 -1
  58. package/dist/calcite/{p-bd38ff21.js → p-64b87aa3.js} +1 -0
  59. package/dist/calcite/{p-958600ba.system.entry.js → p-68c47ff8.system.entry.js} +2 -1
  60. package/dist/calcite/p-6a2f374d.system.entry.js +6 -0
  61. package/dist/calcite/{p-6ed27595.system.entry.js → p-6a8365f6.system.entry.js} +2 -1
  62. package/dist/calcite/{p-162604a0.entry.js → p-6bcb03c7.entry.js} +2 -1
  63. package/dist/calcite/{p-482885ae.system.entry.js → p-6d8bb460.system.entry.js} +2 -1
  64. package/dist/calcite/{p-7b238036.entry.js → p-6e377ce0.entry.js} +2 -1
  65. package/dist/calcite/{p-bdcb43b1.system.entry.js → p-73108fae.system.entry.js} +2 -1
  66. package/dist/calcite/{p-28c333d0.entry.js → p-7408933a.entry.js} +2 -1
  67. package/dist/calcite/{p-e4d1651b.system.entry.js → p-7432fbc9.system.entry.js} +2 -1
  68. package/dist/calcite/{p-496e907a.system.entry.js → p-749c2a55.system.entry.js} +3 -2
  69. package/dist/calcite/{p-f78023f1.system.js → p-78595060.system.js} +1 -0
  70. package/dist/calcite/{p-69d2d9cf.system.entry.js → p-79e55284.system.entry.js} +2 -1
  71. package/dist/calcite/{p-a11ee541.system.entry.js → p-7ceebd06.system.entry.js} +2 -1
  72. package/dist/calcite/{p-63624a01.js → p-80972adf.js} +1 -0
  73. package/dist/calcite/{p-765c9bef.entry.js → p-81450989.entry.js} +2 -1
  74. package/dist/calcite/p-834b74df.entry.js +6 -0
  75. package/dist/calcite/{p-0217c41b.system.entry.js → p-83bc153b.system.entry.js} +2 -1
  76. package/dist/calcite/{p-1d6404b5.system.js → p-85b10801.system.js} +1 -0
  77. package/dist/calcite/{p-2139226c.entry.js → p-876c57d4.entry.js} +2 -1
  78. package/dist/calcite/{p-6b5776af.js → p-87c40491.js} +1 -0
  79. package/dist/calcite/{p-07f1f162.system.entry.js → p-88677c58.system.entry.js} +2 -1
  80. package/dist/calcite/{p-eb3c084f.system.entry.js → p-8b363e01.system.entry.js} +2 -1
  81. package/dist/calcite/{p-accdb0ce.js → p-8b665227.js} +1 -0
  82. package/dist/calcite/{p-69d5736f.entry.js → p-8b94c8ee.entry.js} +2 -1
  83. package/dist/calcite/{p-34730e94.entry.js → p-8d496346.entry.js} +2 -1
  84. package/dist/calcite/{p-364db271.entry.js → p-8e54aa52.entry.js} +2 -1
  85. package/dist/calcite/{p-cbc6fee6.entry.js → p-8e5f9707.entry.js} +2 -1
  86. package/dist/calcite/{p-e55c5bb4.entry.js → p-8ece74d4.entry.js} +2 -1
  87. package/dist/calcite/{p-7432e5ef.system.entry.js → p-903cab29.system.entry.js} +2 -1
  88. package/dist/calcite/{p-b2493735.entry.js → p-909ecd2a.entry.js} +2 -1
  89. package/dist/calcite/{p-e020662f.system.js → p-9557efdc.system.js} +1 -0
  90. package/dist/calcite/{p-8ab345f2.js → p-97192c71.js} +2 -1
  91. package/dist/calcite/{p-4eae61c5.entry.js → p-976fa501.entry.js} +2 -1
  92. package/dist/calcite/p-98963a90.entry.js +6 -0
  93. package/dist/calcite/{p-e095517f.system.js → p-9ce9f5c2.system.js} +1 -0
  94. package/dist/calcite/{p-02d7cf64.system.entry.js → p-9e189d30.system.entry.js} +2 -1
  95. package/dist/calcite/{p-3c34f20d.system.js → p-9ea3138f.system.js} +1 -0
  96. package/dist/calcite/{p-58392046.system.entry.js → p-9ee8779f.system.entry.js} +2 -1
  97. package/dist/calcite/{p-05bf835f.js → p-a18d0801.js} +2 -1
  98. package/dist/calcite/{p-a7770d75.entry.js → p-a2937009.entry.js} +2 -1
  99. package/dist/calcite/{p-32efc4cd.system.entry.js → p-a41995a3.system.entry.js} +2 -1
  100. package/dist/calcite/{p-ef6b4184.js → p-a42e3a46.js} +2 -1
  101. package/dist/calcite/{p-bb401f25.system.js → p-a620fdd4.system.js} +2 -1
  102. package/dist/calcite/{p-5c637131.entry.js → p-a6382d40.entry.js} +2 -1
  103. package/dist/calcite/{p-0ba91238.system.entry.js → p-a99ec426.system.entry.js} +2 -1
  104. package/dist/calcite/{p-55e1a3a0.system.entry.js → p-ab11cd5f.system.entry.js} +2 -1
  105. package/dist/calcite/{p-6fba3e1b.system.entry.js → p-ad3739a5.system.entry.js} +2 -1
  106. package/dist/calcite/p-ae1f96c4.js +6 -0
  107. package/dist/calcite/{p-b765d197.system.js → p-b19347f0.system.js} +2 -1
  108. package/dist/calcite/{p-426f011a.entry.js → p-b2ac3e97.entry.js} +2 -1
  109. package/dist/calcite/{p-87888359.entry.js → p-b36a692c.entry.js} +2 -1
  110. package/dist/calcite/{p-f344e163.entry.js → p-b47c5267.entry.js} +2 -1
  111. package/dist/calcite/{p-daf5f04c.system.js → p-b552aebf.system.js} +2 -1
  112. package/dist/calcite/{p-8a7596e3.entry.js → p-b59c8eb1.entry.js} +2 -1
  113. package/dist/calcite/{p-963e9aec.system.entry.js → p-b5ac2af2.system.entry.js} +2 -1
  114. package/dist/calcite/{p-78bc502f.entry.js → p-b5af0fe1.entry.js} +2 -1
  115. package/dist/calcite/{p-f68725d7.entry.js → p-b8bad376.entry.js} +2 -1
  116. package/dist/calcite/{p-e3280a36.system.entry.js → p-b9b34670.system.entry.js} +2 -1
  117. package/dist/calcite/p-b9c75fc7.js +6 -0
  118. package/dist/calcite/{p-23145377.entry.js → p-ba31ed1e.entry.js} +2 -1
  119. package/dist/calcite/{p-6ab3e489.entry.js → p-baa21916.entry.js} +2 -1
  120. package/dist/calcite/{p-b9a38a28.system.entry.js → p-bcd03855.system.entry.js} +2 -1
  121. package/dist/calcite/{p-5a8829cd.entry.js → p-befe8dec.entry.js} +2 -1
  122. package/dist/calcite/{p-dd9f2e61.js → p-bf09ea9a.js} +1 -0
  123. package/dist/calcite/{p-2dd22e8c.system.entry.js → p-bf24e115.system.entry.js} +2 -1
  124. package/dist/calcite/{p-7260c869.system.entry.js → p-c1024bad.system.entry.js} +2 -1
  125. package/dist/calcite/p-c3c99b72.entry.js +6 -0
  126. package/dist/calcite/{p-bccbf58a.entry.js → p-c67ed169.entry.js} +2 -1
  127. package/dist/calcite/{p-b10af2b4.entry.js → p-c9cd5d34.entry.js} +2 -1
  128. package/dist/calcite/{p-ea4119b1.system.entry.js → p-cbbc87df.system.entry.js} +2 -1
  129. package/dist/calcite/{p-588bfa74.system.js → p-cc3538a8.system.js} +2 -1
  130. package/dist/calcite/{p-c228a1da.system.entry.js → p-cc77f17d.system.entry.js} +2 -1
  131. package/dist/calcite/{p-48637359.system.entry.js → p-ccdb54f7.system.entry.js} +2 -1
  132. package/dist/calcite/{p-b06207bb.js → p-cd3fb641.js} +1 -0
  133. package/dist/calcite/{p-8b982f91.entry.js → p-cee04ae1.entry.js} +2 -1
  134. package/dist/calcite/{p-cc6e7726.entry.js → p-d0cccd74.entry.js} +2 -1
  135. package/dist/calcite/{p-5394666a.entry.js → p-d17a3297.entry.js} +2 -1
  136. package/dist/calcite/{p-614d8925.js → p-d5f026dc.js} +2 -1
  137. package/dist/calcite/{p-2d09cc25.js → p-d6a84eae.js} +1 -0
  138. package/dist/calcite/{p-aad14a5d.system.entry.js → p-d765f72f.system.entry.js} +2 -1
  139. package/dist/calcite/{p-b3c5247b.system.entry.js → p-d7edde17.system.entry.js} +2 -1
  140. package/dist/calcite/{p-824da4be.entry.js → p-d8c70940.entry.js} +2 -1
  141. package/dist/calcite/{p-18be4438.entry.js → p-da4a655a.entry.js} +2 -1
  142. package/dist/calcite/{p-4de6f4fd.system.js → p-db069bfa.system.js} +1 -0
  143. package/dist/calcite/{p-895d22f3.entry.js → p-dd36820c.entry.js} +2 -1
  144. package/dist/calcite/{p-c9fc13b9.system.entry.js → p-e04c9d19.system.entry.js} +2 -1
  145. package/dist/calcite/{p-cd9226a1.system.entry.js → p-e3e6d42b.system.entry.js} +3 -2
  146. package/dist/calcite/{p-cafd98e8.entry.js → p-e4d0b739.entry.js} +2 -1
  147. package/dist/calcite/{p-7247b667.system.entry.js → p-e4f8f025.system.entry.js} +2 -1
  148. package/dist/calcite/{p-a9ea7f4f.entry.js → p-e7aab40e.entry.js} +2 -1
  149. package/dist/calcite/{p-3e149640.system.entry.js → p-e806b22e.system.entry.js} +2 -1
  150. package/dist/calcite/{p-1263bcc0.entry.js → p-eac8ad58.entry.js} +2 -1
  151. package/dist/calcite/{p-b0827b8c.system.entry.js → p-ec020043.system.entry.js} +2 -1
  152. package/dist/calcite/{p-aaa21a84.system.entry.js → p-ec614e48.system.entry.js} +2 -1
  153. package/dist/calcite/{p-e43605c5.entry.js → p-ec72272d.entry.js} +2 -1
  154. package/dist/calcite/{p-a117af56.system.js → p-ecfcdb21.system.js} +1 -0
  155. package/dist/calcite/{p-ecc31b40.system.entry.js → p-ed2b9594.system.entry.js} +2 -1
  156. package/dist/calcite/{p-8a63221d.js → p-edaa6b90.js} +1 -0
  157. package/dist/calcite/{p-6c4a7041.system.entry.js → p-f0697007.system.entry.js} +2 -1
  158. package/dist/calcite/p-f16e55a0.system.js +6 -0
  159. package/dist/calcite/{p-1aded388.system.entry.js → p-f255fa90.system.entry.js} +2 -1
  160. package/dist/calcite/{p-193749c1.entry.js → p-f3590e18.entry.js} +2 -1
  161. package/dist/calcite/{p-cb57638c.system.js → p-f49c3156.system.js} +2 -1
  162. package/dist/calcite/{p-4570cf6c.js → p-f513a3a0.js} +2 -1
  163. package/dist/calcite/{p-fe3f4e0e.system.entry.js → p-f745b0f2.system.entry.js} +2 -1
  164. package/dist/calcite/{p-ac9607f2.system.js → p-f7d3aa48.system.js} +1 -0
  165. package/dist/calcite/{p-32d6b962.entry.js → p-f8787860.entry.js} +2 -1
  166. package/dist/calcite/{p-cedd48fe.system.entry.js → p-f9d6580c.system.entry.js} +2 -1
  167. package/dist/calcite/{p-3119ffce.system.js → p-fe5cac8b.system.js} +1 -0
  168. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-14d1a523.js} +5 -4
  169. package/dist/cjs/{Heading-ec707493.js → Heading-654df11f.js} +2 -1
  170. package/dist/cjs/{array-a5dedf5a.js → array-9fc2eda2.js} +1 -0
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -3
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -9
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -7
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -8
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -3
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -4
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -4
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -7
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -6
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -5
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -6
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -5
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -7
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +31 -25
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -8
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -6
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -4
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -6
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -2
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -8
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -4
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -6
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -10
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -7
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -10
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -4
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -4
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -7
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -2
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -5
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -6
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -7
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -1
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -8
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -10
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -5
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -7
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -6
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -1
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -6
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -2
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -6
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -5
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -3
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -6
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -4
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -5
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -10
  228. package/dist/cjs/calcite.cjs.js +2 -1
  229. package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-dc670701.js} +3 -2
  230. package/dist/cjs/{debounce-95979061.js → debounce-c93f521d.js} +1 -0
  231. package/dist/cjs/{dom-f3df220d.js → dom-4d5ce589.js} +9 -2
  232. package/dist/cjs/{forIn-a5d553af.js → forIn-95fe65b7.js} +2 -1
  233. package/dist/cjs/{form-0ef859c8.js → form-dc71af3e.js} +3 -2
  234. package/dist/cjs/{guid-b270f0db.js → guid-974aee11.js} +1 -0
  235. package/dist/cjs/{index-1af0efd3.js → index-f3ae1ca6.js} +1 -0
  236. package/dist/cjs/index.cjs.js +1 -0
  237. package/dist/cjs/{interactive-87406231.js → interactive-66c3df60.js} +1 -0
  238. package/dist/cjs/{interfaces-7216af30.js → interfaces-db38218a.js} +1 -0
  239. package/dist/cjs/{label-980508de.js → label-d9eb4164.js} +2 -1
  240. package/dist/cjs/loader.cjs.js +2 -1
  241. package/dist/cjs/{locale-02462821.js → locale-9be06d60.js} +2 -1
  242. package/dist/cjs/{math-145c80e2.js → math-4516b69a.js} +1 -0
  243. package/dist/cjs/{number-e813e801.js → number-f5feec21.js} +1 -0
  244. package/dist/cjs/{observers-79bfb8bc.js → observers-0dfa2bf0.js} +1 -0
  245. package/dist/cjs/{popper-64d89ef7.js → popper-42364ba6.js} +2 -1
  246. package/dist/cjs/{resources-7d5449fb.js → resources-ab178163.js} +1 -0
  247. package/dist/cjs/{resources-7811eb2c.js → resources-d8572f60.js} +3 -2
  248. package/dist/cjs/{resources-e43fc9f3.js → resources-d94b1052.js} +5 -4
  249. package/dist/cjs/{resources-ac80e82c.js → resources-dd49d4b8.js} +1 -0
  250. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-8693ba0d.js} +1 -0
  251. package/dist/cjs/{utils-6579522f.js → utils-c7dbe0af.js} +1 -0
  252. package/dist/collection/components/accordion/accordion.js +1 -0
  253. package/dist/collection/components/accordion/interfaces.js +1 -0
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -0
  255. package/dist/collection/components/action/action.js +1 -0
  256. package/dist/collection/components/action/resources.js +1 -0
  257. package/dist/collection/components/action-bar/action-bar.js +1 -0
  258. package/dist/collection/components/action-bar/resources.js +1 -0
  259. package/dist/collection/components/action-bar/utils.js +1 -0
  260. package/dist/collection/components/action-group/action-group.js +1 -0
  261. package/dist/collection/components/action-group/resources.js +1 -0
  262. package/dist/collection/components/action-menu/action-menu.js +1 -0
  263. package/dist/collection/components/action-menu/resources.js +1 -0
  264. package/dist/collection/components/action-pad/action-pad.js +1 -0
  265. package/dist/collection/components/action-pad/resources.js +1 -0
  266. package/dist/collection/components/alert/alert.js +1 -0
  267. package/dist/collection/components/alert/interfaces.js +1 -0
  268. package/dist/collection/components/alert/resources.js +1 -0
  269. package/dist/collection/components/avatar/avatar.js +1 -0
  270. package/dist/collection/components/avatar/utils.js +1 -0
  271. package/dist/collection/components/block/block.js +1 -0
  272. package/dist/collection/components/block/resources.js +1 -0
  273. package/dist/collection/components/block-section/block-section.js +1 -0
  274. package/dist/collection/components/block-section/interfaces.js +1 -0
  275. package/dist/collection/components/block-section/resources.js +1 -0
  276. package/dist/collection/components/button/button.js +1 -0
  277. package/dist/collection/components/button/interfaces.js +1 -0
  278. package/dist/collection/components/button/resources.js +1 -0
  279. package/dist/collection/components/card/card.js +1 -0
  280. package/dist/collection/components/card/resources.js +1 -0
  281. package/dist/collection/components/checkbox/checkbox.js +1 -0
  282. package/dist/collection/components/chip/chip.js +1 -0
  283. package/dist/collection/components/chip/interfaces.js +1 -0
  284. package/dist/collection/components/chip/resources.js +1 -0
  285. package/dist/collection/components/color-picker/color-picker.js +1 -0
  286. package/dist/collection/components/color-picker/interfaces.js +1 -0
  287. package/dist/collection/components/color-picker/resources.js +1 -0
  288. package/dist/collection/components/color-picker/utils.js +1 -0
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -0
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  293. package/dist/collection/components/combobox/combobox.js +19 -13
  294. package/dist/collection/components/combobox/interfaces.js +1 -0
  295. package/dist/collection/components/combobox/resources.js +1 -0
  296. package/dist/collection/components/combobox/utils.js +1 -0
  297. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +1 -0
  299. package/dist/collection/components/combobox-item/resources.js +1 -0
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  302. package/dist/collection/components/date-picker/date-picker.js +1 -0
  303. package/dist/collection/components/date-picker/interfaces.js +1 -0
  304. package/dist/collection/components/date-picker/resources.js +1 -0
  305. package/dist/collection/components/date-picker/utils.js +1 -0
  306. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -0
  307. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -0
  308. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -0
  309. package/dist/collection/components/dropdown/dropdown.js +1 -0
  310. package/dist/collection/components/dropdown/interfaces.js +1 -0
  311. package/dist/collection/components/dropdown/resources.js +1 -0
  312. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
  313. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  314. package/dist/collection/components/dropdown-group/resources.js +1 -0
  315. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -0
  316. package/dist/collection/components/dropdown-item/resources.js +1 -0
  317. package/dist/collection/components/fab/fab.js +1 -0
  318. package/dist/collection/components/fab/resources.js +1 -0
  319. package/dist/collection/components/filter/filter.js +1 -0
  320. package/dist/collection/components/filter/resources.js +1 -0
  321. package/dist/collection/components/flow/flow.js +1 -0
  322. package/dist/collection/components/flow/interfaces.js +1 -0
  323. package/dist/collection/components/flow/resources.js +1 -0
  324. package/dist/collection/components/functional/ExpandToggle.js +1 -0
  325. package/dist/collection/components/functional/Heading.js +1 -0
  326. package/dist/collection/components/graph/graph.js +1 -0
  327. package/dist/collection/components/graph/interfaces.js +1 -0
  328. package/dist/collection/components/graph/util.js +1 -0
  329. package/dist/collection/components/handle/handle.js +1 -0
  330. package/dist/collection/components/handle/resources.js +1 -0
  331. package/dist/collection/components/icon/icon.js +1 -0
  332. package/dist/collection/components/icon/resources.js +1 -0
  333. package/dist/collection/components/icon/utils.js +1 -0
  334. package/dist/collection/components/inline-editable/inline-editable.js +1 -0
  335. package/dist/collection/components/inline-editable/resources.js +1 -0
  336. package/dist/collection/components/input/input.js +1 -0
  337. package/dist/collection/components/input/interfaces.js +1 -0
  338. package/dist/collection/components/input/resources.js +1 -0
  339. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -0
  340. package/dist/collection/components/input-message/input-message.js +1 -0
  341. package/dist/collection/components/input-message/interfaces.js +1 -0
  342. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -0
  343. package/dist/collection/components/interfaces.js +1 -0
  344. package/dist/collection/components/label/label.js +1 -0
  345. package/dist/collection/components/label/resources.js +1 -0
  346. package/dist/collection/components/link/link.js +1 -0
  347. package/dist/collection/components/list/list.js +1 -0
  348. package/dist/collection/components/list/resources.js +1 -0
  349. package/dist/collection/components/list-item/list-item.js +1 -0
  350. package/dist/collection/components/list-item/resources.js +1 -0
  351. package/dist/collection/components/list-item-group/list-item-group.js +1 -0
  352. package/dist/collection/components/list-item-group/resources.js +1 -0
  353. package/dist/collection/components/loader/loader.js +1 -0
  354. package/dist/collection/components/modal/interfaces.js +1 -0
  355. package/dist/collection/components/modal/modal.js +1 -0
  356. package/dist/collection/components/modal/resources.js +1 -0
  357. package/dist/collection/components/notice/notice.js +1 -0
  358. package/dist/collection/components/notice/resources.js +1 -0
  359. package/dist/collection/components/option/option.js +1 -0
  360. package/dist/collection/components/option-group/option-group.js +1 -0
  361. package/dist/collection/components/pagination/pagination.js +1 -0
  362. package/dist/collection/components/pagination/resources.js +1 -0
  363. package/dist/collection/components/panel/panel.js +1 -0
  364. package/dist/collection/components/panel/resources.js +1 -0
  365. package/dist/collection/components/pick-list/pick-list.js +1 -0
  366. package/dist/collection/components/pick-list/resources.js +1 -0
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -0
  368. package/dist/collection/components/pick-list/shared-list-render.js +1 -0
  369. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  370. package/dist/collection/components/pick-list-group/resources.js +1 -0
  371. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -0
  372. package/dist/collection/components/pick-list-item/resources.js +1 -0
  373. package/dist/collection/components/popover/popover.js +1 -0
  374. package/dist/collection/components/popover/resources.js +1 -0
  375. package/dist/collection/components/popover-manager/popover-manager.js +1 -0
  376. package/dist/collection/components/progress/progress.js +1 -0
  377. package/dist/collection/components/radio-button/radio-button.js +1 -0
  378. package/dist/collection/components/radio-button/resources.js +1 -0
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  380. package/dist/collection/components/radio-group/interfaces.js +1 -0
  381. package/dist/collection/components/radio-group/radio-group.js +1 -0
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -0
  383. package/dist/collection/components/radio-group-item/resources.js +1 -0
  384. package/dist/collection/components/rating/rating.js +1 -0
  385. package/dist/collection/components/rating/resources.js +1 -0
  386. package/dist/collection/components/scrim/resources.js +1 -0
  387. package/dist/collection/components/scrim/scrim.js +1 -0
  388. package/dist/collection/components/select/resources.js +1 -0
  389. package/dist/collection/components/select/select.js +1 -0
  390. package/dist/collection/components/shell/resources.js +1 -0
  391. package/dist/collection/components/shell/shell.js +1 -0
  392. package/dist/collection/components/shell-center-row/resources.js +1 -0
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  394. package/dist/collection/components/shell-panel/resources.js +1 -0
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -0
  396. package/dist/collection/components/slider/slider.js +1 -0
  397. package/dist/collection/components/sortable-list/resources.js +1 -0
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -0
  399. package/dist/collection/components/split-button/resources.js +1 -0
  400. package/dist/collection/components/split-button/split-button.js +1 -0
  401. package/dist/collection/components/stepper/stepper.js +1 -0
  402. package/dist/collection/components/stepper-item/stepper-item.js +3 -1
  403. package/dist/collection/components/switch/switch.js +1 -0
  404. package/dist/collection/components/tab/interfaces.js +1 -0
  405. package/dist/collection/components/tab/tab.js +1 -0
  406. package/dist/collection/components/tab-nav/tab-nav.js +1 -0
  407. package/dist/collection/components/tab-title/tab-title.js +1 -0
  408. package/dist/collection/components/tabs/interfaces.js +1 -0
  409. package/dist/collection/components/tabs/resources.js +1 -0
  410. package/dist/collection/components/tabs/tabs.js +1 -0
  411. package/dist/collection/components/tile/resources.js +1 -0
  412. package/dist/collection/components/tile/tile.js +1 -0
  413. package/dist/collection/components/tile-select/interfaces.js +1 -0
  414. package/dist/collection/components/tile-select/resources.js +1 -0
  415. package/dist/collection/components/tile-select/tile-select.js +1 -0
  416. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  417. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
  418. package/dist/collection/components/time-picker/resources.js +1 -0
  419. package/dist/collection/components/time-picker/time-picker.js +1 -0
  420. package/dist/collection/components/tip/resources.js +1 -0
  421. package/dist/collection/components/tip/tip.js +1 -0
  422. package/dist/collection/components/tip-group/tip-group.js +1 -0
  423. package/dist/collection/components/tip-manager/resources.js +1 -0
  424. package/dist/collection/components/tip-manager/tip-manager.js +3 -2
  425. package/dist/collection/components/tooltip/resources.js +1 -0
  426. package/dist/collection/components/tooltip/tooltip.js +1 -0
  427. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -0
  428. package/dist/collection/components/tree/interfaces.js +1 -0
  429. package/dist/collection/components/tree/tree.js +1 -0
  430. package/dist/collection/components/tree-item/interfaces.js +1 -0
  431. package/dist/collection/components/tree-item/resources.js +1 -0
  432. package/dist/collection/components/tree-item/tree-item.js +1 -0
  433. package/dist/collection/components/value-list/resources.js +1 -0
  434. package/dist/collection/components/value-list/value-list.js +1 -0
  435. package/dist/collection/components/value-list-item/resources.js +1 -0
  436. package/dist/collection/components/value-list-item/value-list-item.js +1 -0
  437. package/dist/collection/utils/array.js +1 -0
  438. package/dist/collection/utils/conditionalSlot.js +1 -0
  439. package/dist/collection/utils/date.js +1 -0
  440. package/dist/collection/utils/dom.js +8 -1
  441. package/dist/collection/utils/filter.js +1 -0
  442. package/dist/collection/utils/form.js +1 -0
  443. package/dist/collection/utils/globalAttributes.js +1 -0
  444. package/dist/collection/utils/guid.js +1 -0
  445. package/dist/collection/utils/interactive.js +1 -0
  446. package/dist/collection/utils/key.js +1 -0
  447. package/dist/collection/utils/label.js +1 -0
  448. package/dist/collection/utils/locale.js +1 -0
  449. package/dist/collection/utils/math.js +1 -0
  450. package/dist/collection/utils/number.js +1 -0
  451. package/dist/collection/utils/observers.js +1 -0
  452. package/dist/collection/utils/popper.js +1 -0
  453. package/dist/collection/utils/resources.js +1 -0
  454. package/dist/collection/utils/time.js +1 -0
  455. package/dist/components/ExpandToggle.js +1 -0
  456. package/dist/components/Heading.js +1 -0
  457. package/dist/components/action-group.js +1 -0
  458. package/dist/components/action-menu.js +1 -0
  459. package/dist/components/action.js +1 -0
  460. package/dist/components/array.js +1 -0
  461. package/dist/components/button.js +1 -0
  462. package/dist/components/calcite-accordion-item.js +1 -0
  463. package/dist/components/calcite-accordion.js +1 -0
  464. package/dist/components/calcite-action-bar.js +1 -0
  465. package/dist/components/calcite-action-group.js +1 -0
  466. package/dist/components/calcite-action-menu.js +1 -0
  467. package/dist/components/calcite-action-pad.js +1 -0
  468. package/dist/components/calcite-action.js +1 -0
  469. package/dist/components/calcite-alert.js +1 -0
  470. package/dist/components/calcite-avatar.js +1 -0
  471. package/dist/components/calcite-block-section.js +1 -0
  472. package/dist/components/calcite-block.js +1 -0
  473. package/dist/components/calcite-button.js +1 -0
  474. package/dist/components/calcite-card.js +1 -0
  475. package/dist/components/calcite-checkbox.js +1 -0
  476. package/dist/components/calcite-chip.js +1 -0
  477. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  478. package/dist/components/calcite-color-picker-swatch.js +1 -0
  479. package/dist/components/calcite-color-picker.js +1 -0
  480. package/dist/components/calcite-combobox-item-group.js +1 -0
  481. package/dist/components/calcite-combobox-item.js +2 -1
  482. package/dist/components/calcite-combobox.js +19 -13
  483. package/dist/components/calcite-date-picker-day.js +1 -0
  484. package/dist/components/calcite-date-picker-month-header.js +1 -0
  485. package/dist/components/calcite-date-picker-month.js +1 -0
  486. package/dist/components/calcite-date-picker.js +1 -0
  487. package/dist/components/calcite-dropdown-group.js +1 -0
  488. package/dist/components/calcite-dropdown-item.js +1 -0
  489. package/dist/components/calcite-dropdown.js +1 -0
  490. package/dist/components/calcite-fab.js +1 -0
  491. package/dist/components/calcite-filter.js +1 -0
  492. package/dist/components/calcite-flow.js +1 -0
  493. package/dist/components/calcite-graph.js +1 -0
  494. package/dist/components/calcite-handle.js +1 -0
  495. package/dist/components/calcite-icon.js +1 -0
  496. package/dist/components/calcite-inline-editable.js +1 -0
  497. package/dist/components/calcite-input-date-picker.js +1 -0
  498. package/dist/components/calcite-input-message.js +1 -0
  499. package/dist/components/calcite-input-time-picker.js +1 -0
  500. package/dist/components/calcite-input.js +1 -0
  501. package/dist/components/calcite-label.js +1 -0
  502. package/dist/components/calcite-link.js +1 -0
  503. package/dist/components/calcite-list-item-group.js +1 -0
  504. package/dist/components/calcite-list-item.js +1 -0
  505. package/dist/components/calcite-list.js +1 -0
  506. package/dist/components/calcite-loader.js +1 -0
  507. package/dist/components/calcite-modal.js +1 -0
  508. package/dist/components/calcite-notice.js +1 -0
  509. package/dist/components/calcite-option-group.js +1 -0
  510. package/dist/components/calcite-option.js +1 -0
  511. package/dist/components/calcite-pagination.js +1 -0
  512. package/dist/components/calcite-panel.js +1 -0
  513. package/dist/components/calcite-pick-list-group.js +1 -0
  514. package/dist/components/calcite-pick-list-item.js +1 -0
  515. package/dist/components/calcite-pick-list.js +1 -0
  516. package/dist/components/calcite-popover-manager.js +1 -0
  517. package/dist/components/calcite-popover.js +1 -0
  518. package/dist/components/calcite-progress.js +1 -0
  519. package/dist/components/calcite-radio-button-group.js +1 -0
  520. package/dist/components/calcite-radio-button.js +1 -0
  521. package/dist/components/calcite-radio-group-item.js +1 -0
  522. package/dist/components/calcite-radio-group.js +1 -0
  523. package/dist/components/calcite-rating.js +1 -0
  524. package/dist/components/calcite-scrim.js +1 -0
  525. package/dist/components/calcite-select.js +1 -0
  526. package/dist/components/calcite-shell-center-row.js +1 -0
  527. package/dist/components/calcite-shell-panel.js +1 -0
  528. package/dist/components/calcite-shell.js +1 -0
  529. package/dist/components/calcite-slider.js +1 -0
  530. package/dist/components/calcite-sortable-list.js +1 -0
  531. package/dist/components/calcite-split-button.js +1 -0
  532. package/dist/components/calcite-stepper-item.js +3 -1
  533. package/dist/components/calcite-stepper.js +1 -0
  534. package/dist/components/calcite-switch.js +1 -0
  535. package/dist/components/calcite-tab-nav.js +1 -0
  536. package/dist/components/calcite-tab-title.js +1 -0
  537. package/dist/components/calcite-tab.js +1 -0
  538. package/dist/components/calcite-tabs.js +1 -0
  539. package/dist/components/calcite-tile-select-group.js +1 -0
  540. package/dist/components/calcite-tile-select.js +1 -0
  541. package/dist/components/calcite-tile.js +1 -0
  542. package/dist/components/calcite-time-picker.js +1 -0
  543. package/dist/components/calcite-tip-group.js +1 -0
  544. package/dist/components/calcite-tip-manager.js +2 -1
  545. package/dist/components/calcite-tip.js +1 -0
  546. package/dist/components/calcite-tooltip-manager.js +1 -0
  547. package/dist/components/calcite-tooltip.js +1 -0
  548. package/dist/components/calcite-tree-item.js +1 -0
  549. package/dist/components/calcite-tree.js +1 -0
  550. package/dist/components/calcite-value-list-item.js +1 -0
  551. package/dist/components/calcite-value-list.js +1 -0
  552. package/dist/components/checkbox.js +1 -0
  553. package/dist/components/chip.js +1 -0
  554. package/dist/components/color-picker-hex-input.js +1 -0
  555. package/dist/components/color-picker-swatch.js +1 -0
  556. package/dist/components/conditionalSlot.js +1 -0
  557. package/dist/components/date-picker-day.js +1 -0
  558. package/dist/components/date-picker-month-header.js +1 -0
  559. package/dist/components/date-picker-month.js +1 -0
  560. package/dist/components/date-picker.js +1 -0
  561. package/dist/components/date.js +1 -0
  562. package/dist/components/debounce.js +1 -0
  563. package/dist/components/dom.js +8 -1
  564. package/dist/components/dropdown.js +1 -0
  565. package/dist/components/filter.js +1 -0
  566. package/dist/components/forIn.js +1 -0
  567. package/dist/components/form.js +1 -0
  568. package/dist/components/graph.js +1 -0
  569. package/dist/components/guid.js +1 -0
  570. package/dist/components/handle.js +1 -0
  571. package/dist/components/icon.js +1 -0
  572. package/dist/components/index.js +1 -0
  573. package/dist/components/input.js +1 -0
  574. package/dist/components/interactive.js +1 -0
  575. package/dist/components/interfaces.js +1 -0
  576. package/dist/components/interfaces2.js +1 -0
  577. package/dist/components/label.js +1 -0
  578. package/dist/components/label2.js +1 -0
  579. package/dist/components/link.js +1 -0
  580. package/dist/components/loader.js +1 -0
  581. package/dist/components/locale.js +1 -0
  582. package/dist/components/math.js +1 -0
  583. package/dist/components/number.js +1 -0
  584. package/dist/components/observers.js +1 -0
  585. package/dist/components/pick-list-item.js +1 -0
  586. package/dist/components/popover.js +1 -0
  587. package/dist/components/popper.js +1 -0
  588. package/dist/components/progress.js +1 -0
  589. package/dist/components/resources.js +1 -0
  590. package/dist/components/resources2.js +1 -0
  591. package/dist/components/resources3.js +1 -0
  592. package/dist/components/resources4.js +1 -0
  593. package/dist/components/resources5.js +1 -0
  594. package/dist/components/scrim.js +1 -0
  595. package/dist/components/shared-list-render.js +1 -0
  596. package/dist/components/sortable.esm.js +1 -0
  597. package/dist/components/switch.js +1 -0
  598. package/dist/components/tab-nav.js +1 -0
  599. package/dist/components/tab-title.js +1 -0
  600. package/dist/components/tab.js +1 -0
  601. package/dist/components/tabs.js +1 -0
  602. package/dist/components/tile.js +1 -0
  603. package/dist/components/time-picker.js +1 -0
  604. package/dist/components/tooltip-manager.js +1 -0
  605. package/dist/components/utils.js +1 -0
  606. package/dist/components/utils2.js +1 -0
  607. package/dist/custom-elements/index.js +30 -17
  608. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-a765e903.js} +5 -4
  609. package/dist/esm/{Heading-d5f1710a.js → Heading-18199c63.js} +2 -1
  610. package/dist/esm/{array-91a648e2.js → array-10597832.js} +1 -0
  611. package/dist/esm/calcite-accordion_2.entry.js +4 -3
  612. package/dist/esm/calcite-action-bar.entry.js +10 -9
  613. package/dist/esm/calcite-action-group.entry.js +8 -7
  614. package/dist/esm/calcite-action-menu.entry.js +8 -7
  615. package/dist/esm/calcite-action-pad.entry.js +9 -8
  616. package/dist/esm/calcite-action.entry.js +4 -3
  617. package/dist/esm/calcite-alert.entry.js +5 -4
  618. package/dist/esm/calcite-avatar.entry.js +5 -4
  619. package/dist/esm/calcite-block_2.entry.js +8 -7
  620. package/dist/esm/calcite-button.entry.js +7 -6
  621. package/dist/esm/calcite-card.entry.js +6 -5
  622. package/dist/esm/calcite-checkbox.entry.js +7 -6
  623. package/dist/esm/calcite-chip.entry.js +6 -5
  624. package/dist/esm/calcite-color-picker_3.entry.js +8 -7
  625. package/dist/esm/calcite-combobox_3.entry.js +31 -25
  626. package/dist/esm/calcite-date-picker_4.entry.js +9 -8
  627. package/dist/esm/calcite-dropdown_3.entry.js +7 -6
  628. package/dist/esm/calcite-fab.entry.js +5 -4
  629. package/dist/esm/calcite-filter.entry.js +7 -6
  630. package/dist/esm/calcite-flow.entry.js +3 -2
  631. package/dist/esm/calcite-graph_2.entry.js +9 -8
  632. package/dist/esm/calcite-handle.entry.js +2 -1
  633. package/dist/esm/calcite-icon.entry.js +5 -4
  634. package/dist/esm/calcite-inline-editable.entry.js +7 -6
  635. package/dist/esm/calcite-input-date-picker.entry.js +11 -10
  636. package/dist/esm/calcite-input-message.entry.js +4 -3
  637. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -7
  638. package/dist/esm/calcite-input.entry.js +11 -10
  639. package/dist/esm/calcite-label.entry.js +5 -4
  640. package/dist/esm/calcite-link.entry.js +5 -4
  641. package/dist/esm/calcite-list_3.entry.js +8 -7
  642. package/dist/esm/calcite-loader.entry.js +3 -2
  643. package/dist/esm/calcite-modal.entry.js +6 -5
  644. package/dist/esm/calcite-notice.entry.js +7 -6
  645. package/dist/esm/calcite-option_3.entry.js +8 -7
  646. package/dist/esm/calcite-pagination.entry.js +2 -1
  647. package/dist/esm/calcite-panel.entry.js +9 -8
  648. package/dist/esm/calcite-pick-list_3.entry.js +11 -10
  649. package/dist/esm/calcite-popover_2.entry.js +6 -5
  650. package/dist/esm/calcite-progress.entry.js +2 -1
  651. package/dist/esm/calcite-radio-button-group.entry.js +3 -2
  652. package/dist/esm/calcite-radio-button.entry.js +8 -7
  653. package/dist/esm/calcite-radio-group_2.entry.js +7 -6
  654. package/dist/esm/calcite-rating.entry.js +7 -6
  655. package/dist/esm/calcite-scrim.entry.js +2 -1
  656. package/dist/esm/calcite-shell_3.entry.js +7 -6
  657. package/dist/esm/calcite-sortable-list.entry.js +5 -4
  658. package/dist/esm/calcite-split-button.entry.js +3 -2
  659. package/dist/esm/calcite-stepper_2.entry.js +7 -5
  660. package/dist/esm/calcite-switch.entry.js +7 -6
  661. package/dist/esm/calcite-tab_4.entry.js +6 -5
  662. package/dist/esm/calcite-tile-select_2.entry.js +4 -3
  663. package/dist/esm/calcite-tile.entry.js +7 -6
  664. package/dist/esm/calcite-tip_3.entry.js +8 -7
  665. package/dist/esm/calcite-tooltip_2.entry.js +5 -4
  666. package/dist/esm/calcite-tree_2.entry.js +6 -5
  667. package/dist/esm/calcite-value-list_2.entry.js +11 -10
  668. package/dist/esm/calcite.js +2 -1
  669. package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-860f9122.js} +3 -2
  670. package/dist/esm/{debounce-79648d42.js → debounce-89c0f319.js} +1 -0
  671. package/dist/esm/{dom-e7fa77b9.js → dom-60a6d1fb.js} +9 -2
  672. package/dist/esm/{forIn-48d8fb84.js → forIn-62deb84a.js} +2 -1
  673. package/dist/esm/{form-5e4609eb.js → form-68ead73c.js} +3 -2
  674. package/dist/esm/{guid-196bd5ea.js → guid-3034a6d9.js} +1 -0
  675. package/dist/esm/{index-bd94948c.js → index-9de1ab6b.js} +1 -0
  676. package/dist/esm/index.js +1 -0
  677. package/dist/esm/{interactive-48b5cc0f.js → interactive-72a97071.js} +1 -0
  678. package/dist/esm/{interfaces-0e5b954c.js → interfaces-4e909602.js} +1 -0
  679. package/dist/esm/{label-68f22660.js → label-846d6442.js} +2 -1
  680. package/dist/esm/loader.js +2 -1
  681. package/dist/esm/{locale-fc850b7c.js → locale-2f867540.js} +2 -1
  682. package/dist/esm/{math-456207f5.js → math-1b107b22.js} +1 -0
  683. package/dist/esm/{number-8779395f.js → number-95c383b1.js} +1 -0
  684. package/dist/esm/{observers-46118290.js → observers-51653511.js} +1 -0
  685. package/dist/esm/{popper-da45ec93.js → popper-f73e135d.js} +2 -1
  686. package/dist/esm/{resources-b5c3d9a7.js → resources-5f07ffd5.js} +5 -4
  687. package/dist/esm/{resources-73dac782.js → resources-8cc667ce.js} +3 -2
  688. package/dist/esm/{resources-027bd8f9.js → resources-90677ad6.js} +1 -0
  689. package/dist/esm/{resources-34334875.js → resources-b1923937.js} +1 -0
  690. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-14b82be8.js} +1 -0
  691. package/dist/esm/{utils-e84055a3.js → utils-bd7327c8.js} +1 -0
  692. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-a765e903.js} +2 -1
  693. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-18199c63.js} +2 -1
  694. package/dist/esm-es5/{array-91a648e2.js → array-10597832.js} +1 -0
  695. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  696. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  697. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  698. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  699. package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
  700. package/dist/esm-es5/calcite-action.entry.js +2 -1
  701. package/dist/esm-es5/calcite-alert.entry.js +2 -1
  702. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  703. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  704. package/dist/esm-es5/calcite-button.entry.js +2 -1
  705. package/dist/esm-es5/calcite-card.entry.js +2 -1
  706. package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
  707. package/dist/esm-es5/calcite-chip.entry.js +2 -1
  708. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
  709. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -1
  710. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
  711. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -1
  712. package/dist/esm-es5/calcite-fab.entry.js +3 -2
  713. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  714. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  715. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  716. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  717. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  718. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
  719. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  720. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  721. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -1
  722. package/dist/esm-es5/calcite-input.entry.js +2 -1
  723. package/dist/esm-es5/calcite-label.entry.js +2 -1
  724. package/dist/esm-es5/calcite-link.entry.js +2 -1
  725. package/dist/esm-es5/calcite-list_3.entry.js +2 -1
  726. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  727. package/dist/esm-es5/calcite-modal.entry.js +2 -1
  728. package/dist/esm-es5/calcite-notice.entry.js +2 -1
  729. package/dist/esm-es5/calcite-option_3.entry.js +2 -1
  730. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  731. package/dist/esm-es5/calcite-panel.entry.js +2 -1
  732. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -1
  733. package/dist/esm-es5/calcite-popover_2.entry.js +2 -1
  734. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  735. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  736. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  737. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  738. package/dist/esm-es5/calcite-rating.entry.js +2 -1
  739. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  740. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  741. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  742. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  743. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -1
  744. package/dist/esm-es5/calcite-switch.entry.js +2 -1
  745. package/dist/esm-es5/calcite-tab_4.entry.js +2 -1
  746. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
  747. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  748. package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
  749. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -1
  750. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  751. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  752. package/dist/esm-es5/calcite.js +2 -1
  753. package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-860f9122.js} +2 -1
  754. package/dist/esm-es5/{debounce-79648d42.js → debounce-89c0f319.js} +1 -0
  755. package/dist/esm-es5/{dom-e7fa77b9.js → dom-60a6d1fb.js} +2 -1
  756. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-62deb84a.js} +2 -1
  757. package/dist/esm-es5/{form-5e4609eb.js → form-68ead73c.js} +2 -1
  758. package/dist/esm-es5/{guid-196bd5ea.js → guid-3034a6d9.js} +1 -0
  759. package/dist/esm-es5/{index-bd94948c.js → index-9de1ab6b.js} +1 -0
  760. package/dist/esm-es5/index.js +1 -0
  761. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-72a97071.js} +1 -0
  762. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-4e909602.js} +1 -0
  763. package/dist/esm-es5/{label-68f22660.js → label-846d6442.js} +2 -1
  764. package/dist/esm-es5/loader.js +2 -1
  765. package/dist/esm-es5/{locale-fc850b7c.js → locale-2f867540.js} +2 -1
  766. package/dist/esm-es5/{math-456207f5.js → math-1b107b22.js} +1 -0
  767. package/dist/esm-es5/{number-8779395f.js → number-95c383b1.js} +1 -0
  768. package/dist/esm-es5/{observers-46118290.js → observers-51653511.js} +1 -0
  769. package/dist/esm-es5/{popper-da45ec93.js → popper-f73e135d.js} +2 -1
  770. package/dist/esm-es5/{resources-b5c3d9a7.js → resources-5f07ffd5.js} +2 -1
  771. package/dist/esm-es5/{resources-73dac782.js → resources-8cc667ce.js} +3 -2
  772. package/dist/esm-es5/{resources-027bd8f9.js → resources-90677ad6.js} +1 -0
  773. package/dist/esm-es5/{resources-34334875.js → resources-b1923937.js} +1 -0
  774. package/dist/esm-es5/{sortable.esm-04824d33.js → sortable.esm-14b82be8.js} +1 -0
  775. package/dist/esm-es5/{utils-e84055a3.js → utils-bd7327c8.js} +1 -0
  776. package/dist/extras/docs-json.json +2 -2
  777. package/dist/loader/cdn.js +1 -0
  778. package/dist/loader/index.cjs.js +1 -0
  779. package/dist/loader/index.es2017.js +1 -0
  780. package/dist/loader/index.js +1 -0
  781. package/dist/types/components/combobox/combobox.d.ts +1 -1
  782. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -1
  783. package/dist/types/components.d.ts +2 -2
  784. package/dist/types/utils/dom.d.ts +2 -2
  785. package/hydrate/index.js +30 -17
  786. package/package.json +7 -7
  787. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  788. package/dist/calcite/p-47d38839.entry.js +0 -5
  789. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  790. package/dist/calcite/p-7c88d545.js +0 -5
  791. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  792. package/dist/calcite/p-8f3a3e4e.js +0 -5
  793. package/dist/calcite/p-9385e4b4.system.js +0 -5
  794. package/dist/calcite/p-c51699d3.system.js +0 -5
  795. package/dist/calcite/p-ec9bab33.system.js +0 -5
@@ -1,5 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):a(e.value).then(i,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(e){return function(t){return c([e,t])}}function c(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):a(e.value).then(i,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(e){return function(t){return s([e,t])}}function s(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
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
- */import{a as getAssetPath}from"./index-bd94948c.js";import{a as locales}from"./locale-fc850b7c.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
5
+ * v1.0.0-next.428
6
+ */import{a as getAssetPath}from"./index-9de1ab6b.js";import{a as locales}from"./locale-2f867540.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
@@ -1,5 +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.428
4
5
  */
5
6
  var CSS={menu:"menu",defaultTrigger:"default-trigger"};var SLOTS={tooltip:"tooltip",trigger:"trigger"};var ICONS={menu:"ellipsis"};export{CSS as C,ICONS as I,SLOTS as S};
@@ -1,5 +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.428
4
5
  */
5
6
  var SLOTS={menuActions:"menu-actions",menuTooltip:"menu-tooltip"};var TEXT={more:"More"};var ICONS={menu:"ellipsis"};export{ICONS as I,SLOTS as S,TEXT as T};
@@ -1,6 +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.428
4
5
  */
5
6
  /**!
6
7
  * Sortable 1.14.0
@@ -1,5 +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.428
4
5
  */
5
6
  function rgbToHex(r){var e=r.r,n=r.g,t=r.b;return"#".concat(e.toString(16).padStart(2,"0")).concat(n.toString(16).padStart(2,"0")).concat(t.toString(16).padStart(2,"0")).toLowerCase()}var hexChar=/^[0-9A-F]$/i;var shortHandHex=/^#[0-9A-F]{3}$/i;var longhandHex=/^#[0-9A-F]{6}$/i;function isValidHex(r){return isShorthandHex(r)||isLonghandHex(r)}function isShorthandHex(r){return r&&r.length===4&&shortHandHex.test(r)}function isLonghandHex(r){return r&&r.length===7&&longhandHex.test(r)}function normalizeHex(r){r=r.toLowerCase();if(!r.startsWith("#")){r="#".concat(r)}if(isShorthandHex(r)){return rgbToHex(hexToRGB(r))}return r}function hexToRGB(r){if(!isValidHex(r)){return null}r=r.replace("#","");if(r.length===3){var e=r.split(""),n=e[0],t=e[1],o=e[2];var a=parseInt("".concat(n).concat(n),16);var s=parseInt("".concat(t).concat(t),16);var i=parseInt("".concat(o).concat(o),16);return{r:a,g:s,b:i}}var h=parseInt(r.slice(0,2),16);var l=parseInt(r.slice(2,4),16);var S=parseInt(r.slice(4,6),16);return{r:h,g:l,b:S}}var enumify=function(r){return r};var CSSColorMode=enumify({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"});var ObjectColorMode=enumify({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function parseMode(r){if(typeof r==="string"){if(r.startsWith("#")){var e=r.length;if(e===4||e===7){return CSSColorMode.HEX}if(e===5||e===9){return CSSColorMode.HEXA}}if(r.startsWith("rgba(")){return CSSColorMode.RGBA_CSS}if(r.startsWith("rgb(")){return CSSColorMode.RGB_CSS}if(r.startsWith("hsl(")){return CSSColorMode.HSL_CSS}if(r.startsWith("hsla(")){return CSSColorMode.HSLA_CSS}}if(typeof r==="object"){if(hasChannels(r,"r","g","b")){return hasChannels(r,"a")?ObjectColorMode.RGBA:ObjectColorMode.RGB}if(hasChannels(r,"h","s","l")){return hasChannels(r,"a")?ObjectColorMode.HSLA:ObjectColorMode.HSL}if(hasChannels(r,"h","s","v")){return hasChannels(r,"a")?ObjectColorMode.HSVA:ObjectColorMode.HSV}}return null}function hasChannels(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e.every((function(e){return e&&r&&"".concat(e)in r}))}function colorEqual(r,e){return(r===null||r===void 0?void 0:r.rgbNumber())===(e===null||e===void 0?void 0:e.rgbNumber())}export{CSSColorMode as C,isLonghandHex as a,hexChar as b,colorEqual as c,hexToRGB as h,isValidHex as i,normalizeHex as n,parseMode as p,rgbToHex as r};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-03-18T22:23:48",
2
+ "timestamp": "2022-03-30T18:40:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.14.2",
@@ -18937,7 +18937,7 @@
18937
18937
  "mutable": true,
18938
18938
  "attr": "closed",
18939
18939
  "reflectToAttr": true,
18940
- "docs": "Alternate text for closing the `calcite-tip-manager`.",
18940
+ "docs": "Closed state of the `calcite-tip-manager`.",
18941
18941
  "docsTags": [],
18942
18942
  "default": "false",
18943
18943
  "values": [
@@ -1,6 +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.428
4
5
  */
5
6
  module.exports = require('../cjs/loader.cjs.js');
6
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,6 +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.428
4
5
  */
5
6
  module.exports = require('../cjs/loader.cjs.js');
6
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,6 +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.428
4
5
  */
5
6
  export * from '../esm/polyfills/index.js';
6
7
  export * from '../esm/loader.js';
@@ -1,6 +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.428
4
5
  */
5
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
6
7
  export * from '../esm/polyfills/index.js';
@@ -135,7 +135,7 @@ export declare class Combobox implements LabelableComponent, FormComponent, Inte
135
135
  transitionEnd: (event: TransitionEvent) => void;
136
136
  setMaxScrollerHeight: () => void;
137
137
  calciteChipDismissHandler: (event: CustomEvent<HTMLCalciteChipElement>, comboboxItem: HTMLCalciteComboboxItemElement) => void;
138
- setFocusClick: (event: MouseEvent) => void;
138
+ clickHandler: (event: MouseEvent) => void;
139
139
  setInactiveIfNotContained: (event: Event) => void;
140
140
  setMenuEl: (el: HTMLDivElement) => void;
141
141
  setListContainerEl: (el: HTMLDivElement) => void;
@@ -5,7 +5,7 @@ import { HeadingLevel } from "../functional/Heading";
5
5
  */
6
6
  export declare class TipManager {
7
7
  /**
8
- * Alternate text for closing the `calcite-tip-manager`.
8
+ * Closed state of the `calcite-tip-manager`.
9
9
  */
10
10
  closed: boolean;
11
11
  closedChangeHandler(): void;
@@ -3306,7 +3306,7 @@ export namespace Components {
3306
3306
  }
3307
3307
  interface CalciteTipManager {
3308
3308
  /**
3309
- * Alternate text for closing the `calcite-tip-manager`.
3309
+ * Closed state of the `calcite-tip-manager`.
3310
3310
  */
3311
3311
  "closed": boolean;
3312
3312
  /**
@@ -7392,7 +7392,7 @@ declare namespace LocalJSX {
7392
7392
  }
7393
7393
  interface CalciteTipManager {
7394
7394
  /**
7395
- * Alternate text for closing the `calcite-tip-manager`.
7395
+ * Closed state of the `calcite-tip-manager`.
7396
7396
  */
7397
7397
  "closed"?: boolean;
7398
7398
  /**
@@ -11,8 +11,8 @@ export declare type Direction = "ltr" | "rtl";
11
11
  export declare function getThemeName(el: HTMLElement): "light" | "dark";
12
12
  export declare function getElementDir(el: HTMLElement): Direction;
13
13
  export declare function getElementProp(el: Element, prop: string, fallbackValue: any): any;
14
- export declare function getRootNode(el: Element): HTMLDocument | ShadowRoot;
15
- export declare function getHost(root: HTMLDocument | ShadowRoot): Element | null;
14
+ export declare function getRootNode(el: Element): Document | ShadowRoot;
15
+ export declare function getHost(root: Document | ShadowRoot): Element | null;
16
16
  /**
17
17
  * This helper queries an element's rootNodes and any ancestor rootNodes.
18
18
  *
package/hydrate/index.js CHANGED
@@ -1,6 +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.428
4
5
  */
5
6
  'use strict';
6
7
 
@@ -5806,7 +5807,13 @@ function queryElementRoots(element, { selector, id }) {
5806
5807
  }
5807
5808
  const rootNode = getRootNode(el);
5808
5809
  const found = id
5809
- ? rootNode.getElementById(id)
5810
+ ? "getElementById" in rootNode
5811
+ ? /*
5812
+ Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
5813
+ https://github.com/Esri/calcite-components/pull/4280
5814
+ */
5815
+ rootNode.getElementById(id)
5816
+ : null
5810
5817
  : selector
5811
5818
  ? rootNode.querySelector(selector)
5812
5819
  : null;
@@ -15381,8 +15388,9 @@ class Combobox {
15381
15388
  this.addCustomChip(this.text, true);
15382
15389
  event.preventDefault();
15383
15390
  }
15384
- else {
15391
+ else if (this.active) {
15385
15392
  this.active = false;
15393
+ event.preventDefault();
15386
15394
  }
15387
15395
  break;
15388
15396
  case "ArrowLeft":
@@ -15401,11 +15409,20 @@ class Combobox {
15401
15409
  this.active = true;
15402
15410
  this.shiftActiveItemIndex(1);
15403
15411
  break;
15412
+ case " ":
15413
+ if (!this.textInput.value) {
15414
+ event.preventDefault();
15415
+ this.active = true;
15416
+ this.shiftActiveItemIndex(1);
15417
+ }
15418
+ break;
15404
15419
  case "Home":
15420
+ event.preventDefault();
15405
15421
  this.active = true;
15406
15422
  this.updateActiveItemIndex(0);
15407
15423
  break;
15408
15424
  case "End":
15425
+ event.preventDefault();
15409
15426
  this.active = true;
15410
15427
  this.updateActiveItemIndex(this.visibleItems.length - 1);
15411
15428
  break;
@@ -15432,11 +15449,6 @@ class Combobox {
15432
15449
  this.removeLastChip();
15433
15450
  }
15434
15451
  break;
15435
- default:
15436
- if (!this.active) {
15437
- this.setFocus();
15438
- }
15439
- break;
15440
15452
  }
15441
15453
  };
15442
15454
  this.toggleCloseEnd = () => {
@@ -15470,10 +15482,11 @@ class Combobox {
15470
15482
  }
15471
15483
  this.calciteComboboxChipDismiss.emit(event.detail);
15472
15484
  };
15473
- this.setFocusClick = (event) => {
15485
+ this.clickHandler = (event) => {
15474
15486
  if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
15475
15487
  return;
15476
15488
  }
15489
+ this.active = !this.active;
15477
15490
  this.setFocus();
15478
15491
  };
15479
15492
  this.setInactiveIfNotContained = (event) => {
@@ -15481,7 +15494,7 @@ class Combobox {
15481
15494
  if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15482
15495
  return;
15483
15496
  }
15484
- if (this.allowCustomValues && this.text) {
15497
+ if (this.allowCustomValues && this.text.trim().length) {
15485
15498
  this.addCustomChip(this.text);
15486
15499
  }
15487
15500
  if (this.selectionMode === "single") {
@@ -15563,7 +15576,6 @@ class Combobox {
15563
15576
  };
15564
15577
  this.comboboxFocusHandler = () => {
15565
15578
  var _a;
15566
- this.active = true;
15567
15579
  (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
15568
15580
  };
15569
15581
  this.comboboxBlurHandler = (event) => {
@@ -15636,7 +15648,6 @@ class Combobox {
15636
15648
  /** Sets focus on the component. */
15637
15649
  async setFocus() {
15638
15650
  var _a;
15639
- this.active = true;
15640
15651
  (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
15641
15652
  this.activeChipIndex = -1;
15642
15653
  this.activeItemIndex = -1;
@@ -15975,7 +15986,7 @@ class Combobox {
15975
15986
  } }, showLabel && (hAsync("span", { class: {
15976
15987
  label: true,
15977
15988
  "label--spaced": needsIcon
15978
- }, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), hAsync("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
15989
+ }, key: "label" }, selectedItem.textLabel)), hAsync("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
15979
15990
  input: true,
15980
15991
  "input--single": true,
15981
15992
  "input--transparent": this.activeChipIndex > -1,
@@ -16002,7 +16013,8 @@ class Combobox {
16002
16013
  needsIcon && (hAsync("span", { class: "icon-start" }, (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) && (hAsync("calcite-icon", { class: "selected-icon", icon: selectedItem.icon, scale: "s" })))));
16003
16014
  }
16004
16015
  renderIconEnd() {
16005
- return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
16016
+ const { active } = this;
16017
+ return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
16006
16018
  }
16007
16019
  render() {
16008
16020
  const { active, guid, label } = this;
@@ -16011,7 +16023,7 @@ class Combobox {
16011
16023
  wrapper: true,
16012
16024
  "wrapper--single": single || !this.selectedItems.length,
16013
16025
  "wrapper--active": active
16014
- }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), hAsync(HiddenFormInputSlot, { component: this })));
16026
+ }, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), hAsync(HiddenFormInputSlot, { component: this })));
16015
16027
  }
16016
16028
  get el() { return getElement(this); }
16017
16029
  static get watchers() { return {
@@ -16072,7 +16084,7 @@ const CSS$C = {
16072
16084
  textContainer: "text-container"
16073
16085
  };
16074
16086
 
16075
- const comboboxItemCss = "@charset \"UTF-8\";@-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*/.sc-calcite-combobox-item: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*/.calcite-animate.sc-calcite-combobox-item{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*/.calcite-animate__in.sc-calcite-combobox-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-item-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-combobox-item{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}/*!@.scale--m*/.scale--m.sc-calcite-combobox-item{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}/*!@.scale--l*/.scale--l.sc-calcite-combobox-item{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}/*!@.container*/.container.sc-calcite-combobox-item{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}/*!@:host(:focus)*/.sc-calcite-combobox-item-h:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-item-h[disabled] .sc-calcite-combobox-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-item-h [calcite-hydrated][disabled].sc-calcite-combobox-item{opacity:1}/*!@:host, ul*/.sc-calcite-combobox-item-h,ul.sc-calcite-combobox-item{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}/*!@.label*/.label.sc-calcite-combobox-item{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}/*!@:host([disabled]) .label*/[disabled].sc-calcite-combobox-item-h .label.sc-calcite-combobox-item{cursor:default}/*!@.label--selected*/.label--selected.sc-calcite-combobox-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.label--active*/.label--active.sc-calcite-combobox-item{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.label:hover, .label:active*/.label.sc-calcite-combobox-item:hover,.label.sc-calcite-combobox-item:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.title*/.title.sc-calcite-combobox-item{padding:0 var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon*/.icon.sc-calcite-combobox-item{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-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);color:var(--calcite-ui-border-1)}/*!@.icon--indent*/.icon--indent.sc-calcite-combobox-item{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}/*!@.icon--custom*/.icon--custom.sc-calcite-combobox-item{margin-top:-1px;color:var(--calcite-ui-text-3)}/*!@.icon--active*/.icon--active.sc-calcite-combobox-item{color:var(--calcite-ui-text-1)}/*!@.icon--dot*/.icon--dot.sc-calcite-combobox-item{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon--dot:before*/.icon--dot.sc-calcite-combobox-item:before{text-align:start;content:\"•\"}/*!@.label--active .icon*/.label--active.sc-calcite-combobox-item .icon.sc-calcite-combobox-item{opacity:1}/*!@.label--selected .icon*/.label--selected.sc-calcite-combobox-item .icon.sc-calcite-combobox-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host(:hover[disabled]) .icon*/.sc-calcite-combobox-item-h:hover[disabled] .icon.sc-calcite-combobox-item{opacity:1}";
16087
+ const comboboxItemCss = "@charset \"UTF-8\";@-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*/.sc-calcite-combobox-item: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*/.calcite-animate.sc-calcite-combobox-item{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*/.calcite-animate__in.sc-calcite-combobox-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-item-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-combobox-item{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}/*!@.scale--m*/.scale--m.sc-calcite-combobox-item{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}/*!@.scale--l*/.scale--l.sc-calcite-combobox-item{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}/*!@.container*/.container.sc-calcite-combobox-item{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}/*!@:host(:focus)*/.sc-calcite-combobox-item-h:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-item-h[disabled] .sc-calcite-combobox-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-item-h [calcite-hydrated][disabled].sc-calcite-combobox-item{opacity:1}/*!@:host, ul*/.sc-calcite-combobox-item-h,ul.sc-calcite-combobox-item{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}/*!@.label*/.label.sc-calcite-combobox-item{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}/*!@:host([disabled]) .label*/[disabled].sc-calcite-combobox-item-h .label.sc-calcite-combobox-item{cursor:default}/*!@.label--selected*/.label--selected.sc-calcite-combobox-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.label--active*/.label--active.sc-calcite-combobox-item{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.label:hover, .label:active*/.label.sc-calcite-combobox-item:hover,.label.sc-calcite-combobox-item:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.title*/.title.sc-calcite-combobox-item{padding:0 var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon*/.icon.sc-calcite-combobox-item{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-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);color:var(--calcite-ui-border-1)}/*!@.icon--indent*/.icon--indent.sc-calcite-combobox-item{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}/*!@.icon--custom*/.icon--custom.sc-calcite-combobox-item{margin-top:-1px;color:var(--calcite-ui-text-3)}/*!@.icon--active*/.icon--active.sc-calcite-combobox-item{color:var(--calcite-ui-text-1)}/*!@.icon--dot*/.icon--dot.sc-calcite-combobox-item{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon--dot:before*/.icon--dot.sc-calcite-combobox-item:before{text-align:start;content:\"•\"}/*!@.label--active .icon*/.label--active.sc-calcite-combobox-item .icon.sc-calcite-combobox-item{opacity:1}/*!@.label--selected .icon*/.label--selected.sc-calcite-combobox-item .icon.sc-calcite-combobox-item{opacity:1;color:var(--calcite-ui-brand)}/*!@:host(:hover[disabled]) .icon*/.sc-calcite-combobox-item-h:hover[disabled] .icon.sc-calcite-combobox-item{opacity:1}";
16076
16088
 
16077
16089
  /**
16078
16090
  * @slot - A slot for adding nested `calcite-combobox-item`s.
@@ -29565,7 +29577,8 @@ class StepperItem {
29565
29577
  }
29566
29578
  }
29567
29579
  updateActiveItemOnChange(event) {
29568
- if (event.target === this.parentStepperEl) {
29580
+ if (event.target === this.parentStepperEl ||
29581
+ event.composedPath().includes(this.parentStepperEl)) {
29569
29582
  this.activePosition = event.detail.position;
29570
29583
  this.determineActiveItem();
29571
29584
  }
@@ -31657,7 +31670,7 @@ class TipManager {
31657
31670
  //
31658
31671
  // --------------------------------------------------------------------------
31659
31672
  /**
31660
- * Alternate text for closing the `calcite-tip-manager`.
31673
+ * Closed state of the `calcite-tip-manager`.
31661
31674
  */
31662
31675
  this.closed = false;
31663
31676
  this.mutationObserver = createObserver();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.426",
3
+ "version": "1.0.0-next.429",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "prepublishOnly": "ts-node ./support/prepublish.ts",
36
36
  "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
37
37
  "release:next": "npm run util:clean-tested-build && npm run util:deploy-next-from-existing-build",
38
- "release:prepare": "npm run util:clean-tested-build && ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts && git add .",
38
+ "release:prepare": "npm ci && npm test && ts-node --project ./tsconfig-node-scripts.json support/prepReleaseCommit.ts && npm run build && git add .",
39
39
  "release:publish": "npm run util:push-tags && npm publish && ts-node ./support/releaseToGitHub.ts",
40
40
  "start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm:build -- --dev --watch --serve\" \"ts-node ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"",
41
41
  "test": "npm run util:run-tests",
@@ -95,9 +95,9 @@
95
95
  "@types/shell-quote": "1.7.1",
96
96
  "@types/sortablejs": "1.10.7",
97
97
  "@types/standard-version": "7.0.1",
98
- "@types/yargs": "17.0.9",
99
- "@typescript-eslint/eslint-plugin": "5.15.0",
100
- "@typescript-eslint/parser": "5.15.0",
98
+ "@types/yargs": "17.0.10",
99
+ "@typescript-eslint/eslint-plugin": "5.17.0",
100
+ "@typescript-eslint/parser": "5.16.0",
101
101
  "@whitespace/storybook-addon-html": "5.0.0",
102
102
  "autoprefixer": "10.4.4",
103
103
  "axe-core": "4.4.1",
@@ -111,7 +111,7 @@
111
111
  "dedent": "0.7.0",
112
112
  "eslint": "8.11.0",
113
113
  "eslint-config-prettier": "8.5.0",
114
- "eslint-plugin-jest": "26.1.1",
114
+ "eslint-plugin-jest": "26.1.3",
115
115
  "eslint-plugin-prettier": "4.0.0",
116
116
  "eslint-plugin-react": "7.29.4",
117
117
  "eslint-plugin-unicorn": "41.0.1",
@@ -136,7 +136,7 @@
136
136
  "storybook-addon-themes": "6.1.0",
137
137
  "storybook-rtl-addon": "0.3.3",
138
138
  "stylelint": "14.6.0",
139
- "stylelint-config-recommended-scss": "5.0.2",
139
+ "stylelint-config-recommended-scss": "6.0.0",
140
140
  "tailwindcss": "3.0.23",
141
141
  "ts-jest": "27.1.2",
142
142
  "ts-node": "10.7.0",
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,c as i,h as e,g as a,H as n}from"./p-6b7b23d0.js";import{d as r}from"./p-8f3a3e4e.js";import{u as s}from"./p-bd38ff21.js";import"./p-8a63221d.js";const o=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.items=[],this.sortedItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){this.currentPosition||this.calciteStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.sortedItems.length-1;switch(i.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}}registerItem(t){const i={item:t.target,position:t.detail.position,content:t.detail.content};i.content&&i.item.active&&(this.requestedContent=i.content),this.items.includes(i)||this.items.push(i),this.sortedItems=this.sortItems()}updateItem(t){t.detail.content&&(this.requestedContent=t.detail.content),this.currentPosition=t.detail.position,this.calciteStepperItemChange.emit({position:this.currentPosition})}async nextStep(){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition,this.emitChangedItem()}async prevStep(){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition,this.emitChangedItem()}async goToStep(t){this.currentPosition=t-1,this.emitChangedItem()}async startStep(){this.currentPosition=0,this.emitChangedItem()}async endStep(){this.currentPosition=this.items.length-1,this.emitChangedItem()}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}emitChangedItem(){this.calciteStepperItemChange.emit({position:this.currentPosition})}focusFirstItem(){this.focusElement(this.sortedItems[0])}focusLastItem(){this.focusElement(this.sortedItems[this.sortedItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i+1]||this.sortedItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i-1]||this.sortedItems[this.sortedItems.length-1])}itemIndex(t){return this.sortedItems.indexOf(t)}focusElement(t){t.focus()}sortItems(){const t=Array.from(this.items).filter((t=>!t.item.disabled)).sort(((t,i)=>t.position-i.position)).map((t=>t.item));return[...Array.from(new Set(t))]}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};o.style="@-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{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";const c=class{constructor(e){t(this,e),this.calciteStepperItemKeyEvent=i(this,"calciteStepperItemKeyEvent",7),this.calciteStepperItemSelect=i(this,"calciteStepperItemSelect",7),this.calciteStepperItemRegister=i(this,"calciteStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.icon=!1,this.numbered=!1,this.scale="m"}disabledWatcher(){this.registerStepperItem()}componentWillLoad(){this.icon=r(this.el,"icon",!1),this.numbered=r(this.el,"numbered",!1),this.layout=r(this.el,"layout",!1),this.scale=r(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.itemContent=this.getItemContent(),this.registerStepperItem(),this.active&&this.emitRequestedItem()}componentDidUpdate(){this.active&&this.emitRequestedItem()}componentDidRender(){s(this,!0)}render(){return e(n,{"aria-expanded":this.active.toString(),onClick:()=>this.emitRequestedItem()},e("div",{class:"container"},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-title"},this.itemTitle),e("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",null))))}keyDownHandler(t){if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t}),t.preventDefault()}}updateActiveItemOnChange(t){t.target===this.parentStepperEl&&(this.activePosition=t.detail.position,this.determineActiveItem())}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}emitRequestedItem(){this.disabled||this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}getItemContent(){var t;return(null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:!0}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"]}}};c.style="@-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-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-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 .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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 .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);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-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";export{o as calcite_stepper,c as calcite_stepper_item}
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,c as i,h as a,H as e,g as o}from"./p-6b7b23d0.js";import{g as r}from"./p-8a63221d.js";import{a as n,f as s}from"./p-8f3a3e4e.js";import{c,d,g as l}from"./p-614d8925.js";import{c as h,d as m,H as p}from"./p-7c88d545.js";import{g as u}from"./p-accdb0ce.js";import{u as b}from"./p-bd38ff21.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,u(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,u(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){b(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-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{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,c as i,h as e,F as a,g as n}from"./p-6b7b23d0.js";import{C as s,I as o,S as l}from"./p-7fc69a9d.js";import{g as r,f as c}from"./p-8f3a3e4e.js";import{g as m}from"./p-accdb0ce.js";import{g as h}from"./p-8a63221d.js";import{c as u}from"./p-0a5d059d.js";import{c as d,d as p}from"./p-a9b3ef39.js";const f=["ArrowUp","ArrowDown"],b=["ArrowUp","ArrowDown","End","Home"],x=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",7),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.mutationObserver=u("mutation",(()=>this.getActions())),this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{el:t,menuButtonId:i,menuId:e,open:a,label:n}=this,s=r(t,l.trigger)||this.defaultMenuButtonEl;this.menuButtonEl!==s&&(this.disconnectMenuButtonEl(),this.menuButtonEl=s,this.setTooltipReferenceElement(),s&&(s.active=a,s.setAttribute("aria-controls",e),s.setAttribute("aria-expanded",a.toString()),s.setAttribute("aria-haspopup","true"),s.id||(s.id=i),s.label||(s.label=n),s.text||(s.text=n),s.addEventListener("click",this.menuButtonClick),s.addEventListener("keydown",this.menuButtonKeyDown),s.addEventListener("keyup",this.menuButtonKeyUp)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("click",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown),t.removeEventListener("keyup",this.menuButtonKeyUp))},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.setTooltipReferenceElement=()=>{const{el:t,expanded:i,menuButtonEl:e}=this,a=r(t,l.tooltip),n="SLOT"===(null==a?void 0:a.tagName)?a.assignedElements()[0]:a;"CALCITE-TOOLTIP"===(null==n?void 0:n.tagName)&&(n.referenceElement=i?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.getActions=()=>{const{el:t}=this,i=r(t,{all:!0,matches:"calcite-action"});this.updateActions(i),this.actionElements=i,this.connectMenuButtonEl()},this.menuButtonKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;this.isValidKey(i,f)&&(t.preventDefault(),e.length&&(this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuButtonKeyDown=t=>{const{key:i}=t;this.isValidKey(i,f)&&t.preventDefault()},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(" "!==i&&"Enter"!==i)this.isValidKey(i,b)&&t.preventDefault();else{t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else this.open=!1},this.menuActionsContainerKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;"Escape"!==i?this.isValidKey(i,b)&&(t.preventDefault(),e.length&&this.handleActionNavigation(i,e)):this.toggleOpen(!1)},this.handleActionNavigation=(t,i)=>{const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.getActions(),d(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.disconnectMenuButtonEl(),p(this)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t)}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.open?this.menuEl:this.menuButtonEl)}renderMenuButton(){const{el:t,label:i,scale:a}=this,n=e("slot",{name:l.trigger},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:a,text:i}));return r(t,l.tooltip)?e("calcite-tooltip-manager",null,n):n}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:l,placement:r,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:l,offsetDistance:0,open:a,overlayPositioning:c,placement:r,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:t=>this.menuEl=t,role:"menu",tabIndex:-1},e("slot",null)))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:l.tooltip}))}getAssignedElements(){return Array.from(this.el.querySelectorAll("slot")).map((t=>t.assignedElements({flatten:!0}))).reduce(((t,i)=>t.concat(i)),[])}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};x.style="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{x as calcite_action_menu}
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{c as n}from"./p-8f3a3e4e.js";import{h as t}from"./p-6b7b23d0.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,u=n(o,"form");if(!u||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(u,o))return;t.formEl=u,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const c=(t.onFormReset||s).bind(t);u.addEventListener("reset",c),i.add(o)}function s(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function u(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function c(n,t){n.defaultValue=t}function l(n,t,o){var i;const{defaultValue:r,disabled:s,name:u,required:c}=n;t.defaultValue=r,t.disabled=s,t.name=u,t.required=c,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const a=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const u=Array.isArray(i)?i:[i],c=[],a=new Set;let f;s.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(a.add(e),l(n,t,e)):c.push(t)})),u.forEach((t=>{if(a.has(t))return;let e=c.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),l(n,e,t)})),f&&t.append(f),c.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{a as H,c as a,r as c,u as d}