@esri/calcite-components 1.0.0-next.425 → 1.0.0-next.428

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 (794) 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-fe3f4e0e.system.entry.js → p-00b10f69.system.entry.js} +2 -1
  5. package/dist/calcite/{p-55e1a3a0.system.entry.js → p-0183bb89.system.entry.js} +2 -1
  6. package/dist/calcite/{p-1d6404b5.system.js → p-03410b32.system.js} +1 -0
  7. package/dist/calcite/{p-bccbf58a.entry.js → p-03e04914.entry.js} +2 -1
  8. package/dist/calcite/{p-65dbbfb5.system.js → p-04c87cdd.system.js} +1 -0
  9. package/dist/calcite/{p-588bfa74.system.js → p-0557309d.system.js} +2 -1
  10. package/dist/calcite/{p-6e0103f5.system.entry.js → p-09854d33.system.entry.js} +2 -1
  11. package/dist/calcite/p-0a94bfa7.entry.js +6 -0
  12. package/dist/calcite/p-0e43a107.entry.js +6 -0
  13. package/dist/calcite/{p-daf5f04c.system.js → p-12d676a4.system.js} +2 -1
  14. package/dist/calcite/{p-87888359.entry.js → p-1305b215.entry.js} +2 -1
  15. package/dist/calcite/{p-6b7b23d0.js → p-138aedcb.js} +1 -0
  16. package/dist/calcite/{p-5c637131.entry.js → p-15d637e8.entry.js} +2 -1
  17. package/dist/calcite/{p-dd9f2e61.js → p-1692623d.js} +1 -0
  18. package/dist/calcite/{p-ecc31b40.system.entry.js → p-1870f448.system.entry.js} +2 -1
  19. package/dist/calcite/{p-b10af2b4.entry.js → p-1a932c65.entry.js} +2 -1
  20. package/dist/calcite/{p-02d7cf64.system.entry.js → p-1da02a74.system.entry.js} +2 -1
  21. package/dist/calcite/{p-1263bcc0.entry.js → p-252fb5a5.entry.js} +2 -1
  22. package/dist/calcite/{p-c9fc13b9.system.entry.js → p-2544cade.system.entry.js} +2 -1
  23. package/dist/calcite/{p-bffb4da3.system.entry.js → p-290b7248.system.entry.js} +3 -2
  24. package/dist/calcite/{p-bdcb43b1.system.entry.js → p-2a289c2f.system.entry.js} +2 -1
  25. package/dist/calcite/{p-6261469d.entry.js → p-2c628c80.entry.js} +2 -1
  26. package/dist/calcite/{p-958600ba.system.entry.js → p-2e6aadb9.system.entry.js} +2 -1
  27. package/dist/calcite/{p-6fba3e1b.system.entry.js → p-30d5d6ac.system.entry.js} +2 -1
  28. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-32187e23.system.entry.js} +2 -1
  29. package/dist/calcite/{p-079a3322.js → p-32541005.js} +1 -0
  30. package/dist/calcite/{p-47d38839.entry.js → p-3302cd0f.entry.js} +2 -1
  31. package/dist/calcite/{p-c5ec8d74.js → p-3349ae39.js} +1 -0
  32. package/dist/calcite/{p-ec9bab33.system.js → p-3690966e.system.js} +2 -1
  33. package/dist/calcite/{p-3c34f20d.system.js → p-3744898b.system.js} +1 -0
  34. package/dist/calcite/{p-496e907a.system.entry.js → p-390df194.system.entry.js} +3 -2
  35. package/dist/calcite/p-3bfe7564.js +6 -0
  36. package/dist/calcite/{p-a11ee541.system.entry.js → p-3c7250cd.system.entry.js} +2 -1
  37. package/dist/calcite/{p-9ac86d6a.entry.js → p-3d653bf3.entry.js} +2 -1
  38. package/dist/calcite/{p-8a63221d.js → p-42e87122.js} +1 -0
  39. package/dist/calcite/{p-a9ea7f4f.entry.js → p-45bcd6ec.entry.js} +2 -1
  40. package/dist/calcite/{p-c2adeae4.entry.js → p-470a3725.entry.js} +2 -1
  41. package/dist/calcite/{p-58392046.system.entry.js → p-47cd9495.system.entry.js} +2 -1
  42. package/dist/calcite/{p-03c92ad2.entry.js → p-485a2503.entry.js} +2 -1
  43. package/dist/calcite/{p-6c4a7041.system.entry.js → p-4da16317.system.entry.js} +2 -1
  44. package/dist/calcite/{p-4de6f4fd.system.js → p-4de75ad8.system.js} +1 -0
  45. package/dist/calcite/{p-2139226c.entry.js → p-520e4844.entry.js} +2 -1
  46. package/dist/calcite/{p-cd5f5c8f.js → p-5251fcda.js} +2 -1
  47. package/dist/calcite/{p-7fb5fec5.entry.js → p-53bc03b3.entry.js} +2 -1
  48. package/dist/calcite/{p-8ab345f2.js → p-54c03a5d.js} +2 -1
  49. package/dist/calcite/{p-05bf835f.js → p-55107ddf.js} +2 -1
  50. package/dist/calcite/{p-482885ae.system.entry.js → p-55d7aed4.system.entry.js} +2 -1
  51. package/dist/calcite/{p-6ab3e489.entry.js → p-56aed3db.entry.js} +2 -1
  52. package/dist/calcite/{p-e4d1651b.system.entry.js → p-5814d106.system.entry.js} +2 -1
  53. package/dist/calcite/{p-b765d197.system.js → p-5b463527.system.js} +2 -1
  54. package/dist/calcite/{p-c228a1da.system.entry.js → p-5bb76d2b.system.entry.js} +2 -1
  55. package/dist/calcite/{p-9940b82a.system.entry.js → p-5c219965.system.entry.js} +2 -1
  56. package/dist/calcite/{p-364db271.entry.js → p-60605bfb.entry.js} +2 -1
  57. package/dist/calcite/{p-aaa21a84.system.entry.js → p-62244b6d.system.entry.js} +2 -1
  58. package/dist/calcite/{p-4aecbaef.entry.js → p-67108dad.entry.js} +2 -1
  59. package/dist/calcite/{p-8e0dd0af.system.entry.js → p-675cb5b3.system.entry.js} +2 -1
  60. package/dist/calcite/{p-ee522afa.system.entry.js → p-685b83a0.system.entry.js} +2 -1
  61. package/dist/calcite/{p-4905189e.system.entry.js → p-687dc0f7.system.entry.js} +2 -1
  62. package/dist/calcite/{p-31c58f25.entry.js → p-6c49adbd.entry.js} +2 -1
  63. package/dist/calcite/{p-cedd48fe.system.entry.js → p-6caff0a7.system.entry.js} +2 -1
  64. package/dist/calcite/p-6d7a7858.js +6 -0
  65. package/dist/calcite/{p-42227a04.entry.js → p-7348afcf.entry.js} +2 -1
  66. package/dist/calcite/{p-2fae8516.system.entry.js → p-75ef4cc5.system.entry.js} +2 -1
  67. package/dist/calcite/{p-a7770d75.entry.js → p-76bc6e9d.entry.js} +2 -1
  68. package/dist/calcite/{p-eb3c084f.system.entry.js → p-77d689be.system.entry.js} +2 -1
  69. package/dist/calcite/{p-aad14a5d.system.entry.js → p-77f71f3f.system.entry.js} +2 -1
  70. package/dist/calcite/{p-c51699d3.system.js → p-79e55cdf.system.js} +3 -2
  71. package/dist/calcite/{p-ef6b4184.js → p-79e7b050.js} +2 -1
  72. package/dist/calcite/{p-e55c5bb4.entry.js → p-7cff2b61.entry.js} +2 -1
  73. package/dist/calcite/{p-1aded388.system.entry.js → p-7d1305ad.system.entry.js} +2 -1
  74. package/dist/calcite/p-7dea49cd.entry.js +6 -0
  75. package/dist/calcite/{p-7b8707b2.system.js → p-819b498c.system.js} +1 -0
  76. package/dist/calcite/{p-7432e5ef.system.entry.js → p-81b29187.system.entry.js} +2 -1
  77. package/dist/calcite/{p-1fc943d5.system.entry.js → p-827f0a9c.system.entry.js} +2 -1
  78. package/dist/calcite/{p-e3280a36.system.entry.js → p-828924fc.system.entry.js} +2 -1
  79. package/dist/calcite/{p-28c333d0.entry.js → p-835a1dde.entry.js} +2 -1
  80. package/dist/calcite/{p-f78023f1.system.js → p-84c7de15.system.js} +1 -0
  81. package/dist/calcite/{p-edf1e815.system.entry.js → p-84f0edce.system.entry.js} +2 -1
  82. package/dist/calcite/{p-e095517f.system.js → p-8511c01e.system.js} +1 -0
  83. package/dist/calcite/{p-6a541e77.system.js → p-862d3881.system.js} +2 -1
  84. package/dist/calcite/{p-b06207bb.js → p-86637545.js} +1 -0
  85. package/dist/calcite/{p-b47dc903.system.entry.js → p-872bdb8b.system.entry.js} +2 -1
  86. package/dist/calcite/{p-32efc4cd.system.entry.js → p-873f66b5.system.entry.js} +2 -1
  87. package/dist/calcite/{p-cc6e7726.entry.js → p-876df41b.entry.js} +2 -1
  88. package/dist/calcite/{p-63624a01.js → p-8925a092.js} +1 -0
  89. package/dist/calcite/{p-c2caeb2a.system.entry.js → p-89dc8eed.system.entry.js} +2 -1
  90. package/dist/calcite/{p-4570cf6c.js → p-8db1d2b2.js} +2 -1
  91. package/dist/calcite/{p-7ed4c551.system.js → p-8e30c86f.system.js} +1 -0
  92. package/dist/calcite/{p-0ba91238.system.entry.js → p-8e347251.system.entry.js} +2 -1
  93. package/dist/calcite/{p-193749c1.entry.js → p-8f9a5a70.entry.js} +2 -1
  94. package/dist/calcite/{p-963e9aec.system.entry.js → p-9114d0c4.system.entry.js} +2 -1
  95. package/dist/calcite/{p-f344e163.entry.js → p-94c1deba.entry.js} +2 -1
  96. package/dist/calcite/{p-b3c5247b.system.entry.js → p-94c5ac7b.system.entry.js} +2 -1
  97. package/dist/calcite/{p-ef17447d.system.entry.js → p-98d2f505.system.entry.js} +2 -1
  98. package/dist/calcite/{p-7247b667.system.entry.js → p-996f3574.system.entry.js} +2 -1
  99. package/dist/calcite/{p-ac9607f2.system.js → p-9c046e6e.system.js} +1 -0
  100. package/dist/calcite/{p-9c913e3a.entry.js → p-9d8a8d15.entry.js} +2 -1
  101. package/dist/calcite/{p-18be4438.entry.js → p-a17a368c.entry.js} +2 -1
  102. package/dist/calcite/p-a29e982a.js +6 -0
  103. package/dist/calcite/{p-7b238036.entry.js → p-a2f3d543.entry.js} +2 -1
  104. package/dist/calcite/{p-4eae61c5.entry.js → p-a41a5463.entry.js} +2 -1
  105. package/dist/calcite/{p-052ba882.system.entry.js → p-a63ecbb8.system.entry.js} +2 -1
  106. package/dist/calcite/{p-34730e94.entry.js → p-a72355c3.entry.js} +2 -1
  107. package/dist/calcite/{p-23145377.entry.js → p-a7302dc0.entry.js} +2 -1
  108. package/dist/calcite/{p-69d2d9cf.system.entry.js → p-aa0162f2.system.entry.js} +2 -1
  109. package/dist/calcite/{p-0a5d059d.js → p-aa9b6f6a.js} +1 -0
  110. package/dist/calcite/{p-3119ffce.system.js → p-b16fe60c.system.js} +1 -0
  111. package/dist/calcite/{p-a117af56.system.js → p-b42d2e6b.system.js} +1 -0
  112. package/dist/calcite/{p-32d6b962.entry.js → p-b487f872.entry.js} +2 -1
  113. package/dist/calcite/{p-bd38ff21.js → p-b59f4738.js} +1 -0
  114. package/dist/calcite/{p-b9a38a28.system.entry.js → p-b6e4f342.system.entry.js} +3 -2
  115. package/dist/calcite/p-b7b28680.entry.js +6 -0
  116. package/dist/calcite/{p-8a7596e3.entry.js → p-b950dea7.entry.js} +2 -1
  117. package/dist/calcite/{p-b2b6f712.js → p-ba08abd0.js} +2 -1
  118. package/dist/calcite/{p-f68725d7.entry.js → p-ba2de354.entry.js} +2 -1
  119. package/dist/calcite/{p-7bee4942.system.entry.js → p-bc1170c1.system.entry.js} +2 -1
  120. package/dist/calcite/{p-ea4119b1.system.entry.js → p-bf5ff2a9.system.entry.js} +2 -1
  121. package/dist/calcite/{p-cd9226a1.system.entry.js → p-bfddbd90.system.entry.js} +3 -2
  122. package/dist/calcite/{p-4afb5a1b.system.entry.js → p-c0000179.system.entry.js} +2 -1
  123. package/dist/calcite/{p-162604a0.entry.js → p-c175cee4.entry.js} +2 -1
  124. package/dist/calcite/{p-48637359.system.entry.js → p-c1a18574.system.entry.js} +2 -1
  125. package/dist/calcite/{p-cafd98e8.entry.js → p-c30552bc.entry.js} +2 -1
  126. package/dist/calcite/p-c56bbe19.system.entry.js +6 -0
  127. package/dist/calcite/{p-3b4662a5.entry.js → p-c580635b.entry.js} +2 -1
  128. package/dist/calcite/{p-bb401f25.system.js → p-ca4485dd.system.js} +2 -1
  129. package/dist/calcite/{p-2d09cc25.js → p-cce82f0c.js} +1 -0
  130. package/dist/calcite/{p-5bb4d012.entry.js → p-cd048433.entry.js} +2 -1
  131. package/dist/calcite/{p-cbc6fee6.entry.js → p-cf7d7c9b.entry.js} +2 -1
  132. package/dist/calcite/{p-07f1f162.system.entry.js → p-d0db0c2a.system.entry.js} +2 -1
  133. package/dist/calcite/{p-8f3a3e4e.js → p-d2b41b67.js} +2 -1
  134. package/dist/calcite/{p-62afcb36.system.js → p-d307dc6f.system.js} +2 -1
  135. package/dist/calcite/{p-69d5736f.entry.js → p-d3499f1f.entry.js} +2 -1
  136. package/dist/calcite/{p-5802a565.entry.js → p-d4380717.entry.js} +2 -1
  137. package/dist/calcite/{p-46071f17.entry.js → p-d9ac0f60.entry.js} +2 -1
  138. package/dist/calcite/{p-569150ab.system.entry.js → p-df1a201e.system.entry.js} +2 -1
  139. package/dist/calcite/{p-b0827b8c.system.entry.js → p-e12eea36.system.entry.js} +2 -1
  140. package/dist/calcite/{p-e020662f.system.js → p-e1de34c4.system.js} +1 -0
  141. package/dist/calcite/{p-6ed27595.system.entry.js → p-e46acfbf.system.entry.js} +2 -1
  142. package/dist/calcite/p-e56710ad.system.js +6 -0
  143. package/dist/calcite/{p-5958acc8.system.js → p-e5cfe9f5.system.js} +1 -0
  144. package/dist/calcite/{p-614d8925.js → p-e8036718.js} +2 -1
  145. package/dist/calcite/{p-7fc69a9d.js → p-ebba2677.js} +1 -0
  146. package/dist/calcite/{p-f09e27b0.system.js → p-ebfcdcf9.system.js} +2 -1
  147. package/dist/calcite/{p-2dd22e8c.system.entry.js → p-ee00e5df.system.entry.js} +2 -1
  148. package/dist/calcite/{p-765c9bef.entry.js → p-eecd5ca5.entry.js} +2 -1
  149. package/dist/calcite/{p-accdb0ce.js → p-f001c47d.js} +1 -0
  150. package/dist/calcite/{p-5394666a.entry.js → p-f0be4581.entry.js} +2 -1
  151. package/dist/calcite/{p-54c49493.entry.js → p-f0fe9b17.entry.js} +2 -1
  152. package/dist/calcite/{p-824da4be.entry.js → p-f1e8b884.entry.js} +2 -1
  153. package/dist/calcite/{p-2692ac43.entry.js → p-f2d46fa8.entry.js} +2 -1
  154. package/dist/calcite/{p-97904e9a.entry.js → p-f30d1b14.entry.js} +2 -1
  155. package/dist/calcite/{p-78bc502f.entry.js → p-f4188512.entry.js} +2 -1
  156. package/dist/calcite/{p-7260c869.system.entry.js → p-f487968c.system.entry.js} +2 -1
  157. package/dist/calcite/{p-895d22f3.entry.js → p-f4a402a4.entry.js} +2 -1
  158. package/dist/calcite/{p-8b982f91.entry.js → p-f4a6f1b8.entry.js} +2 -1
  159. package/dist/calcite/{p-fa922721.system.js → p-f5a6782d.system.js} +2 -1
  160. package/dist/calcite/{p-ac4aec20.system.js → p-f631411a.system.js} +1 -0
  161. package/dist/calcite/{p-cb57638c.system.js → p-f77d0c19.system.js} +2 -1
  162. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-f7e62687.system.entry.js} +2 -1
  163. package/dist/calcite/{p-b2493735.entry.js → p-f845e512.entry.js} +2 -1
  164. package/dist/calcite/{p-5a8829cd.entry.js → p-f97ff9a2.entry.js} +2 -1
  165. package/dist/calcite/{p-6b5776af.js → p-fa3c5037.js} +1 -0
  166. package/dist/calcite/{p-3e149640.system.entry.js → p-fb6a7359.system.entry.js} +2 -1
  167. package/dist/calcite/{p-426f011a.entry.js → p-fb9f6c06.entry.js} +2 -1
  168. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-aaa0a184.js} +5 -4
  169. package/dist/cjs/{Heading-ec707493.js → Heading-3ee1614a.js} +2 -1
  170. package/dist/cjs/{array-a5dedf5a.js → array-5762d165.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 +7 -6
  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-436c7328.js} +3 -2
  230. package/dist/cjs/{debounce-95979061.js → debounce-7b5735f3.js} +1 -0
  231. package/dist/cjs/{dom-f3df220d.js → dom-a94633fb.js} +2 -1
  232. package/dist/cjs/{forIn-a5d553af.js → forIn-11e370c7.js} +2 -1
  233. package/dist/cjs/{form-0ef859c8.js → form-da949bc4.js} +3 -2
  234. package/dist/cjs/{guid-b270f0db.js → guid-6661e826.js} +1 -0
  235. package/dist/cjs/{index-1af0efd3.js → index-3f92af10.js} +1 -0
  236. package/dist/cjs/index.cjs.js +1 -0
  237. package/dist/cjs/{interactive-87406231.js → interactive-ff3dac08.js} +1 -0
  238. package/dist/cjs/{interfaces-7216af30.js → interfaces-f6817a2a.js} +1 -0
  239. package/dist/cjs/{label-980508de.js → label-27f174b4.js} +2 -1
  240. package/dist/cjs/loader.cjs.js +2 -1
  241. package/dist/cjs/{locale-02462821.js → locale-347a6350.js} +2 -1
  242. package/dist/cjs/{math-145c80e2.js → math-8584d3c5.js} +1 -0
  243. package/dist/cjs/{number-e813e801.js → number-62b59f3d.js} +1 -0
  244. package/dist/cjs/{observers-79bfb8bc.js → observers-8bb3291e.js} +1 -0
  245. package/dist/cjs/{popper-64d89ef7.js → popper-84a8c83b.js} +2 -1
  246. package/dist/cjs/{resources-7d5449fb.js → resources-96160347.js} +1 -0
  247. package/dist/cjs/{resources-7811eb2c.js → resources-baa3c0ec.js} +3 -2
  248. package/dist/cjs/{resources-ac80e82c.js → resources-cada662c.js} +1 -0
  249. package/dist/cjs/{resources-e43fc9f3.js → resources-df719c5b.js} +5 -4
  250. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-0ff85df6.js} +1 -0
  251. package/dist/cjs/{utils-6579522f.js → utils-d2eaf041.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 +2 -1
  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 +1 -0
  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 +2 -1
  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 +1 -0
  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 +24 -17
  608. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-7a0c7a2a.js} +5 -4
  609. package/dist/esm/{Heading-d5f1710a.js → Heading-6d895867.js} +2 -1
  610. package/dist/esm/{array-91a648e2.js → array-a4f6267e.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 +7 -6
  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-9359955c.js} +3 -2
  670. package/dist/esm/{debounce-79648d42.js → debounce-1cd68442.js} +1 -0
  671. package/dist/esm/{dom-e7fa77b9.js → dom-912c8895.js} +2 -1
  672. package/dist/esm/{forIn-48d8fb84.js → forIn-a0e7450d.js} +2 -1
  673. package/dist/esm/{form-5e4609eb.js → form-ccdb74bf.js} +3 -2
  674. package/dist/esm/{guid-196bd5ea.js → guid-353c82a8.js} +1 -0
  675. package/dist/esm/{index-bd94948c.js → index-2b417c5b.js} +1 -0
  676. package/dist/esm/index.js +1 -0
  677. package/dist/esm/{interactive-48b5cc0f.js → interactive-33e2ecbd.js} +1 -0
  678. package/dist/esm/{interfaces-0e5b954c.js → interfaces-29d4dc80.js} +1 -0
  679. package/dist/esm/{label-68f22660.js → label-b4fc16b5.js} +2 -1
  680. package/dist/esm/loader.js +2 -1
  681. package/dist/esm/{locale-fc850b7c.js → locale-1afce136.js} +2 -1
  682. package/dist/esm/{math-456207f5.js → math-5e9fbfaf.js} +1 -0
  683. package/dist/esm/{number-8779395f.js → number-a98f2ca5.js} +1 -0
  684. package/dist/esm/{observers-46118290.js → observers-f82d0ac7.js} +1 -0
  685. package/dist/esm/{popper-da45ec93.js → popper-25ebd833.js} +2 -1
  686. package/dist/esm/{resources-027bd8f9.js → resources-0e56a1ca.js} +1 -0
  687. package/dist/esm/{resources-34334875.js → resources-4ec3c560.js} +1 -0
  688. package/dist/esm/{resources-b5c3d9a7.js → resources-74c1b64f.js} +5 -4
  689. package/dist/esm/{resources-73dac782.js → resources-7f333234.js} +3 -2
  690. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-d96f10c4.js} +1 -0
  691. package/dist/esm/{utils-e84055a3.js → utils-987ad9d2.js} +1 -0
  692. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-7a0c7a2a.js} +2 -1
  693. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-6d895867.js} +2 -1
  694. package/dist/esm-es5/{array-91a648e2.js → array-a4f6267e.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 +3 -2
  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 +2 -1
  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 +2 -1
  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 +3 -2
  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 +3 -2
  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-9359955c.js} +2 -1
  754. package/dist/esm-es5/{debounce-79648d42.js → debounce-1cd68442.js} +1 -0
  755. package/dist/esm-es5/{dom-e7fa77b9.js → dom-912c8895.js} +2 -1
  756. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-a0e7450d.js} +2 -1
  757. package/dist/esm-es5/{form-5e4609eb.js → form-ccdb74bf.js} +2 -1
  758. package/dist/esm-es5/{guid-196bd5ea.js → guid-353c82a8.js} +1 -0
  759. package/dist/esm-es5/{index-bd94948c.js → index-2b417c5b.js} +1 -0
  760. package/dist/esm-es5/index.js +1 -0
  761. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-33e2ecbd.js} +1 -0
  762. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-29d4dc80.js} +1 -0
  763. package/dist/esm-es5/{label-68f22660.js → label-b4fc16b5.js} +2 -1
  764. package/dist/esm-es5/loader.js +2 -1
  765. package/dist/esm-es5/{locale-fc850b7c.js → locale-1afce136.js} +2 -1
  766. package/dist/esm-es5/{math-456207f5.js → math-5e9fbfaf.js} +1 -0
  767. package/dist/esm-es5/{number-8779395f.js → number-a98f2ca5.js} +1 -0
  768. package/dist/esm-es5/{observers-46118290.js → observers-f82d0ac7.js} +1 -0
  769. package/dist/esm-es5/{popper-da45ec93.js → popper-25ebd833.js} +2 -1
  770. package/dist/esm-es5/{resources-027bd8f9.js → resources-0e56a1ca.js} +1 -0
  771. package/dist/esm-es5/{resources-34334875.js → resources-4ec3c560.js} +1 -0
  772. package/dist/esm-es5/{resources-b5c3d9a7.js → resources-74c1b64f.js} +2 -1
  773. package/dist/esm-es5/{resources-73dac782.js → resources-7f333234.js} +3 -2
  774. package/dist/esm-es5/{sortable.esm-04824d33.js → sortable.esm-d96f10c4.js} +1 -0
  775. package/dist/esm-es5/{utils-e84055a3.js → utils-987ad9d2.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/hydrate/index.js +24 -17
  785. package/package.json +6 -6
  786. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  787. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  788. package/dist/calcite/p-7c88d545.js +0 -5
  789. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  790. package/dist/calcite/p-9385e4b4.system.js +0 -5
  791. package/dist/calcite/p-9e61d89d.entry.js +0 -5
  792. package/dist/calcite/p-a9b3ef39.js +0 -5
  793. package/dist/calcite/p-dcf33bb2.js +0 -5
  794. package/dist/calcite/p-e43605c5.entry.js +0 -5
@@ -2,4 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{f as focusElement,g as getSlotted}from"./dom-e7fa77b9.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-bd94948c.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var d=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,d))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,moveItemIndex as b,initializeObserver as c,deselectRemovedItems as d,cleanUpObserver as e,calciteListFocusOutHandler as f,getItemData as g,handleFilter as h,initialize as i,calciteListItemChangeHandler as j,keyDownHandler as k,calciteListItemValueChangeHandler as l,mutationObserverCallback as m,setUpItems as n,setFocus as o,SLOTS$2 as p,CSS$2 as q,removeItem as r,selectSiblings as s,ICONS as t};
5
+ * v1.0.0-next.427
6
+ */import{f as focusElement,g as getSlotted}from"./dom-912c8895.js";import{g as getRoundRobinIndex}from"./array-a4f6267e.js";import{d as debounce}from"./debounce-1cd68442.js";import{h,H as Host}from"./index-2b417c5b.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var d=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,d))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,moveItemIndex as b,initializeObserver as c,deselectRemovedItems as d,cleanUpObserver as e,calciteListFocusOutHandler as f,getItemData as g,handleFilter as h,initialize as i,calciteListItemChangeHandler as j,keyDownHandler as k,calciteListItemValueChangeHandler as l,mutationObserverCallback as m,setUpItems as n,setFocus as o,SLOTS$2 as p,CSS$2 as q,removeItem as r,selectSiblings as s,ICONS as t};
@@ -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.427
6
+ */import{a as getAssetPath}from"./index-2b417c5b.js";import{a as locales}from"./locale-1afce136.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,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.427
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.427
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-18T18:18:14",
2
+ "timestamp": "2022-03-29T23:02:27",
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.427
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.427
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.427
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.427
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
  /**
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.427
4
5
  */
5
6
  'use strict';
6
7
 
@@ -15381,8 +15382,9 @@ class Combobox {
15381
15382
  this.addCustomChip(this.text, true);
15382
15383
  event.preventDefault();
15383
15384
  }
15384
- else {
15385
+ else if (this.active) {
15385
15386
  this.active = false;
15387
+ event.preventDefault();
15386
15388
  }
15387
15389
  break;
15388
15390
  case "ArrowLeft":
@@ -15401,11 +15403,20 @@ class Combobox {
15401
15403
  this.active = true;
15402
15404
  this.shiftActiveItemIndex(1);
15403
15405
  break;
15406
+ case " ":
15407
+ if (!this.textInput.value) {
15408
+ event.preventDefault();
15409
+ this.active = true;
15410
+ this.shiftActiveItemIndex(1);
15411
+ }
15412
+ break;
15404
15413
  case "Home":
15414
+ event.preventDefault();
15405
15415
  this.active = true;
15406
15416
  this.updateActiveItemIndex(0);
15407
15417
  break;
15408
15418
  case "End":
15419
+ event.preventDefault();
15409
15420
  this.active = true;
15410
15421
  this.updateActiveItemIndex(this.visibleItems.length - 1);
15411
15422
  break;
@@ -15432,11 +15443,6 @@ class Combobox {
15432
15443
  this.removeLastChip();
15433
15444
  }
15434
15445
  break;
15435
- default:
15436
- if (!this.active) {
15437
- this.setFocus();
15438
- }
15439
- break;
15440
15446
  }
15441
15447
  };
15442
15448
  this.toggleCloseEnd = () => {
@@ -15470,10 +15476,11 @@ class Combobox {
15470
15476
  }
15471
15477
  this.calciteComboboxChipDismiss.emit(event.detail);
15472
15478
  };
15473
- this.setFocusClick = (event) => {
15479
+ this.clickHandler = (event) => {
15474
15480
  if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
15475
15481
  return;
15476
15482
  }
15483
+ this.active = !this.active;
15477
15484
  this.setFocus();
15478
15485
  };
15479
15486
  this.setInactiveIfNotContained = (event) => {
@@ -15481,7 +15488,7 @@ class Combobox {
15481
15488
  if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15482
15489
  return;
15483
15490
  }
15484
- if (this.allowCustomValues && this.text) {
15491
+ if (this.allowCustomValues && this.text.trim().length) {
15485
15492
  this.addCustomChip(this.text);
15486
15493
  }
15487
15494
  if (this.selectionMode === "single") {
@@ -15563,7 +15570,6 @@ class Combobox {
15563
15570
  };
15564
15571
  this.comboboxFocusHandler = () => {
15565
15572
  var _a;
15566
- this.active = true;
15567
15573
  (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
15568
15574
  };
15569
15575
  this.comboboxBlurHandler = (event) => {
@@ -15636,7 +15642,6 @@ class Combobox {
15636
15642
  /** Sets focus on the component. */
15637
15643
  async setFocus() {
15638
15644
  var _a;
15639
- this.active = true;
15640
15645
  (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
15641
15646
  this.activeChipIndex = -1;
15642
15647
  this.activeItemIndex = -1;
@@ -15975,7 +15980,7 @@ class Combobox {
15975
15980
  } }, showLabel && (hAsync("span", { class: {
15976
15981
  label: true,
15977
15982
  "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: {
15983
+ }, key: "label" }, selectedItem.textLabel)), hAsync("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
15979
15984
  input: true,
15980
15985
  "input--single": true,
15981
15986
  "input--transparent": this.activeChipIndex > -1,
@@ -16002,7 +16007,8 @@ class Combobox {
16002
16007
  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
16008
  }
16004
16009
  renderIconEnd() {
16005
- return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
16010
+ const { active } = this;
16011
+ return (hAsync("span", { class: "icon-end" }, hAsync("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
16006
16012
  }
16007
16013
  render() {
16008
16014
  const { active, guid, label } = this;
@@ -16011,7 +16017,7 @@ class Combobox {
16011
16017
  wrapper: true,
16012
16018
  "wrapper--single": single || !this.selectedItems.length,
16013
16019
  "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 })));
16020
+ }, 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
16021
  }
16016
16022
  get el() { return getElement(this); }
16017
16023
  static get watchers() { return {
@@ -16072,7 +16078,7 @@ const CSS$C = {
16072
16078
  textContainer: "text-container"
16073
16079
  };
16074
16080
 
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}";
16081
+ 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
16082
 
16077
16083
  /**
16078
16084
  * @slot - A slot for adding nested `calcite-combobox-item`s.
@@ -21515,7 +21521,7 @@ class Modal {
21515
21521
  });
21516
21522
  };
21517
21523
  this.focusFirstElement = () => {
21518
- focusElement(this.closeButtonEl);
21524
+ focusElement(this.disableCloseButton ? getFocusableElements(this.el)[0] : this.closeButtonEl);
21519
21525
  };
21520
21526
  this.focusLastElement = () => {
21521
21527
  const focusableElements = getFocusableElements(this.el).filter((el) => !el.getAttribute("data-focus-fence"));
@@ -29565,7 +29571,8 @@ class StepperItem {
29565
29571
  }
29566
29572
  }
29567
29573
  updateActiveItemOnChange(event) {
29568
- if (event.target === this.parentStepperEl) {
29574
+ if (event.target === this.parentStepperEl ||
29575
+ event.composedPath().includes(this.parentStepperEl)) {
29569
29576
  this.activePosition = event.detail.position;
29570
29577
  this.determineActiveItem();
29571
29578
  }
@@ -31657,7 +31664,7 @@ class TipManager {
31657
31664
  //
31658
31665
  // --------------------------------------------------------------------------
31659
31666
  /**
31660
- * Alternate text for closing the `calcite-tip-manager`.
31667
+ * Closed state of the `calcite-tip-manager`.
31661
31668
  */
31662
31669
  this.closed = false;
31663
31670
  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.425",
3
+ "version": "1.0.0-next.428",
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",
98
+ "@types/yargs": "17.0.10",
99
99
  "@typescript-eslint/eslint-plugin": "5.15.0",
100
- "@typescript-eslint/parser": "5.15.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 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}