@esri/calcite-components 1.0.0-next.505 → 1.0.0-next.508

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 (866) hide show
  1. package/dist/calcite/assets/date-picker/nls/th.json +1 -1
  2. package/dist/calcite/assets/icon/changeDetection16.json +1 -0
  3. package/dist/calcite/assets/icon/changeDetection24.json +1 -0
  4. package/dist/calcite/assets/icon/changeDetection32.json +1 -0
  5. package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
  6. package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
  7. package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
  8. package/dist/calcite/assets/icon/numberCircle416.json +1 -0
  9. package/dist/calcite/assets/icon/numberCircle424.json +1 -0
  10. package/dist/calcite/assets/icon/numberCircle432.json +1 -0
  11. package/dist/calcite/assets/icon/numberCircle516.json +1 -0
  12. package/dist/calcite/assets/icon/numberCircle524.json +1 -0
  13. package/dist/calcite/assets/icon/numberCircle532.json +1 -0
  14. package/dist/calcite/assets/icon/numberCircle616.json +1 -0
  15. package/dist/calcite/assets/icon/numberCircle624.json +1 -0
  16. package/dist/calcite/assets/icon/numberCircle632.json +1 -0
  17. package/dist/calcite/assets/icon/numberCircle716.json +1 -0
  18. package/dist/calcite/assets/icon/numberCircle724.json +1 -0
  19. package/dist/calcite/assets/icon/numberCircle732.json +1 -0
  20. package/dist/calcite/assets/icon/numberCircle816.json +1 -0
  21. package/dist/calcite/assets/icon/numberCircle824.json +1 -0
  22. package/dist/calcite/assets/icon/numberCircle832.json +1 -0
  23. package/dist/calcite/assets/icon/numberCircle916.json +1 -0
  24. package/dist/calcite/assets/icon/numberCircle924.json +1 -0
  25. package/dist/calcite/assets/icon/numberCircle932.json +1 -0
  26. package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
  27. package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
  28. package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
  29. package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
  30. package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
  31. package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
  32. package/dist/calcite/calcite.esm.js +2 -2
  33. package/dist/calcite/calcite.js +1 -1
  34. package/dist/calcite/index.esm.js +1 -1
  35. package/dist/calcite/{p-21f41af0.entry.js → p-002e0ddc.entry.js} +2 -2
  36. package/dist/calcite/{p-ae807cc0.system.entry.js → p-005c5c9f.system.entry.js} +2 -2
  37. package/dist/calcite/{p-dd36724c.js → p-014bddb9.js} +2 -2
  38. package/dist/calcite/{p-2bf76335.system.entry.js → p-01d8a16b.system.entry.js} +2 -2
  39. package/dist/calcite/{p-894823be.entry.js → p-069e2543.entry.js} +2 -2
  40. package/dist/calcite/{p-43aa0e2b.system.entry.js → p-078fb3e4.system.entry.js} +2 -2
  41. package/dist/calcite/{p-52abce3b.js → p-0a4d9a13.js} +2 -2
  42. package/dist/calcite/{p-8a554b1f.system.js → p-0f0721d1.system.js} +2 -2
  43. package/dist/calcite/{p-fc8daad2.entry.js → p-0f73e8c1.entry.js} +2 -2
  44. package/dist/calcite/{p-0da0622d.entry.js → p-0fcdb7ec.entry.js} +2 -2
  45. package/dist/calcite/{p-265ae233.js → p-1242b7cd.js} +2 -2
  46. package/dist/calcite/{p-2311f7b7.system.entry.js → p-1401753c.system.entry.js} +2 -2
  47. package/dist/calcite/{p-378c44b6.system.entry.js → p-169c3268.system.entry.js} +2 -2
  48. package/dist/calcite/{p-d8c87dbe.system.entry.js → p-16bb45cf.system.entry.js} +2 -2
  49. package/dist/calcite/{p-1f76d242.entry.js → p-171c3d0c.entry.js} +2 -2
  50. package/dist/calcite/{p-7dde363a.entry.js → p-1740b01a.entry.js} +2 -2
  51. package/dist/calcite/{p-afde94d1.entry.js → p-196316bc.entry.js} +2 -2
  52. package/dist/calcite/{p-377b13e3.entry.js → p-1a5b91f4.entry.js} +2 -2
  53. package/dist/calcite/{p-835364e8.system.entry.js → p-1a670854.system.entry.js} +2 -2
  54. package/dist/calcite/{p-118e9f81.system.js → p-1be5e86c.system.js} +2 -2
  55. package/dist/calcite/p-208aec23.system.js +6 -0
  56. package/dist/calcite/{p-2cc37684.system.entry.js → p-2108bc68.system.entry.js} +2 -2
  57. package/dist/calcite/{p-12b0d608.system.entry.js → p-21ac3e65.system.entry.js} +2 -2
  58. package/dist/calcite/{p-478c47d5.system.js → p-2253330a.system.js} +2 -2
  59. package/dist/calcite/{p-c2910ffb.system.entry.js → p-23b3fdcc.system.entry.js} +3 -3
  60. package/dist/calcite/{p-5c835006.system.js → p-24a70cab.system.js} +1 -1
  61. package/dist/calcite/{p-0918235a.system.entry.js → p-24b917a3.system.entry.js} +2 -2
  62. package/dist/calcite/{p-e782a903.entry.js → p-27b8df1d.entry.js} +2 -2
  63. package/dist/calcite/{p-0393486f.system.entry.js → p-2b05d281.system.entry.js} +2 -2
  64. package/dist/calcite/{p-e3acd1a1.system.entry.js → p-2b9685a7.system.entry.js} +2 -2
  65. package/dist/calcite/{p-1ac12d98.system.entry.js → p-2c38820d.system.entry.js} +2 -2
  66. package/dist/calcite/{p-d13f0f14.system.js → p-2c543ff8.system.js} +1 -1
  67. package/dist/calcite/{p-4a1460f8.js → p-2e067a00.js} +1 -1
  68. package/dist/calcite/{p-2f2a4484.entry.js → p-2e99ec5a.entry.js} +2 -2
  69. package/dist/calcite/{p-d9bb29ba.entry.js → p-2f38fb93.entry.js} +2 -2
  70. package/dist/calcite/{p-5dfff546.system.js → p-30cd9c4c.system.js} +1 -1
  71. package/dist/calcite/{p-5e97cf60.entry.js → p-314963e5.entry.js} +2 -2
  72. package/dist/calcite/{p-594e7d9a.js → p-31dfb435.js} +1 -1
  73. package/dist/calcite/{p-3b241c84.system.entry.js → p-3254f789.system.entry.js} +2 -2
  74. package/dist/calcite/{p-7f05ad2b.js → p-36606f84.js} +1 -1
  75. package/dist/calcite/{p-205fe9cf.system.entry.js → p-37699e6c.system.entry.js} +2 -2
  76. package/dist/calcite/{p-247c22d5.js → p-39182b48.js} +1 -1
  77. package/dist/calcite/{p-c29e9a48.entry.js → p-39347321.entry.js} +2 -2
  78. package/dist/calcite/{p-dc15310b.entry.js → p-3943faaa.entry.js} +2 -2
  79. package/dist/calcite/{p-bdcf1c75.system.entry.js → p-3962d831.system.entry.js} +2 -2
  80. package/dist/calcite/{p-eda937ad.system.entry.js → p-3ac6965c.system.entry.js} +2 -2
  81. package/dist/calcite/{p-3ddd5ff7.system.entry.js → p-3e506d8e.system.entry.js} +2 -2
  82. package/dist/calcite/{p-9b878e8f.entry.js → p-41f358cc.entry.js} +2 -2
  83. package/dist/calcite/{p-669fcb81.entry.js → p-43633d39.entry.js} +2 -2
  84. package/dist/calcite/{p-ed2b76b4.js → p-4379fced.js} +2 -2
  85. package/dist/calcite/{p-ec265137.entry.js → p-4396d8d4.entry.js} +2 -2
  86. package/dist/calcite/{p-a40a1696.system.entry.js → p-4744d2c2.system.entry.js} +2 -2
  87. package/dist/calcite/{p-0b640aaa.system.entry.js → p-474b18aa.system.entry.js} +3 -3
  88. package/dist/calcite/{p-b5fa7fae.entry.js → p-47673b28.entry.js} +2 -2
  89. package/dist/calcite/{p-56fc918a.system.entry.js → p-4960535b.system.entry.js} +2 -2
  90. package/dist/calcite/{p-9d662453.entry.js → p-4ae516ce.entry.js} +2 -2
  91. package/dist/calcite/p-4be2d8cb.js +6 -0
  92. package/dist/calcite/{p-ea611c73.system.entry.js → p-4fe35f65.system.entry.js} +2 -2
  93. package/dist/calcite/{p-5b06310d.system.js → p-501d75d1.system.js} +1 -1
  94. package/dist/calcite/{p-8e5d9840.entry.js → p-521f97a0.entry.js} +2 -2
  95. package/dist/calcite/{p-2793ba35.entry.js → p-5289ce45.entry.js} +2 -2
  96. package/dist/calcite/{p-3208e5f7.entry.js → p-537ffb93.entry.js} +2 -2
  97. package/dist/calcite/{p-0bd8dd60.entry.js → p-5932d4bb.entry.js} +2 -2
  98. package/dist/calcite/{p-b6d2ac82.entry.js → p-5a6af9b0.entry.js} +2 -2
  99. package/dist/calcite/p-5c72d164.entry.js +6 -0
  100. package/dist/calcite/p-5d1fd82b.entry.js +6 -0
  101. package/dist/calcite/{p-55f682e5.system.entry.js → p-5e11ef35.system.entry.js} +2 -2
  102. package/dist/calcite/{p-fa577ba0.entry.js → p-616fd019.entry.js} +2 -2
  103. package/dist/calcite/{p-b321fa8a.system.entry.js → p-63497eb7.system.entry.js} +2 -2
  104. package/dist/calcite/{p-df583031.system.js → p-64dbc066.system.js} +1 -1
  105. package/dist/calcite/{p-cec682c3.entry.js → p-655a178f.entry.js} +2 -2
  106. package/dist/calcite/{p-36ab38ff.js → p-6613f642.js} +2 -2
  107. package/dist/calcite/{p-219c9f9f.entry.js → p-6652b454.entry.js} +2 -2
  108. package/dist/calcite/{p-0323a025.system.entry.js → p-693901d0.system.entry.js} +2 -2
  109. package/dist/calcite/{p-1aa4b3cd.system.entry.js → p-6a141ac6.system.entry.js} +2 -2
  110. package/dist/calcite/{p-12ddfe59.entry.js → p-6ce73b2c.entry.js} +2 -2
  111. package/dist/calcite/{p-768b891d.entry.js → p-6d7cce8b.entry.js} +2 -2
  112. package/dist/calcite/p-6dd48b97.entry.js +6 -0
  113. package/dist/calcite/{p-3cbd4a18.system.js → p-6e407796.system.js} +1 -1
  114. package/dist/calcite/{p-66de4c38.entry.js → p-6e493d8a.entry.js} +2 -2
  115. package/dist/calcite/{p-65248f45.system.js → p-7025faff.system.js} +1 -1
  116. package/dist/calcite/{p-414b646b.system.entry.js → p-715935a5.system.entry.js} +2 -2
  117. package/dist/calcite/{p-fdc544c3.entry.js → p-71f3be8c.entry.js} +2 -2
  118. package/dist/calcite/{p-54168efd.js → p-72f109e4.js} +1 -1
  119. package/dist/calcite/{p-afef46ba.entry.js → p-7602a605.entry.js} +2 -2
  120. package/dist/calcite/{p-a62d99d2.js → p-76f85072.js} +2 -2
  121. package/dist/calcite/{p-ec0b36e7.js → p-77638684.js} +1 -1
  122. package/dist/calcite/{p-6a48fdf9.system.js → p-778586b0.system.js} +1 -1
  123. package/dist/calcite/{p-7e21eef8.entry.js → p-79f1b70c.entry.js} +2 -2
  124. package/dist/calcite/p-7a01fd19.entry.js +6 -0
  125. package/dist/calcite/{p-893bfba9.system.js → p-7a171f5e.system.js} +2 -2
  126. package/dist/calcite/{p-c45aaf62.js → p-7c2cee4a.js} +2 -2
  127. package/dist/calcite/{p-b3cbfe78.entry.js → p-80b20fef.entry.js} +2 -2
  128. package/dist/calcite/{p-0be0ced1.system.entry.js → p-82d97e96.system.entry.js} +2 -2
  129. package/dist/calcite/{p-43891cdd.entry.js → p-85016ff4.entry.js} +2 -2
  130. package/dist/calcite/{p-838f53f3.entry.js → p-87650aa6.entry.js} +2 -2
  131. package/dist/calcite/{p-62a4dfc6.system.entry.js → p-88f58319.system.entry.js} +2 -2
  132. package/dist/calcite/{p-49c06bff.system.entry.js → p-8a17d927.system.entry.js} +2 -2
  133. package/dist/calcite/{p-b893f52b.system.js → p-8be4393c.system.js} +1 -1
  134. package/dist/calcite/{p-5fa92a88.js → p-8bfdf06f.js} +1 -1
  135. package/dist/calcite/{p-f635d696.entry.js → p-8c2e48dd.entry.js} +2 -2
  136. package/dist/calcite/{p-b16d3228.system.js → p-912d06cb.system.js} +2 -2
  137. package/dist/calcite/{p-b807c920.system.js → p-92f36a2e.system.js} +3 -3
  138. package/dist/calcite/{p-01344487.system.entry.js → p-93c22716.system.entry.js} +2 -2
  139. package/dist/calcite/{p-2f17b72c.system.entry.js → p-93dec8e6.system.entry.js} +2 -2
  140. package/dist/calcite/{p-e548be7f.system.js → p-943d74de.system.js} +2 -2
  141. package/dist/calcite/{p-e92321d4.entry.js → p-94b5620e.entry.js} +2 -2
  142. package/dist/calcite/p-95abc9b6.system.js +6 -0
  143. package/dist/calcite/{p-cddb2c8e.system.entry.js → p-967cdef6.system.entry.js} +2 -2
  144. package/dist/calcite/{p-bd46f620.entry.js → p-9e582f4f.entry.js} +2 -2
  145. package/dist/calcite/{p-bf2bb1da.system.js → p-ad51e451.system.js} +2 -2
  146. package/dist/calcite/{p-aa330cee.entry.js → p-b02da7d5.entry.js} +2 -2
  147. package/dist/calcite/{p-0d999a17.entry.js → p-b0e70c44.entry.js} +2 -2
  148. package/dist/calcite/p-b100ef4a.system.entry.js +6 -0
  149. package/dist/calcite/{p-105ada36.entry.js → p-b5489c03.entry.js} +2 -2
  150. package/dist/calcite/{p-4405918c.system.entry.js → p-b8800821.system.entry.js} +2 -2
  151. package/dist/calcite/{p-77167bbc.system.js → p-b94e58c0.system.js} +1 -1
  152. package/dist/calcite/{p-f13ea8ea.js → p-b9d9a226.js} +2 -2
  153. package/dist/calcite/{p-6b1f3b70.system.js → p-ba83da9c.system.js} +1 -1
  154. package/dist/calcite/{p-39a2c517.system.entry.js → p-bb473591.system.entry.js} +2 -2
  155. package/dist/calcite/{p-8af062d3.system.js → p-bb535e85.system.js} +1 -1
  156. package/dist/calcite/{p-ea7c14b3.system.entry.js → p-bc6ce7e6.system.entry.js} +2 -2
  157. package/dist/calcite/{p-ce1516e7.js → p-bd9a149a.js} +1 -1
  158. package/dist/calcite/{p-914e6496.system.entry.js → p-c1c2c5e8.system.entry.js} +2 -2
  159. package/dist/calcite/{p-be9fef04.system.entry.js → p-c41c2da8.system.entry.js} +2 -2
  160. package/dist/calcite/{p-ca08c484.system.entry.js → p-c5617b47.system.entry.js} +2 -2
  161. package/dist/calcite/{p-643b46cc.entry.js → p-c649fb9b.entry.js} +2 -2
  162. package/dist/calcite/{p-92434742.system.entry.js → p-c6d43079.system.entry.js} +2 -2
  163. package/dist/calcite/{p-82321ccb.system.entry.js → p-c753d73a.system.entry.js} +2 -2
  164. package/dist/calcite/{p-ff166043.system.entry.js → p-cb33f6f9.system.entry.js} +2 -2
  165. package/dist/calcite/{p-8a983b28.system.entry.js → p-cc15cace.system.entry.js} +2 -2
  166. package/dist/calcite/{p-2d3983f8.system.entry.js → p-cc280763.system.entry.js} +2 -2
  167. package/dist/calcite/{p-b27beff7.system.entry.js → p-ce9b06b0.system.entry.js} +2 -2
  168. package/dist/calcite/{p-8512384b.js → p-cfad56e6.js} +1 -1
  169. package/dist/calcite/{p-764c53da.entry.js → p-d087ab4f.entry.js} +2 -2
  170. package/dist/calcite/p-d1b288a8.entry.js +6 -0
  171. package/dist/calcite/{p-75241a04.system.entry.js → p-d57680a3.system.entry.js} +2 -2
  172. package/dist/calcite/{p-cf0191b8.system.entry.js → p-d7f6eea6.system.entry.js} +2 -2
  173. package/dist/calcite/{p-ff8512a9.system.entry.js → p-d84ceeb3.system.entry.js} +2 -2
  174. package/dist/calcite/{p-a1f1846b.js → p-d9c10332.js} +1 -1
  175. package/dist/calcite/{p-8a5d50eb.entry.js → p-ddac54eb.entry.js} +2 -2
  176. package/dist/calcite/{p-9ff2aaba.entry.js → p-ddced1db.entry.js} +2 -2
  177. package/dist/calcite/{p-558c23f5.entry.js → p-de143fa5.entry.js} +2 -2
  178. package/dist/calcite/{p-ca32fe36.js → p-e03b53b4.js} +1 -1
  179. package/dist/calcite/{p-8540ac35.system.js → p-e0992c1e.system.js} +1 -1
  180. package/dist/calcite/{p-b481bc3d.system.entry.js → p-e0b6e9d3.system.entry.js} +2 -2
  181. package/dist/calcite/{p-f5014c15.js → p-e360997d.js} +1 -1
  182. package/dist/calcite/p-e6c0f3d4.system.entry.js +6 -0
  183. package/dist/calcite/p-ec1c2801.entry.js +6 -0
  184. package/dist/calcite/{p-97f50b8f.system.entry.js → p-ecd3eae4.system.entry.js} +2 -2
  185. package/dist/calcite/p-ed6fd32b.system.js +6 -0
  186. package/dist/calcite/{p-cd5cecf2.system.js → p-edaa8522.system.js} +1 -1
  187. package/dist/calcite/{p-4df2e85f.js → p-ef5e5323.js} +1 -1
  188. package/dist/calcite/{p-850832df.system.entry.js → p-efeb57e4.system.entry.js} +2 -2
  189. package/dist/calcite/{p-3b312c26.system.entry.js → p-f02c620e.system.entry.js} +2 -2
  190. package/dist/calcite/{p-a12e51b1.entry.js → p-f071ad8d.entry.js} +2 -2
  191. package/dist/calcite/{p-6148d137.entry.js → p-f2414e86.entry.js} +2 -2
  192. package/dist/calcite/p-f2be0190.js +6 -0
  193. package/dist/calcite/{p-e786dee0.system.entry.js → p-f6bc2f56.system.entry.js} +2 -2
  194. package/dist/calcite/{p-2c5768e0.entry.js → p-f7a98936.entry.js} +2 -2
  195. package/dist/calcite/p-fcb99c26.system.entry.js +6 -0
  196. package/dist/calcite/{p-7a4d3bb7.entry.js → p-feeef87d.entry.js} +2 -2
  197. package/dist/cjs/{ExpandToggle-c5b0a089.js → ExpandToggle-a1cce495.js} +5 -5
  198. package/dist/cjs/{Heading-dbc6bf56.js → Heading-2532a0a2.js} +2 -2
  199. package/dist/cjs/{array-a0709c2c.js → array-209fab1e.js} +1 -1
  200. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  201. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  202. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  205. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  206. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  210. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  212. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  213. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +23 -15
  214. package/dist/cjs/calcite-combobox_3.cjs.entry.js +29 -30
  215. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +33 -14
  216. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  219. package/dist/cjs/calcite-flow.cjs.entry.js +49 -5
  220. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  221. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-input.cjs.entry.js +60 -34
  228. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  230. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  231. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  234. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  237. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  238. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  239. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  240. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  241. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  242. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -7
  243. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  244. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  245. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  246. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  247. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  248. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  249. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  250. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  251. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  252. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  253. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  254. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  255. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  256. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  257. package/dist/cjs/calcite.cjs.js +3 -3
  258. package/dist/cjs/{conditionalSlot-d22c9f27.js → conditionalSlot-ce608cb0.js} +3 -3
  259. package/dist/cjs/{debounce-4d1236ba.js → debounce-1c259150.js} +1 -1
  260. package/dist/cjs/{dom-619143e9.js → dom-d617602b.js} +2 -2
  261. package/dist/cjs/{forIn-d16fc681.js → forIn-3bd39a64.js} +2 -2
  262. package/dist/cjs/{form-54ff540b.js → form-cda65764.js} +3 -3
  263. package/dist/cjs/{guid-cf379e9f.js → guid-768c6ee9.js} +1 -1
  264. package/dist/cjs/{index-feabd455.js → index-7a645fb8.js} +1 -1
  265. package/dist/cjs/index.cjs.js +1 -1
  266. package/dist/cjs/{interactive-5ddf5d4f.js → interactive-a749d391.js} +1 -1
  267. package/dist/cjs/{interfaces-27b7e6a3.js → interfaces-a6e2f75b.js} +1 -1
  268. package/dist/cjs/{label-1e7739ad.js → label-d76879fb.js} +2 -2
  269. package/dist/cjs/loader.cjs.js +3 -3
  270. package/dist/cjs/{locale-2db0db43.js → locale-4ad09ff3.js} +1 -1
  271. package/dist/cjs/{math-d669d57d.js → math-fd9e209d.js} +1 -1
  272. package/dist/cjs/{observers-f76f75f2.js → observers-60b04d68.js} +1 -1
  273. package/dist/cjs/{popper-7f6864c7.js → popper-81355cc2.js} +2 -2
  274. package/dist/cjs/{resources-467f3991.js → resources-13dec31c.js} +1 -1
  275. package/dist/cjs/{resources-c1159edf.js → resources-6c3fd929.js} +1 -1
  276. package/dist/cjs/{resources-91db3bc1.js → resources-86caac40.js} +3 -3
  277. package/dist/cjs/{resources-89696155.js → resources-aa1c4381.js} +5 -5
  278. package/dist/cjs/{sortable.esm-128ad50e.js → sortable.esm-3a3f3e3c.js} +1 -1
  279. package/dist/cjs/{utils-b604c2bb.js → utils-09888687.js} +1 -1
  280. package/dist/collection/components/accordion/accordion.js +1 -1
  281. package/dist/collection/components/accordion/interfaces.js +1 -1
  282. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  283. package/dist/collection/components/action/action.js +1 -1
  284. package/dist/collection/components/action/resources.js +1 -1
  285. package/dist/collection/components/action-bar/action-bar.js +1 -1
  286. package/dist/collection/components/action-bar/resources.js +1 -1
  287. package/dist/collection/components/action-bar/utils.js +1 -1
  288. package/dist/collection/components/action-group/action-group.js +1 -1
  289. package/dist/collection/components/action-group/resources.js +1 -1
  290. package/dist/collection/components/action-menu/action-menu.js +1 -1
  291. package/dist/collection/components/action-menu/resources.js +1 -1
  292. package/dist/collection/components/action-pad/action-pad.js +1 -1
  293. package/dist/collection/components/action-pad/resources.js +1 -1
  294. package/dist/collection/components/alert/alert.js +1 -1
  295. package/dist/collection/components/alert/interfaces.js +1 -1
  296. package/dist/collection/components/alert/resources.js +1 -1
  297. package/dist/collection/components/avatar/avatar.js +1 -1
  298. package/dist/collection/components/avatar/utils.js +1 -1
  299. package/dist/collection/components/block/block.js +1 -1
  300. package/dist/collection/components/block/resources.js +1 -1
  301. package/dist/collection/components/block-section/block-section.js +1 -1
  302. package/dist/collection/components/block-section/interfaces.js +1 -1
  303. package/dist/collection/components/block-section/resources.js +1 -1
  304. package/dist/collection/components/button/button.js +1 -1
  305. package/dist/collection/components/button/interfaces.js +1 -1
  306. package/dist/collection/components/button/resources.js +1 -1
  307. package/dist/collection/components/card/card.js +1 -1
  308. package/dist/collection/components/card/resources.js +1 -1
  309. package/dist/collection/components/checkbox/checkbox.js +1 -1
  310. package/dist/collection/components/chip/chip.js +1 -1
  311. package/dist/collection/components/chip/interfaces.js +1 -1
  312. package/dist/collection/components/chip/resources.js +1 -1
  313. package/dist/collection/components/color-picker/color-picker.js +16 -8
  314. package/dist/collection/components/color-picker/interfaces.js +1 -1
  315. package/dist/collection/components/color-picker/resources.js +1 -1
  316. package/dist/collection/components/color-picker/utils.js +1 -1
  317. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  318. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  319. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  320. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  321. package/dist/collection/components/combobox/combobox.js +18 -19
  322. package/dist/collection/components/combobox/interfaces.js +1 -1
  323. package/dist/collection/components/combobox/resources.js +1 -1
  324. package/dist/collection/components/combobox/utils.js +1 -1
  325. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  326. package/dist/collection/components/combobox-item/resources.js +1 -1
  327. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  328. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  329. package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
  330. package/dist/collection/components/date-picker/date-picker.js +1 -1
  331. package/dist/collection/components/date-picker/interfaces.js +1 -1
  332. package/dist/collection/components/date-picker/resources.js +1 -1
  333. package/dist/collection/components/date-picker/utils.js +1 -1
  334. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  335. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  336. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +25 -7
  337. package/dist/collection/components/date-picker-month-header/resources.js +6 -0
  338. package/dist/collection/components/dropdown/dropdown.js +1 -1
  339. package/dist/collection/components/dropdown/interfaces.js +1 -1
  340. package/dist/collection/components/dropdown/resources.js +1 -1
  341. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  342. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  343. package/dist/collection/components/dropdown-group/resources.js +1 -1
  344. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  345. package/dist/collection/components/dropdown-item/resources.js +1 -1
  346. package/dist/collection/components/fab/fab.js +1 -1
  347. package/dist/collection/components/fab/resources.js +1 -1
  348. package/dist/collection/components/filter/filter.js +1 -1
  349. package/dist/collection/components/filter/resources.js +1 -1
  350. package/dist/collection/components/flow/flow.js +73 -5
  351. package/dist/collection/components/flow/interfaces.js +1 -1
  352. package/dist/collection/components/flow/resources.js +1 -1
  353. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  354. package/dist/collection/components/functional/Heading.js +1 -1
  355. package/dist/collection/components/graph/graph.js +1 -1
  356. package/dist/collection/components/graph/interfaces.js +1 -1
  357. package/dist/collection/components/graph/util.js +1 -1
  358. package/dist/collection/components/handle/handle.js +1 -1
  359. package/dist/collection/components/handle/resources.js +1 -1
  360. package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
  361. package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
  372. package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
  373. package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
  390. package/dist/collection/components/icon/icon.js +1 -1
  391. package/dist/collection/components/icon/resources.js +1 -1
  392. package/dist/collection/components/icon/utils.js +1 -1
  393. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  394. package/dist/collection/components/inline-editable/resources.js +1 -1
  395. package/dist/collection/components/input/input.js +148 -70
  396. package/dist/collection/components/input/interfaces.js +1 -1
  397. package/dist/collection/components/input/resources.js +1 -1
  398. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  399. package/dist/collection/components/input-message/input-message.js +1 -1
  400. package/dist/collection/components/input-message/interfaces.js +1 -1
  401. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  402. package/dist/collection/components/interfaces.js +1 -1
  403. package/dist/collection/components/label/label.js +1 -1
  404. package/dist/collection/components/label/resources.js +1 -1
  405. package/dist/collection/components/link/link.js +1 -1
  406. package/dist/collection/components/list/list.js +1 -1
  407. package/dist/collection/components/list/resources.js +1 -1
  408. package/dist/collection/components/list-item/list-item.js +1 -1
  409. package/dist/collection/components/list-item/resources.js +1 -1
  410. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  411. package/dist/collection/components/list-item-group/resources.js +1 -1
  412. package/dist/collection/components/loader/loader.js +1 -1
  413. package/dist/collection/components/modal/interfaces.js +1 -1
  414. package/dist/collection/components/modal/modal.js +1 -1
  415. package/dist/collection/components/modal/resources.js +1 -1
  416. package/dist/collection/components/notice/notice.js +1 -1
  417. package/dist/collection/components/notice/resources.js +1 -1
  418. package/dist/collection/components/option/option.js +1 -1
  419. package/dist/collection/components/option-group/option-group.js +1 -1
  420. package/dist/collection/components/pagination/pagination.js +1 -1
  421. package/dist/collection/components/pagination/resources.js +1 -1
  422. package/dist/collection/components/panel/panel.js +1 -1
  423. package/dist/collection/components/panel/resources.js +1 -1
  424. package/dist/collection/components/pick-list/pick-list.js +1 -1
  425. package/dist/collection/components/pick-list/resources.js +1 -1
  426. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  427. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  428. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  429. package/dist/collection/components/pick-list-group/resources.js +1 -1
  430. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  431. package/dist/collection/components/pick-list-item/resources.js +1 -1
  432. package/dist/collection/components/popover/PopoverManager.js +1 -1
  433. package/dist/collection/components/popover/popover.js +1 -1
  434. package/dist/collection/components/popover/resources.js +1 -1
  435. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  436. package/dist/collection/components/progress/progress.js +1 -1
  437. package/dist/collection/components/radio-button/radio-button.js +1 -1
  438. package/dist/collection/components/radio-button/resources.js +1 -1
  439. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  440. package/dist/collection/components/radio-group/interfaces.js +1 -1
  441. package/dist/collection/components/radio-group/radio-group.js +10 -4
  442. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  443. package/dist/collection/components/radio-group-item/resources.js +1 -1
  444. package/dist/collection/components/rating/rating.js +1 -1
  445. package/dist/collection/components/rating/resources.js +1 -1
  446. package/dist/collection/components/scrim/resources.js +1 -1
  447. package/dist/collection/components/scrim/scrim.js +1 -1
  448. package/dist/collection/components/select/resources.js +1 -1
  449. package/dist/collection/components/select/select.js +1 -1
  450. package/dist/collection/components/shell/resources.js +1 -1
  451. package/dist/collection/components/shell/shell.js +1 -1
  452. package/dist/collection/components/shell-center-row/resources.js +1 -1
  453. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  454. package/dist/collection/components/shell-panel/resources.js +1 -1
  455. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  456. package/dist/collection/components/slider/slider.js +1 -1
  457. package/dist/collection/components/sortable-list/resources.js +1 -1
  458. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  459. package/dist/collection/components/split-button/resources.js +1 -1
  460. package/dist/collection/components/split-button/split-button.js +1 -1
  461. package/dist/collection/components/stepper/interfaces.js +1 -1
  462. package/dist/collection/components/stepper/stepper.js +1 -1
  463. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  464. package/dist/collection/components/switch/switch.js +1 -1
  465. package/dist/collection/components/tab/interfaces.js +1 -1
  466. package/dist/collection/components/tab/tab.js +1 -1
  467. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  468. package/dist/collection/components/tab-title/tab-title.js +1 -1
  469. package/dist/collection/components/tabs/interfaces.js +1 -1
  470. package/dist/collection/components/tabs/resources.js +1 -1
  471. package/dist/collection/components/tabs/tabs.js +1 -1
  472. package/dist/collection/components/tile/resources.js +1 -1
  473. package/dist/collection/components/tile/tile.js +1 -1
  474. package/dist/collection/components/tile-select/interfaces.js +1 -1
  475. package/dist/collection/components/tile-select/resources.js +1 -1
  476. package/dist/collection/components/tile-select/tile-select.js +1 -1
  477. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  478. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  479. package/dist/collection/components/time-picker/resources.js +1 -1
  480. package/dist/collection/components/time-picker/time-picker.js +1 -1
  481. package/dist/collection/components/tip/resources.js +1 -1
  482. package/dist/collection/components/tip/tip.js +1 -1
  483. package/dist/collection/components/tip-group/tip-group.js +1 -1
  484. package/dist/collection/components/tip-manager/resources.js +1 -1
  485. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  486. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  487. package/dist/collection/components/tooltip/resources.js +1 -1
  488. package/dist/collection/components/tooltip/tooltip.js +1 -1
  489. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  490. package/dist/collection/components/tree/interfaces.js +1 -1
  491. package/dist/collection/components/tree/tree.js +1 -1
  492. package/dist/collection/components/tree-item/interfaces.js +1 -1
  493. package/dist/collection/components/tree-item/resources.js +1 -1
  494. package/dist/collection/components/tree-item/tree-item.js +1 -1
  495. package/dist/collection/components/value-list/resources.js +1 -1
  496. package/dist/collection/components/value-list/value-list.js +1 -1
  497. package/dist/collection/components/value-list-item/resources.js +1 -1
  498. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  499. package/dist/collection/utils/array.js +1 -1
  500. package/dist/collection/utils/conditionalSlot.js +1 -1
  501. package/dist/collection/utils/date.js +1 -1
  502. package/dist/collection/utils/dom.js +1 -1
  503. package/dist/collection/utils/filter.js +1 -1
  504. package/dist/collection/utils/form.js +1 -1
  505. package/dist/collection/utils/globalAttributes.js +1 -1
  506. package/dist/collection/utils/guid.js +1 -1
  507. package/dist/collection/utils/interactive.js +1 -1
  508. package/dist/collection/utils/key.js +1 -1
  509. package/dist/collection/utils/label.js +1 -1
  510. package/dist/collection/utils/locale.js +1 -1
  511. package/dist/collection/utils/math.js +1 -1
  512. package/dist/collection/utils/number.js +1 -1
  513. package/dist/collection/utils/observers.js +1 -1
  514. package/dist/collection/utils/openCloseComponent.js +6 -0
  515. package/dist/collection/utils/popper.js +1 -1
  516. package/dist/collection/utils/resources.js +1 -1
  517. package/dist/collection/utils/time.js +1 -1
  518. package/dist/components/ExpandToggle.js +1 -1
  519. package/dist/components/Heading.js +1 -1
  520. package/dist/components/action-group.js +1 -1
  521. package/dist/components/action-menu.js +1 -1
  522. package/dist/components/action.js +1 -1
  523. package/dist/components/array.js +1 -1
  524. package/dist/components/button.js +1 -1
  525. package/dist/components/calcite-accordion-item.js +1 -1
  526. package/dist/components/calcite-accordion.js +1 -1
  527. package/dist/components/calcite-action-bar.js +1 -1
  528. package/dist/components/calcite-action-group.js +1 -1
  529. package/dist/components/calcite-action-menu.js +1 -1
  530. package/dist/components/calcite-action-pad.js +1 -1
  531. package/dist/components/calcite-action.js +1 -1
  532. package/dist/components/calcite-alert.js +1 -1
  533. package/dist/components/calcite-avatar.js +1 -1
  534. package/dist/components/calcite-block-section.js +1 -1
  535. package/dist/components/calcite-block.js +1 -1
  536. package/dist/components/calcite-button.js +1 -1
  537. package/dist/components/calcite-card.js +1 -1
  538. package/dist/components/calcite-checkbox.js +1 -1
  539. package/dist/components/calcite-chip.js +1 -1
  540. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  541. package/dist/components/calcite-color-picker-swatch.js +1 -1
  542. package/dist/components/calcite-color-picker.js +16 -8
  543. package/dist/components/calcite-combobox-item-group.js +1 -1
  544. package/dist/components/calcite-combobox-item.js +1 -1
  545. package/dist/components/calcite-combobox.js +18 -19
  546. package/dist/components/calcite-date-picker-day.js +1 -1
  547. package/dist/components/calcite-date-picker-month-header.js +1 -1
  548. package/dist/components/calcite-date-picker-month.js +1 -1
  549. package/dist/components/calcite-date-picker.js +1 -1
  550. package/dist/components/calcite-dropdown-group.js +1 -1
  551. package/dist/components/calcite-dropdown-item.js +1 -1
  552. package/dist/components/calcite-dropdown.js +1 -1
  553. package/dist/components/calcite-fab.js +1 -1
  554. package/dist/components/calcite-filter.js +1 -1
  555. package/dist/components/calcite-flow.js +49 -4
  556. package/dist/components/calcite-graph.js +1 -1
  557. package/dist/components/calcite-handle.js +1 -1
  558. package/dist/components/calcite-icon.js +1 -1
  559. package/dist/components/calcite-inline-editable.js +1 -1
  560. package/dist/components/calcite-input-date-picker.js +1 -1
  561. package/dist/components/calcite-input-message.js +1 -1
  562. package/dist/components/calcite-input-time-picker.js +1 -1
  563. package/dist/components/calcite-input.js +1 -1
  564. package/dist/components/calcite-label.js +1 -1
  565. package/dist/components/calcite-link.js +1 -1
  566. package/dist/components/calcite-list-item-group.js +1 -1
  567. package/dist/components/calcite-list-item.js +1 -1
  568. package/dist/components/calcite-list.js +1 -1
  569. package/dist/components/calcite-loader.js +1 -1
  570. package/dist/components/calcite-modal.js +1 -1
  571. package/dist/components/calcite-notice.js +1 -1
  572. package/dist/components/calcite-option-group.js +1 -1
  573. package/dist/components/calcite-option.js +1 -1
  574. package/dist/components/calcite-pagination.js +1 -1
  575. package/dist/components/calcite-panel.js +1 -1
  576. package/dist/components/calcite-pick-list-group.js +1 -1
  577. package/dist/components/calcite-pick-list-item.js +1 -1
  578. package/dist/components/calcite-pick-list.js +1 -1
  579. package/dist/components/calcite-popover-manager.js +1 -1
  580. package/dist/components/calcite-popover.js +1 -1
  581. package/dist/components/calcite-progress.js +1 -1
  582. package/dist/components/calcite-radio-button-group.js +1 -1
  583. package/dist/components/calcite-radio-button.js +1 -1
  584. package/dist/components/calcite-radio-group-item.js +1 -1
  585. package/dist/components/calcite-radio-group.js +5 -2
  586. package/dist/components/calcite-rating.js +1 -1
  587. package/dist/components/calcite-scrim.js +1 -1
  588. package/dist/components/calcite-select.js +1 -1
  589. package/dist/components/calcite-shell-center-row.js +1 -1
  590. package/dist/components/calcite-shell-panel.js +1 -1
  591. package/dist/components/calcite-shell.js +1 -1
  592. package/dist/components/calcite-slider.js +1 -1
  593. package/dist/components/calcite-sortable-list.js +1 -1
  594. package/dist/components/calcite-split-button.js +1 -1
  595. package/dist/components/calcite-stepper-item.js +1 -1
  596. package/dist/components/calcite-stepper.js +1 -1
  597. package/dist/components/calcite-switch.js +1 -1
  598. package/dist/components/calcite-tab-nav.js +1 -1
  599. package/dist/components/calcite-tab-title.js +1 -1
  600. package/dist/components/calcite-tab.js +1 -1
  601. package/dist/components/calcite-tabs.js +1 -1
  602. package/dist/components/calcite-tile-select-group.js +1 -1
  603. package/dist/components/calcite-tile-select.js +1 -1
  604. package/dist/components/calcite-tile.js +1 -1
  605. package/dist/components/calcite-time-picker.js +1 -1
  606. package/dist/components/calcite-tip-group.js +1 -1
  607. package/dist/components/calcite-tip-manager.js +1 -1
  608. package/dist/components/calcite-tip.js +1 -1
  609. package/dist/components/calcite-tooltip-manager.js +1 -1
  610. package/dist/components/calcite-tooltip.js +1 -1
  611. package/dist/components/calcite-tree-item.js +1 -1
  612. package/dist/components/calcite-tree.js +1 -1
  613. package/dist/components/calcite-value-list-item.js +1 -1
  614. package/dist/components/calcite-value-list.js +1 -1
  615. package/dist/components/checkbox.js +1 -1
  616. package/dist/components/chip.js +1 -1
  617. package/dist/components/color-picker-hex-input.js +1 -1
  618. package/dist/components/color-picker-swatch.js +1 -1
  619. package/dist/components/conditionalSlot.js +1 -1
  620. package/dist/components/date-picker-day.js +1 -1
  621. package/dist/components/date-picker-month-header.js +27 -8
  622. package/dist/components/date-picker-month.js +1 -1
  623. package/dist/components/date-picker.js +1 -1
  624. package/dist/components/date.js +1 -1
  625. package/dist/components/debounce.js +1 -1
  626. package/dist/components/dom.js +1 -1
  627. package/dist/components/dropdown.js +1 -1
  628. package/dist/components/filter.js +1 -1
  629. package/dist/components/forIn.js +1 -1
  630. package/dist/components/form.js +1 -1
  631. package/dist/components/graph.js +1 -1
  632. package/dist/components/guid.js +1 -1
  633. package/dist/components/handle.js +1 -1
  634. package/dist/components/icon.js +1 -1
  635. package/dist/components/index.js +1 -1
  636. package/dist/components/input.js +53 -26
  637. package/dist/components/interactive.js +1 -1
  638. package/dist/components/interfaces.js +1 -1
  639. package/dist/components/interfaces2.js +1 -1
  640. package/dist/components/label.js +1 -1
  641. package/dist/components/label2.js +1 -1
  642. package/dist/components/link.js +1 -1
  643. package/dist/components/loader.js +1 -1
  644. package/dist/components/locale.js +1 -1
  645. package/dist/components/math.js +1 -1
  646. package/dist/components/observers.js +1 -1
  647. package/dist/components/pick-list-item.js +1 -1
  648. package/dist/components/popover.js +1 -1
  649. package/dist/components/popper.js +1 -1
  650. package/dist/components/progress.js +1 -1
  651. package/dist/components/resources.js +1 -1
  652. package/dist/components/resources2.js +1 -1
  653. package/dist/components/resources3.js +1 -1
  654. package/dist/components/scrim.js +1 -1
  655. package/dist/components/shared-list-render.js +1 -1
  656. package/dist/components/sortable.esm.js +1 -1
  657. package/dist/components/switch.js +1 -1
  658. package/dist/components/tab-nav.js +1 -1
  659. package/dist/components/tab-title.js +1 -1
  660. package/dist/components/tab.js +1 -1
  661. package/dist/components/tabs.js +1 -1
  662. package/dist/components/tile.js +1 -1
  663. package/dist/components/time-picker.js +1 -1
  664. package/dist/components/utils.js +1 -1
  665. package/dist/components/utils2.js +1 -1
  666. package/dist/custom-elements/index.js +158 -60
  667. package/dist/esm/{ExpandToggle-979ffbe7.js → ExpandToggle-ab8452e6.js} +5 -5
  668. package/dist/esm/{Heading-495dd561.js → Heading-207e9d25.js} +2 -2
  669. package/dist/esm/{array-87644544.js → array-b0cea8f3.js} +1 -1
  670. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  671. package/dist/esm/calcite-action-bar.entry.js +10 -10
  672. package/dist/esm/calcite-action-group.entry.js +8 -8
  673. package/dist/esm/calcite-action-menu.entry.js +8 -8
  674. package/dist/esm/calcite-action-pad.entry.js +9 -9
  675. package/dist/esm/calcite-action.entry.js +6 -6
  676. package/dist/esm/calcite-alert.entry.js +5 -5
  677. package/dist/esm/calcite-avatar.entry.js +5 -5
  678. package/dist/esm/calcite-block_2.entry.js +8 -8
  679. package/dist/esm/calcite-button.entry.js +8 -8
  680. package/dist/esm/calcite-card.entry.js +6 -6
  681. package/dist/esm/calcite-checkbox.entry.js +7 -7
  682. package/dist/esm/calcite-chip.entry.js +6 -6
  683. package/dist/esm/calcite-color-picker_3.entry.js +23 -15
  684. package/dist/esm/calcite-combobox_3.entry.js +29 -30
  685. package/dist/esm/calcite-date-picker_4.entry.js +33 -14
  686. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  687. package/dist/esm/calcite-fab.entry.js +5 -5
  688. package/dist/esm/calcite-filter.entry.js +7 -7
  689. package/dist/esm/calcite-flow.entry.js +49 -5
  690. package/dist/esm/calcite-graph_2.entry.js +9 -9
  691. package/dist/esm/calcite-handle.entry.js +4 -4
  692. package/dist/esm/calcite-icon.entry.js +5 -5
  693. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  694. package/dist/esm/calcite-input-date-picker.entry.js +10 -10
  695. package/dist/esm/calcite-input-message.entry.js +4 -4
  696. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  697. package/dist/esm/calcite-input.entry.js +60 -34
  698. package/dist/esm/calcite-label.entry.js +5 -5
  699. package/dist/esm/calcite-link.entry.js +5 -5
  700. package/dist/esm/calcite-list_3.entry.js +8 -8
  701. package/dist/esm/calcite-loader.entry.js +3 -3
  702. package/dist/esm/calcite-modal.entry.js +6 -6
  703. package/dist/esm/calcite-notice.entry.js +7 -7
  704. package/dist/esm/calcite-option_3.entry.js +8 -8
  705. package/dist/esm/calcite-pagination.entry.js +4 -4
  706. package/dist/esm/calcite-panel.entry.js +9 -9
  707. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  708. package/dist/esm/calcite-popover_2.entry.js +7 -7
  709. package/dist/esm/calcite-progress.entry.js +2 -2
  710. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  711. package/dist/esm/calcite-radio-button.entry.js +8 -8
  712. package/dist/esm/calcite-radio-group_2.entry.js +10 -7
  713. package/dist/esm/calcite-rating.entry.js +7 -7
  714. package/dist/esm/calcite-scrim.entry.js +2 -2
  715. package/dist/esm/calcite-shell_3.entry.js +7 -7
  716. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  717. package/dist/esm/calcite-split-button.entry.js +3 -3
  718. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  719. package/dist/esm/calcite-switch.entry.js +7 -7
  720. package/dist/esm/calcite-tab_4.entry.js +6 -6
  721. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  722. package/dist/esm/calcite-tile.entry.js +7 -7
  723. package/dist/esm/calcite-tip_3.entry.js +7 -7
  724. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  725. package/dist/esm/calcite-tree_2.entry.js +6 -6
  726. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  727. package/dist/esm/calcite.js +3 -3
  728. package/dist/esm/{conditionalSlot-7dd6b608.js → conditionalSlot-d5f3f5c1.js} +3 -3
  729. package/dist/esm/{debounce-d9da613b.js → debounce-aaa8dd47.js} +1 -1
  730. package/dist/esm/{dom-cb93bb2e.js → dom-219a8122.js} +2 -2
  731. package/dist/esm/{forIn-a61f22f1.js → forIn-9794440e.js} +2 -2
  732. package/dist/esm/{form-b35a2378.js → form-a59523d3.js} +3 -3
  733. package/dist/esm/{guid-d034c369.js → guid-dca959a1.js} +1 -1
  734. package/dist/esm/{index-d685ddb9.js → index-9eaa92a0.js} +1 -1
  735. package/dist/esm/index.js +1 -1
  736. package/dist/esm/{interactive-1023056d.js → interactive-10252a54.js} +1 -1
  737. package/dist/esm/{interfaces-e33a6843.js → interfaces-e0681aca.js} +1 -1
  738. package/dist/esm/{label-2b7744dd.js → label-1aae1385.js} +2 -2
  739. package/dist/esm/loader.js +3 -3
  740. package/dist/esm/{locale-dcab2ceb.js → locale-612cf259.js} +1 -1
  741. package/dist/esm/{math-a33cb265.js → math-8eb3f371.js} +1 -1
  742. package/dist/esm/{observers-51ff9c7f.js → observers-67d50a13.js} +1 -1
  743. package/dist/esm/{popper-fb3f976e.js → popper-9a80f604.js} +2 -2
  744. package/dist/esm/{resources-542f3f8f.js → resources-68a9cb47.js} +5 -5
  745. package/dist/esm/{resources-73e99cd2.js → resources-7a852237.js} +3 -3
  746. package/dist/esm/{resources-2361fd85.js → resources-d9569ec2.js} +1 -1
  747. package/dist/esm/{resources-779d27d5.js → resources-ee3d782a.js} +1 -1
  748. package/dist/esm/{sortable.esm-3d505ed5.js → sortable.esm-5721ecda.js} +1 -1
  749. package/dist/esm/{utils-34481d00.js → utils-cf2548aa.js} +1 -1
  750. package/dist/esm-es5/{ExpandToggle-979ffbe7.js → ExpandToggle-ab8452e6.js} +2 -2
  751. package/dist/esm-es5/{Heading-495dd561.js → Heading-207e9d25.js} +2 -2
  752. package/dist/esm-es5/{array-87644544.js → array-b0cea8f3.js} +1 -1
  753. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  755. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  756. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  757. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  758. package/dist/esm-es5/calcite-action.entry.js +2 -2
  759. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  760. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  761. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  762. package/dist/esm-es5/calcite-button.entry.js +2 -2
  763. package/dist/esm-es5/calcite-card.entry.js +2 -2
  764. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  765. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  766. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  767. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  768. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  769. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  770. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  771. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  772. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  773. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  774. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  775. package/dist/esm-es5/calcite-icon.entry.js +3 -3
  776. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  777. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  778. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  779. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  780. package/dist/esm-es5/calcite-input.entry.js +2 -2
  781. package/dist/esm-es5/calcite-label.entry.js +2 -2
  782. package/dist/esm-es5/calcite-link.entry.js +2 -2
  783. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  785. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  786. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  787. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  788. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  789. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  790. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -3
  791. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  792. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  793. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  794. package/dist/esm-es5/calcite-radio-button.entry.js +3 -3
  795. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  796. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  797. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  798. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  799. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  800. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  801. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  803. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  804. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  805. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  806. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  807. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  808. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  809. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite.js +2 -2
  811. package/dist/esm-es5/{conditionalSlot-7dd6b608.js → conditionalSlot-d5f3f5c1.js} +2 -2
  812. package/dist/esm-es5/{debounce-d9da613b.js → debounce-aaa8dd47.js} +1 -1
  813. package/dist/esm-es5/{dom-cb93bb2e.js → dom-219a8122.js} +2 -2
  814. package/dist/esm-es5/{forIn-a61f22f1.js → forIn-9794440e.js} +2 -2
  815. package/dist/esm-es5/{form-b35a2378.js → form-a59523d3.js} +2 -2
  816. package/dist/esm-es5/{guid-d034c369.js → guid-dca959a1.js} +1 -1
  817. package/dist/esm-es5/{index-d685ddb9.js → index-9eaa92a0.js} +1 -1
  818. package/dist/esm-es5/index.js +1 -1
  819. package/dist/esm-es5/{interactive-1023056d.js → interactive-10252a54.js} +1 -1
  820. package/dist/esm-es5/{interfaces-e33a6843.js → interfaces-e0681aca.js} +1 -1
  821. package/dist/esm-es5/{label-2b7744dd.js → label-1aae1385.js} +2 -2
  822. package/dist/esm-es5/loader.js +2 -2
  823. package/dist/esm-es5/{locale-dcab2ceb.js → locale-612cf259.js} +1 -1
  824. package/dist/esm-es5/{math-a33cb265.js → math-8eb3f371.js} +1 -1
  825. package/dist/esm-es5/{observers-51ff9c7f.js → observers-67d50a13.js} +1 -1
  826. package/dist/esm-es5/{popper-fb3f976e.js → popper-9a80f604.js} +2 -2
  827. package/dist/esm-es5/{resources-542f3f8f.js → resources-68a9cb47.js} +2 -2
  828. package/dist/esm-es5/{resources-73e99cd2.js → resources-7a852237.js} +2 -2
  829. package/dist/esm-es5/{resources-2361fd85.js → resources-d9569ec2.js} +1 -1
  830. package/dist/esm-es5/{resources-779d27d5.js → resources-ee3d782a.js} +1 -1
  831. package/dist/esm-es5/{sortable.esm-3d505ed5.js → sortable.esm-5721ecda.js} +1 -1
  832. package/dist/esm-es5/{utils-34481d00.js → utils-cf2548aa.js} +1 -1
  833. package/dist/extras/docs-json.json +123 -48
  834. package/dist/loader/cdn.js +1 -1
  835. package/dist/loader/index.cjs.js +1 -1
  836. package/dist/loader/index.es2017.js +1 -1
  837. package/dist/loader/index.js +1 -1
  838. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  839. package/dist/types/components/color-picker/color-picker.d.ts +1 -0
  840. package/dist/types/components/combobox/combobox.d.ts +7 -3
  841. package/dist/types/components/date-picker/utils.d.ts +1 -1
  842. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
  843. package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
  844. package/dist/types/components/flow/flow.d.ts +13 -1
  845. package/dist/types/components/input/input.d.ts +86 -40
  846. package/dist/types/components/radio-button/radio-button.d.ts +1 -0
  847. package/dist/types/components/radio-group/radio-group.d.ts +3 -0
  848. package/dist/types/components.d.ts +96 -62
  849. package/dist/types/utils/form.d.ts +1 -3
  850. package/dist/types/utils/openCloseComponent.d.ts +26 -0
  851. package/hydrate/index.js +161 -61
  852. package/package.json +4 -4
  853. package/dist/calcite/p-04b2494e.system.js +0 -6
  854. package/dist/calcite/p-083e22cf.system.js +0 -6
  855. package/dist/calcite/p-0b62e1e0.js +0 -6
  856. package/dist/calcite/p-2f716ca1.js +0 -6
  857. package/dist/calcite/p-32e53b75.system.entry.js +0 -6
  858. package/dist/calcite/p-58c3ab53.entry.js +0 -6
  859. package/dist/calcite/p-668f6753.system.entry.js +0 -6
  860. package/dist/calcite/p-68b7f2b4.system.js +0 -6
  861. package/dist/calcite/p-7ca69078.system.entry.js +0 -6
  862. package/dist/calcite/p-9159e6bc.entry.js +0 -6
  863. package/dist/calcite/p-9a75c2c9.entry.js +0 -6
  864. package/dist/calcite/p-c644bd9f.entry.js +0 -6
  865. package/dist/calcite/p-d3852f5a.entry.js +0 -6
  866. package/dist/calcite/p-eb6a63b1.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- import{r as t,h as a,F as e,g as i,c as n,f as o}from"./p-594e7d9a.js";import{g as r,a as l}from"./p-f13ea8ea.js";import{c as s,d as c}from"./p-2f716ca1.js";import{c as d}from"./p-5fa92a88.js";import"./p-4df2e85f.js";import"./p-ca32fe36.js";const m=class{constructor(a){t(this,a),this.contentBehind=!1}connectedCallback(){s(this)}disconnectedCallback(){c(this)}renderHeader(){return r(this.el,"header")?a("slot",{key:"header",name:"header"}):null}renderContent(){const t=a("slot",{key:"default-slot"}),e=a("slot",{key:"center-row-slot",name:"center-row"}),i="content-container";return this.contentBehind?[a("div",{class:{content:!0,"content--behind":!0},key:i},t),e]:[a("div",{class:"content",key:i},t,e)]}renderFooter(){return r(this.el,"footer")?a("div",{class:"footer",key:"footer"},a("slot",{name:"footer"})):null}renderMain(){const t=r(this.el,"primary-panel");return a("div",{class:{main:!0,"main--reversed":"end"===(null==t?void 0:t.position)}},a("slot",{name:"primary-panel"}),this.renderContent(),a("slot",{name:"contextual-panel"}))}render(){return a(e,null,this.renderHeader(),this.renderMain(),this.renderFooter())}get el(){return i(this)}};m.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-height:unset}.content--behind{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";const h=class{constructor(a){t(this,a),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){s(this)}disconnectedCallback(){c(this)}render(){const{el:t}=this,i=a("div",{class:"content"},a("slot",null)),n=r(t,"action-bar"),o=[n?a("div",{class:"action-bar-container",key:"action-bar"},a("slot",{name:"action-bar"})):null,i];return"end"===(null==n?void 0:n.position)&&o.reverse(),a(e,null,o)}get el(){return i(this)}};h.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){height:33.333333%}:host([height-scale=m]){height:70%}:host([height-scale=l]){height:100%}:host([height-scale=l][detached]){height:calc(100% - 2rem)}::slotted(calcite-panel){height:100%;width:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const p=class{constructor(a){t(this,a),this.calciteShellPanelToggle=n(this,"calciteShellPanelToggle",7),this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.intlResize="Resize",this.resizable=!1,this.contentWidth=null,this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:a}=t,{el:e,step:i,stepMultiplier:n,contentWidthMin:o,contentWidthMax:r,initialContentWidth:s,position:c}=this,d=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(a)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],h="rtl"===l(e)&&m.includes(a)?-1:1;return"ArrowUp"===a||("end"===c?a===m[0]:a===m[1])?s+h*(t.shiftKey?d:i):"ArrowDown"===a||("end"===c?a===m[1]:a===m[0])?s-h*(t.shiftKey?d:i):"number"==typeof o&&"Home"===a?o:"number"==typeof r&&"End"===a?r:"PageDown"===a?s-d:"PageUp"===a?s+d:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const a=this.getKeyAdjustedWidth(t);"number"==typeof a&&this.setContentWidth(a)},this.separatorPointerMove=t=>{t.preventDefault();const{el:a,initialContentWidth:e,position:i,initialClientX:n}=this,o=t.clientX-n,r="rtl"===l(a)?-1:1;this.setContentWidth(e+("end"===i?-r*o:r*o))},this.separatorPointerUp=t=>{t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove)},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{t.preventDefault();const{separatorEl:a}=this;a&&document.activeElement!==a&&a.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)}}watchHandler(){this.calciteShellPanelToggle.emit()}connectedCallback(){s(this)}disconnectedCallback(){c(this),this.disconnectSeparator()}componentDidLoad(){this.updateAriaValues()}renderHeader(){const{el:t}=this;return r(t,"header")?a("div",{class:"content__header",key:"header"},a("slot",{name:"header"})):null}render(){const{collapsed:t,detached:e,position:i,initialContentWidth:n,contentWidth:o,contentWidthMax:r,contentWidthMin:l,intlResize:s,resizable:c}=this,d=!e&&c,m=a("div",{class:{content:!0,"content--detached":e},hidden:t,key:"content",ref:this.storeContentEl,style:d&&o?{width:`${o}px`}:null},this.renderHeader(),a("div",{class:"content__body"},a("slot",null))),h=d?a("div",{"aria-label":s,"aria-orientation":"horizontal","aria-valuemax":r,"aria-valuemin":l,"aria-valuenow":null!=o?o:n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,p=[a("slot",{key:"action-bar",name:"action-bar"}),m,h];return"end"===i&&p.reverse(),a("div",{class:{container:!0}},p)}setContentWidth(t){const{contentWidthMax:a,contentWidthMin:e}=this,i=Math.round(t);this.contentWidth="number"==typeof a&&"number"==typeof e?d(i,e,a):i}updateAriaValues(){const{contentEl:t}=this,a=t&&getComputedStyle(t);if(!a)return;const e=parseInt(a.getPropertyValue("max-width"),10),i=parseInt(a.getPropertyValue("min-width"),10),n=parseInt(a.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i),o(this)}get el(){return i(this)}static get watchers(){return{collapsed:["watchHandler"]}}};p.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{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;bottom:0px;top:0px;z-index:10;display:-ms-flexbox;display:flex;height:100%;width:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing);transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:auto;height:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";export{m as calcite_shell,h as calcite_shell_center_row,p as calcite_shell_panel}
6
+ import{r as t,h as a,F as e,g as i,c as n,f as o}from"./p-31dfb435.js";import{g as r,a as l}from"./p-b9d9a226.js";import{c as s,d as c}from"./p-f2be0190.js";import{c as d}from"./p-8bfdf06f.js";import"./p-ef5e5323.js";import"./p-e03b53b4.js";const m=class{constructor(a){t(this,a),this.contentBehind=!1}connectedCallback(){s(this)}disconnectedCallback(){c(this)}renderHeader(){return r(this.el,"header")?a("slot",{key:"header",name:"header"}):null}renderContent(){const t=a("slot",{key:"default-slot"}),e=a("slot",{key:"center-row-slot",name:"center-row"}),i="content-container";return this.contentBehind?[a("div",{class:{content:!0,"content--behind":!0},key:i},t),e]:[a("div",{class:"content",key:i},t,e)]}renderFooter(){return r(this.el,"footer")?a("div",{class:"footer",key:"footer"},a("slot",{name:"footer"})):null}renderMain(){const t=r(this.el,"primary-panel");return a("div",{class:{main:!0,"main--reversed":"end"===(null==t?void 0:t.position)}},a("slot",{name:"primary-panel"}),this.renderContent(),a("slot",{name:"contextual-panel"}))}render(){return a(e,null,this.renderHeader(),this.renderMain(),this.renderFooter())}get el(){return i(this)}};m.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-height:unset}.content--behind{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:0;border-width:0px;display:initial}::slotted(calcite-shell-center-row){width:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-left-width:1px;border-right-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);bottom:0.5rem;left:var(--calcite-shell-tip-spacing);right:var(--calcite-shell-tip-spacing);z-index:2}";const h=class{constructor(a){t(this,a),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){s(this)}disconnectedCallback(){c(this)}render(){const{el:t}=this,i=a("div",{class:"content"},a("slot",null)),n=r(t,"action-bar"),o=[n?a("div",{class:"action-bar-container",key:"action-bar"},a("slot",{name:"action-bar"})):null,i];return"end"===(null==n?void 0:n.position)&&o.reverse(),a(e,null,o)}get el(){return i(this)}};h.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){height:33.333333%}:host([height-scale=m]){height:70%}:host([height-scale=l]){height:100%}:host([height-scale=l][detached]){height:calc(100% - 2rem)}::slotted(calcite-panel){height:100%;width:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const p=class{constructor(a){t(this,a),this.calciteShellPanelToggle=n(this,"calciteShellPanelToggle",7),this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.intlResize="Resize",this.resizable=!1,this.contentWidth=null,this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:a}=t,{el:e,step:i,stepMultiplier:n,contentWidthMin:o,contentWidthMax:r,initialContentWidth:s,position:c}=this,d=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(a)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],h="rtl"===l(e)&&m.includes(a)?-1:1;return"ArrowUp"===a||("end"===c?a===m[0]:a===m[1])?s+h*(t.shiftKey?d:i):"ArrowDown"===a||("end"===c?a===m[1]:a===m[0])?s-h*(t.shiftKey?d:i):"number"==typeof o&&"Home"===a?o:"number"==typeof r&&"End"===a?r:"PageDown"===a?s-d:"PageUp"===a?s+d:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const a=this.getKeyAdjustedWidth(t);"number"==typeof a&&this.setContentWidth(a)},this.separatorPointerMove=t=>{t.preventDefault();const{el:a,initialContentWidth:e,position:i,initialClientX:n}=this,o=t.clientX-n,r="rtl"===l(a)?-1:1;this.setContentWidth(e+("end"===i?-r*o:r*o))},this.separatorPointerUp=t=>{t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove)},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{t.preventDefault();const{separatorEl:a}=this;a&&document.activeElement!==a&&a.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)}}watchHandler(){this.calciteShellPanelToggle.emit()}connectedCallback(){s(this)}disconnectedCallback(){c(this),this.disconnectSeparator()}componentDidLoad(){this.updateAriaValues()}renderHeader(){const{el:t}=this;return r(t,"header")?a("div",{class:"content__header",key:"header"},a("slot",{name:"header"})):null}render(){const{collapsed:t,detached:e,position:i,initialContentWidth:n,contentWidth:o,contentWidthMax:r,contentWidthMin:l,intlResize:s,resizable:c}=this,d=!e&&c,m=a("div",{class:{content:!0,"content--detached":e},hidden:t,key:"content",ref:this.storeContentEl,style:d&&o?{width:`${o}px`}:null},this.renderHeader(),a("div",{class:"content__body"},a("slot",null))),h=d?a("div",{"aria-label":s,"aria-orientation":"horizontal","aria-valuemax":r,"aria-valuemin":l,"aria-valuenow":null!=o?o:n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,p=[a("slot",{key:"action-bar",name:"action-bar"}),m,h];return"end"===i&&p.reverse(),a("div",{class:{container:!0}},p)}setContentWidth(t){const{contentWidthMax:a,contentWidthMin:e}=this,i=Math.round(t);this.contentWidth="number"==typeof a&&"number"==typeof e?d(i,e,a):i}updateAriaValues(){const{contentEl:t}=this,a=t&&getComputedStyle(t);if(!a)return;const e=parseInt(a.getPropertyValue("max-width"),10),i=parseInt(a.getPropertyValue("min-width"),10),n=parseInt(a.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i),o(this)}get el(){return i(this)}static get watchers(){return{collapsed:["watchHandler"]}}};p.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{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;bottom:0px;top:0px;z-index:10;display:-ms-flexbox;display:flex;height:100%;width:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){height:100%;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing);transition:max-height var(--calcite-animation-timing), max-width var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-left:0.5rem;margin-right:0.5rem;margin-top:0.5rem;margin-bottom:auto;height:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";export{m as calcite_shell,h as calcite_shell_center_row,p as calcite_shell_panel}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- import{f as t,g as i,t as s}from"./p-f13ea8ea.js";import{g as n}from"./p-7f05ad2b.js";import{d as e}from"./p-a1f1846b.js";import{h as a,H as o}from"./p-594e7d9a.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"},l=3;function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function d(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(A.bind(this),0)}function f(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function m(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function p(i){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=i.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(C(n,a),a&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function v(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||F(s).forEach((i=>{C(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function b(i){const{key:s,target:n}=i;if(!function(t){return!!u.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[w(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>C(t,t===l))),!a&&o&&(l.selected=!0),t(l)}function w(t,i,s){const{items:e}=t,{length:a}=e,o=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=n(o+c*r++,a),l!==h););return l}function F(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function C(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function k(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:a}=this;if(0===n.length)return;if(e)return null===(s=F(n)[0])||void 0===s?void 0:s.setFocus();const o=F(n),c=o.find((t=>t.selected))||o[0];return a&&c&&(c.selected=!0),c.setFocus()}function x(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,C(t,!1)),t.selected&&(i=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||C(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function E(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let S;function L(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;S||(S=new Set);const a=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&S.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));S.forEach((t=>{const s=a.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,a.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),S.clear(),a.length>0&&!e&&!this.multiple&&C(a[0],!0)}function P(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var T;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(T||(T={}));const U=({props:{disabled:t,loading:i,filterEnabled:n,dataForFilter:e,handleFilter:c,filterPlaceholder:r,setFilterEl:l},...h})=>{const u=a("slot",null);return a(o,{"aria-busy":s(i),role:"menu",...h},a("section",null,a("header",{class:{"sticky-pos":!0}},n?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,ref:l}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,u))},q={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},D={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"},M={remove:"Remove"};export{q as C,l as H,T as I,U as L,H as S,M as T,j as a,w as b,f as c,I as d,m as e,g as f,P as g,L as h,d as i,p as j,b as k,v as l,h as m,x as n,k as o,r as p,c as q,y as r,E as s,D as t}
6
+ import{f as t,g as i,t as s}from"./p-b9d9a226.js";import{g as n}from"./p-36606f84.js";import{d as e}from"./p-d9c10332.js";import{h as o,H as a}from"./p-31dfb435.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"},l=3;function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function d(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(A.bind(this),0)}function f(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function m(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function p(i){const{selectedValues:s}=this,{item:n,value:e,selected:o,shiftPressed:a}=i.detail;o?(this.multiple&&a&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&a&&this.selectSiblings(n,!0)),this.multiple||(C(n,o),o&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function v(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||F(s).forEach((i=>{C(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function b(i){const{key:s,target:n}=i;if(!function(t){return!!u.find((i=>i===t))}(s))return;const{items:e,multiple:o,selectionFollowsFocus:a}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[w(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>C(t,t===l))),!o&&a&&(l.selected=!0),t(l)}function w(t,i,s){const{items:e}=t,{length:o}=e,a=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(a+c*r++,o);const h=l;for(;e[l].disabled&&(l=n(a+c*r++,o),l!==h););return l}function F(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function C(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function k(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:o}=this;if(0===n.length)return;if(e)return null===(s=F(n)[0])||void 0===s?void 0:s.setFocus();const a=F(n),c=a.find((t=>t.selected))||a[0];return o&&c&&(c.selected=!0),c.setFocus()}function x(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,C(t,!1)),t.selected&&(i=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||C(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function E(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let S;function L(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;S||(S=new Set);const o=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&S.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));S.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),S.clear(),o.length>0&&!e&&!this.multiple&&C(o[0],!0)}function P(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var T;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(T||(T={}));const U=({props:{disabled:t,loading:i,filterEnabled:n,dataForFilter:e,handleFilter:c,filterPlaceholder:r,setFilterEl:l},...h})=>{const u=o("slot",null);return o(a,{"aria-busy":s(i),role:"menu",...h},o("section",null,o("header",{class:{"sticky-pos":!0}},n?o("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,ref:l}):null,o("slot",{name:"menu-actions"})),i?o("calcite-scrim",{loading:i}):null,u))},q={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},D={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"},M={remove:"Remove"};export{q as C,l as H,T as I,U as L,H as S,M as T,j as a,w as b,f as c,I as d,m as e,g as f,P as g,L as h,d as i,p as j,b as k,v as l,h as m,x as n,k as o,r as p,c as q,y as r,E as s,D as t}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-594e7d9a.js";import{g as s}from"./p-4df2e85f.js";import{a as n,f as r,t as c}from"./p-f13ea8ea.js";import{c as d,d as l,g as h}from"./p-ed2b76b4.js";import{c as m,d as u,H as p}from"./p-dd36724c.js";import{g as b}from"./p-7f05ad2b.js";import{u as f}from"./p-ce1516e7.js";const w=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.focused=!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 s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));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||r(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-${s()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(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"]}}};w.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);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-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([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}: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);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}: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);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}: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);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@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{w as calcite_radio_button}
6
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-31dfb435.js";import{g as s}from"./p-ef5e5323.js";import{a as n,f as r,t as c}from"./p-b9d9a226.js";import{c as d,d as l,g as h}from"./p-4379fced.js";import{c as m,d as u,H as p}from"./p-014bddb9.js";import{g as b}from"./p-36606f84.js";import{u as f}from"./p-bd9a149a.js";const w=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.focused=!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 s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));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||r(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-${s()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(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"]}}};w.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);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-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([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}: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);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}: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);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}: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);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@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{w as calcite_radio_button}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.505
6
- */System.register(["./p-8af062d3.system.js","./p-478c47d5.system.js","./p-b16d3228.system.js","./p-083e22cf.system.js","./p-6b1f3b70.system.js","./p-df583031.system.js"],(function(t){"use strict";var e,a,i,n,r,o,c,s,l,m,d,p,f;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.F;r=t.g},function(t){o=t.g;c=t.a;s=t.t},function(t){l=t.H;m=t.c},function(t){d=t.c;p=t.d},function(t){f=t.c},function(){}],execute:function(){var u={header:"header",heading:"heading",close:"close",container:"container",tipContainer:"tip-container",tipContainerAdvancing:"tip-container--advancing",tipContainerRetreating:"tip-container--retreating",pagination:"pagination",pagePosition:"page-position",pageNext:"page-next",pagePrevious:"page-previous"};var h={chevronLeft:"chevron-left",chevronRight:"chevron-right",close:"x"};var g={defaultGroupTitle:"Tips",defaultPaginationLabel:"Tip",close:"Close",previous:"Previous",next:"Next"};var b=2;var v={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info"};var y={close:"x"};var x={thumbnail:"thumbnail"};var w={close:"Close"};var k=b+1;var D="@-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;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{width:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0px;padding-right:0px}::slotted(p){margin-top:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";var _=t("calcite_tip",function(){function t(t){var i=this;e(this,t);this.calciteTipDismiss=a(this,"calciteTipDismiss",7);this.dismissed=false;this.nonDismissible=false;this.selected=false;this.hideTip=function(){i.dismissed=true;i.calciteTipDismiss.emit()}}t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.renderHeader=function(){var t;var e=this,a=e.heading,n=e.headingLevel,r=e.el;var o=(t=r.closest("calcite-tip-manager"))===null||t===void 0?void 0:t.headingLevel;var c=o?m(o+1):null;var s=n||c||k;return a?i("header",{class:v.header},i(l,{class:v.heading,level:s},a)):null};t.prototype.renderDismissButton=function(){var t=this,e=t.nonDismissible,a=t.hideTip,n=t.intlClose;var r=n||w.close;return!e?i("calcite-action",{class:v.close,icon:y.close,onClick:a,scale:"l",text:r}):null};t.prototype.renderImageFrame=function(){var t=this.el;return o(t,x.thumbnail)?i("div",{class:v.imageFrame,key:"thumbnail"},i("slot",{name:x.thumbnail})):null};t.prototype.renderInfoNode=function(){return i("div",{class:v.info},i("slot",null))};t.prototype.renderContent=function(){return i("div",{class:v.content},this.renderImageFrame(),this.renderInfoNode())};t.prototype.render=function(){return i(n,null,i("article",{class:v.container},this.renderHeader(),this.renderContent()),this.renderDismissButton())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());_.style=D;var T="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";var z=t("calcite_tip_group",function(){function t(t){e(this,t)}t.prototype.render=function(){return i("slot",null)};return t}());z.style=T;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-color:transparent;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:0.5rem}.page-position{margin-top:0px;margin-bottom:0px;margin-left:0.5rem;margin-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";var I=t("calcite_tip_manager",function(){function t(t){var i=this;e(this,t);this.calciteTipManagerToggle=a(this,"calciteTipManagerToggle",7);this.calciteTipManagerClose=a(this,"calciteTipManagerClose",7);this.closed=false;this.mutationObserver=f("mutation",(function(){return i.setUpTips()}));this.hideTipManager=function(){i.closed=true;i.calciteTipManagerToggle.emit();i.calciteTipManagerClose.emit()};this.previousClicked=function(){i.previousTip()};this.nextClicked=function(){i.nextTip()};this.tipManagerKeyUpHandler=function(t){if(t.target!==i.container){return}switch(t.key){case"ArrowRight":t.preventDefault();i.nextTip();break;case"ArrowLeft":t.preventDefault();i.previousTip();break;case"Home":t.preventDefault();i.selectedIndex=0;break;case"End":t.preventDefault();i.selectedIndex=i.total-1;break}};this.storeContainerRef=function(t){i.container=t}}t.prototype.closedChangeHandler=function(){this.direction=null;this.calciteTipManagerToggle.emit()};t.prototype.selectedChangeHandler=function(){this.showSelectedTip();this.updateGroupTitle()};t.prototype.connectedCallback=function(){var t;this.setUpTips();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.nextTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="advancing";t=this.selectedIndex+1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.previousTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="retreating";t=this.selectedIndex-1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.setUpTips=function(){var t=Array.from(this.el.querySelectorAll("calcite-tip"));this.total=t.length;if(this.total===0){return}var e=this.el.querySelector("calcite-tip[selected]");this.tips=t;this.selectedIndex=e?t.indexOf(e):0;t.forEach((function(t){t.nonDismissible=true}));this.showSelectedTip();this.updateGroupTitle()};t.prototype.showSelectedTip=function(){var t=this;this.tips.forEach((function(e,a){var i=t.selectedIndex===a;e.selected=i;e.hidden=!i}))};t.prototype.updateGroupTitle=function(){var t=this.tips[this.selectedIndex];var e=t.closest("calcite-tip-group");this.groupTitle=(e===null||e===void 0?void 0:e.groupTitle)||this.intlDefaultTitle||g.defaultGroupTitle};t.prototype.renderPagination=function(){var t=c(this.el);var e=this,a=e.selectedIndex,n=e.tips,r=e.total,o=e.intlNext,s=e.intlPrevious,l=e.intlPaginationLabel;var m=o||g.next;var d=s||g.previous;var p=l||g.defaultPaginationLabel;return n.length>1?i("footer",{class:u.pagination},i("calcite-action",{class:u.pagePrevious,icon:t==="ltr"?h.chevronLeft:h.chevronRight,onClick:this.previousClicked,scale:"m",text:d}),i("span",{class:u.pagePosition},"".concat(p," ").concat(a+1,"/").concat(r)),i("calcite-action",{class:u.pageNext,icon:t==="ltr"?h.chevronRight:h.chevronLeft,onClick:this.nextClicked,scale:"m",text:m})):null};t.prototype.render=function(){var t;var e=this,a=e.closed,n=e.direction,r=e.headingLevel,o=e.groupTitle,c=e.selectedIndex,m=e.intlClose,d=e.total;var p=m||g.close;if(d===0){return null}return i("section",{"aria-hidden":s(a),class:u.container,hidden:a,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:u.header},i(l,{class:u.heading,level:r||b},o),i("calcite-action",{class:u.close,onClick:this.hideTipManager,scale:"m",text:p},i("calcite-icon",{icon:h.close,scale:"m"}))),i("div",{class:(t={},t[u.tipContainer]=true,t[u.tipContainerAdvancing]=!a&&n==="advancing",t[u.tipContainerRetreating]=!a&&n==="retreating",t),key:c,tabIndex:0},i("slot",null)),this.renderPagination())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}},enumerable:false,configurable:true});return t}());I.style=C}}}));
5
+ * v1.0.0-next.508
6
+ */System.register(["./p-bb535e85.system.js","./p-2253330a.system.js","./p-912d06cb.system.js","./p-95abc9b6.system.js","./p-ba83da9c.system.js","./p-64dbc066.system.js"],(function(t){"use strict";var e,a,i,n,r,o,c,s,l,m,d,p,f;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.F;r=t.g},function(t){o=t.g;c=t.a;s=t.t},function(t){l=t.H;m=t.c},function(t){d=t.c;p=t.d},function(t){f=t.c},function(){}],execute:function(){var u={header:"header",heading:"heading",close:"close",container:"container",tipContainer:"tip-container",tipContainerAdvancing:"tip-container--advancing",tipContainerRetreating:"tip-container--retreating",pagination:"pagination",pagePosition:"page-position",pageNext:"page-next",pagePrevious:"page-previous"};var h={chevronLeft:"chevron-left",chevronRight:"chevron-right",close:"x"};var g={defaultGroupTitle:"Tips",defaultPaginationLabel:"Tip",close:"Close",previous:"Previous",next:"Next"};var b=2;var v={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info"};var y={close:"x"};var x={thumbnail:"thumbnail"};var w={close:"Close"};var k=b+1;var D="@-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;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{width:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0px;padding-right:0px}::slotted(p){margin-top:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";var _=t("calcite_tip",function(){function t(t){var i=this;e(this,t);this.calciteTipDismiss=a(this,"calciteTipDismiss",7);this.dismissed=false;this.nonDismissible=false;this.selected=false;this.hideTip=function(){i.dismissed=true;i.calciteTipDismiss.emit()}}t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.renderHeader=function(){var t;var e=this,a=e.heading,n=e.headingLevel,r=e.el;var o=(t=r.closest("calcite-tip-manager"))===null||t===void 0?void 0:t.headingLevel;var c=o?m(o+1):null;var s=n||c||k;return a?i("header",{class:v.header},i(l,{class:v.heading,level:s},a)):null};t.prototype.renderDismissButton=function(){var t=this,e=t.nonDismissible,a=t.hideTip,n=t.intlClose;var r=n||w.close;return!e?i("calcite-action",{class:v.close,icon:y.close,onClick:a,scale:"l",text:r}):null};t.prototype.renderImageFrame=function(){var t=this.el;return o(t,x.thumbnail)?i("div",{class:v.imageFrame,key:"thumbnail"},i("slot",{name:x.thumbnail})):null};t.prototype.renderInfoNode=function(){return i("div",{class:v.info},i("slot",null))};t.prototype.renderContent=function(){return i("div",{class:v.content},this.renderImageFrame(),this.renderInfoNode())};t.prototype.render=function(){return i(n,null,i("article",{class:v.container},this.renderHeader(),this.renderContent()),this.renderDismissButton())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());_.style=D;var T="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";var z=t("calcite_tip_group",function(){function t(t){e(this,t)}t.prototype.render=function(){return i("slot",null)};return t}());z.style=T;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-color:transparent;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:0.5rem}.page-position{margin-top:0px;margin-bottom:0px;margin-left:0.5rem;margin-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";var I=t("calcite_tip_manager",function(){function t(t){var i=this;e(this,t);this.calciteTipManagerToggle=a(this,"calciteTipManagerToggle",7);this.calciteTipManagerClose=a(this,"calciteTipManagerClose",7);this.closed=false;this.mutationObserver=f("mutation",(function(){return i.setUpTips()}));this.hideTipManager=function(){i.closed=true;i.calciteTipManagerToggle.emit();i.calciteTipManagerClose.emit()};this.previousClicked=function(){i.previousTip()};this.nextClicked=function(){i.nextTip()};this.tipManagerKeyUpHandler=function(t){if(t.target!==i.container){return}switch(t.key){case"ArrowRight":t.preventDefault();i.nextTip();break;case"ArrowLeft":t.preventDefault();i.previousTip();break;case"Home":t.preventDefault();i.selectedIndex=0;break;case"End":t.preventDefault();i.selectedIndex=i.total-1;break}};this.storeContainerRef=function(t){i.container=t}}t.prototype.closedChangeHandler=function(){this.direction=null;this.calciteTipManagerToggle.emit()};t.prototype.selectedChangeHandler=function(){this.showSelectedTip();this.updateGroupTitle()};t.prototype.connectedCallback=function(){var t;this.setUpTips();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.nextTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="advancing";t=this.selectedIndex+1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.previousTip=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){this.direction="retreating";t=this.selectedIndex-1;this.selectedIndex=(t+this.total)%this.total;return[2]}))}))};t.prototype.setUpTips=function(){var t=Array.from(this.el.querySelectorAll("calcite-tip"));this.total=t.length;if(this.total===0){return}var e=this.el.querySelector("calcite-tip[selected]");this.tips=t;this.selectedIndex=e?t.indexOf(e):0;t.forEach((function(t){t.nonDismissible=true}));this.showSelectedTip();this.updateGroupTitle()};t.prototype.showSelectedTip=function(){var t=this;this.tips.forEach((function(e,a){var i=t.selectedIndex===a;e.selected=i;e.hidden=!i}))};t.prototype.updateGroupTitle=function(){var t=this.tips[this.selectedIndex];var e=t.closest("calcite-tip-group");this.groupTitle=(e===null||e===void 0?void 0:e.groupTitle)||this.intlDefaultTitle||g.defaultGroupTitle};t.prototype.renderPagination=function(){var t=c(this.el);var e=this,a=e.selectedIndex,n=e.tips,r=e.total,o=e.intlNext,s=e.intlPrevious,l=e.intlPaginationLabel;var m=o||g.next;var d=s||g.previous;var p=l||g.defaultPaginationLabel;return n.length>1?i("footer",{class:u.pagination},i("calcite-action",{class:u.pagePrevious,icon:t==="ltr"?h.chevronLeft:h.chevronRight,onClick:this.previousClicked,scale:"m",text:d}),i("span",{class:u.pagePosition},"".concat(p," ").concat(a+1,"/").concat(r)),i("calcite-action",{class:u.pageNext,icon:t==="ltr"?h.chevronRight:h.chevronLeft,onClick:this.nextClicked,scale:"m",text:m})):null};t.prototype.render=function(){var t;var e=this,a=e.closed,n=e.direction,r=e.headingLevel,o=e.groupTitle,c=e.selectedIndex,m=e.intlClose,d=e.total;var p=m||g.close;if(d===0){return null}return i("section",{"aria-hidden":s(a),class:u.container,hidden:a,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:u.header},i(l,{class:u.heading,level:r||b},o),i("calcite-action",{class:u.close,onClick:this.hideTipManager,scale:"m",text:p},i("calcite-icon",{icon:h.close,scale:"m"}))),i("div",{class:(t={},t[u.tipContainer]=true,t[u.tipContainerAdvancing]=!a&&n==="advancing",t[u.tipContainerRetreating]=!a&&n==="retreating",t),key:c,tabIndex:0},i("slot",null)),this.renderPagination())};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}},enumerable:false,configurable:true});return t}());I.style=C}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- System.register(["./p-8af062d3.system.js","./p-e548be7f.system.js","./p-478c47d5.system.js","./p-df583031.system.js"],(function(t){"use strict";var a,e,i,n,o,l,r;return{setters:[function(t){a=t.r;e=t.c;i=t.h;n=t.H;o=t.g},function(t){l=t.l;r=t.a},function(){},function(){}],execute:function(){var s={container:"container"};var c="@-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:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]){--calcite-label-margin-bottom:0.5rem}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=m]){--calcite-label-margin-bottom:0.75rem}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=l]){--calcite-label-margin-bottom:1rem}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:var(--calcite-label-margin-bottom)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}: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])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var m=t("calcite_label",function(){function t(t){var i=this;a(this,t);this.calciteInternalLabelClick=e(this,"calciteInternalLabelClick",3);this.alignment="start";this.status="idle";this.scale="m";this.layout="default";this.disabled=false;this.labelClickHandler=function(t){i.calciteInternalLabelClick.emit({sourceEvent:t})}}t.prototype.connectedCallback=function(){document.dispatchEvent(new CustomEvent(l))};t.prototype.disconnectedCallback=function(){document.dispatchEvent(new CustomEvent(r))};t.prototype.render=function(){return i(n,{onClick:this.labelClickHandler},i("div",{class:s.container},i("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=c}}}));
6
+ System.register(["./p-bb535e85.system.js","./p-943d74de.system.js","./p-2253330a.system.js","./p-64dbc066.system.js"],(function(t){"use strict";var a,e,i,n,o,l,r;return{setters:[function(t){a=t.r;e=t.c;i=t.h;n=t.H;o=t.g},function(t){l=t.l;r=t.a},function(){},function(){}],execute:function(){var s={container:"container"};var c="@-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:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]){--calcite-label-margin-bottom:0.5rem}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=m]){--calcite-label-margin-bottom:0.75rem}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=l]){--calcite-label-margin-bottom:1rem}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:var(--calcite-label-margin-bottom)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}: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])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var m=t("calcite_label",function(){function t(t){var i=this;a(this,t);this.calciteInternalLabelClick=e(this,"calciteInternalLabelClick",3);this.alignment="start";this.status="idle";this.scale="m";this.layout="default";this.disabled=false;this.labelClickHandler=function(t){i.calciteInternalLabelClick.emit({sourceEvent:t})}}t.prototype.connectedCallback=function(){document.dispatchEvent(new CustomEvent(l))};t.prototype.disconnectedCallback=function(){document.dispatchEvent(new CustomEvent(r))};t.prototype.render=function(){return i(n,{onClick:this.labelClickHandler},i("div",{class:s.container},i("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=c}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- import{r as t,c as i,h as e,g as a,H as n}from"./p-594e7d9a.js";import{d as r,t as o}from"./p-f13ea8ea.js";import{u as s}from"./p-ce1516e7.js";import"./p-4df2e85f.js";const c=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteInternalStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.enabledItems.length-1;switch(i.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const i=t.target,{content:e,position:a}=t.detail;e&&i.active&&(this.requestedContent=e),this.itemMap.set(i,{position:a,content:e}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{content:i,position:e}=t.detail;i&&(this.requestedContent=i),"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e}),t.stopPropagation()}handleUserRequestedStepperItemSelect(t){const{position:i}=t.detail;this.calciteStepperItemChange.emit({position:i}),t.stopPropagation()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const i=t-1;this.currentPosition!==i&&this.updateStep(i)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,i="next"){var e;const{items:a,currentPosition:n}=this;let r=t;for(;null===(e=a[r])||void 0===e?void 0:e.disabled;)r+="previous"===i?-1:1;return r!==n&&r<a.length&&r>=0?r:null}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}updateStep(t){var i;const{itemMap:e,items:a}=this;this.currentPosition=t;const n=null===(i=e.get(a[t]))||void 0===i?void 0:i.content;n&&(this.requestedContent=n),this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){this.focusElement(this.enabledItems[0])}focusLastItem(){this.focusElement(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i+1]||this.enabledItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}focusElement(t){null==t||t.focus()}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((i,e)=>t.get(i).position-t.get(e).position))}filterItems(){return this.items.filter((t=>!t.disabled))}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};c.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";const l=class{constructor(e){t(this,e),this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",7),this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",7),this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",7),this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})},this.setItemContent=t=>{this.itemPosition=this.getItemPosition();const i=t.target.assignedNodes({flatten:!0});i.length&&(this.itemContent=i),this.registerStepperItem(),this.active&&this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}activeWatcher(t){t&&this.emitRequestedItem()}componentWillLoad(){this.icon=r(this.el,"icon",!1),this.numbered=r(this.el,"numbered",!1),this.layout=r(this.el,"layout",!1),this.scale=r(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidRender(){s(this,!0)}render(){return e(n,{"aria-expanded":o(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},e("div",{class:"container"},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),e("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",{onSlotchange:this.setItemContent}))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.activePosition=t.detail.position,this.determineActiveItem()),t.stopPropagation()}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-heading{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-top-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";export{c as calcite_stepper,l as calcite_stepper_item}
6
+ import{r as t,c as i,h as e,g as a,H as n}from"./p-31dfb435.js";import{d as r,t as o}from"./p-b9d9a226.js";import{u as s}from"./p-bd9a149a.js";import"./p-ef5e5323.js";const c=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteInternalStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.enabledItems.length-1;switch(i.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const i=t.target,{content:e,position:a}=t.detail;e&&i.active&&(this.requestedContent=e),this.itemMap.set(i,{position:a,content:e}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{content:i,position:e}=t.detail;i&&(this.requestedContent=i),"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e}),t.stopPropagation()}handleUserRequestedStepperItemSelect(t){const{position:i}=t.detail;this.calciteStepperItemChange.emit({position:i}),t.stopPropagation()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const i=t-1;this.currentPosition!==i&&this.updateStep(i)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,i="next"){var e;const{items:a,currentPosition:n}=this;let r=t;for(;null===(e=a[r])||void 0===e?void 0:e.disabled;)r+="previous"===i?-1:1;return r!==n&&r<a.length&&r>=0?r:null}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}updateStep(t){var i;const{itemMap:e,items:a}=this;this.currentPosition=t;const n=null===(i=e.get(a[t]))||void 0===i?void 0:i.content;n&&(this.requestedContent=n),this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){this.focusElement(this.enabledItems[0])}focusLastItem(){this.focusElement(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i+1]||this.enabledItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.enabledItems[i-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}focusElement(t){null==t||t.focus()}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((i,e)=>t.get(i).position-t.get(e).position))}filterItems(){return this.items.filter((t=>!t.disabled))}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};c.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";const l=class{constructor(e){t(this,e),this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",7),this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",7),this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",7),this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})},this.setItemContent=t=>{this.itemPosition=this.getItemPosition();const i=t.target.assignedNodes({flatten:!0});i.length&&(this.itemContent=i),this.registerStepperItem(),this.active&&this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}activeWatcher(t){t&&this.emitRequestedItem()}componentWillLoad(){this.icon=r(this.el,"icon",!1),this.numbered=r(this.el,"numbered",!1),this.layout=r(this.el,"layout",!1),this.scale=r(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidRender(){s(this,!0)}render(){return e(n,{"aria-expanded":o(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},e("div",{class:"container"},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),e("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",{onSlotchange:this.setItemContent}))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.activePosition=t.detail.position,this.determineActiveItem()),t.stopPropagation()}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],active:["activeWatcher"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-heading{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-top-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";export{c as calcite_stepper,l as calcite_stepper_item}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.505
4
+ * v1.0.0-next.508
5
5
  */
6
- import{r as t,c as a,h as i,F as e,g as n}from"./p-594e7d9a.js";import{g as r,a as o,t as s}from"./p-f13ea8ea.js";import{H as c,c as l}from"./p-0b62e1e0.js";import{c as m,d}from"./p-2f716ca1.js";import{c as p}from"./p-ca32fe36.js";import"./p-4df2e85f.js";const f=class{constructor(i){t(this,i),this.calciteTipDismiss=a(this,"calciteTipDismiss",7),this.dismissed=!1,this.nonDismissible=!1,this.selected=!1,this.hideTip=()=>{this.dismissed=!0,this.calciteTipDismiss.emit()}}connectedCallback(){m(this)}disconnectedCallback(){d(this)}renderHeader(){var t;const{heading:a,headingLevel:e,el:n}=this,r=null===(t=n.closest("calcite-tip-manager"))||void 0===t?void 0:t.headingLevel,o=r?l(r+1):null;return a?i("header",{class:"header"},i(c,{class:"heading",level:e||o||3},a)):null}renderDismissButton(){const{nonDismissible:t,hideTip:a,intlClose:e}=this;return t?null:i("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:e||"Close"})}renderImageFrame(){const{el:t}=this;return r(t,"thumbnail")?i("div",{class:"image-frame",key:"thumbnail"},i("slot",{name:"thumbnail"})):null}renderInfoNode(){return i("div",{class:"info"},i("slot",null))}renderContent(){return i("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return i(e,null,i("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}get el(){return n(this)}};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{position:relative;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{width:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0px;padding-right:0px}::slotted(p){margin-top:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";const h=class{constructor(a){t(this,a)}render(){return i("slot",null)}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";const g=class{constructor(i){t(this,i),this.calciteTipManagerToggle=a(this,"calciteTipManagerToggle",7),this.calciteTipManagerClose=a(this,"calciteTipManagerClose",7),this.closed=!1,this.mutationObserver=p("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerToggle.emit(),this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyUpHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t}}closedChangeHandler(){this.direction=null,this.calciteTipManagerToggle.emit()}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}connectedCallback(){var t;this.setUpTips(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=a?t.indexOf(a):0,t.forEach((t=>{t.nonDismissible=!0})),this.showSelectedTip(),this.updateGroupTitle()}showSelectedTip(){this.tips.forEach(((t,a)=>{const i=this.selectedIndex===a;t.selected=i,t.hidden=!i}))}updateGroupTitle(){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=(null==t?void 0:t.groupTitle)||this.intlDefaultTitle||"Tips"}renderPagination(){const t=o(this.el),{selectedIndex:a,tips:e,total:n,intlNext:r,intlPrevious:s,intlPaginationLabel:c}=this,l=r||"Next",m=c||"Tip";return e.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?"chevron-left":"chevron-right",onClick:this.previousClicked,scale:"m",text:s||"Previous"}),i("span",{class:"page-position"},`${m} ${a+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?"chevron-right":"chevron-left",onClick:this.nextClicked,scale:"m",text:l})):null}render(){const{closed:t,direction:a,headingLevel:e,groupTitle:n,selectedIndex:r,intlClose:o,total:l}=this,m=o||"Close";return 0===l?null:i("section",{"aria-hidden":s(t),class:"container",hidden:t,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(c,{class:"heading",level:e||2},n),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:m},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{"tip-container":!0,"tip-container--advancing":!t&&"advancing"===a,"tip-container--retreating":!t&&"retreating"===a},key:r,tabIndex:0},i("slot",null)),this.renderPagination())}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}}};g.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-color:transparent;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:0.5rem}.page-position{margin-top:0px;margin-bottom:0px;margin-left:0.5rem;margin-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";export{f as calcite_tip,h as calcite_tip_group,g as calcite_tip_manager}
6
+ import{r as t,c as a,h as i,F as e,g as n}from"./p-31dfb435.js";import{g as r,a as o,t as s}from"./p-b9d9a226.js";import{H as c,c as l}from"./p-4be2d8cb.js";import{c as m,d}from"./p-f2be0190.js";import{c as p}from"./p-e03b53b4.js";import"./p-ef5e5323.js";const f=class{constructor(i){t(this,i),this.calciteTipDismiss=a(this,"calciteTipDismiss",7),this.dismissed=!1,this.nonDismissible=!1,this.selected=!1,this.hideTip=()=>{this.dismissed=!0,this.calciteTipDismiss.emit()}}connectedCallback(){m(this)}disconnectedCallback(){d(this)}renderHeader(){var t;const{heading:a,headingLevel:e,el:n}=this,r=null===(t=n.closest("calcite-tip-manager"))||void 0===t?void 0:t.headingLevel,o=r?l(r+1):null;return a?i("header",{class:"header"},i(c,{class:"heading",level:e||o||3},a)):null}renderDismissButton(){const{nonDismissible:t,hideTip:a,intlClose:e}=this;return t?null:i("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:e||"Close"})}renderImageFrame(){const{el:t}=this;return r(t,"thumbnail")?i("div",{class:"image-frame",key:"thumbnail"},i("slot",{name:"thumbnail"})):null}renderInfoNode(){return i("div",{class:"info"},i("slot",null))}renderContent(){return i("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return i(e,null,i("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}get el(){return n(this)}};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{position:relative;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{width:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0px;padding-right:0px}::slotted(p){margin-top:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";const h=class{constructor(a){t(this,a)}render(){return i("slot",null)}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";const g=class{constructor(i){t(this,i),this.calciteTipManagerToggle=a(this,"calciteTipManagerToggle",7),this.calciteTipManagerClose=a(this,"calciteTipManagerClose",7),this.closed=!1,this.mutationObserver=p("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerToggle.emit(),this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyUpHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t}}closedChangeHandler(){this.direction=null,this.calciteTipManagerToggle.emit()}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}connectedCallback(){var t;this.setUpTips(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=a?t.indexOf(a):0,t.forEach((t=>{t.nonDismissible=!0})),this.showSelectedTip(),this.updateGroupTitle()}showSelectedTip(){this.tips.forEach(((t,a)=>{const i=this.selectedIndex===a;t.selected=i,t.hidden=!i}))}updateGroupTitle(){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=(null==t?void 0:t.groupTitle)||this.intlDefaultTitle||"Tips"}renderPagination(){const t=o(this.el),{selectedIndex:a,tips:e,total:n,intlNext:r,intlPrevious:s,intlPaginationLabel:c}=this,l=r||"Next",m=c||"Tip";return e.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?"chevron-left":"chevron-right",onClick:this.previousClicked,scale:"m",text:s||"Previous"}),i("span",{class:"page-position"},`${m} ${a+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?"chevron-right":"chevron-left",onClick:this.nextClicked,scale:"m",text:l})):null}render(){const{closed:t,direction:a,headingLevel:e,groupTitle:n,selectedIndex:r,intlClose:o,total:l}=this,m=o||"Close";return 0===l?null:i("section",{"aria-hidden":s(t),class:"container",hidden:t,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(c,{class:"heading",level:e||2},n),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:m},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{"tip-container":!0,"tip-container--advancing":!t&&"advancing"===a,"tip-container--retreating":!t&&"retreating"===a},key:r,tabIndex:0},i("slot",null)),this.renderPagination())}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}}};g.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-color:transparent;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:0.5rem}.page-position{margin-top:0px;margin-bottom:0px;margin-left:0.5rem;margin-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";export{f as calcite_tip,h as calcite_tip_group,g as calcite_tip_manager}