@esri/calcite-components 1.0.0-next.437 → 1.0.0-next.438

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-829d6388.system.entry.js → p-01cd38a3.system.entry.js} +2 -2
  5. package/dist/calcite/{p-45deedd8.system.entry.js → p-04567cd4.system.entry.js} +2 -2
  6. package/dist/calcite/p-051a3063.js +6 -0
  7. package/dist/calcite/{p-6c38874a.js → p-05ee4355.js} +1 -1
  8. package/dist/calcite/{p-83ed4496.system.entry.js → p-082888df.system.entry.js} +2 -2
  9. package/dist/calcite/{p-ed42e990.system.js → p-09b08c9a.system.js} +1 -1
  10. package/dist/calcite/{p-b363f950.entry.js → p-0a1934f5.entry.js} +2 -2
  11. package/dist/calcite/{p-2ba0a44e.system.entry.js → p-0c683d26.system.entry.js} +2 -2
  12. package/dist/calcite/{p-774dfc61.system.entry.js → p-0f1859f3.system.entry.js} +2 -2
  13. package/dist/calcite/{p-96270114.entry.js → p-0fb57052.entry.js} +2 -2
  14. package/dist/calcite/{p-9583196f.entry.js → p-13862488.entry.js} +2 -2
  15. package/dist/calcite/{p-57b20829.js → p-139d4ef6.js} +1 -1
  16. package/dist/calcite/{p-58e48652.system.entry.js → p-14a765ed.system.entry.js} +2 -2
  17. package/dist/calcite/{p-f0fb1e92.entry.js → p-1517cb8d.entry.js} +2 -2
  18. package/dist/calcite/{p-d083946c.entry.js → p-1831e9f5.entry.js} +2 -2
  19. package/dist/calcite/{p-0e1d6804.entry.js → p-1b47436d.entry.js} +2 -2
  20. package/dist/calcite/{p-35c4605d.system.entry.js → p-1b9bcc04.system.entry.js} +2 -2
  21. package/dist/calcite/{p-61f9d300.system.js → p-1ed9d66c.system.js} +2 -2
  22. package/dist/calcite/{p-68960bd7.entry.js → p-1f7d5f87.entry.js} +2 -2
  23. package/dist/calcite/p-20b4a6bc.js +6 -0
  24. package/dist/calcite/p-21d3206b.entry.js +6 -0
  25. package/dist/calcite/{p-28e45b6d.system.entry.js → p-22ea8117.system.entry.js} +2 -2
  26. package/dist/calcite/{p-420d9f18.system.entry.js → p-22f7c3f3.system.entry.js} +2 -2
  27. package/dist/calcite/{p-005357e0.system.js → p-255cbcc1.system.js} +2 -2
  28. package/dist/calcite/{p-d10b933b.entry.js → p-268c2897.entry.js} +2 -2
  29. package/dist/calcite/{p-ba35b00e.system.js → p-2693ccc6.system.js} +1 -1
  30. package/dist/calcite/{p-ea06d373.system.js → p-2970ede3.system.js} +1 -1
  31. package/dist/calcite/{p-6464b492.system.entry.js → p-2b5357ee.system.entry.js} +2 -2
  32. package/dist/calcite/{p-6bc924a5.js → p-2b5d239d.js} +1 -1
  33. package/dist/calcite/{p-9b5e28a0.system.entry.js → p-2dec29c6.system.entry.js} +2 -2
  34. package/dist/calcite/{p-c464c6ae.system.entry.js → p-308aa00a.system.entry.js} +2 -2
  35. package/dist/calcite/{p-2e5ce4c1.system.entry.js → p-3209f15a.system.entry.js} +2 -2
  36. package/dist/calcite/{p-8265d262.entry.js → p-33c0abe6.entry.js} +2 -2
  37. package/dist/calcite/{p-6412fe4e.entry.js → p-35ebfc21.entry.js} +2 -2
  38. package/dist/calcite/{p-12e50495.entry.js → p-35edf340.entry.js} +2 -2
  39. package/dist/calcite/{p-69ed0ae8.js → p-379ee037.js} +2 -2
  40. package/dist/calcite/{p-5eef675a.entry.js → p-3a780b75.entry.js} +2 -2
  41. package/dist/calcite/{p-c637689d.system.entry.js → p-3dee03bd.system.entry.js} +2 -2
  42. package/dist/calcite/{p-29a5b24a.system.entry.js → p-3f71640d.system.entry.js} +2 -2
  43. package/dist/calcite/{p-14e3cfe2.system.entry.js → p-3f7770ad.system.entry.js} +2 -2
  44. package/dist/calcite/{p-2f293cc6.entry.js → p-429be915.entry.js} +2 -2
  45. package/dist/calcite/{p-2817fc45.system.js → p-42a5889c.system.js} +1 -1
  46. package/dist/calcite/{p-84d323f2.entry.js → p-42fe99ed.entry.js} +2 -2
  47. package/dist/calcite/p-454ea263.entry.js +6 -0
  48. package/dist/calcite/{p-e5994dea.system.js → p-4a91a5da.system.js} +2 -2
  49. package/dist/calcite/{p-167e571d.entry.js → p-4aca26e1.entry.js} +2 -2
  50. package/dist/calcite/{p-a85271fc.system.entry.js → p-4f1a16a6.system.entry.js} +2 -2
  51. package/dist/calcite/{p-2340b1e3.js → p-4ff8a733.js} +1 -1
  52. package/dist/calcite/{p-853f6486.entry.js → p-50a8351c.entry.js} +2 -2
  53. package/dist/calcite/{p-8793a889.js → p-5146a595.js} +2 -2
  54. package/dist/calcite/{p-c9f538a3.entry.js → p-542cf729.entry.js} +2 -2
  55. package/dist/calcite/{p-d59c166c.entry.js → p-5454a4af.entry.js} +2 -2
  56. package/dist/calcite/{p-0d1c54d3.system.js → p-568deada.system.js} +2 -2
  57. package/dist/calcite/{p-b604b61d.js → p-591a91d5.js} +2 -2
  58. package/dist/calcite/{p-92088c37.entry.js → p-5a186fb5.entry.js} +2 -2
  59. package/dist/calcite/{p-48ba8d79.system.entry.js → p-5e6c130a.system.entry.js} +2 -2
  60. package/dist/calcite/{p-5656f449.system.entry.js → p-5ee830cc.system.entry.js} +2 -2
  61. package/dist/calcite/p-63838182.entry.js +6 -0
  62. package/dist/calcite/p-664b8d25.system.entry.js +6 -0
  63. package/dist/calcite/{p-9a3a42bd.entry.js → p-68844be7.entry.js} +2 -2
  64. package/dist/calcite/{p-67185c31.system.entry.js → p-6d63ce19.system.entry.js} +3 -3
  65. package/dist/calcite/{p-d395ee18.entry.js → p-6de29ef5.entry.js} +2 -2
  66. package/dist/calcite/{p-e194dfa7.system.js → p-6f8deee7.system.js} +2 -2
  67. package/dist/calcite/{p-de0c1ebf.system.entry.js → p-702114c1.system.entry.js} +2 -2
  68. package/dist/calcite/{p-64ca92fc.js → p-70dabefe.js} +2 -2
  69. package/dist/calcite/{p-4d55500e.js → p-710abe71.js} +1 -1
  70. package/dist/calcite/{p-f200bdeb.system.entry.js → p-71633b63.system.entry.js} +2 -2
  71. package/dist/calcite/{p-f36ca9a0.system.entry.js → p-7295d722.system.entry.js} +2 -2
  72. package/dist/calcite/{p-795363cd.js → p-754d91c8.js} +2 -2
  73. package/dist/calcite/{p-414f38b9.entry.js → p-75e46850.entry.js} +2 -2
  74. package/dist/calcite/{p-e88bfc28.js → p-7b242d45.js} +1 -1
  75. package/dist/calcite/{p-81911da4.system.js → p-7b44fd56.system.js} +1 -1
  76. package/dist/calcite/{p-e4b21a01.system.js → p-7b592250.system.js} +1 -1
  77. package/dist/calcite/{p-56b1e9b4.system.entry.js → p-7eaf701c.system.entry.js} +3 -3
  78. package/dist/calcite/{p-67f710e8.entry.js → p-81cd231f.entry.js} +2 -2
  79. package/dist/calcite/{p-47486dd4.entry.js → p-82c569c0.entry.js} +2 -2
  80. package/dist/calcite/{p-52e31789.js → p-82df0c94.js} +2 -2
  81. package/dist/calcite/{p-e83fbb87.js → p-836b98c4.js} +1 -1
  82. package/dist/calcite/{p-49da4a5a.system.entry.js → p-84d03472.system.entry.js} +2 -2
  83. package/dist/calcite/{p-c2abc375.system.entry.js → p-87a45cbb.system.entry.js} +2 -2
  84. package/dist/calcite/{p-f96156eb.entry.js → p-87a7f1d9.entry.js} +2 -2
  85. package/dist/calcite/p-891523f5.js +6 -0
  86. package/dist/calcite/{p-3a1c3831.system.js → p-8b8ad275.system.js} +1 -1
  87. package/dist/calcite/{p-a8312630.entry.js → p-90b492bc.entry.js} +2 -2
  88. package/dist/calcite/{p-38f27f82.system.js → p-91aec4f7.system.js} +2 -2
  89. package/dist/calcite/{p-1c9bc16d.system.entry.js → p-9321f761.system.entry.js} +2 -2
  90. package/dist/calcite/{p-38b75307.entry.js → p-934eb4dd.entry.js} +2 -2
  91. package/dist/calcite/{p-a5647d22.system.js → p-94242b2b.system.js} +1 -1
  92. package/dist/calcite/{p-8a9e75e0.system.entry.js → p-94a7e4b9.system.entry.js} +2 -2
  93. package/dist/calcite/{p-90310d8d.system.entry.js → p-94c368bb.system.entry.js} +2 -2
  94. package/dist/calcite/{p-3e4f1158.js → p-94c5183f.js} +1 -1
  95. package/dist/calcite/{p-e3db9806.system.js → p-9971a635.system.js} +1 -1
  96. package/dist/calcite/{p-265fdc26.entry.js → p-9ba5f491.entry.js} +2 -2
  97. package/dist/calcite/{p-df594e1d.system.entry.js → p-9be69906.system.entry.js} +2 -2
  98. package/dist/calcite/{p-084f2efa.entry.js → p-a0d9d55f.entry.js} +2 -2
  99. package/dist/calcite/{p-31f44dea.system.js → p-a21256fa.system.js} +1 -1
  100. package/dist/calcite/{p-1a4a1895.entry.js → p-a4c9ff2a.entry.js} +2 -2
  101. package/dist/calcite/{p-327854dd.system.entry.js → p-a500a608.system.entry.js} +2 -2
  102. package/dist/calcite/{p-9888f298.system.entry.js → p-a627740d.system.entry.js} +2 -2
  103. package/dist/calcite/{p-3a0bb0e3.js → p-aa0963d2.js} +1 -1
  104. package/dist/calcite/{p-9893d0fb.system.entry.js → p-ac0a5ceb.system.entry.js} +2 -2
  105. package/dist/calcite/{p-46a410bf.js → p-ac38a3a8.js} +2 -2
  106. package/dist/calcite/{p-7a434baf.js → p-acba7398.js} +1 -1
  107. package/dist/calcite/p-af28f847.entry.js +6 -0
  108. package/dist/calcite/{p-a53a9c94.system.entry.js → p-b1ecab1d.system.entry.js} +2 -2
  109. package/dist/calcite/{p-1822eb6d.entry.js → p-b5686d49.entry.js} +2 -2
  110. package/dist/calcite/{p-acb4a9eb.js → p-b835119b.js} +2 -2
  111. package/dist/calcite/{p-8ba1d0dd.entry.js → p-b8a1e4ba.entry.js} +2 -2
  112. package/dist/calcite/{p-20138921.entry.js → p-bae6fbc6.entry.js} +2 -2
  113. package/dist/calcite/{p-d704ca18.system.entry.js → p-be745cd8.system.entry.js} +2 -2
  114. package/dist/calcite/{p-302210cc.system.entry.js → p-bf8baf73.system.entry.js} +2 -2
  115. package/dist/calcite/{p-43782197.entry.js → p-bfa89221.entry.js} +2 -2
  116. package/dist/calcite/{p-bce8d79a.system.entry.js → p-c16a321a.system.entry.js} +2 -2
  117. package/dist/calcite/{p-f03457a1.system.entry.js → p-c38be517.system.entry.js} +2 -2
  118. package/dist/calcite/{p-256d02e6.entry.js → p-c62f621f.entry.js} +2 -2
  119. package/dist/calcite/{p-5b49cc6b.js → p-c69b1916.js} +1 -1
  120. package/dist/calcite/{p-b5094cd5.system.js → p-c69e333a.system.js} +3 -3
  121. package/dist/calcite/{p-db7c7067.entry.js → p-c9f2e6e7.entry.js} +2 -2
  122. package/dist/calcite/p-cab47d60.system.js +6 -0
  123. package/dist/calcite/{p-7d714ac1.system.entry.js → p-cccb1405.system.entry.js} +2 -2
  124. package/dist/calcite/{p-78bd49ef.system.entry.js → p-cceadcd7.system.entry.js} +2 -2
  125. package/dist/calcite/{p-856af4c9.system.js → p-cef1dc44.system.js} +1 -1
  126. package/dist/calcite/{p-31df74c5.entry.js → p-d0b4b072.entry.js} +2 -2
  127. package/dist/calcite/{p-c794d933.entry.js → p-d1c406d2.entry.js} +2 -2
  128. package/dist/calcite/{p-34bc84c5.system.entry.js → p-d37ecf41.system.entry.js} +2 -2
  129. package/dist/calcite/{p-290bacca.system.entry.js → p-d3d26287.system.entry.js} +2 -2
  130. package/dist/calcite/{p-4b515d1b.system.entry.js → p-d40fb174.system.entry.js} +2 -2
  131. package/dist/calcite/{p-373948b5.system.entry.js → p-d41547e3.system.entry.js} +2 -2
  132. package/dist/calcite/{p-779bb4c8.entry.js → p-d423cee5.entry.js} +2 -2
  133. package/dist/calcite/{p-5bffcc6f.system.entry.js → p-d5a230f9.system.entry.js} +2 -2
  134. package/dist/calcite/{p-c69c5e02.system.js → p-d6298967.system.js} +1 -1
  135. package/dist/calcite/{p-537d8f04.system.entry.js → p-d9354e79.system.entry.js} +2 -2
  136. package/dist/calcite/{p-532f3d09.entry.js → p-da4b21de.entry.js} +2 -2
  137. package/dist/calcite/{p-465e11e9.system.js → p-db06e525.system.js} +1 -1
  138. package/dist/calcite/{p-69fb03a3.entry.js → p-db097b8d.entry.js} +2 -2
  139. package/dist/calcite/{p-27c53556.entry.js → p-dd5e8f8d.entry.js} +2 -2
  140. package/dist/calcite/{p-7c278f00.system.entry.js → p-ddf7f72b.system.entry.js} +2 -2
  141. package/dist/calcite/{p-16f6352e.system.entry.js → p-e0699e61.system.entry.js} +2 -2
  142. package/dist/calcite/{p-e6620b6a.system.entry.js → p-e074d273.system.entry.js} +2 -2
  143. package/dist/calcite/{p-3526c73a.system.entry.js → p-e1c6e82b.system.entry.js} +2 -2
  144. package/dist/calcite/{p-73daaa9b.system.entry.js → p-e2653cac.system.entry.js} +2 -2
  145. package/dist/calcite/{p-45a41f51.system.entry.js → p-e4e41dcc.system.entry.js} +2 -2
  146. package/dist/calcite/{p-8c29665f.entry.js → p-e52ecc36.entry.js} +2 -2
  147. package/dist/calcite/{p-7f07881f.system.js → p-e5abc6a7.system.js} +3 -3
  148. package/dist/calcite/{p-9412593b.js → p-e63999bf.js} +1 -1
  149. package/dist/calcite/{p-2263c9ec.system.entry.js → p-e6b597b7.system.entry.js} +2 -2
  150. package/dist/calcite/{p-446fb0f1.js → p-e9b43338.js} +1 -1
  151. package/dist/calcite/{p-f31752b7.entry.js → p-ebd0cc92.entry.js} +2 -2
  152. package/dist/calcite/{p-3cc8c976.entry.js → p-ecbaf925.entry.js} +2 -2
  153. package/dist/calcite/{p-93e9d7ac.system.js → p-ed07ff66.system.js} +2 -2
  154. package/dist/calcite/{p-9d7012c9.system.entry.js → p-f0531ad2.system.entry.js} +2 -2
  155. package/dist/calcite/{p-c3ac70c2.system.js → p-f209169d.system.js} +2 -2
  156. package/dist/calcite/{p-761cebaa.entry.js → p-f250629e.entry.js} +2 -2
  157. package/dist/calcite/{p-c6b25491.system.js → p-f4183c84.system.js} +2 -2
  158. package/dist/calcite/{p-f9a8c24c.system.entry.js → p-f4fb89da.system.entry.js} +2 -2
  159. package/dist/calcite/{p-6bc7181c.entry.js → p-f5b1ac39.entry.js} +2 -2
  160. package/dist/calcite/{p-727de4ad.entry.js → p-f7c9fd29.entry.js} +2 -2
  161. package/dist/calcite/{p-6a7c5f25.system.js → p-f7fe6f14.system.js} +1 -1
  162. package/dist/calcite/{p-80f4d789.entry.js → p-f813f845.entry.js} +2 -2
  163. package/dist/calcite/{p-2ff0fd6e.entry.js → p-f820c1f7.entry.js} +2 -2
  164. package/dist/calcite/p-f9e598a5.system.entry.js +6 -0
  165. package/dist/calcite/{p-bace486b.entry.js → p-fa9a7c88.entry.js} +2 -2
  166. package/dist/calcite/{p-fb7a498d.entry.js → p-fd919921.entry.js} +2 -2
  167. package/dist/calcite/{p-2e8a6522.entry.js → p-ffafd164.entry.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-f4d1b19f.js → ExpandToggle-8d77ed80.js} +5 -5
  169. package/dist/cjs/{Heading-595eec32.js → Heading-c183b130.js} +2 -2
  170. package/dist/cjs/{array-da3b1aac.js → array-ff5ecc18.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +47 -40
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +33 -22
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +3 -3
  229. package/dist/cjs/{conditionalSlot-9045ea80.js → conditionalSlot-e54c5ece.js} +3 -3
  230. package/dist/cjs/{debounce-e4d493a3.js → debounce-44a374d8.js} +1 -1
  231. package/dist/cjs/{dom-c186f900.js → dom-c14cce52.js} +2 -2
  232. package/dist/cjs/{forIn-ba13c5e9.js → forIn-f67d03aa.js} +2 -2
  233. package/dist/cjs/{form-35884dfb.js → form-54213ba8.js} +3 -3
  234. package/dist/cjs/{guid-917ae671.js → guid-27d14f10.js} +1 -1
  235. package/dist/cjs/{index-9fbcf022.js → index-2682cc08.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-acd26eca.js → interactive-d07e0f77.js} +1 -1
  238. package/dist/cjs/{interfaces-0b07da80.js → interfaces-85649141.js} +1 -1
  239. package/dist/cjs/{label-81a5b777.js → label-8cb293d7.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +3 -3
  241. package/dist/cjs/{locale-a1e7c852.js → locale-99861e29.js} +2 -2
  242. package/dist/cjs/{math-7751f54b.js → math-d962343a.js} +1 -1
  243. package/dist/cjs/{number-95a6db8e.js → number-737bdd7b.js} +1 -1
  244. package/dist/cjs/{observers-7f1aab22.js → observers-dd373ae1.js} +1 -1
  245. package/dist/cjs/{popper-434527fb.js → popper-fa2d0513.js} +2 -2
  246. package/dist/cjs/{resources-3bfc0e3f.js → resources-6f57c1bc.js} +3 -3
  247. package/dist/cjs/{resources-e1cdc400.js → resources-91e16f8f.js} +5 -5
  248. package/dist/cjs/{resources-ce5fad88.js → resources-9a4adf78.js} +1 -1
  249. package/dist/cjs/{resources-1e6720b0.js → resources-d916be8e.js} +1 -1
  250. package/dist/cjs/{sortable.esm-7444a53f.js → sortable.esm-f8ced0ce.js} +1 -1
  251. package/dist/cjs/{utils-bb4fbb11.js → utils-3395a675.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +1 -1
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +1 -1
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +1 -1
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/popover.js +1 -1
  373. package/dist/collection/components/popover/resources.js +1 -1
  374. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  375. package/dist/collection/components/progress/progress.js +1 -1
  376. package/dist/collection/components/radio-button/radio-button.js +1 -1
  377. package/dist/collection/components/radio-button/resources.js +1 -1
  378. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  379. package/dist/collection/components/radio-group/interfaces.js +1 -1
  380. package/dist/collection/components/radio-group/radio-group.js +1 -1
  381. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  382. package/dist/collection/components/radio-group-item/resources.js +1 -1
  383. package/dist/collection/components/rating/rating.js +1 -1
  384. package/dist/collection/components/rating/resources.js +1 -1
  385. package/dist/collection/components/scrim/resources.js +1 -1
  386. package/dist/collection/components/scrim/scrim.js +1 -1
  387. package/dist/collection/components/select/resources.js +1 -1
  388. package/dist/collection/components/select/select.js +1 -1
  389. package/dist/collection/components/shell/resources.js +1 -1
  390. package/dist/collection/components/shell/shell.js +1 -1
  391. package/dist/collection/components/shell-center-row/resources.js +1 -1
  392. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  393. package/dist/collection/components/shell-panel/resources.js +1 -1
  394. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  395. package/dist/collection/components/slider/slider.js +1 -1
  396. package/dist/collection/components/sortable-list/resources.js +1 -1
  397. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  398. package/dist/collection/components/split-button/resources.js +1 -1
  399. package/dist/collection/components/split-button/split-button.js +1 -1
  400. package/dist/collection/components/stepper/stepper.js +1 -1
  401. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  402. package/dist/collection/components/switch/switch.js +1 -1
  403. package/dist/collection/components/tab/interfaces.js +1 -1
  404. package/dist/collection/components/tab/tab.js +4 -4
  405. package/dist/collection/components/tab-nav/tab-nav.js +44 -10
  406. package/dist/collection/components/tab-title/tab-title.js +43 -13
  407. package/dist/collection/components/tabs/interfaces.js +1 -1
  408. package/dist/collection/components/tabs/resources.js +1 -1
  409. package/dist/collection/components/tabs/tabs.js +1 -1
  410. package/dist/collection/components/tile/resources.js +1 -1
  411. package/dist/collection/components/tile/tile.js +1 -1
  412. package/dist/collection/components/tile-select/interfaces.js +1 -1
  413. package/dist/collection/components/tile-select/resources.js +1 -1
  414. package/dist/collection/components/tile-select/tile-select.js +1 -1
  415. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  416. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  417. package/dist/collection/components/time-picker/resources.js +1 -1
  418. package/dist/collection/components/time-picker/time-picker.js +1 -1
  419. package/dist/collection/components/tip/resources.js +1 -1
  420. package/dist/collection/components/tip/tip.js +1 -1
  421. package/dist/collection/components/tip-group/tip-group.js +1 -1
  422. package/dist/collection/components/tip-manager/resources.js +1 -1
  423. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  424. package/dist/collection/components/tooltip/resources.js +1 -1
  425. package/dist/collection/components/tooltip/tooltip.js +1 -1
  426. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  427. package/dist/collection/components/tree/interfaces.js +1 -1
  428. package/dist/collection/components/tree/tree.js +1 -1
  429. package/dist/collection/components/tree-item/interfaces.js +1 -1
  430. package/dist/collection/components/tree-item/resources.js +1 -1
  431. package/dist/collection/components/tree-item/tree-item.js +1 -1
  432. package/dist/collection/components/value-list/resources.js +1 -1
  433. package/dist/collection/components/value-list/value-list.js +1 -1
  434. package/dist/collection/components/value-list-item/resources.js +1 -1
  435. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  436. package/dist/collection/utils/array.js +1 -1
  437. package/dist/collection/utils/conditionalSlot.js +1 -1
  438. package/dist/collection/utils/date.js +1 -1
  439. package/dist/collection/utils/dom.js +1 -1
  440. package/dist/collection/utils/filter.js +1 -1
  441. package/dist/collection/utils/form.js +1 -1
  442. package/dist/collection/utils/globalAttributes.js +1 -1
  443. package/dist/collection/utils/guid.js +1 -1
  444. package/dist/collection/utils/interactive.js +1 -1
  445. package/dist/collection/utils/key.js +1 -1
  446. package/dist/collection/utils/label.js +1 -1
  447. package/dist/collection/utils/locale.js +1 -1
  448. package/dist/collection/utils/math.js +1 -1
  449. package/dist/collection/utils/number.js +1 -1
  450. package/dist/collection/utils/observers.js +1 -1
  451. package/dist/collection/utils/popper.js +1 -1
  452. package/dist/collection/utils/resources.js +1 -1
  453. package/dist/collection/utils/time.js +1 -1
  454. package/dist/components/ExpandToggle.js +1 -1
  455. package/dist/components/Heading.js +1 -1
  456. package/dist/components/action-group.js +1 -1
  457. package/dist/components/action-menu.js +1 -1
  458. package/dist/components/action.js +1 -1
  459. package/dist/components/array.js +1 -1
  460. package/dist/components/button.js +1 -1
  461. package/dist/components/calcite-accordion-item.js +1 -1
  462. package/dist/components/calcite-accordion.js +1 -1
  463. package/dist/components/calcite-action-bar.js +1 -1
  464. package/dist/components/calcite-action-group.js +1 -1
  465. package/dist/components/calcite-action-menu.js +1 -1
  466. package/dist/components/calcite-action-pad.js +1 -1
  467. package/dist/components/calcite-action.js +1 -1
  468. package/dist/components/calcite-alert.js +1 -1
  469. package/dist/components/calcite-avatar.js +1 -1
  470. package/dist/components/calcite-block-section.js +1 -1
  471. package/dist/components/calcite-block.js +1 -1
  472. package/dist/components/calcite-button.js +1 -1
  473. package/dist/components/calcite-card.js +1 -1
  474. package/dist/components/calcite-checkbox.js +1 -1
  475. package/dist/components/calcite-chip.js +1 -1
  476. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  477. package/dist/components/calcite-color-picker-swatch.js +1 -1
  478. package/dist/components/calcite-color-picker.js +1 -1
  479. package/dist/components/calcite-combobox-item-group.js +1 -1
  480. package/dist/components/calcite-combobox-item.js +1 -1
  481. package/dist/components/calcite-combobox.js +1 -1
  482. package/dist/components/calcite-date-picker-day.js +1 -1
  483. package/dist/components/calcite-date-picker-month-header.js +1 -1
  484. package/dist/components/calcite-date-picker-month.js +1 -1
  485. package/dist/components/calcite-date-picker.js +1 -1
  486. package/dist/components/calcite-dropdown-group.js +1 -1
  487. package/dist/components/calcite-dropdown-item.js +1 -1
  488. package/dist/components/calcite-dropdown.js +1 -1
  489. package/dist/components/calcite-fab.js +1 -1
  490. package/dist/components/calcite-filter.js +1 -1
  491. package/dist/components/calcite-flow.js +1 -1
  492. package/dist/components/calcite-graph.js +1 -1
  493. package/dist/components/calcite-handle.js +1 -1
  494. package/dist/components/calcite-icon.js +1 -1
  495. package/dist/components/calcite-inline-editable.js +1 -1
  496. package/dist/components/calcite-input-date-picker.js +1 -1
  497. package/dist/components/calcite-input-message.js +1 -1
  498. package/dist/components/calcite-input-time-picker.js +1 -1
  499. package/dist/components/calcite-input.js +1 -1
  500. package/dist/components/calcite-label.js +1 -1
  501. package/dist/components/calcite-link.js +1 -1
  502. package/dist/components/calcite-list-item-group.js +1 -1
  503. package/dist/components/calcite-list-item.js +1 -1
  504. package/dist/components/calcite-list.js +1 -1
  505. package/dist/components/calcite-loader.js +1 -1
  506. package/dist/components/calcite-modal.js +1 -1
  507. package/dist/components/calcite-notice.js +1 -1
  508. package/dist/components/calcite-option-group.js +1 -1
  509. package/dist/components/calcite-option.js +1 -1
  510. package/dist/components/calcite-pagination.js +1 -1
  511. package/dist/components/calcite-panel.js +1 -1
  512. package/dist/components/calcite-pick-list-group.js +1 -1
  513. package/dist/components/calcite-pick-list-item.js +1 -1
  514. package/dist/components/calcite-pick-list.js +1 -1
  515. package/dist/components/calcite-popover-manager.js +1 -1
  516. package/dist/components/calcite-popover.js +1 -1
  517. package/dist/components/calcite-progress.js +1 -1
  518. package/dist/components/calcite-radio-button-group.js +1 -1
  519. package/dist/components/calcite-radio-button.js +1 -1
  520. package/dist/components/calcite-radio-group-item.js +1 -1
  521. package/dist/components/calcite-radio-group.js +1 -1
  522. package/dist/components/calcite-rating.js +1 -1
  523. package/dist/components/calcite-scrim.js +1 -1
  524. package/dist/components/calcite-select.js +1 -1
  525. package/dist/components/calcite-shell-center-row.js +1 -1
  526. package/dist/components/calcite-shell-panel.js +1 -1
  527. package/dist/components/calcite-shell.js +1 -1
  528. package/dist/components/calcite-slider.js +1 -1
  529. package/dist/components/calcite-sortable-list.js +1 -1
  530. package/dist/components/calcite-split-button.js +1 -1
  531. package/dist/components/calcite-stepper-item.js +1 -1
  532. package/dist/components/calcite-stepper.js +1 -1
  533. package/dist/components/calcite-switch.js +1 -1
  534. package/dist/components/calcite-tab-nav.js +1 -1
  535. package/dist/components/calcite-tab-title.js +1 -1
  536. package/dist/components/calcite-tab.js +1 -1
  537. package/dist/components/calcite-tabs.js +1 -1
  538. package/dist/components/calcite-tile-select-group.js +1 -1
  539. package/dist/components/calcite-tile-select.js +1 -1
  540. package/dist/components/calcite-tile.js +1 -1
  541. package/dist/components/calcite-time-picker.js +1 -1
  542. package/dist/components/calcite-tip-group.js +1 -1
  543. package/dist/components/calcite-tip-manager.js +1 -1
  544. package/dist/components/calcite-tip.js +1 -1
  545. package/dist/components/calcite-tooltip-manager.js +1 -1
  546. package/dist/components/calcite-tooltip.js +1 -1
  547. package/dist/components/calcite-tree-item.js +1 -1
  548. package/dist/components/calcite-tree.js +1 -1
  549. package/dist/components/calcite-value-list-item.js +1 -1
  550. package/dist/components/calcite-value-list.js +1 -1
  551. package/dist/components/checkbox.js +1 -1
  552. package/dist/components/chip.js +1 -1
  553. package/dist/components/color-picker-hex-input.js +1 -1
  554. package/dist/components/color-picker-swatch.js +40 -33
  555. package/dist/components/conditionalSlot.js +1 -1
  556. package/dist/components/date-picker-day.js +1 -1
  557. package/dist/components/date-picker-month-header.js +1 -1
  558. package/dist/components/date-picker-month.js +1 -1
  559. package/dist/components/date-picker.js +1 -1
  560. package/dist/components/date.js +1 -1
  561. package/dist/components/debounce.js +1 -1
  562. package/dist/components/dom.js +1 -1
  563. package/dist/components/dropdown.js +1 -1
  564. package/dist/components/filter.js +1 -1
  565. package/dist/components/forIn.js +1 -1
  566. package/dist/components/form.js +1 -1
  567. package/dist/components/graph.js +1 -1
  568. package/dist/components/guid.js +1 -1
  569. package/dist/components/handle.js +1 -1
  570. package/dist/components/icon.js +1 -1
  571. package/dist/components/index.js +1 -1
  572. package/dist/components/input.js +1 -1
  573. package/dist/components/interactive.js +1 -1
  574. package/dist/components/interfaces.js +1 -1
  575. package/dist/components/interfaces2.js +1 -1
  576. package/dist/components/label.js +1 -1
  577. package/dist/components/label2.js +1 -1
  578. package/dist/components/link.js +1 -1
  579. package/dist/components/loader.js +1 -1
  580. package/dist/components/locale.js +1 -1
  581. package/dist/components/math.js +1 -1
  582. package/dist/components/number.js +1 -1
  583. package/dist/components/observers.js +1 -1
  584. package/dist/components/pick-list-item.js +1 -1
  585. package/dist/components/popover.js +1 -1
  586. package/dist/components/popper.js +1 -1
  587. package/dist/components/progress.js +1 -1
  588. package/dist/components/resources.js +1 -1
  589. package/dist/components/resources2.js +1 -1
  590. package/dist/components/resources3.js +1 -1
  591. package/dist/components/resources4.js +1 -1
  592. package/dist/components/resources5.js +1 -1
  593. package/dist/components/scrim.js +1 -1
  594. package/dist/components/shared-list-render.js +1 -1
  595. package/dist/components/sortable.esm.js +1 -1
  596. package/dist/components/switch.js +1 -1
  597. package/dist/components/tab-nav.js +15 -9
  598. package/dist/components/tab-title.js +15 -10
  599. package/dist/components/tab.js +3 -3
  600. package/dist/components/tabs.js +1 -1
  601. package/dist/components/tile.js +1 -1
  602. package/dist/components/time-picker.js +1 -1
  603. package/dist/components/tooltip-manager.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +70 -52
  607. package/dist/esm/{ExpandToggle-e2dffec8.js → ExpandToggle-dead8cc0.js} +5 -5
  608. package/dist/esm/{Heading-6e61243c.js → Heading-66e4f244.js} +2 -2
  609. package/dist/esm/{array-88d10ef6.js → array-233a5666.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +8 -8
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +4 -4
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +7 -7
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +47 -40
  624. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +2 -2
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +11 -11
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +6 -6
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +33 -22
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +3 -3
  668. package/dist/esm/{conditionalSlot-9f13ad46.js → conditionalSlot-22e140ed.js} +3 -3
  669. package/dist/esm/{debounce-94d36ab4.js → debounce-7841a27d.js} +1 -1
  670. package/dist/esm/{dom-5ddb719b.js → dom-bf2137c4.js} +2 -2
  671. package/dist/esm/{forIn-515aa600.js → forIn-66cdd9fa.js} +2 -2
  672. package/dist/esm/{form-3868ef25.js → form-ad419556.js} +3 -3
  673. package/dist/esm/{guid-f1df9412.js → guid-07e4437f.js} +1 -1
  674. package/dist/esm/{index-8b7eaa08.js → index-04070095.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-0a1d5c5e.js → interactive-f2a72107.js} +1 -1
  677. package/dist/esm/{interfaces-e7b23603.js → interfaces-9074b00a.js} +1 -1
  678. package/dist/esm/{label-2517687e.js → label-2594da30.js} +2 -2
  679. package/dist/esm/loader.js +3 -3
  680. package/dist/esm/{locale-5f97403f.js → locale-e7679079.js} +2 -2
  681. package/dist/esm/{math-cbd27ba0.js → math-6ba7bca3.js} +1 -1
  682. package/dist/esm/{number-0e14de45.js → number-43289dab.js} +1 -1
  683. package/dist/esm/{observers-3ac68c37.js → observers-eba2b2b9.js} +1 -1
  684. package/dist/esm/{popper-980438bd.js → popper-e35a6398.js} +2 -2
  685. package/dist/esm/{resources-8b391eab.js → resources-16f8890a.js} +1 -1
  686. package/dist/esm/{resources-6c3fb150.js → resources-70e044df.js} +3 -3
  687. package/dist/esm/{resources-0cf072a8.js → resources-c651aa73.js} +5 -5
  688. package/dist/esm/{resources-f557d18e.js → resources-d8d86fdc.js} +1 -1
  689. package/dist/esm/{sortable.esm-7bce5868.js → sortable.esm-a64af163.js} +1 -1
  690. package/dist/esm/{utils-d947fd14.js → utils-1fcc8110.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-e2dffec8.js → ExpandToggle-dead8cc0.js} +2 -2
  692. package/dist/esm-es5/{Heading-6e61243c.js → Heading-66e4f244.js} +2 -2
  693. package/dist/esm-es5/{array-88d10ef6.js → array-233a5666.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
  698. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +2 -2
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-9f13ad46.js → conditionalSlot-22e140ed.js} +2 -2
  753. package/dist/esm-es5/{debounce-94d36ab4.js → debounce-7841a27d.js} +1 -1
  754. package/dist/esm-es5/{dom-5ddb719b.js → dom-bf2137c4.js} +2 -2
  755. package/dist/esm-es5/{forIn-515aa600.js → forIn-66cdd9fa.js} +2 -2
  756. package/dist/esm-es5/{form-3868ef25.js → form-ad419556.js} +2 -2
  757. package/dist/esm-es5/{guid-f1df9412.js → guid-07e4437f.js} +1 -1
  758. package/dist/esm-es5/{index-8b7eaa08.js → index-04070095.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-0a1d5c5e.js → interactive-f2a72107.js} +1 -1
  761. package/dist/esm-es5/{interfaces-e7b23603.js → interfaces-9074b00a.js} +1 -1
  762. package/dist/esm-es5/{label-2517687e.js → label-2594da30.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/{locale-5f97403f.js → locale-e7679079.js} +2 -2
  765. package/dist/esm-es5/{math-cbd27ba0.js → math-6ba7bca3.js} +1 -1
  766. package/dist/esm-es5/{number-0e14de45.js → number-43289dab.js} +1 -1
  767. package/dist/esm-es5/{observers-3ac68c37.js → observers-eba2b2b9.js} +1 -1
  768. package/dist/esm-es5/{popper-980438bd.js → popper-e35a6398.js} +2 -2
  769. package/dist/esm-es5/{resources-8b391eab.js → resources-16f8890a.js} +1 -1
  770. package/dist/esm-es5/{resources-6c3fb150.js → resources-70e044df.js} +2 -2
  771. package/dist/esm-es5/{resources-0cf072a8.js → resources-c651aa73.js} +2 -2
  772. package/dist/esm-es5/{resources-f557d18e.js → resources-d8d86fdc.js} +1 -1
  773. package/dist/esm-es5/{sortable.esm-7bce5868.js → sortable.esm-a64af163.js} +1 -1
  774. package/dist/esm-es5/{utils-d947fd14.js → utils-1fcc8110.js} +1 -1
  775. package/dist/extras/docs-json.json +9 -4
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/tab/tab.d.ts +1 -1
  781. package/dist/types/components/tab-nav/tab-nav.d.ts +6 -1
  782. package/dist/types/components/tab-title/tab-title.d.ts +8 -2
  783. package/dist/types/preact.d.ts +4 -2
  784. package/hydrate/index.js +70 -52
  785. package/package.json +4 -4
  786. package/dist/calcite/p-1ce25c89.entry.js +0 -6
  787. package/dist/calcite/p-319dddbf.system.entry.js +0 -6
  788. package/dist/calcite/p-483e8b0e.entry.js +0 -6
  789. package/dist/calcite/p-4e3e0933.entry.js +0 -6
  790. package/dist/calcite/p-a66b6149.system.entry.js +0 -6
  791. package/dist/calcite/p-ac9f7686.system.js +0 -6
  792. package/dist/calcite/p-b52f681e.js +0 -6
  793. package/dist/calcite/p-baecde92.js +0 -6
  794. package/dist/calcite/p-dbaa0856.entry.js +0 -6
  795. package/dist/calcite/p-fcdb2b12.js +0 -6
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.437
4
+ * v1.0.0-next.438
5
5
  */
6
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)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -26,7 +26,7 @@ export declare class Tab {
26
26
  * @internal
27
27
  */
28
28
  calciteTabRegister: EventEmitter;
29
- tabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
29
+ internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
30
30
  /**
31
31
  * Return the index of this tab within the tab array
32
32
  */
@@ -42,17 +42,22 @@ export declare class TabNav {
42
42
  render(): VNode;
43
43
  focusPreviousTabHandler(e: CustomEvent): void;
44
44
  focusNextTabHandler(e: CustomEvent): void;
45
+ internalActivateTabHandler(e: CustomEvent<TabChangeEventDetail>): void;
45
46
  activateTabHandler(e: CustomEvent<TabChangeEventDetail>): void;
46
47
  /**
47
48
  * Check for active tabs on register and update selected
48
49
  */
49
50
  updateTabTitles(e: CustomEvent<TabID>): void;
50
- globalTabChangeHandler(e: CustomEvent<TabChangeEventDetail>): void;
51
+ globalInternalTabChangeHandler(e: CustomEvent<TabChangeEventDetail>): void;
51
52
  /**
52
53
  * Emitted when the active tab changes
53
54
  * @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
54
55
  */
55
56
  calciteTabChange: EventEmitter<TabChangeEventDetail>;
57
+ /**
58
+ * @internal
59
+ */
60
+ calciteInternalTabChange: EventEmitter<TabChangeEventDetail>;
56
61
  selectedTab: TabID;
57
62
  selectedTabEl: HTMLCalciteTabTitleElement;
58
63
  parentTabsEl: HTMLCalciteTabsElement;
@@ -39,7 +39,7 @@ export declare class TabTitle implements InteractiveComponent {
39
39
  render(): VNode;
40
40
  componentDidLoad(): Promise<void>;
41
41
  componentDidRender(): void;
42
- tabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
42
+ internalTabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
43
43
  onClick(): void;
44
44
  keyDownHandler(e: KeyboardEvent): void;
45
45
  /**
@@ -47,6 +47,12 @@ export declare class TabTitle implements InteractiveComponent {
47
47
  * @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
48
48
  */
49
49
  calciteTabsActivate: EventEmitter<TabChangeEventDetail>;
50
+ /**
51
+ * Fires when a specific tab is activated (`event.details`)
52
+ * @see [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)
53
+ * @internal
54
+ */
55
+ calciteInternalTabsActivate: EventEmitter<TabChangeEventDetail>;
50
56
  /**
51
57
  * @internal
52
58
  */
@@ -80,6 +86,6 @@ export declare class TabTitle implements InteractiveComponent {
80
86
  parentTabsEl: HTMLCalciteTabsElement;
81
87
  updateHasText(): void;
82
88
  setupTextContentObserver(): void;
83
- emitActiveTab(): void;
89
+ emitActiveTab(userTriggered?: boolean): void;
84
90
  guid: string;
85
91
  }
@@ -309,12 +309,14 @@ declare module "preact/src/jsx" {
309
309
  "oncalciteTabRegister"?: (event: CustomEvent<any>) => void;
310
310
  }
311
311
 
312
- "calcite-tab-nav": Omit<JSX.CalciteTabNav, "onCalciteTabChange"> & JSXInternal.HTMLAttributes<HTMLCalciteTabNavElement> & {
312
+ "calcite-tab-nav": Omit<JSX.CalciteTabNav, "onCalciteTabChange" | "onCalciteInternalTabChange"> & JSXInternal.HTMLAttributes<HTMLCalciteTabNavElement> & {
313
313
  "oncalciteTabChange"?: (event: CustomEvent<any>) => void;
314
+ "oncalciteInternalTabChange"?: (event: CustomEvent<any>) => void;
314
315
  }
315
316
 
316
- "calcite-tab-title": Omit<JSX.CalciteTabTitle, "onCalciteTabsActivate" | "onCalciteTabsFocusNext" | "onCalciteTabsFocusPrevious" | "onCalciteTabTitleRegister"> & JSXInternal.HTMLAttributes<HTMLCalciteTabTitleElement> & {
317
+ "calcite-tab-title": Omit<JSX.CalciteTabTitle, "onCalciteTabsActivate" | "onCalciteInternalTabsActivate" | "onCalciteTabsFocusNext" | "onCalciteTabsFocusPrevious" | "onCalciteTabTitleRegister"> & JSXInternal.HTMLAttributes<HTMLCalciteTabTitleElement> & {
317
318
  "oncalciteTabsActivate"?: (event: CustomEvent<any>) => void;
319
+ "oncalciteInternalTabsActivate"?: (event: CustomEvent<any>) => void;
318
320
  "oncalciteTabsFocusNext"?: (event: CustomEvent<any>) => void;
319
321
  "oncalciteTabsFocusPrevious"?: (event: CustomEvent<any>) => void;
320
322
  "oncalciteTabTitleRegister"?: (event: CustomEvent<any>) => void;
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.437
4
+ * v1.0.0-next.438
5
5
  */
6
6
  'use strict';
7
7
 
@@ -11705,7 +11705,6 @@ models.forEach(fromModel => {
11705
11705
  });
11706
11706
  var colorConvert = convert;
11707
11707
 
11708
- const _slice = [].slice;
11709
11708
  const skippedModels = [// To be honest, I don't really feel like keyword belongs in color convert, but eh.
11710
11709
  'keyword', // Gray conflicts with some method names, and has its own method defined.
11711
11710
  'gray', // Shouldn't really be in color-convert either...
@@ -11713,7 +11712,7 @@ const skippedModels = [// To be honest, I don't really feel like keyword belongs
11713
11712
  const hashedModelKeys = {};
11714
11713
 
11715
11714
  for (const model of Object.keys(colorConvert)) {
11716
- hashedModelKeys[_slice.call(colorConvert[model].labels).sort().join('')] = model;
11715
+ hashedModelKeys[[...colorConvert[model].labels].sort().join('')] = model;
11717
11716
  }
11718
11717
 
11719
11718
  const limiters = {};
@@ -11741,7 +11740,7 @@ function Color(object, model) {
11741
11740
  this.valpha = 1;
11742
11741
  } else if (object instanceof Color) {
11743
11742
  this.model = object.model;
11744
- this.color = object.color.slice();
11743
+ this.color = [...object.color];
11745
11744
  this.valpha = object.valpha;
11746
11745
  } else if (typeof object === 'string') {
11747
11746
  const result = colorString.get(object);
@@ -11757,9 +11756,7 @@ function Color(object, model) {
11757
11756
  } else if (object.length > 0) {
11758
11757
  this.model = model || 'rgb';
11759
11758
  channels = colorConvert[this.model].channels;
11760
-
11761
- const newArray = _slice.call(object, 0, channels);
11762
-
11759
+ const newArray = Array.prototype.slice.call(object, 0, channels);
11763
11760
  this.color = zeroArray(newArray, channels);
11764
11761
  this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;
11765
11762
  } else if (typeof object === 'number') {
@@ -11783,7 +11780,9 @@ function Color(object, model) {
11783
11780
  }
11784
11781
 
11785
11782
  this.model = hashedModelKeys[hashedKeys];
11786
- const labels = colorConvert[this.model].labels;
11783
+ const {
11784
+ labels
11785
+ } = colorConvert[this.model];
11787
11786
  const color = [];
11788
11787
 
11789
11788
  for (i = 0; i < labels.length; i++) {
@@ -11825,24 +11824,28 @@ Color.prototype = {
11825
11824
  string(places) {
11826
11825
  let self = this.model in colorString.to ? this : this.rgb();
11827
11826
  self = self.round(typeof places === 'number' ? places : 1);
11828
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
11827
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
11829
11828
  return colorString.to[self.model](args);
11830
11829
  },
11831
11830
 
11832
11831
  percentString(places) {
11833
11832
  const self = this.rgb().round(typeof places === 'number' ? places : 1);
11834
- const args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);
11833
+ const args = self.valpha === 1 ? self.color : [...self.color, this.valpha];
11835
11834
  return colorString.to.rgb.percent(args);
11836
11835
  },
11837
11836
 
11838
11837
  array() {
11839
- return this.valpha === 1 ? this.color.slice() : this.color.concat(this.valpha);
11838
+ return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
11840
11839
  },
11841
11840
 
11842
11841
  object() {
11843
11842
  const result = {};
11844
- const channels = colorConvert[this.model].channels;
11845
- const labels = colorConvert[this.model].labels;
11843
+ const {
11844
+ channels
11845
+ } = colorConvert[this.model];
11846
+ const {
11847
+ labels
11848
+ } = colorConvert[this.model];
11846
11849
 
11847
11850
  for (let i = 0; i < channels; i++) {
11848
11851
  result[labels[i]] = this.color[i];
@@ -11883,12 +11886,12 @@ Color.prototype = {
11883
11886
 
11884
11887
  round(places) {
11885
11888
  places = Math.max(places || 0, 0);
11886
- return new Color(this.color.map(roundToPlace(places)).concat(this.valpha), this.model);
11889
+ return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);
11887
11890
  },
11888
11891
 
11889
11892
  alpha(value) {
11890
- if (arguments.length > 0) {
11891
- return new Color(this.color.concat(Math.max(0, Math.min(1, value))), this.model);
11893
+ if (value !== undefined) {
11894
+ return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);
11892
11895
  }
11893
11896
 
11894
11897
  return this.valpha;
@@ -11911,15 +11914,15 @@ Color.prototype = {
11911
11914
  magenta: getset('cmyk', 1, maxfn(100)),
11912
11915
  yellow: getset('cmyk', 2, maxfn(100)),
11913
11916
  black: getset('cmyk', 3, maxfn(100)),
11914
- x: getset('xyz', 0, maxfn(100)),
11917
+ x: getset('xyz', 0, maxfn(95.047)),
11915
11918
  y: getset('xyz', 1, maxfn(100)),
11916
- z: getset('xyz', 2, maxfn(100)),
11919
+ z: getset('xyz', 2, maxfn(108.833)),
11917
11920
  l: getset('lab', 0, maxfn(100)),
11918
11921
  a: getset('lab', 1),
11919
11922
  b: getset('lab', 2),
11920
11923
 
11921
11924
  keyword(value) {
11922
- if (arguments.length > 0) {
11925
+ if (value !== undefined) {
11923
11926
  return new Color(value);
11924
11927
  }
11925
11928
 
@@ -11927,7 +11930,7 @@ Color.prototype = {
11927
11930
  },
11928
11931
 
11929
11932
  hex(value) {
11930
- if (arguments.length > 0) {
11933
+ if (value !== undefined) {
11931
11934
  return new Color(value);
11932
11935
  }
11933
11936
 
@@ -11935,7 +11938,7 @@ Color.prototype = {
11935
11938
  },
11936
11939
 
11937
11940
  hexa(value) {
11938
- if (arguments.length > 0) {
11941
+ if (value !== undefined) {
11939
11942
  return new Color(value);
11940
11943
  }
11941
11944
 
@@ -11961,7 +11964,7 @@ Color.prototype = {
11961
11964
 
11962
11965
  for (const [i, element] of rgb.entries()) {
11963
11966
  const chan = element / 255;
11964
- lum[i] = chan <= 0.03928 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
11967
+ lum[i] = chan <= 0.04045 ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;
11965
11968
  }
11966
11969
 
11967
11970
  return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
@@ -11980,9 +11983,10 @@ Color.prototype = {
11980
11983
  },
11981
11984
 
11982
11985
  level(color2) {
11986
+ // https://www.w3.org/TR/WCAG/#contrast-enhanced
11983
11987
  const contrastRatio = this.contrast(color2);
11984
11988
 
11985
- if (contrastRatio >= 7.1) {
11989
+ if (contrastRatio >= 7) {
11986
11990
  return 'AAA';
11987
11991
  }
11988
11992
 
@@ -11992,7 +11996,7 @@ Color.prototype = {
11992
11996
  isDark() {
11993
11997
  // YIQ equation from http://24ways.org/2010/calculating-color-contrast
11994
11998
  const rgb = this.rgb().color;
11995
- const yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
11999
+ const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
11996
12000
  return yiq < 128;
11997
12001
  },
11998
12002
 
@@ -12094,25 +12098,28 @@ for (const model of Object.keys(colorConvert)) {
12094
12098
  continue;
12095
12099
  }
12096
12100
 
12097
- const channels = colorConvert[model].channels; // Conversion methods
12101
+ const {
12102
+ channels
12103
+ } = colorConvert[model]; // Conversion methods
12098
12104
 
12099
- Color.prototype[model] = function () {
12105
+ Color.prototype[model] = function (...args) {
12100
12106
  if (this.model === model) {
12101
12107
  return new Color(this);
12102
12108
  }
12103
12109
 
12104
- if (arguments.length > 0) {
12105
- return new Color(arguments, model);
12110
+ if (args.length > 0) {
12111
+ return new Color(args, model);
12106
12112
  }
12107
12113
 
12108
- const newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;
12109
- return new Color(assertArray(colorConvert[this.model][model].raw(this.color)).concat(newAlpha), model);
12114
+ return new Color([...assertArray(colorConvert[this.model][model].raw(this.color)), this.valpha], model);
12110
12115
  }; // 'static' construction methods
12111
12116
 
12112
12117
 
12113
- Color[model] = function (color) {
12118
+ Color[model] = function (...args) {
12119
+ let color = args[0];
12120
+
12114
12121
  if (typeof color === 'number') {
12115
- color = zeroArray(_slice.call(arguments), channels);
12122
+ color = zeroArray(args, channels);
12116
12123
  }
12117
12124
 
12118
12125
  return new Color(color, model);
@@ -12140,7 +12147,7 @@ function getset(model, channel, modifier) {
12140
12147
  return function (value) {
12141
12148
  let result;
12142
12149
 
12143
- if (arguments.length > 0) {
12150
+ if (value !== undefined) {
12144
12151
  if (modifier) {
12145
12152
  value = modifier(value);
12146
12153
  }
@@ -29886,7 +29893,7 @@ class Tab {
29886
29893
  // Event Listeners
29887
29894
  //
29888
29895
  //--------------------------------------------------------------------------
29889
- tabChangeHandler(event) {
29896
+ internalTabChangeHandler(event) {
29890
29897
  const targetTabsEl = event
29891
29898
  .composedPath()
29892
29899
  .find((el) => el.tagName === "CALCITE-TABS");
@@ -29940,7 +29947,7 @@ class Tab {
29940
29947
  "getTabIndex": [64],
29941
29948
  "updateAriaInfo": [64]
29942
29949
  },
29943
- "$listeners$": [[16, "calciteTabChange", "tabChangeHandler"]],
29950
+ "$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"]],
29944
29951
  "$lazyBundleId$": "-",
29945
29952
  "$attrsToReflect$": [["tab", "tab"], ["active", "active"], ["scale", "scale"]]
29946
29953
  }; }
@@ -29955,6 +29962,7 @@ class TabNav {
29955
29962
  constructor(hostRef) {
29956
29963
  registerInstance(this, hostRef);
29957
29964
  this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
29965
+ this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 7);
29958
29966
  /** @internal Parent tabs component scale value */
29959
29967
  this.scale = "m";
29960
29968
  /** @internal Parent tabs component layout value */
@@ -29983,7 +29991,7 @@ class TabNav {
29983
29991
  this.selectedTab !== null) {
29984
29992
  localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTab));
29985
29993
  }
29986
- this.calciteTabChange.emit({
29994
+ this.calciteInternalTabChange.emit({
29987
29995
  tab: this.selectedTab
29988
29996
  });
29989
29997
  this.selectedTabEl = await this.getTabTitleById(this.selectedTab);
@@ -30013,9 +30021,6 @@ class TabNav {
30013
30021
  if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
30014
30022
  const storedTab = JSON.parse(localStorage.getItem(storageKey));
30015
30023
  this.selectedTab = storedTab;
30016
- this.calciteTabChange.emit({
30017
- tab: this.selectedTab
30018
- });
30019
30024
  }
30020
30025
  }
30021
30026
  componentWillRender() {
@@ -30035,7 +30040,7 @@ class TabNav {
30035
30040
  this.tabTitles.every((title) => !title.active) &&
30036
30041
  !this.selectedTab) {
30037
30042
  this.tabTitles[0].getTabIdentifier().then((tab) => {
30038
- this.calciteTabChange.emit({
30043
+ this.calciteInternalTabChange.emit({
30039
30044
  tab
30040
30045
  });
30041
30046
  });
@@ -30068,13 +30073,20 @@ class TabNav {
30068
30073
  e.stopPropagation();
30069
30074
  e.preventDefault();
30070
30075
  }
30071
- activateTabHandler(e) {
30076
+ internalActivateTabHandler(e) {
30072
30077
  this.selectedTab = e.detail.tab
30073
30078
  ? e.detail.tab
30074
30079
  : this.getIndexOfTabTitle(e.target);
30075
30080
  e.stopPropagation();
30076
30081
  e.preventDefault();
30077
30082
  }
30083
+ activateTabHandler(e) {
30084
+ this.calciteTabChange.emit({
30085
+ tab: this.selectedTab
30086
+ });
30087
+ e.stopPropagation();
30088
+ e.preventDefault();
30089
+ }
30078
30090
  /**
30079
30091
  * Check for active tabs on register and update selected
30080
30092
  */
@@ -30083,12 +30095,13 @@ class TabNav {
30083
30095
  this.selectedTab = e.detail;
30084
30096
  }
30085
30097
  }
30086
- globalTabChangeHandler(e) {
30098
+ globalInternalTabChangeHandler(e) {
30087
30099
  if (this.syncId &&
30088
30100
  e.target !== this.el &&
30089
30101
  e.target.syncId === this.syncId &&
30090
30102
  this.selectedTab !== e.detail.tab) {
30091
30103
  this.selectedTab = e.detail.tab;
30104
+ e.stopPropagation();
30092
30105
  }
30093
30106
  }
30094
30107
  updateOffsetPosition() {
@@ -30142,7 +30155,7 @@ class TabNav {
30142
30155
  "selectedTab": [32],
30143
30156
  "selectedTabEl": [32]
30144
30157
  },
30145
- "$listeners$": [[0, "calciteTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteTabsFocusNext", "focusNextTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteTabTitleRegister", "updateTabTitles"], [16, "calciteTabChange", "globalTabChangeHandler"]],
30158
+ "$listeners$": [[0, "calciteTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"]],
30146
30159
  "$lazyBundleId$": "-",
30147
30160
  "$attrsToReflect$": [["scale", "scale"], ["layout", "layout"], ["position", "position"], ["bordered", "bordered"]]
30148
30161
  }; }
@@ -30157,6 +30170,7 @@ class TabTitle {
30157
30170
  constructor(hostRef) {
30158
30171
  registerInstance(this, hostRef);
30159
30172
  this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
30173
+ this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 7);
30160
30174
  this.calciteTabsFocusNext = createEvent(this, "calciteTabsFocusNext", 7);
30161
30175
  this.calciteTabsFocusPrevious = createEvent(this, "calciteTabsFocusPrevious", 7);
30162
30176
  this.calciteTabTitleRegister = createEvent(this, "calciteTabTitleRegister", 7);
@@ -30184,7 +30198,7 @@ class TabTitle {
30184
30198
  }
30185
30199
  activeTabChanged() {
30186
30200
  if (this.active) {
30187
- this.emitActiveTab();
30201
+ this.emitActiveTab(false);
30188
30202
  }
30189
30203
  }
30190
30204
  //--------------------------------------------------------------------------
@@ -30207,7 +30221,7 @@ class TabTitle {
30207
30221
  }
30208
30222
  componentWillLoad() {
30209
30223
  if (this.tab && this.active) {
30210
- this.emitActiveTab();
30224
+ this.emitActiveTab(false);
30211
30225
  }
30212
30226
  }
30213
30227
  componentWillRender() {
@@ -30244,7 +30258,7 @@ class TabTitle {
30244
30258
  // Event Listeners
30245
30259
  //
30246
30260
  //--------------------------------------------------------------------------
30247
- tabChangeHandler(event) {
30261
+ internalTabChangeHandler(event) {
30248
30262
  const targetTabsEl = event
30249
30263
  .composedPath()
30250
30264
  .find((el) => el.tagName === "CALCITE-TABS");
@@ -30259,6 +30273,7 @@ class TabTitle {
30259
30273
  this.active = index === event.detail.tab;
30260
30274
  });
30261
30275
  }
30276
+ event.stopPropagation();
30262
30277
  }
30263
30278
  onClick() {
30264
30279
  this.emitActiveTab();
@@ -30318,11 +30333,14 @@ class TabTitle {
30318
30333
  var _a;
30319
30334
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
30320
30335
  }
30321
- emitActiveTab() {
30322
- if (!this.disabled) {
30323
- this.calciteTabsActivate.emit({
30324
- tab: this.tab
30325
- });
30336
+ emitActiveTab(userTriggered = true) {
30337
+ if (this.disabled) {
30338
+ return;
30339
+ }
30340
+ const payload = { tab: this.tab };
30341
+ this.calciteInternalTabsActivate.emit(payload);
30342
+ if (userTriggered) {
30343
+ this.calciteTabsActivate.emit(payload);
30326
30344
  }
30327
30345
  }
30328
30346
  get el() { return getElement(this); }
@@ -30350,7 +30368,7 @@ class TabTitle {
30350
30368
  "getTabIdentifier": [64],
30351
30369
  "updateAriaInfo": [64]
30352
30370
  },
30353
- "$listeners$": [[16, "calciteTabChange", "tabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
30371
+ "$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
30354
30372
  "$lazyBundleId$": "-",
30355
30373
  "$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["position", "position"], ["scale", "scale"], ["bordered", "bordered"], ["tab", "tab"]]
30356
30374
  }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.437",
3
+ "version": "1.0.0-next.438",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -59,10 +59,10 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@a11y/focus-trap": "1.0.5",
62
- "@popperjs/core": "2.11.4",
62
+ "@popperjs/core": "2.11.5",
63
63
  "@stencil/core": "2.15.0",
64
64
  "@types/color": "3.0.3",
65
- "color": "4.2.1",
65
+ "color": "4.2.3",
66
66
  "form-request-submit-polyfill": "2.0.0",
67
67
  "lodash-es": "4.17.21",
68
68
  "sortablejs": "1.15.0"
@@ -128,7 +128,7 @@
128
128
  "puppeteer": "10.0.0",
129
129
  "rimraf": "3.0.2",
130
130
  "screener-storybook": "0.23.0",
131
- "semver": "7.3.5",
131
+ "semver": "7.3.6",
132
132
  "shell-quote": "1.7.3",
133
133
  "standard-version": "9.3.2",
134
134
  "stencil-eslint-core": "0.3.1",
@@ -1,6 +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
- * v1.0.0-next.437
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-e83fbb87.js";import{g as r}from"./p-4d55500e.js";import{a as n,f as s}from"./p-b604b61d.js";import{c,d,g as l}from"./p-8793a889.js";import{c as h,d as m,H as p}from"./p-b52f681e.js";import{g as b}from"./p-3a0bb0e3.js";import{u}from"./p-57b20829.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function s(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?i(t.value):n(t.value).then(o,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var a=0,n=e.length,r;a<n;a++){if(r||!(a in e)){if(!r)r=Array.prototype.slice.call(e,0,a);r[a]=e[a]}}return t.concat(r||Array.prototype.slice.call(e))};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.437
6
- */System.register(["./p-ba35b00e.system.js","./p-6a7c5f25.system.js","./p-0d1c54d3.system.js","./p-2817fc45.system.js","./p-81911da4.system.js"],(function(t){"use strict";var e,i,a,n,r,o,s,c,l,d,b,p,m;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g;o=t.F},function(t){s=t.g},function(t){c=t.n;l=t.a;d=t.k;b=t.d},function(t){p=t.c},function(t){m=t.u}],execute:function(){var f="@-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([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";var u=t("calcite_tab",function(){function t(t){e(this,t);this.calciteTabRegister=i(this,"calciteTabRegister",7);this.active=false;this.scale="m";this.guid="calcite-tab-title-".concat(s())}t.prototype.render=function(){var t=this.el.id||this.guid;return a(n,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},a("section",null,a("slot",null)))};t.prototype.connectedCallback=function(){this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.componentDidLoad=function(){this.calciteTabRegister.emit()};t.prototype.componentWillRender=function(){var t;this.scale=(t=this.parentTabsEl)===null||t===void 0?void 0:t.scale};t.prototype.disconnectedCallback=function(){var t;(t=document.body)===null||t===void 0?void 0:t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))};t.prototype.tabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((function(t){return t.matches("calcite-tab")})),this.el)]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.labeledBy=e[t.indexOf(this.el.id)]||null;return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());u.style=f;var h="@-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}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";var v=t("calcite_tab_nav",function(){function t(t){var a=this;e(this,t);this.calciteTabChange=i(this,"calciteTabChange",7);this.scale="m";this.layout="inline";this.position="below";this.bordered=false;this.animationActiveDuration=.3;this.resizeObserver=p("resize",(function(){a.activeIndicatorEl.style.transitionDuration="0s";a.updateActiveWidth();a.updateOffsetPosition()}));this.handleContainerScroll=function(){a.activeIndicatorEl.style.transitionDuration="0s";a.updateOffsetPosition()}}t.prototype.selectedTabChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(localStorage&&this.storageId&&this.selectedTab!==undefined&&this.selectedTab!==null){localStorage.setItem("calcite-tab-nav-".concat(this.storageId),JSON.stringify(this.selectedTab))}this.calciteTabChange.emit({tab:this.selectedTab});t=this;return[4,this.getTabTitleById(this.selectedTab)];case 1:t.selectedTabEl=e.sent();return[2]}}))}))};t.prototype.selectedTabElChanged=function(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration="".concat(this.animationActiveDuration,"s")};t.prototype.connectedCallback=function(){var t;this.parentTabsEl=this.el.closest("calcite-tabs");(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(this.el)};t.prototype.disconnectedCallback=function(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentWillLoad=function(){var t="calcite-tab-nav-".concat(this.storageId);if(localStorage&&this.storageId&&localStorage.getItem(t)){var e=JSON.parse(localStorage.getItem(t));this.selectedTab=e;this.calciteTabChange.emit({tab:this.selectedTab})}};t.prototype.componentWillRender=function(){var t=this.parentTabsEl;this.layout=t===null||t===void 0?void 0:t.layout;this.position=t===null||t===void 0?void 0:t.position;this.scale=t===null||t===void 0?void 0:t.scale;this.bordered=t===null||t===void 0?void 0:t.bordered;if(this.selectedTabEl){this.updateOffsetPosition()}};t.prototype.componentDidRender=function(){var t=this;if(this.tabTitles.length&&this.tabTitles.every((function(t){return!t.active}))&&!this.selectedTab){this.tabTitles[0].getTabIdentifier().then((function(e){t.calciteTabChange.emit({tab:e})}))}};t.prototype.render=function(){var t=this;var e=l(this.el);var i="".concat(this.indicatorWidth,"px");var r="".concat(this.indicatorOffset,"px");var o=e!=="rtl"?{width:i,left:r}:{width:i,right:r};return a(n,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:function(e){return t.tabNavEl=e}},a("div",{class:"tab-nav-active-indicator-container",ref:function(e){return t.activeIndicatorContainerEl=e}},a("div",{class:"tab-nav-active-indicator",ref:function(e){return t.activeIndicatorEl=e},style:o})),a("slot",null)))};t.prototype.focusPreviousTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.focusNextTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e+1]||this.enabledTabTitles[0];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.activateTabHandler=function(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation();t.preventDefault()};t.prototype.updateTabTitles=function(t){if(t.target.active){this.selectedTab=t.detail}};t.prototype.globalTabChangeHandler=function(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab){this.selectedTab=t.detail.tab}};t.prototype.updateOffsetPosition=function(){var t,e,i,a,n;var r=l(this.el);var o=(t=this.activeIndicatorContainerEl)===null||t===void 0?void 0:t.offsetWidth;var s=(e=this.selectedTabEl)===null||e===void 0?void 0:e.offsetLeft;var c=(i=this.selectedTabEl)===null||i===void 0?void 0:i.offsetWidth;var d=o-(s+c);this.indicatorOffset=r!=="rtl"?s-((a=this.tabNavEl)===null||a===void 0?void 0:a.scrollLeft):d+((n=this.tabNavEl)===null||n===void 0?void 0:n.scrollLeft)};t.prototype.updateActiveWidth=function(){var t;this.indicatorWidth=(t=this.selectedTabEl)===null||t===void 0?void 0:t.offsetWidth};t.prototype.getIndexOfTabTitle=function(t,e){if(e===void 0){e=this.tabTitles}return e.indexOf(t)};t.prototype.getTabTitleById=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){return[2,Promise.all(this.tabTitles.map((function(t){return t.getTabIdentifier()}))).then((function(i){return e.tabTitles[i.indexOf(t)]}))]}))}))};Object.defineProperty(t.prototype,"tabTitles",{get:function(){return d(this.el,"calcite-tab-title")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"enabledTabTitles",{get:function(){return d(this.el,"calcite-tab-title:not([disabled])")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}},enumerable:false,configurable:true});return t}());v.style=h;var y="@-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{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{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) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";var g=t("calcite_tab_title",function(){function t(t){var a=this;e(this,t);this.calciteTabsActivate=i(this,"calciteTabsActivate",7);this.calciteTabsFocusNext=i(this,"calciteTabsFocusNext",7);this.calciteTabsFocusPrevious=i(this,"calciteTabsFocusPrevious",7);this.calciteTabTitleRegister=i(this,"calciteTabTitleRegister",7);this.active=false;this.disabled=false;this.bordered=false;this.mutationObserver=p("mutation",(function(){return a.updateHasText()}));this.hasText=false;this.guid="calcite-tab-title-".concat(s())}t.prototype.activeTabChanged=function(){if(this.active){this.emitActiveTab()}};t.prototype.connectedCallback=function(){this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=document.body)===null||e===void 0?void 0:e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))};t.prototype.componentWillLoad=function(){{this.updateHasText()}if(this.tab&&this.active){this.emitActiveTab()}};t.prototype.componentWillRender=function(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.position=this.parentTabsEl.position;this.scale=this.parentTabsEl.scale;this.bordered=this.parentTabsEl.bordered}if(!this.parentTabsEl&&this.parentTabNavEl){this.position=b(this.parentTabNavEl,"position",this.position);this.scale=b(this.parentTabNavEl,"scale",this.scale)}};t.prototype.render=function(){var t=this.el.id||this.guid;var e=this.bordered&&!this.disabled&&this.layout!=="center";var i=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var r=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});return a(n,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:t,role:"tab"},a("a",{class:{container:true,"container--has-text":this.hasText},style:e&&{width:"".concat(this.parentTabNavEl.indicatorWidth,"px")}},this.iconStart?i:null,a("slot",null),this.iconEnd?r:null))};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:e=(t=this.calciteTabTitleRegister).emit;return[4,this.getTabIdentifier()];case 1:e.apply(t,[i.sent()]);return[2]}}))}))};t.prototype.componentDidRender=function(){m(this,true)};t.prototype.tabChangeHandler=function(t){var e=this;var i=t.composedPath().find((function(t){return t.tagName==="CALCITE-TABS"}));if(i!==this.parentTabsEl){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.onClick=function(){this.emitActiveTab()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitActiveTab();t.preventDefault();break;case"ArrowRight":if(l(this.el)==="ltr"){this.calciteTabsFocusNext.emit()}else{this.calciteTabsFocusPrevious.emit()}break;case"ArrowLeft":if(l(this.el)==="ltr"){this.calciteTabsFocusPrevious.emit()}else{this.calciteTabsFocusNext.emit()}break}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)]}))}))};t.prototype.getTabIdentifier=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.tab?this.tab:this.getTabIndex()]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.controls=t[e.indexOf(this.el.id)]||null;return[2]}))}))};t.prototype.updateHasText=function(){this.hasText=this.el.textContent.trim().length>0};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.emitActiveTab=function(){if(!this.disabled){this.calciteTabsActivate.emit({tab:this.tab})}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeTabChanged"]}},enumerable:false,configurable:true});return t}());g.style=y;var w={tabNav:"tab-nav"};var k="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);overflow:hidden;border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";var x=t("calcite_tabs",function(){function t(t){e(this,t);this.layout="inline";this.position="above";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}t.prototype.connectedCallback=function(){if(this.layout==="center"){this.bordered=false}};t.prototype.render=function(){return a(o,null,a("slot",{name:w.tabNav}),a("section",null,a("slot",null)))};t.prototype.calciteTabTitleRegister=function(t){this.titles=__spreadArray(__spreadArray([],this.titles,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabTitleUnregister=function(t){this.titles=this.titles.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.calciteTabRegister=function(t){this.tabs=__spreadArray(__spreadArray([],this.tabs,true),[t.target],false);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabUnregister=function(t){this.tabs=this.tabs.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.registryHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a;var n=this;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.tabs.some((function(t){return t.tab}))||this.titles.some((function(t){return t.tab}))))return[3,1];t=this.tabs.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));e=this.titles.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));return[3,4];case 1:return[4,Promise.all(this.tabs.map((function(t){return t.getTabIndex()})))];case 2:i=r.sent();return[4,Promise.all(this.titles.map((function(t){return t.getTabIndex()})))];case 3:a=r.sent();t=i.reduce((function(t,e,i){t[e]=n.tabs[i].id;return t}),[]);e=a.reduce((function(t,e,i){t[e]=n.titles[i].id;return t}),[]);r.label=4;case 4:this.tabs.forEach((function(i){return i.updateAriaInfo(t,e)}));this.titles.forEach((function(i){return i.updateAriaInfo(t,e)}));return[2]}}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());x.style=k}}}));