@esri/calcite-components 1.0.0-next.500 → 1.0.0-next.501

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 (796) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-2c0d7e71.entry.js → p-0248396c.entry.js} +2 -2
  5. package/dist/calcite/{p-a60cb38a.js → p-02e4a067.js} +2 -2
  6. package/dist/calcite/{p-63468c52.js → p-02e6cb99.js} +1 -1
  7. package/dist/calcite/{p-21d1677e.system.entry.js → p-04019b0a.system.entry.js} +3 -3
  8. package/dist/calcite/{p-5834932a.system.entry.js → p-0483899b.system.entry.js} +2 -2
  9. package/dist/calcite/{p-9fda93a4.entry.js → p-056ba3a3.entry.js} +2 -2
  10. package/dist/calcite/{p-024332c5.entry.js → p-06e292bc.entry.js} +2 -2
  11. package/dist/calcite/{p-8c18840f.system.entry.js → p-07b72bfe.system.entry.js} +2 -2
  12. package/dist/calcite/{p-706febe5.system.js → p-087892c9.system.js} +1 -1
  13. package/dist/calcite/{p-0ce50c1d.system.js → p-0971e9d7.system.js} +2 -2
  14. package/dist/calcite/{p-28050de4.system.js → p-0b13198d.system.js} +1 -1
  15. package/dist/calcite/{p-8cf8e1e7.js → p-0bfc6a90.js} +1 -1
  16. package/dist/calcite/{p-31c4bc1b.system.entry.js → p-0fa769ae.system.entry.js} +2 -2
  17. package/dist/calcite/{p-82ea6a13.system.js → p-103015b8.system.js} +2 -2
  18. package/dist/calcite/{p-853d3805.system.entry.js → p-111490fd.system.entry.js} +2 -2
  19. package/dist/calcite/{p-d7680abe.system.entry.js → p-11acb660.system.entry.js} +2 -2
  20. package/dist/calcite/{p-46bdd669.system.entry.js → p-15c053c1.system.entry.js} +2 -2
  21. package/dist/calcite/{p-e16a826a.js → p-186cf6d6.js} +1 -1
  22. package/dist/calcite/{p-00b11741.system.js → p-18b0488a.system.js} +1 -1
  23. package/dist/calcite/{p-ffa00a8f.system.js → p-1a84a05d.system.js} +1 -1
  24. package/dist/calcite/p-1cc3f54c.system.entry.js +6 -0
  25. package/dist/calcite/{p-12871022.entry.js → p-1d48ddad.entry.js} +2 -2
  26. package/dist/calcite/{p-edd5687b.system.entry.js → p-1d4e6bf7.system.entry.js} +3 -3
  27. package/dist/calcite/{p-9dc73184.system.entry.js → p-1fe3111b.system.entry.js} +2 -2
  28. package/dist/calcite/{p-86b0e535.system.entry.js → p-22fddc3d.system.entry.js} +2 -2
  29. package/dist/calcite/{p-271b25d1.system.entry.js → p-25abbe57.system.entry.js} +2 -2
  30. package/dist/calcite/{p-1d1a2389.system.entry.js → p-2a950a43.system.entry.js} +2 -2
  31. package/dist/calcite/{p-b17079bd.entry.js → p-2d34a974.entry.js} +2 -2
  32. package/dist/calcite/{p-03186f6e.system.entry.js → p-2e46ef83.system.entry.js} +3 -3
  33. package/dist/calcite/{p-bd4edca6.system.js → p-2e7ff3bd.system.js} +2 -2
  34. package/dist/calcite/{p-901f5a26.system.js → p-2e883a3b.system.js} +1 -1
  35. package/dist/calcite/{p-e9695326.entry.js → p-32ce90dd.entry.js} +2 -2
  36. package/dist/calcite/{p-6a0467c3.system.entry.js → p-35372c34.system.entry.js} +2 -2
  37. package/dist/calcite/{p-4d03105f.system.entry.js → p-3684490a.system.entry.js} +2 -2
  38. package/dist/calcite/{p-c9dcae21.entry.js → p-36f8b8e9.entry.js} +2 -2
  39. package/dist/calcite/{p-107a38c5.system.entry.js → p-37dc6b6c.system.entry.js} +2 -2
  40. package/dist/calcite/{p-f0a4d40b.system.js → p-3a2fb54f.system.js} +1 -1
  41. package/dist/calcite/{p-480ed9b7.system.js → p-3b814a72.system.js} +2 -2
  42. package/dist/calcite/{p-bb446144.system.entry.js → p-3cd6ebf5.system.entry.js} +2 -2
  43. package/dist/calcite/{p-028956df.entry.js → p-3f1bc879.entry.js} +2 -2
  44. package/dist/calcite/{p-01589b5a.entry.js → p-3f7e2a96.entry.js} +2 -2
  45. package/dist/calcite/{p-27c2a702.entry.js → p-42871e38.entry.js} +2 -2
  46. package/dist/calcite/p-454ecde1.entry.js +6 -0
  47. package/dist/calcite/{p-fad0120e.system.entry.js → p-46c78219.system.entry.js} +2 -2
  48. package/dist/calcite/{p-216cb23b.entry.js → p-46d4a47d.entry.js} +2 -2
  49. package/dist/calcite/{p-d7e2d5ee.js → p-4a1b5196.js} +1 -1
  50. package/dist/calcite/{p-ab2e0e5c.system.js → p-4a367063.system.js} +1 -1
  51. package/dist/calcite/{p-04414e6a.entry.js → p-4aed327a.entry.js} +2 -2
  52. package/dist/calcite/p-5390458e.entry.js +6 -0
  53. package/dist/calcite/{p-dd687065.system.entry.js → p-55a4d9c7.system.entry.js} +2 -2
  54. package/dist/calcite/p-588bb4d5.system.js +6 -0
  55. package/dist/calcite/{p-c177bb05.system.entry.js → p-5976b82f.system.entry.js} +2 -2
  56. package/dist/calcite/{p-278e7c29.js → p-5b3fcf1a.js} +1 -1
  57. package/dist/calcite/{p-25882dfa.js → p-5cb1a2a6.js} +2 -2
  58. package/dist/calcite/{p-b976a6d4.entry.js → p-5cde7c93.entry.js} +2 -2
  59. package/dist/calcite/{p-fcb11ad6.entry.js → p-5d740302.entry.js} +2 -2
  60. package/dist/calcite/{p-e8f98b57.system.entry.js → p-5dfa50cf.system.entry.js} +2 -2
  61. package/dist/calcite/{p-5bf4139d.entry.js → p-5e9c45ea.entry.js} +2 -2
  62. package/dist/calcite/{p-638e7dd0.system.js → p-637d7f34.system.js} +2 -2
  63. package/dist/calcite/{p-292d90f7.system.entry.js → p-63b5c75f.system.entry.js} +2 -2
  64. package/dist/calcite/{p-51234c26.entry.js → p-65c6ce56.entry.js} +2 -2
  65. package/dist/calcite/{p-49e08b65.system.entry.js → p-65fa8f7c.system.entry.js} +2 -2
  66. package/dist/calcite/{p-e3d8cbf1.system.js → p-66b899d4.system.js} +2 -2
  67. package/dist/calcite/{p-e4008a99.entry.js → p-673560da.entry.js} +2 -2
  68. package/dist/calcite/{p-912531ed.entry.js → p-6791409c.entry.js} +2 -2
  69. package/dist/calcite/{p-ba1409bd.system.entry.js → p-680cbe72.system.entry.js} +2 -2
  70. package/dist/calcite/{p-91f33424.system.entry.js → p-6ab5cb71.system.entry.js} +2 -2
  71. package/dist/calcite/{p-73256618.entry.js → p-6ed01d01.entry.js} +2 -2
  72. package/dist/calcite/{p-6f5090c1.entry.js → p-6f91a10c.entry.js} +2 -2
  73. package/dist/calcite/{p-13f53f4e.js → p-70096ba0.js} +1 -1
  74. package/dist/calcite/{p-31b0c477.entry.js → p-7033e6fc.entry.js} +2 -2
  75. package/dist/calcite/{p-6984e53d.system.entry.js → p-70436555.system.entry.js} +2 -2
  76. package/dist/calcite/{p-454d8127.js → p-728c435f.js} +2 -2
  77. package/dist/calcite/{p-3b07f204.entry.js → p-72d22e1d.entry.js} +2 -2
  78. package/dist/calcite/{p-0d080947.js → p-76880def.js} +1 -1
  79. package/dist/calcite/{p-97a8fcc0.entry.js → p-793ba059.entry.js} +2 -2
  80. package/dist/calcite/{p-32f5c996.entry.js → p-796b51d6.entry.js} +2 -2
  81. package/dist/calcite/{p-6d77e67a.entry.js → p-79cc5f2b.entry.js} +2 -2
  82. package/dist/calcite/{p-d5530135.system.js → p-7a908748.system.js} +2 -2
  83. package/dist/calcite/p-7b01ff59.js +6 -0
  84. package/dist/calcite/{p-a6dc1ac5.system.entry.js → p-7b839627.system.entry.js} +3 -3
  85. package/dist/calcite/{p-600f0689.system.entry.js → p-7cb5af6b.system.entry.js} +2 -2
  86. package/dist/calcite/{p-b6b481a6.entry.js → p-7cea1069.entry.js} +2 -2
  87. package/dist/calcite/{p-d6b1fd7e.entry.js → p-7f5a6444.entry.js} +2 -2
  88. package/dist/calcite/{p-3a1a3746.entry.js → p-7feb8812.entry.js} +2 -2
  89. package/dist/calcite/{p-f75621bf.entry.js → p-82abc94d.entry.js} +2 -2
  90. package/dist/calcite/p-8325357f.js +6 -0
  91. package/dist/calcite/{p-2198ecda.system.js → p-83c61c8e.system.js} +1 -1
  92. package/dist/calcite/{p-d52c8379.js → p-84d9a615.js} +2 -2
  93. package/dist/calcite/{p-6093b6eb.entry.js → p-87bebe5a.entry.js} +2 -2
  94. package/dist/calcite/{p-ee9a71d5.system.entry.js → p-8a406fd5.system.entry.js} +2 -2
  95. package/dist/calcite/{p-360defbb.system.entry.js → p-8c950687.system.entry.js} +2 -2
  96. package/dist/calcite/{p-9e207ca9.system.entry.js → p-92afabf0.system.entry.js} +2 -2
  97. package/dist/calcite/{p-ebc525c8.js → p-93c12409.js} +2 -2
  98. package/dist/calcite/{p-8098473f.entry.js → p-96048485.entry.js} +2 -2
  99. package/dist/calcite/{p-fdb738aa.system.entry.js → p-98c3794c.system.entry.js} +2 -2
  100. package/dist/calcite/{p-6bc5ea75.system.entry.js → p-9a3182cf.system.entry.js} +2 -2
  101. package/dist/calcite/{p-ec4ebf9b.system.js → p-9b4406e2.system.js} +2 -2
  102. package/dist/calcite/{p-9d4c73a8.system.js → p-9e8c8d50.system.js} +1 -1
  103. package/dist/calcite/{p-1c8916be.system.entry.js → p-a03396ec.system.entry.js} +2 -2
  104. package/dist/calcite/{p-2f10d6d5.system.entry.js → p-a0d26074.system.entry.js} +2 -2
  105. package/dist/calcite/{p-60722785.system.entry.js → p-a0e6b85c.system.entry.js} +2 -2
  106. package/dist/calcite/{p-f19e82cf.entry.js → p-a3747c05.entry.js} +2 -2
  107. package/dist/calcite/{p-0e3ebc14.system.entry.js → p-a3bba3f3.system.entry.js} +2 -2
  108. package/dist/calcite/{p-04d972d8.entry.js → p-a8ae223b.entry.js} +2 -2
  109. package/dist/calcite/{p-57242bcd.entry.js → p-ab474a74.entry.js} +2 -2
  110. package/dist/calcite/{p-93adaae5.entry.js → p-ac73ab10.entry.js} +2 -2
  111. package/dist/calcite/{p-f24ef041.system.entry.js → p-acd013bb.system.entry.js} +2 -2
  112. package/dist/calcite/{p-690df16d.system.entry.js → p-ae9ac311.system.entry.js} +2 -2
  113. package/dist/calcite/{p-0df8150a.js → p-aed59365.js} +1 -1
  114. package/dist/calcite/{p-1d3a0cf2.entry.js → p-afc9798a.entry.js} +2 -2
  115. package/dist/calcite/{p-425974a8.system.entry.js → p-b0f12620.system.entry.js} +2 -2
  116. package/dist/calcite/{p-0c89504b.system.entry.js → p-b162ac2c.system.entry.js} +2 -2
  117. package/dist/calcite/{p-b62527f2.system.entry.js → p-b708599e.system.entry.js} +2 -2
  118. package/dist/calcite/{p-514fc3cf.system.js → p-b71be267.system.js} +1 -1
  119. package/dist/calcite/{p-d9d93d74.system.entry.js → p-b9e9734a.system.entry.js} +2 -2
  120. package/dist/calcite/{p-cb1badfb.js → p-bce66d51.js} +1 -1
  121. package/dist/calcite/{p-7e5c3523.entry.js → p-bce6d6ce.entry.js} +2 -2
  122. package/dist/calcite/{p-1612f85b.system.entry.js → p-bcfc40b1.system.entry.js} +2 -2
  123. package/dist/calcite/{p-c33e59ee.entry.js → p-be010151.entry.js} +2 -2
  124. package/dist/calcite/{p-107977e5.system.entry.js → p-bfabba2e.system.entry.js} +2 -2
  125. package/dist/calcite/{p-7d1caa28.entry.js → p-c03171f6.entry.js} +2 -2
  126. package/dist/calcite/{p-60dbe1f1.system.js → p-c05912f7.system.js} +2 -2
  127. package/dist/calcite/{p-5dbfb736.system.entry.js → p-c0706353.system.entry.js} +2 -2
  128. package/dist/calcite/{p-c9dc34e6.js → p-c10ae96e.js} +2 -2
  129. package/dist/calcite/{p-6bf9e932.system.entry.js → p-c5e5e92b.system.entry.js} +2 -2
  130. package/dist/calcite/p-c7437654.entry.js +6 -0
  131. package/dist/calcite/{p-d55bbd0d.entry.js → p-cb747392.entry.js} +2 -2
  132. package/dist/calcite/{p-0ad4d5e2.system.entry.js → p-cc0868de.system.entry.js} +2 -2
  133. package/dist/calcite/{p-c60c53c2.entry.js → p-cd618d39.entry.js} +2 -2
  134. package/dist/calcite/{p-5c824e7d.system.entry.js → p-cebc6e8d.system.entry.js} +2 -2
  135. package/dist/calcite/{p-9c732aa9.js → p-cfe4355b.js} +1 -1
  136. package/dist/calcite/{p-96af2cc0.system.entry.js → p-d3ebb149.system.entry.js} +2 -2
  137. package/dist/calcite/{p-82d4364d.system.entry.js → p-d70aa4e2.system.entry.js} +2 -2
  138. package/dist/calcite/{p-3b70a57e.system.entry.js → p-d79f148f.system.entry.js} +2 -2
  139. package/dist/calcite/p-d903e0e7.entry.js +6 -0
  140. package/dist/calcite/{p-a092a0ea.system.js → p-d9a61215.system.js} +1 -1
  141. package/dist/calcite/{p-aaf813c2.system.js → p-da3acc27.system.js} +1 -1
  142. package/dist/calcite/{p-3ee161a4.system.entry.js → p-dac8c093.system.entry.js} +2 -2
  143. package/dist/calcite/p-daffe62f.entry.js +6 -0
  144. package/dist/calcite/p-db71e64d.entry.js +6 -0
  145. package/dist/calcite/{p-6643f5fa.entry.js → p-de4a6a89.entry.js} +2 -2
  146. package/dist/calcite/{p-25d121fe.system.entry.js → p-de633948.system.entry.js} +2 -2
  147. package/dist/calcite/{p-46dd562a.entry.js → p-e1c0b932.entry.js} +2 -2
  148. package/dist/calcite/{p-296ed385.entry.js → p-e1f11cf2.entry.js} +2 -2
  149. package/dist/calcite/{p-a5ad91d2.js → p-e543dc25.js} +1 -1
  150. package/dist/calcite/{p-94021df2.system.entry.js → p-e6b9049a.system.entry.js} +2 -2
  151. package/dist/calcite/{p-8d0edc2f.entry.js → p-e710baa6.entry.js} +2 -2
  152. package/dist/calcite/{p-fb8404a4.js → p-e80e7717.js} +1 -1
  153. package/dist/calcite/{p-24b76f43.js → p-e98a3fa9.js} +1 -1
  154. package/dist/calcite/p-ec0cdae5.entry.js +6 -0
  155. package/dist/calcite/{p-6b21229f.js → p-ed016d2b.js} +2 -2
  156. package/dist/calcite/{p-d94f2b29.entry.js → p-f0f43e9a.entry.js} +2 -2
  157. package/dist/calcite/{p-1ff17e8e.system.js → p-f2a2c051.system.js} +1 -1
  158. package/dist/calcite/{p-3d60c8d9.system.js → p-f31a81d5.system.js} +1 -1
  159. package/dist/calcite/p-f95d1df7.js +6 -0
  160. package/dist/calcite/{p-3995f80f.system.entry.js → p-fa5b8379.system.entry.js} +2 -2
  161. package/dist/calcite/{p-e899a610.entry.js → p-faf94e01.entry.js} +2 -2
  162. package/dist/calcite/{p-c2d00a06.entry.js → p-fb4b979b.entry.js} +2 -2
  163. package/dist/calcite/{p-bdee5114.entry.js → p-fbb95908.entry.js} +2 -2
  164. package/dist/calcite/{p-9d773c11.entry.js → p-fce90f30.entry.js} +2 -2
  165. package/dist/calcite/{p-3274c9e4.system.js → p-ffd24611.system.js} +2 -2
  166. package/dist/cjs/{ExpandToggle-be235918.js → ExpandToggle-a661df08.js} +5 -5
  167. package/dist/cjs/{Heading-100f372b.js → Heading-f7ce34f8.js} +2 -2
  168. package/dist/cjs/{array-3b4f2e77.js → array-54eb267b.js} +1 -1
  169. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  170. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  171. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  172. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  173. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  175. package/dist/cjs/calcite-alert.cjs.entry.js +15 -17
  176. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  177. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -20
  184. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -8
  186. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  187. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  189. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  191. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-input.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  200. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  202. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  203. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  205. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  206. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  207. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  209. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  212. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  216. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  217. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  219. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  220. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  225. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite.cjs.js +2 -2
  227. package/dist/cjs/{conditionalSlot-0cf2783c.js → conditionalSlot-7ad93346.js} +3 -3
  228. package/dist/cjs/{debounce-73591a26.js → debounce-226bcfad.js} +1 -1
  229. package/dist/cjs/{dom-a95f2c56.js → dom-73966364.js} +2 -29
  230. package/dist/cjs/{forIn-c6d7050d.js → forIn-a22974fb.js} +2 -2
  231. package/dist/cjs/{form-04beb022.js → form-08520550.js} +3 -3
  232. package/dist/cjs/{guid-835850bf.js → guid-b0d1c63f.js} +1 -1
  233. package/dist/cjs/{index-45d31612.js → index-f4a68f01.js} +1 -1
  234. package/dist/cjs/index.cjs.js +1 -1
  235. package/dist/cjs/{interactive-5bc5f329.js → interactive-3f8000d4.js} +1 -1
  236. package/dist/cjs/{interfaces-17d4ca70.js → interfaces-3c6de282.js} +1 -1
  237. package/dist/cjs/{label-b17de694.js → label-213b9807.js} +2 -2
  238. package/dist/cjs/loader.cjs.js +2 -2
  239. package/dist/cjs/{locale-5e3075c9.js → locale-9005c661.js} +1 -1
  240. package/dist/cjs/{math-32fe631f.js → math-35aaa764.js} +1 -1
  241. package/dist/cjs/{observers-691aebef.js → observers-e859e0e7.js} +1 -1
  242. package/dist/cjs/{popper-97d0e13a.js → popper-b89ef648.js} +2 -2
  243. package/dist/cjs/{resources-4c2c2199.js → resources-4f3c50be.js} +3 -3
  244. package/dist/cjs/{resources-2c2f005f.js → resources-50ffe5d9.js} +1 -1
  245. package/dist/cjs/{resources-233b6cfa.js → resources-59d31092.js} +5 -5
  246. package/dist/cjs/{resources-116a5f3d.js → resources-bad877b0.js} +1 -1
  247. package/dist/cjs/{sortable.esm-8439e56d.js → sortable.esm-93f1297e.js} +1 -1
  248. package/dist/cjs/{utils-18645410.js → utils-fcea2ea1.js} +1 -1
  249. package/dist/collection/components/accordion/accordion.js +1 -1
  250. package/dist/collection/components/accordion/interfaces.js +1 -1
  251. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  252. package/dist/collection/components/action/action.js +1 -1
  253. package/dist/collection/components/action/resources.js +1 -1
  254. package/dist/collection/components/action-bar/action-bar.js +1 -1
  255. package/dist/collection/components/action-bar/resources.js +1 -1
  256. package/dist/collection/components/action-bar/utils.js +1 -1
  257. package/dist/collection/components/action-group/action-group.js +1 -1
  258. package/dist/collection/components/action-group/resources.js +1 -1
  259. package/dist/collection/components/action-menu/action-menu.js +1 -1
  260. package/dist/collection/components/action-menu/resources.js +1 -1
  261. package/dist/collection/components/action-pad/action-pad.js +1 -1
  262. package/dist/collection/components/action-pad/resources.js +1 -1
  263. package/dist/collection/components/alert/alert.js +39 -25
  264. package/dist/collection/components/alert/interfaces.js +1 -1
  265. package/dist/collection/components/alert/resources.js +1 -1
  266. package/dist/collection/components/avatar/avatar.js +1 -1
  267. package/dist/collection/components/avatar/utils.js +1 -1
  268. package/dist/collection/components/block/block.js +1 -1
  269. package/dist/collection/components/block/resources.js +1 -1
  270. package/dist/collection/components/block-section/block-section.js +1 -1
  271. package/dist/collection/components/block-section/interfaces.js +1 -1
  272. package/dist/collection/components/block-section/resources.js +1 -1
  273. package/dist/collection/components/button/button.js +1 -1
  274. package/dist/collection/components/button/interfaces.js +1 -1
  275. package/dist/collection/components/button/resources.js +1 -1
  276. package/dist/collection/components/card/card.js +1 -1
  277. package/dist/collection/components/card/resources.js +1 -1
  278. package/dist/collection/components/checkbox/checkbox.js +1 -1
  279. package/dist/collection/components/chip/chip.js +1 -1
  280. package/dist/collection/components/chip/interfaces.js +1 -1
  281. package/dist/collection/components/chip/resources.js +1 -1
  282. package/dist/collection/components/color-picker/color-picker.js +1 -1
  283. package/dist/collection/components/color-picker/interfaces.js +1 -1
  284. package/dist/collection/components/color-picker/resources.js +1 -1
  285. package/dist/collection/components/color-picker/utils.js +1 -1
  286. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  287. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  288. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  289. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  290. package/dist/collection/components/combobox/combobox.js +7 -9
  291. package/dist/collection/components/combobox/interfaces.js +1 -1
  292. package/dist/collection/components/combobox/resources.js +1 -1
  293. package/dist/collection/components/combobox/utils.js +1 -1
  294. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  295. package/dist/collection/components/combobox-item/resources.js +1 -1
  296. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  297. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  298. package/dist/collection/components/date-picker/date-picker.js +1 -1
  299. package/dist/collection/components/date-picker/interfaces.js +1 -1
  300. package/dist/collection/components/date-picker/resources.js +1 -1
  301. package/dist/collection/components/date-picker/utils.js +1 -1
  302. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  303. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  304. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  305. package/dist/collection/components/dropdown/dropdown.js +78 -10
  306. package/dist/collection/components/dropdown/interfaces.js +1 -1
  307. package/dist/collection/components/dropdown/resources.js +4 -1
  308. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  309. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown-group/resources.js +1 -1
  311. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  312. package/dist/collection/components/dropdown-item/resources.js +1 -1
  313. package/dist/collection/components/fab/fab.js +1 -1
  314. package/dist/collection/components/fab/resources.js +1 -1
  315. package/dist/collection/components/filter/filter.js +1 -1
  316. package/dist/collection/components/filter/resources.js +1 -1
  317. package/dist/collection/components/flow/flow.js +1 -1
  318. package/dist/collection/components/flow/interfaces.js +1 -1
  319. package/dist/collection/components/flow/resources.js +1 -1
  320. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  321. package/dist/collection/components/functional/Heading.js +1 -1
  322. package/dist/collection/components/graph/graph.js +1 -1
  323. package/dist/collection/components/graph/interfaces.js +1 -1
  324. package/dist/collection/components/graph/util.js +1 -1
  325. package/dist/collection/components/handle/handle.js +1 -1
  326. package/dist/collection/components/handle/resources.js +1 -1
  327. package/dist/collection/components/icon/icon.js +1 -1
  328. package/dist/collection/components/icon/resources.js +1 -1
  329. package/dist/collection/components/icon/utils.js +1 -1
  330. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  331. package/dist/collection/components/inline-editable/resources.js +1 -1
  332. package/dist/collection/components/input/input.js +1 -1
  333. package/dist/collection/components/input/interfaces.js +1 -1
  334. package/dist/collection/components/input/resources.js +1 -1
  335. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  336. package/dist/collection/components/input-message/input-message.js +1 -1
  337. package/dist/collection/components/input-message/interfaces.js +1 -1
  338. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  339. package/dist/collection/components/interfaces.js +1 -1
  340. package/dist/collection/components/label/label.js +1 -1
  341. package/dist/collection/components/label/resources.js +1 -1
  342. package/dist/collection/components/link/link.js +1 -1
  343. package/dist/collection/components/list/list.js +1 -1
  344. package/dist/collection/components/list/resources.js +1 -1
  345. package/dist/collection/components/list-item/list-item.js +1 -1
  346. package/dist/collection/components/list-item/resources.js +1 -1
  347. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  348. package/dist/collection/components/list-item-group/resources.js +1 -1
  349. package/dist/collection/components/loader/loader.js +1 -1
  350. package/dist/collection/components/modal/interfaces.js +1 -1
  351. package/dist/collection/components/modal/modal.js +1 -1
  352. package/dist/collection/components/modal/resources.js +1 -1
  353. package/dist/collection/components/notice/notice.js +1 -1
  354. package/dist/collection/components/notice/resources.js +1 -1
  355. package/dist/collection/components/option/option.js +1 -1
  356. package/dist/collection/components/option-group/option-group.js +1 -1
  357. package/dist/collection/components/pagination/pagination.js +1 -1
  358. package/dist/collection/components/pagination/resources.js +1 -1
  359. package/dist/collection/components/panel/panel.js +1 -1
  360. package/dist/collection/components/panel/resources.js +1 -1
  361. package/dist/collection/components/pick-list/pick-list.js +1 -1
  362. package/dist/collection/components/pick-list/resources.js +1 -1
  363. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  364. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  365. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  366. package/dist/collection/components/pick-list-group/resources.js +1 -1
  367. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  368. package/dist/collection/components/pick-list-item/resources.js +1 -1
  369. package/dist/collection/components/popover/PopoverManager.js +3 -4
  370. package/dist/collection/components/popover/popover.js +1 -1
  371. package/dist/collection/components/popover/resources.js +1 -1
  372. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  373. package/dist/collection/components/progress/progress.js +1 -1
  374. package/dist/collection/components/radio-button/radio-button.js +1 -1
  375. package/dist/collection/components/radio-button/resources.js +1 -1
  376. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  377. package/dist/collection/components/radio-group/interfaces.js +1 -1
  378. package/dist/collection/components/radio-group/radio-group.js +1 -1
  379. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  380. package/dist/collection/components/radio-group-item/resources.js +1 -1
  381. package/dist/collection/components/rating/rating.js +1 -1
  382. package/dist/collection/components/rating/resources.js +1 -1
  383. package/dist/collection/components/scrim/resources.js +1 -1
  384. package/dist/collection/components/scrim/scrim.js +1 -1
  385. package/dist/collection/components/select/resources.js +1 -1
  386. package/dist/collection/components/select/select.js +1 -1
  387. package/dist/collection/components/shell/resources.js +1 -1
  388. package/dist/collection/components/shell/shell.js +1 -1
  389. package/dist/collection/components/shell-center-row/resources.js +1 -1
  390. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  391. package/dist/collection/components/shell-panel/resources.js +1 -1
  392. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  393. package/dist/collection/components/slider/slider.js +1 -1
  394. package/dist/collection/components/sortable-list/resources.js +1 -1
  395. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  396. package/dist/collection/components/split-button/resources.js +1 -1
  397. package/dist/collection/components/split-button/split-button.js +1 -1
  398. package/dist/collection/components/stepper/interfaces.js +1 -1
  399. package/dist/collection/components/stepper/stepper.js +1 -1
  400. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  401. package/dist/collection/components/switch/switch.js +1 -1
  402. package/dist/collection/components/tab/interfaces.js +1 -1
  403. package/dist/collection/components/tab/tab.js +1 -1
  404. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  405. package/dist/collection/components/tab-title/tab-title.js +1 -1
  406. package/dist/collection/components/tabs/interfaces.js +1 -1
  407. package/dist/collection/components/tabs/resources.js +1 -1
  408. package/dist/collection/components/tabs/tabs.js +1 -1
  409. package/dist/collection/components/tile/resources.js +1 -1
  410. package/dist/collection/components/tile/tile.js +1 -1
  411. package/dist/collection/components/tile-select/interfaces.js +1 -1
  412. package/dist/collection/components/tile-select/resources.js +1 -1
  413. package/dist/collection/components/tile-select/tile-select.js +1 -1
  414. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  416. package/dist/collection/components/time-picker/resources.js +1 -1
  417. package/dist/collection/components/time-picker/time-picker.js +1 -1
  418. package/dist/collection/components/tip/resources.js +1 -1
  419. package/dist/collection/components/tip/tip.js +1 -1
  420. package/dist/collection/components/tip-group/tip-group.js +1 -1
  421. package/dist/collection/components/tip-manager/resources.js +1 -1
  422. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  423. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  424. package/dist/collection/components/tooltip/resources.js +1 -1
  425. package/dist/collection/components/tooltip/tooltip.js +1 -1
  426. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  427. package/dist/collection/components/tree/interfaces.js +1 -1
  428. package/dist/collection/components/tree/tree.js +1 -1
  429. package/dist/collection/components/tree-item/interfaces.js +1 -1
  430. package/dist/collection/components/tree-item/resources.js +1 -1
  431. package/dist/collection/components/tree-item/tree-item.js +1 -1
  432. package/dist/collection/components/value-list/resources.js +1 -1
  433. package/dist/collection/components/value-list/value-list.js +1 -1
  434. package/dist/collection/components/value-list-item/resources.js +1 -1
  435. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  436. package/dist/collection/utils/array.js +1 -1
  437. package/dist/collection/utils/conditionalSlot.js +1 -1
  438. package/dist/collection/utils/date.js +1 -1
  439. package/dist/collection/utils/dom.js +1 -27
  440. package/dist/collection/utils/filter.js +1 -1
  441. package/dist/collection/utils/form.js +1 -1
  442. package/dist/collection/utils/globalAttributes.js +1 -1
  443. package/dist/collection/utils/guid.js +1 -1
  444. package/dist/collection/utils/interactive.js +1 -1
  445. package/dist/collection/utils/key.js +1 -1
  446. package/dist/collection/utils/label.js +1 -1
  447. package/dist/collection/utils/locale.js +1 -1
  448. package/dist/collection/utils/math.js +1 -1
  449. package/dist/collection/utils/number.js +1 -1
  450. package/dist/collection/utils/observers.js +1 -1
  451. package/dist/collection/utils/popper.js +1 -1
  452. package/dist/collection/utils/resources.js +1 -1
  453. package/dist/collection/utils/time.js +1 -1
  454. package/dist/components/ExpandToggle.js +1 -1
  455. package/dist/components/Heading.js +1 -1
  456. package/dist/components/action-group.js +1 -1
  457. package/dist/components/action-menu.js +1 -1
  458. package/dist/components/action.js +1 -1
  459. package/dist/components/array.js +1 -1
  460. package/dist/components/button.js +1 -1
  461. package/dist/components/calcite-accordion-item.js +1 -1
  462. package/dist/components/calcite-accordion.js +1 -1
  463. package/dist/components/calcite-action-bar.js +1 -1
  464. package/dist/components/calcite-action-group.js +1 -1
  465. package/dist/components/calcite-action-menu.js +1 -1
  466. package/dist/components/calcite-action-pad.js +1 -1
  467. package/dist/components/calcite-action.js +1 -1
  468. package/dist/components/calcite-alert.js +11 -13
  469. package/dist/components/calcite-avatar.js +1 -1
  470. package/dist/components/calcite-block-section.js +1 -1
  471. package/dist/components/calcite-block.js +1 -1
  472. package/dist/components/calcite-button.js +1 -1
  473. package/dist/components/calcite-card.js +1 -1
  474. package/dist/components/calcite-checkbox.js +1 -1
  475. package/dist/components/calcite-chip.js +1 -1
  476. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  477. package/dist/components/calcite-color-picker-swatch.js +1 -1
  478. package/dist/components/calcite-color-picker.js +1 -1
  479. package/dist/components/calcite-combobox-item-group.js +1 -1
  480. package/dist/components/calcite-combobox-item.js +1 -1
  481. package/dist/components/calcite-combobox.js +7 -9
  482. package/dist/components/calcite-date-picker-day.js +1 -1
  483. package/dist/components/calcite-date-picker-month-header.js +1 -1
  484. package/dist/components/calcite-date-picker-month.js +1 -1
  485. package/dist/components/calcite-date-picker.js +1 -1
  486. package/dist/components/calcite-dropdown-group.js +1 -1
  487. package/dist/components/calcite-dropdown-item.js +1 -1
  488. package/dist/components/calcite-dropdown.js +1 -1
  489. package/dist/components/calcite-fab.js +1 -1
  490. package/dist/components/calcite-filter.js +1 -1
  491. package/dist/components/calcite-flow.js +1 -1
  492. package/dist/components/calcite-graph.js +1 -1
  493. package/dist/components/calcite-handle.js +1 -1
  494. package/dist/components/calcite-icon.js +1 -1
  495. package/dist/components/calcite-inline-editable.js +1 -1
  496. package/dist/components/calcite-input-date-picker.js +1 -1
  497. package/dist/components/calcite-input-message.js +1 -1
  498. package/dist/components/calcite-input-time-picker.js +1 -1
  499. package/dist/components/calcite-input.js +1 -1
  500. package/dist/components/calcite-label.js +1 -1
  501. package/dist/components/calcite-link.js +1 -1
  502. package/dist/components/calcite-list-item-group.js +1 -1
  503. package/dist/components/calcite-list-item.js +1 -1
  504. package/dist/components/calcite-list.js +1 -1
  505. package/dist/components/calcite-loader.js +1 -1
  506. package/dist/components/calcite-modal.js +1 -1
  507. package/dist/components/calcite-notice.js +1 -1
  508. package/dist/components/calcite-option-group.js +1 -1
  509. package/dist/components/calcite-option.js +1 -1
  510. package/dist/components/calcite-pagination.js +1 -1
  511. package/dist/components/calcite-panel.js +1 -1
  512. package/dist/components/calcite-pick-list-group.js +1 -1
  513. package/dist/components/calcite-pick-list-item.js +1 -1
  514. package/dist/components/calcite-pick-list.js +1 -1
  515. package/dist/components/calcite-popover-manager.js +1 -1
  516. package/dist/components/calcite-popover.js +1 -1
  517. package/dist/components/calcite-progress.js +1 -1
  518. package/dist/components/calcite-radio-button-group.js +1 -1
  519. package/dist/components/calcite-radio-button.js +1 -1
  520. package/dist/components/calcite-radio-group-item.js +1 -1
  521. package/dist/components/calcite-radio-group.js +1 -1
  522. package/dist/components/calcite-rating.js +1 -1
  523. package/dist/components/calcite-scrim.js +1 -1
  524. package/dist/components/calcite-select.js +1 -1
  525. package/dist/components/calcite-shell-center-row.js +1 -1
  526. package/dist/components/calcite-shell-panel.js +1 -1
  527. package/dist/components/calcite-shell.js +1 -1
  528. package/dist/components/calcite-slider.js +1 -1
  529. package/dist/components/calcite-sortable-list.js +1 -1
  530. package/dist/components/calcite-split-button.js +1 -1
  531. package/dist/components/calcite-stepper-item.js +1 -1
  532. package/dist/components/calcite-stepper.js +1 -1
  533. package/dist/components/calcite-switch.js +1 -1
  534. package/dist/components/calcite-tab-nav.js +1 -1
  535. package/dist/components/calcite-tab-title.js +1 -1
  536. package/dist/components/calcite-tab.js +1 -1
  537. package/dist/components/calcite-tabs.js +1 -1
  538. package/dist/components/calcite-tile-select-group.js +1 -1
  539. package/dist/components/calcite-tile-select.js +1 -1
  540. package/dist/components/calcite-tile.js +1 -1
  541. package/dist/components/calcite-time-picker.js +1 -1
  542. package/dist/components/calcite-tip-group.js +1 -1
  543. package/dist/components/calcite-tip-manager.js +1 -1
  544. package/dist/components/calcite-tip.js +1 -1
  545. package/dist/components/calcite-tooltip-manager.js +1 -1
  546. package/dist/components/calcite-tooltip.js +1 -1
  547. package/dist/components/calcite-tree-item.js +1 -1
  548. package/dist/components/calcite-tree.js +1 -1
  549. package/dist/components/calcite-value-list-item.js +1 -1
  550. package/dist/components/calcite-value-list.js +1 -1
  551. package/dist/components/checkbox.js +1 -1
  552. package/dist/components/chip.js +1 -1
  553. package/dist/components/color-picker-hex-input.js +1 -1
  554. package/dist/components/color-picker-swatch.js +1 -1
  555. package/dist/components/conditionalSlot.js +1 -1
  556. package/dist/components/date-picker-day.js +1 -1
  557. package/dist/components/date-picker-month-header.js +1 -1
  558. package/dist/components/date-picker-month.js +1 -1
  559. package/dist/components/date-picker.js +1 -1
  560. package/dist/components/date.js +1 -1
  561. package/dist/components/debounce.js +1 -1
  562. package/dist/components/dom.js +2 -28
  563. package/dist/components/dropdown.js +26 -2
  564. package/dist/components/filter.js +1 -1
  565. package/dist/components/forIn.js +1 -1
  566. package/dist/components/form.js +1 -1
  567. package/dist/components/graph.js +1 -1
  568. package/dist/components/guid.js +1 -1
  569. package/dist/components/handle.js +1 -1
  570. package/dist/components/icon.js +1 -1
  571. package/dist/components/index.js +1 -1
  572. package/dist/components/input.js +1 -1
  573. package/dist/components/interactive.js +1 -1
  574. package/dist/components/interfaces.js +1 -1
  575. package/dist/components/interfaces2.js +1 -1
  576. package/dist/components/label.js +1 -1
  577. package/dist/components/label2.js +1 -1
  578. package/dist/components/link.js +1 -1
  579. package/dist/components/loader.js +1 -1
  580. package/dist/components/locale.js +1 -1
  581. package/dist/components/math.js +1 -1
  582. package/dist/components/observers.js +1 -1
  583. package/dist/components/pick-list-item.js +1 -1
  584. package/dist/components/popover.js +4 -4
  585. package/dist/components/popper.js +1 -1
  586. package/dist/components/progress.js +1 -1
  587. package/dist/components/resources.js +1 -1
  588. package/dist/components/resources2.js +1 -1
  589. package/dist/components/resources3.js +1 -1
  590. package/dist/components/scrim.js +1 -1
  591. package/dist/components/shared-list-render.js +1 -1
  592. package/dist/components/sortable.esm.js +1 -1
  593. package/dist/components/switch.js +1 -1
  594. package/dist/components/tab-nav.js +1 -1
  595. package/dist/components/tab-title.js +1 -1
  596. package/dist/components/tab.js +1 -1
  597. package/dist/components/tabs.js +1 -1
  598. package/dist/components/tile.js +1 -1
  599. package/dist/components/time-picker.js +1 -1
  600. package/dist/components/utils.js +1 -1
  601. package/dist/components/utils2.js +1 -1
  602. package/dist/custom-elements/index.js +44 -50
  603. package/dist/esm/{ExpandToggle-3a403664.js → ExpandToggle-a56d8385.js} +5 -5
  604. package/dist/esm/{Heading-d8a27bcf.js → Heading-0d1a9345.js} +2 -2
  605. package/dist/esm/{array-812e7dc8.js → array-ddfcb78d.js} +1 -1
  606. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  607. package/dist/esm/calcite-action-bar.entry.js +10 -10
  608. package/dist/esm/calcite-action-group.entry.js +8 -8
  609. package/dist/esm/calcite-action-menu.entry.js +8 -8
  610. package/dist/esm/calcite-action-pad.entry.js +9 -9
  611. package/dist/esm/calcite-action.entry.js +6 -6
  612. package/dist/esm/calcite-alert.entry.js +15 -17
  613. package/dist/esm/calcite-avatar.entry.js +5 -5
  614. package/dist/esm/calcite-block_2.entry.js +8 -8
  615. package/dist/esm/calcite-button.entry.js +8 -8
  616. package/dist/esm/calcite-card.entry.js +6 -6
  617. package/dist/esm/calcite-checkbox.entry.js +7 -7
  618. package/dist/esm/calcite-chip.entry.js +6 -6
  619. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  620. package/dist/esm/calcite-combobox_3.entry.js +18 -20
  621. package/dist/esm/calcite-date-picker_4.entry.js +8 -8
  622. package/dist/esm/calcite-dropdown_3.entry.js +32 -8
  623. package/dist/esm/calcite-fab.entry.js +5 -5
  624. package/dist/esm/calcite-filter.entry.js +7 -7
  625. package/dist/esm/calcite-flow.entry.js +2 -2
  626. package/dist/esm/calcite-graph_2.entry.js +9 -9
  627. package/dist/esm/calcite-handle.entry.js +4 -4
  628. package/dist/esm/calcite-icon.entry.js +5 -5
  629. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  630. package/dist/esm/calcite-input-date-picker.entry.js +10 -10
  631. package/dist/esm/calcite-input-message.entry.js +4 -4
  632. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  633. package/dist/esm/calcite-input.entry.js +10 -10
  634. package/dist/esm/calcite-label.entry.js +5 -5
  635. package/dist/esm/calcite-link.entry.js +5 -5
  636. package/dist/esm/calcite-list_3.entry.js +8 -8
  637. package/dist/esm/calcite-loader.entry.js +3 -3
  638. package/dist/esm/calcite-modal.entry.js +6 -6
  639. package/dist/esm/calcite-notice.entry.js +7 -7
  640. package/dist/esm/calcite-option_3.entry.js +8 -8
  641. package/dist/esm/calcite-pagination.entry.js +4 -4
  642. package/dist/esm/calcite-panel.entry.js +9 -9
  643. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  644. package/dist/esm/calcite-popover_2.entry.js +9 -9
  645. package/dist/esm/calcite-progress.entry.js +2 -2
  646. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  647. package/dist/esm/calcite-radio-button.entry.js +8 -8
  648. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  649. package/dist/esm/calcite-rating.entry.js +7 -7
  650. package/dist/esm/calcite-scrim.entry.js +2 -2
  651. package/dist/esm/calcite-shell_3.entry.js +7 -7
  652. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  653. package/dist/esm/calcite-split-button.entry.js +3 -3
  654. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  655. package/dist/esm/calcite-switch.entry.js +7 -7
  656. package/dist/esm/calcite-tab_4.entry.js +6 -6
  657. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  658. package/dist/esm/calcite-tile.entry.js +7 -7
  659. package/dist/esm/calcite-tip_3.entry.js +7 -7
  660. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  661. package/dist/esm/calcite-tree_2.entry.js +6 -6
  662. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  663. package/dist/esm/calcite.js +2 -2
  664. package/dist/esm/{conditionalSlot-fcbe0a06.js → conditionalSlot-4392e28e.js} +3 -3
  665. package/dist/esm/{debounce-11c54254.js → debounce-eb293fe1.js} +1 -1
  666. package/dist/esm/{dom-4984236e.js → dom-b6731284.js} +3 -29
  667. package/dist/esm/{forIn-d6be6d9f.js → forIn-6418dc7d.js} +2 -2
  668. package/dist/esm/{form-2a8c5369.js → form-337e0ed2.js} +3 -3
  669. package/dist/esm/{guid-2e4ddd2f.js → guid-86c740ed.js} +1 -1
  670. package/dist/esm/{index-7f50e8db.js → index-c96475fc.js} +1 -1
  671. package/dist/esm/index.js +1 -1
  672. package/dist/esm/{interactive-d38732dc.js → interactive-59b90475.js} +1 -1
  673. package/dist/esm/{interfaces-c821da27.js → interfaces-db91b4fc.js} +1 -1
  674. package/dist/esm/{label-0979c74a.js → label-cf14be3b.js} +2 -2
  675. package/dist/esm/loader.js +2 -2
  676. package/dist/esm/{locale-2c29ab60.js → locale-5e7bf684.js} +1 -1
  677. package/dist/esm/{math-7ee12000.js → math-e98fee05.js} +1 -1
  678. package/dist/esm/{observers-cf78bec4.js → observers-c043dfde.js} +1 -1
  679. package/dist/esm/{popper-a82fb77f.js → popper-9e47c507.js} +2 -2
  680. package/dist/esm/{resources-2c1bd7f0.js → resources-b1f9839b.js} +5 -5
  681. package/dist/esm/{resources-c44164b3.js → resources-d0de1957.js} +1 -1
  682. package/dist/esm/{resources-49e5176e.js → resources-e19f744d.js} +3 -3
  683. package/dist/esm/{resources-02b77e63.js → resources-f31766b3.js} +1 -1
  684. package/dist/esm/{sortable.esm-2c1502f9.js → sortable.esm-17b433d7.js} +1 -1
  685. package/dist/esm/{utils-2fba47db.js → utils-9b274fcf.js} +1 -1
  686. package/dist/esm-es5/{ExpandToggle-3a403664.js → ExpandToggle-a56d8385.js} +2 -2
  687. package/dist/esm-es5/Heading-0d1a9345.js +6 -0
  688. package/dist/esm-es5/{array-812e7dc8.js → array-ddfcb78d.js} +1 -1
  689. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  690. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  691. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  692. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  693. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  694. package/dist/esm-es5/calcite-action.entry.js +2 -2
  695. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  696. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  697. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  698. package/dist/esm-es5/calcite-button.entry.js +2 -2
  699. package/dist/esm-es5/calcite-card.entry.js +2 -2
  700. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  701. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  702. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  703. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  704. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  705. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  706. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  707. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  708. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  709. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  710. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  711. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  712. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  713. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  714. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  715. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-input.entry.js +2 -2
  717. package/dist/esm-es5/calcite-label.entry.js +2 -2
  718. package/dist/esm-es5/calcite-link.entry.js +2 -2
  719. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  720. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  721. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  722. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  723. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  724. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  725. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  726. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  727. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  728. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  729. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  730. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  731. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  732. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  733. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  734. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  735. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  736. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  737. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  739. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  740. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  741. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  742. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  743. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  745. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite.js +2 -2
  747. package/dist/esm-es5/{conditionalSlot-fcbe0a06.js → conditionalSlot-4392e28e.js} +2 -2
  748. package/dist/esm-es5/{debounce-11c54254.js → debounce-eb293fe1.js} +1 -1
  749. package/dist/esm-es5/dom-b6731284.js +6 -0
  750. package/dist/esm-es5/{forIn-d6be6d9f.js → forIn-6418dc7d.js} +2 -2
  751. package/dist/esm-es5/{form-2a8c5369.js → form-337e0ed2.js} +2 -2
  752. package/dist/esm-es5/{guid-2e4ddd2f.js → guid-86c740ed.js} +1 -1
  753. package/dist/esm-es5/{index-7f50e8db.js → index-c96475fc.js} +1 -1
  754. package/dist/esm-es5/index.js +1 -1
  755. package/dist/esm-es5/{interactive-d38732dc.js → interactive-59b90475.js} +1 -1
  756. package/dist/esm-es5/{interfaces-c821da27.js → interfaces-db91b4fc.js} +1 -1
  757. package/dist/esm-es5/{label-0979c74a.js → label-cf14be3b.js} +2 -2
  758. package/dist/esm-es5/loader.js +2 -2
  759. package/dist/esm-es5/{locale-2c29ab60.js → locale-5e7bf684.js} +1 -1
  760. package/dist/esm-es5/{math-7ee12000.js → math-e98fee05.js} +1 -1
  761. package/dist/esm-es5/{observers-cf78bec4.js → observers-c043dfde.js} +1 -1
  762. package/dist/esm-es5/{popper-a82fb77f.js → popper-9e47c507.js} +2 -2
  763. package/dist/esm-es5/{resources-2c1bd7f0.js → resources-b1f9839b.js} +2 -2
  764. package/dist/esm-es5/{resources-c44164b3.js → resources-d0de1957.js} +1 -1
  765. package/dist/esm-es5/{resources-49e5176e.js → resources-e19f744d.js} +2 -2
  766. package/dist/esm-es5/{resources-02b77e63.js → resources-f31766b3.js} +1 -1
  767. package/dist/esm-es5/{sortable.esm-2c1502f9.js → sortable.esm-17b433d7.js} +1 -1
  768. package/dist/esm-es5/{utils-2fba47db.js → utils-9b274fcf.js} +1 -1
  769. package/dist/extras/docs-json.json +27 -9
  770. package/dist/loader/cdn.js +1 -1
  771. package/dist/loader/index.cjs.js +1 -1
  772. package/dist/loader/index.es2017.js +1 -1
  773. package/dist/loader/index.js +1 -1
  774. package/dist/types/components/alert/alert.d.ts +18 -6
  775. package/dist/types/components/combobox/combobox.d.ts +2 -2
  776. package/dist/types/components/dropdown/dropdown.d.ts +14 -4
  777. package/dist/types/components/dropdown/resources.d.ts +3 -0
  778. package/dist/types/components.d.ts +20 -12
  779. package/dist/types/preact.d.ts +3 -1
  780. package/dist/types/utils/dom.d.ts +0 -8
  781. package/hydrate/index.js +44 -50
  782. package/package.json +3 -3
  783. package/dist/calcite/p-09f17e1a.js +0 -6
  784. package/dist/calcite/p-1cb30534.entry.js +0 -6
  785. package/dist/calcite/p-294fec7c.entry.js +0 -6
  786. package/dist/calcite/p-35921e9d.system.js +0 -6
  787. package/dist/calcite/p-6d4b9f85.system.entry.js +0 -6
  788. package/dist/calcite/p-7b41b466.entry.js +0 -6
  789. package/dist/calcite/p-86d513d5.js +0 -6
  790. package/dist/calcite/p-9e9e03db.entry.js +0 -6
  791. package/dist/calcite/p-a26699dd.entry.js +0 -6
  792. package/dist/calcite/p-b88ea9a9.entry.js +0 -6
  793. package/dist/calcite/p-bd5ec28b.js +0 -6
  794. package/dist/calcite/p-ca729c64.entry.js +0 -6
  795. package/dist/esm-es5/Heading-d8a27bcf.js +0 -6
  796. package/dist/esm-es5/dom-4984236e.js +0 -6
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){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.500
6
- */System.register(["./p-514fc3cf.system.js","./p-a092a0ea.system.js","./p-35921e9d.system.js","./p-e3d8cbf1.system.js","./p-3274c9e4.system.js","./p-00b11741.system.js","./p-aaf813c2.system.js"],(function(t){"use strict";var e,i,a,n,o,r,c,s,l,d,u,h,f,p,m,b,k;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.g},function(t){c=t.a;s=t.f;l=t.t},function(t){d=t.c;u=t.d;h=t.g},function(t){f=t.c;p=t.d;m=t.H},function(t){b=t.g},function(t){k=t.u}],execute:function(){var v={container:"container"};var w='@-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}';var y=t("calcite_radio_button",function(){function t(t){var a=this;e(this,t);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=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.required=false;this.scale="m";this.selectItem=function(t,e){t[e].click()};this.queryButtons=function(){return Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((function(t){return t.name===a.name}))};this.isDefaultSelectable=function(){var t=a.queryButtons();return!t.some((function(t){return t.checked}))&&t[0]===a.el};this.check=function(){if(a.disabled){return}a.uncheckAllRadioButtonsInGroup();a.checked=true;a.focused=true;a.calciteRadioButtonChange.emit();a.setFocus()};this.clickHandler=function(){a.check()};this.setContainerEl=function(t){a.containerEl=t};this.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var n=a.el;if(e.indexOf(i)===-1){return}if(i===" "){a.check();return}var o=i;if(c(n)==="rtl"){if(i==="ArrowRight"){o="ArrowLeft"}if(i==="ArrowLeft"){o="ArrowRight"}}var r=Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===a.name}));var s=0;var l=r.length;r.some((function(t,e){if(t.checked){s=e;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();a.selectItem(r,b(Math.max(s-1,-1),l));return;case"ArrowRight":case"ArrowDown":t.preventDefault();a.selectItem(r,b(s+1,l));return;default:return}};this.onContainerBlur=function(){a.focused=false;a.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=function(){if(!a.disabled){a.focused=true;a.calciteInternalRadioButtonFocus.emit()}}}t.prototype.checkedChanged=function(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit(t)};t.prototype.nameChanged=function(){this.checkLastRadioButton()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.disabled){s(this.containerEl)}return[2]}))}))};t.prototype.onLabelClick=function(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();var e=t.currentTarget;var i=e.for?this.rootNode.querySelector('calcite-radio-button[id="'.concat(e.for,'"]')):e.querySelector('calcite-radio-button[name="'.concat(this.name,'"]'));if(i){i.checked=true;i.focused=true}this.calciteRadioButtonChange.emit();this.setFocus()}};t.prototype.checkLastRadioButton=function(){var t=this.queryButtons();var e=t.filter((function(t){return t.checked}));if((e===null||e===void 0?void 0:e.length)>1){var i=e[e.length-1];e.filter((function(t){return t!==i})).forEach((function(t){t.checked=false;t.emitCheckedChange()}))}};t.prototype.emitCheckedChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.calciteInternalRadioButtonCheckedChange.emit();return[2]}))}))};t.prototype.uncheckAllRadioButtonsInGroup=function(){var t=this.queryButtons();t.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.uncheckOtherRadioButtonsInGroup=function(){var t=this;var e=this.queryButtons();var i=e.filter((function(e){return e.guid!==t.guid}));i.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.getTabIndex=function(){if(this.disabled){return undefined}return this.checked||this.isDefaultSelectable()?0:-1};t.prototype.mouseenter=function(){this.hovered=true};t.prototype.mouseleave=function(){this.hovered=false};t.prototype.connectedCallback=function(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||"calcite-radio-button-".concat(r());if(this.name){this.checkLastRadioButton()}d(this);f(this)};t.prototype.componentDidLoad=function(){if(this.focused&&!this.disabled){this.setFocus()}};t.prototype.disconnectedCallback=function(){u(this);p(this)};t.prototype.componentDidRender=function(){k(this)};t.prototype.render=function(){var t=this.getTabIndex();return a(n,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":l(this.checked),"aria-label":h(this),class:v.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(m,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());y.style=w}}}));
5
+ * v1.0.0-next.501
6
+ */System.register(["./p-b71be267.system.js","./p-d9a61215.system.js","./p-588bb4d5.system.js","./p-66b899d4.system.js","./p-ffd24611.system.js","./p-18b0488a.system.js","./p-da3acc27.system.js"],(function(t){"use strict";var e,i,a,n,o,r,c,s,l,d,u,h,f,p,m,b,k;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.g},function(t){c=t.a;s=t.f;l=t.t},function(t){d=t.c;u=t.d;h=t.g},function(t){f=t.c;p=t.d;m=t.H},function(t){b=t.g},function(t){k=t.u}],execute:function(){var v={container:"container"};var w='@-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}';var y=t("calcite_radio_button",function(){function t(t){var a=this;e(this,t);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=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.required=false;this.scale="m";this.selectItem=function(t,e){t[e].click()};this.queryButtons=function(){return Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((function(t){return t.name===a.name}))};this.isDefaultSelectable=function(){var t=a.queryButtons();return!t.some((function(t){return t.checked}))&&t[0]===a.el};this.check=function(){if(a.disabled){return}a.uncheckAllRadioButtonsInGroup();a.checked=true;a.focused=true;a.calciteRadioButtonChange.emit();a.setFocus()};this.clickHandler=function(){a.check()};this.setContainerEl=function(t){a.containerEl=t};this.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var n=a.el;if(e.indexOf(i)===-1){return}if(i===" "){a.check();return}var o=i;if(c(n)==="rtl"){if(i==="ArrowRight"){o="ArrowLeft"}if(i==="ArrowLeft"){o="ArrowRight"}}var r=Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===a.name}));var s=0;var l=r.length;r.some((function(t,e){if(t.checked){s=e;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();a.selectItem(r,b(Math.max(s-1,-1),l));return;case"ArrowRight":case"ArrowDown":t.preventDefault();a.selectItem(r,b(s+1,l));return;default:return}};this.onContainerBlur=function(){a.focused=false;a.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=function(){if(!a.disabled){a.focused=true;a.calciteInternalRadioButtonFocus.emit()}}}t.prototype.checkedChanged=function(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit(t)};t.prototype.nameChanged=function(){this.checkLastRadioButton()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.disabled){s(this.containerEl)}return[2]}))}))};t.prototype.onLabelClick=function(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();var e=t.currentTarget;var i=e.for?this.rootNode.querySelector('calcite-radio-button[id="'.concat(e.for,'"]')):e.querySelector('calcite-radio-button[name="'.concat(this.name,'"]'));if(i){i.checked=true;i.focused=true}this.calciteRadioButtonChange.emit();this.setFocus()}};t.prototype.checkLastRadioButton=function(){var t=this.queryButtons();var e=t.filter((function(t){return t.checked}));if((e===null||e===void 0?void 0:e.length)>1){var i=e[e.length-1];e.filter((function(t){return t!==i})).forEach((function(t){t.checked=false;t.emitCheckedChange()}))}};t.prototype.emitCheckedChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.calciteInternalRadioButtonCheckedChange.emit();return[2]}))}))};t.prototype.uncheckAllRadioButtonsInGroup=function(){var t=this.queryButtons();t.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.uncheckOtherRadioButtonsInGroup=function(){var t=this;var e=this.queryButtons();var i=e.filter((function(e){return e.guid!==t.guid}));i.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.getTabIndex=function(){if(this.disabled){return undefined}return this.checked||this.isDefaultSelectable()?0:-1};t.prototype.mouseenter=function(){this.hovered=true};t.prototype.mouseleave=function(){this.hovered=false};t.prototype.connectedCallback=function(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||"calcite-radio-button-".concat(r());if(this.name){this.checkLastRadioButton()}d(this);f(this)};t.prototype.componentDidLoad=function(){if(this.focused&&!this.disabled){this.setFocus()}};t.prototype.disconnectedCallback=function(){u(this);p(this)};t.prototype.componentDidRender=function(){k(this)};t.prototype.render=function(){var t=this.getTabIndex();return a(n,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":l(this.checked),"aria-label":h(this),class:v.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(m,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());y.style=w}}}));
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as i,h as a,F as e,g as n}from"./p-9c732aa9.js";import{f as r}from"./p-bd5ec28b.js";import{u as o}from"./p-63468c52.js";import{d as s}from"./p-e16a826a.js";import{f as c}from"./p-ebc525c8.js";import"./p-24b76f43.js";const l=class{constructor(a){t(this,a),this.calciteFilterChange=i(this,"calciteFilterChange",7),this.items=[],this.disabled=!1,this.filteredItems=[],this.scale="m",this.value="",this.filter=s(((t,i=!1)=>{const a=new RegExp(t,"i");if(0===this.items.length)return void this.updateFiltered([],i);const e=(t,i)=>{let a=!1;return c(t,(t=>{"function"!=typeof t&&null!=t&&(Array.isArray(t)||"object"==typeof t&&null!==t?e(t,i)&&(a=!0):i.test(t)&&(a=!0))})),a},n=this.items.filter((t=>e(t,a)));this.updateFiltered(n,i)}),250),this.inputHandler=t=>{const i=t.target;this.value=i.value,this.filter(i.value,!0)},this.keyDownHandler=t=>{"Escape"===t.key&&this.clear(),"Enter"===t.key&&t.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()}}watchItemsHandler(){this.filter(this.value)}valueHandler(t){this.filter(t)}componentDidRender(){o(this)}componentWillLoad(){this.filter(this.value)}async setFocus(){r(this.textInput)}updateFiltered(t,i=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(t),i&&this.calciteFilterChange.emit()}render(){const{disabled:t,scale:i}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:t,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:t=>{this.textInput=t},scale:i,type:"text",value:this.value}))))}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};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}: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;width:100%}: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}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{l as calcite_filter}
6
+ import{r as t,c as i,h as a,F as e,g as n}from"./p-cfe4355b.js";import{f as r}from"./p-f95d1df7.js";import{u as o}from"./p-02e6cb99.js";import{d as s}from"./p-186cf6d6.js";import{f as c}from"./p-93c12409.js";import"./p-e98a3fa9.js";const l=class{constructor(a){t(this,a),this.calciteFilterChange=i(this,"calciteFilterChange",7),this.items=[],this.disabled=!1,this.filteredItems=[],this.scale="m",this.value="",this.filter=s(((t,i=!1)=>{const a=new RegExp(t,"i");if(0===this.items.length)return void this.updateFiltered([],i);const e=(t,i)=>{let a=!1;return c(t,(t=>{"function"!=typeof t&&null!=t&&(Array.isArray(t)||"object"==typeof t&&null!==t?e(t,i)&&(a=!0):i.test(t)&&(a=!0))})),a},n=this.items.filter((t=>e(t,a)));this.updateFiltered(n,i)}),250),this.inputHandler=t=>{const i=t.target;this.value=i.value,this.filter(i.value,!0)},this.keyDownHandler=t=>{"Escape"===t.key&&this.clear(),"Enter"===t.key&&t.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()}}watchItemsHandler(){this.filter(this.value)}valueHandler(t){this.filter(t)}componentDidRender(){o(this)}componentWillLoad(){this.filter(this.value)}async setFocus(){r(this.textInput)}updateFiltered(t,i=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(t),i&&this.calciteFilterChange.emit()}render(){const{disabled:t,scale:i}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:t,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:t=>{this.textInput=t},scale:i,type:"text",value:this.value}))))}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};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}: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;width:100%}: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}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{l as calcite_filter}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as i,h as a,F as e,g as s}from"./p-9c732aa9.js";import{c as n}from"./p-a5ad91d2.js";import{l as o}from"./p-d7e2d5ee.js";const r=["lang"],l=new Map;let c;function h(t,i){const{el:a}=t,e={};i.filter((t=>!!r.includes(t)&&!!a.hasAttribute(t))).forEach((t=>{const i=a.getAttribute(t);null!==i&&(e[t]=i)})),t.globalAttributes=e}function m(t){t.forEach((({target:t})=>{const[i,a]=l.get(t);h(i,a.attributeFilter)}))}const p=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7),this.calcitePaginationChange=i(this,"calcitePaginationChange",7),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.globalAttributes={},this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}connectedCallback(){!function(t,i){const{el:a}=t,e={attributeFilter:i};l.set(a,[t,e]),h(t,i),c||(c=n("mutation",m)),c.observe(a,e)}(this,["lang"])}disconnectedCallback(){!function(t){l.delete(t.el),m(c.takeRecords()),c.disconnect();for(const[t,[,i]]of l.entries())c.observe(t,i)}(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=this.globalAttributes.lang||document.documentElement.lang||"en",e=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},o(e.toString(),i,!0))}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};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([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-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}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{p as calcite_pagination}
6
+ import{r as t,c as i,h as a,F as e,g as s}from"./p-cfe4355b.js";import{c as n}from"./p-e543dc25.js";import{l as o}from"./p-4a1b5196.js";const r=["lang"],l=new Map;let c;function h(t,i){const{el:a}=t,e={};i.filter((t=>!!r.includes(t)&&!!a.hasAttribute(t))).forEach((t=>{const i=a.getAttribute(t);null!==i&&(e[t]=i)})),t.globalAttributes=e}function m(t){t.forEach((({target:t})=>{const[i,a]=l.get(t);h(i,a.attributeFilter)}))}const p=class{constructor(a){t(this,a),this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7),this.calcitePaginationChange=i(this,"calcitePaginationChange",7),this.num=20,this.start=1,this.total=0,this.textLabelNext="Next",this.textLabelPrevious="Previous",this.scale="m",this.globalAttributes={},this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()}}connectedCallback(){!function(t,i){const{el:a}=t,e={attributeFilter:i};l.set(a,[t,e]),h(t,i),c||(c=n("mutation",m)),c.observe(a,e)}(this,["lang"])}disconnectedCallback(){!function(t){l.delete(t.el),m(c.takeRecords()),c.disconnect();for(const[t,[,i]]of l.entries())c.observe(t,i)}(this)}async nextPage(){this.start=Math.min(this.getLastStart(),this.start+this.num)}async previousPage(){this.start=Math.max(1,this.start-this.num)}getLastStart(){const{total:t,num:i}=this;return 1+(t%i==0?t-i:Math.floor(t/i)*i)}showLeftEllipsis(){return Math.floor(this.start/this.num)>3}showRightEllipsis(){return(this.total-this.start)/this.num>3}emitUpdate(){const t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t),this.calcitePaginationUpdate.emit(t)}renderPages(){const t=this.getLastStart();let i,a;this.total/this.num<=5?(a=1+this.num,i=t-this.num):this.start/this.num<4?(a=1+this.num,i=1+4*this.num):this.start+3*this.num>=this.total?(a=t-4*this.num,i=t-this.num):(a=this.start-this.num,i=this.start+this.num);const e=[];for(;a<=i;)e.push(a),a+=this.num;return e.map((t=>this.renderPage(t)))}renderPage(t){const i=this.globalAttributes.lang||document.documentElement.lang||"en",e=Math.floor(t/this.num)+(1===this.num?0:1);return a("button",{class:{page:!0,"is-selected":t===this.start},onClick:()=>{this.start=t,this.emitUpdate()}},o(e.toString(),i,!0))}renderLeftEllipsis(){if(this.total/this.num>5&&this.showLeftEllipsis())return a("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.total/this.num>5&&this.showRightEllipsis())return a("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{total:t,num:i,start:s}=this,n=1===i?s<=i:s<i,o=s+i>t;return a(e,null,a("button",{"aria-label":this.textLabelPrevious,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"s"})),t>i?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},a("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"s"})))}get el(){return s(this)}};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([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-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}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{p as calcite_pagination}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.500
4
+ * v1.0.0-next.501
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-9c732aa9.js";import{g as s}from"./p-24b76f43.js";import{a as n,f as r,t as c}from"./p-bd5ec28b.js";import{c as d,d as l,g as h}from"./p-454d8127.js";import{c as m,d as u,H as p}from"./p-25882dfa.js";import{g as b}from"./p-fb8404a4.js";import{u as f}from"./p-63468c52.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-cfe4355b.js";import{g as s}from"./p-e98a3fa9.js";import{a as n,f as r,t as c}from"./p-f95d1df7.js";import{c as d,d as l,g as h}from"./p-728c435f.js";import{c as m,d as u,H as p}from"./p-5cb1a2a6.js";import{g as b}from"./p-e80e7717.js";import{u as f}from"./p-02e6cb99.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}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- System.register(["./p-514fc3cf.system.js","./p-e3d8cbf1.system.js","./p-35921e9d.system.js","./p-a092a0ea.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 c={container:"container"};var s="@-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:c.container},i("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=s}}}));
6
+ System.register(["./p-b71be267.system.js","./p-66b899d4.system.js","./p-588bb4d5.system.js","./p-d9a61215.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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{q as e,c as n}from"./p-bd5ec28b.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.includes("-")})).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.trim())||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
6
+ import{q as e,c as n}from"./p-f95d1df7.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.includes("-")})).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.trim())||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as i,h as n,g as a}from"./p-9c732aa9.js";import{g as e}from"./p-24b76f43.js";import{u as o}from"./p-63468c52.js";const s=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",7),this.checked=!1,this.disabled=!1,this.hidden=!1,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.width="auto",this.guid=`calcite-tile-select-${e()}`,this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){var t;null===(t=this.input)||void 0===t||t.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:a,focused:e,heading:o,icon:s,inputAlignment:r,inputEnabled:c,width:l}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!s&&i),disabled:a,focused:e,heading:Boolean(o),"heading-only":o&&!s&&!i,icon:Boolean(s),"icon-only":!o&&s&&!i,"input-alignment-end":"end"===r,"input-alignment-start":"start"===r,"input-enabled":c,"large-visual":o&&s&&!i,"width-auto":"auto"===l,"width-full":"full"===l}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:s}),n("slot",null))}get el(){return a(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};s.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}:host .container{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;vertical-align:top;z-index:10;-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}:host .container.checked{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{-ms-flex-align:center;align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled){z-index:30}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{-ms-flex-order:1;order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:-ms-flexbox;display:flex;max-width:none}:host .container.width-full calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host(:hover) .container{z-index:20}:host(:hover) .container:not(.input-enabled){-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const r=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return a(this)}};r.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:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-bottom:1px;-webkit-margin-end:1px;margin-inline-end:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}: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}";export{s as calcite_tile_select,r as calcite_tile_select_group}
6
+ import{r as t,c as i,h as n,g as a}from"./p-cfe4355b.js";import{g as e}from"./p-e98a3fa9.js";import{u as o}from"./p-02e6cb99.js";const s=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",7),this.checked=!1,this.disabled=!1,this.hidden=!1,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.width="auto",this.guid=`calcite-tile-select-${e()}`,this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){var t;null===(t=this.input)||void 0===t||t.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:a,focused:e,heading:o,icon:s,inputAlignment:r,inputEnabled:c,width:l}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!s&&i),disabled:a,focused:e,heading:Boolean(o),"heading-only":o&&!s&&!i,icon:Boolean(s),"icon-only":!o&&s&&!i,"input-alignment-end":"end"===r,"input-alignment-start":"start"===r,"input-enabled":c,"large-visual":o&&s&&!i,"width-auto":"auto"===l,"width-full":"full"===l}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:s}),n("slot",null))}get el(){return a(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};s.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}:host .container{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;vertical-align:top;z-index:10;-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}:host .container.checked{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{-ms-flex-align:center;align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled){z-index:30}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{-ms-flex-order:1;order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:-ms-flexbox;display:flex;max-width:none}:host .container.width-full calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host(:hover) .container{z-index:20}:host(:hover) .container:not(.input-enabled){-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const r=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return a(this)}};r.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:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-bottom:1px;-webkit-margin-end:1px;margin-inline-end:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}: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}";export{s as calcite_tile_select,r as calcite_tile_select_group}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
6
  const t=(t,a,s)=>Math.max(a,Math.min(t,s)),a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return a?Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0)):0};export{t as c,a as d}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as i,h as a,g as e}from"./p-9c732aa9.js";import{u as n}from"./p-63468c52.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",7),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",7),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.loading=!1,this.overlayPositioning="absolute",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-trailing",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{height:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;width:1px;-ms-flex-align:stretch;align-items:stretch;-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;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;width:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}: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]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
6
+ import{r as t,c as i,h as a,g as e}from"./p-cfe4355b.js";import{u as n}from"./p-02e6cb99.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",7),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",7),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.loading=!1,this.overlayPositioning="absolute",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-trailing",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{height:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;width:1px;-ms-flex-align:stretch;align-items:stretch;-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;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;width:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}: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]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,h as a,H as n,g as i}from"./p-9c732aa9.js";import{u as e}from"./p-63468c52.js";import{g as o}from"./p-bd5ec28b.js";import{c as r,d as c}from"./p-09f17e1a.js";import{H as s,c as l}from"./p-86d513d5.js";import"./p-24b76f43.js";import"./p-a5ad91d2.js";const m=class{constructor(a){t(this,a),this.disabled=!1}componentDidRender(){e(this)}async setFocus(){const t=this.el.querySelector("calcite-list-item:not([non-interactive])");null==t||t.setFocus()}render(){return a(n,{role:"list"},a("div",{class:"container"},a("slot",null)))}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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:transparent}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){margin-bottom:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 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)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";const d=class{constructor(a){t(this,a),this.nonInteractive=!1,this.disabled=!1}componentDidRender(){e(this)}connectedCallback(){r(this)}disconnectedCallback(){c(this)}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderActionsStart(){const{el:t}=this;return o(t,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:t}=this;return o(t,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}renderContentStart(){const{el:t}=this;return o(t,"content-start")?a("div",{class:"content-start"},a("slot",{name:"content-start"})):null}renderContentEnd(){const{el:t}=this;return o(t,"content-end")?a("div",{class:"content-end"},a("slot",{name:"content-end"})):null}renderContent(){const{label:t,description:n}=this;return t||n?a("div",{class:"content"},t?a("div",{class:"label"},t):null,n?a("div",{class:"description"},n):null):null}renderContentContainer(){const{description:t,disabled:n,label:i,nonInteractive:e}=this,o=!!i||!!t,r=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return e?a("div",{class:{"content-container":!0,"has-center-content":o},ref:()=>this.focusEl=null},r):a("button",{class:{"content-container":!0,"content-container--button":!0,"has-center-content":o},disabled:n,ref:t=>this.focusEl=t},r)}render(){return a(n,{role:"listitem"},a("div",{class:"container"},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),a("div",{class:"nested-container"},a("slot",null)))}get el(){return i(this)}};d.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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-top:0.25rem;padding-bottom:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-top:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";const f=class{constructor(a){t(this,a)}render(){var t;const{el:i,heading:e,headingLevel:o}=this,r=null===(t=i.closest("calcite-list, calcite-list-item-group"))||void 0===t?void 0:t.headingLevel,c=r?l(r+1):null;return a(n,null,e?a(s,{class:"heading",level:o||c||3},e):null,a("div",{class:"container",role:"group"},a("slot",null)))}get el(){return i(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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";export{m as calcite_list,d as calcite_list_item,f as calcite_list_item_group}
6
+ import{r as t,h as a,H as n,g as i}from"./p-cfe4355b.js";import{u as e}from"./p-02e6cb99.js";import{g as o}from"./p-f95d1df7.js";import{c as r,d as c}from"./p-8325357f.js";import{H as s,c as l}from"./p-7b01ff59.js";import"./p-e98a3fa9.js";import"./p-e543dc25.js";const m=class{constructor(a){t(this,a),this.disabled=!1}componentDidRender(){e(this)}async setFocus(){const t=this.el.querySelector("calcite-list-item:not([non-interactive])");null==t||t.setFocus()}render(){return a(n,{role:"list"},a("div",{class:"container"},a("slot",null)))}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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:transparent}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){margin-bottom:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 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)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";const d=class{constructor(a){t(this,a),this.nonInteractive=!1,this.disabled=!1}componentDidRender(){e(this)}connectedCallback(){r(this)}disconnectedCallback(){c(this)}async setFocus(){var t;null===(t=this.focusEl)||void 0===t||t.focus()}renderActionsStart(){const{el:t}=this;return o(t,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:t}=this;return o(t,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}renderContentStart(){const{el:t}=this;return o(t,"content-start")?a("div",{class:"content-start"},a("slot",{name:"content-start"})):null}renderContentEnd(){const{el:t}=this;return o(t,"content-end")?a("div",{class:"content-end"},a("slot",{name:"content-end"})):null}renderContent(){const{label:t,description:n}=this;return t||n?a("div",{class:"content"},t?a("div",{class:"label"},t):null,n?a("div",{class:"description"},n):null):null}renderContentContainer(){const{description:t,disabled:n,label:i,nonInteractive:e}=this,o=!!i||!!t,r=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return e?a("div",{class:{"content-container":!0,"has-center-content":o},ref:()=>this.focusEl=null},r):a("button",{class:{"content-container":!0,"content-container--button":!0,"has-center-content":o},disabled:n,ref:t=>this.focusEl=t},r)}render(){return a(n,{role:"listitem"},a("div",{class:"container"},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),a("div",{class:"nested-container"},a("slot",null)))}get el(){return i(this)}};d.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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-top:0.25rem;padding-bottom:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-top:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";const f=class{constructor(a){t(this,a)}render(){var t;const{el:i,heading:e,headingLevel:o}=this,r=null===(t=i.closest("calcite-list, calcite-list-item-group"))||void 0===t?void 0:t.headingLevel,c=r?l(r+1):null;return a(n,null,e?a(s,{class:"heading",level:o||c||3},e):null,a("div",{class:"container",role:"group"},a("slot",null)))}get el(){return i(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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";export{m as calcite_list,d as calcite_list_item,f as calcite_list_item_group}
@@ -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.500
4
+ * v1.0.0-next.501
5
5
  */
6
- import{r as t,c as a,h as i,g as e,F as n}from"./p-9c732aa9.js";import{c as r}from"./p-a5ad91d2.js";import{f as o}from"./p-bd5ec28b.js";import{c as s,d as c}from"./p-454d8127.js";import{c as l,d as m,a as p,H as d}from"./p-25882dfa.js";import{u as h}from"./p-63468c52.js";import"./p-24b76f43.js";const f=class{constructor(i){t(this,i),this.calciteInternalOptionChange=a(this,"calciteInternalOptionChange",7),this.disabled=!1,this.mutationObserver=r("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}))}handlePropChange(t,a,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return i("slot",null,this.label)}get el(){return e(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";const u=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",7),this.disabled=!1}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};u.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}";function b(t){return"CALCITE-OPTION"===t.tagName}const w=class{constructor(i){t(this,i),this.calciteSelectChange=a(this,"calciteSelectChange",7),this.disabled=!1,this.required=!1,this.scale="m",this.value=null,this.width="auto",this.componentToNativeEl=new Map,this.mutationObserver=r("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var a;return null===(a=this.selectEl)||void 0===a?void 0:a.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()}}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((a=>a.selected=a.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:a}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(a,{subtree:!0,childList:!0}),s(this),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),c(this),m(this)}componentDidLoad(){var t,a;p(this,null!==(a=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==a?a:"")}componentDidRender(){h(this)}async setFocus(){o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const a=t.target,i=this.componentToNativeEl.get(a);i&&(this.updateNativeElement(a,i),b(a)&&a.selected&&(this.deselectAllExcept(a),this.selectedOption=a))}onLabelClick(){this.setFocus()}updateNativeElement(t,a){if(a.disabled=t.disabled,a.label=t.label,b(t)){const i=a;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let a;this.componentToNativeEl.forEach(((i,e)=>{b(e)&&i===t&&(e.selected=!0,a=e,this.deselectAllExcept(e))})),a&&(this.selectedOption=a)}toNativeElement(t){if(b(t)){const a=document.createElement("option");return this.updateNativeElement(t,a),this.componentToNativeEl.set(t,a),a}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const a=document.createElement("optgroup");return this.updateNativeElement(t,a),Array.from(t.children).forEach((i=>{const e=this.toNativeElement(i);a.append(e),this.componentToNativeEl.set(t,e)})),this.componentToNativeEl.set(t,a),a}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((a=>{a!==t&&(a.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return i(n,null,i("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(d,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:var(--select-width)}: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([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-left:0.5rem;padding-right:0.5rem}:host([scale=m]){height:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-left:0.75rem;padding-right:0.75rem}:host([scale=l]){height:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-left:1rem;padding-right:1rem}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;top:0px;bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{f as calcite_option,u as calcite_option_group,w as calcite_select}
6
+ import{r as t,c as a,h as i,g as e,F as n}from"./p-cfe4355b.js";import{c as r}from"./p-e543dc25.js";import{f as o}from"./p-f95d1df7.js";import{c as s,d as c}from"./p-728c435f.js";import{c as l,d as m,a as p,H as d}from"./p-5cb1a2a6.js";import{u as h}from"./p-02e6cb99.js";import"./p-e98a3fa9.js";const f=class{constructor(i){t(this,i),this.calciteInternalOptionChange=a(this,"calciteInternalOptionChange",7),this.disabled=!1,this.mutationObserver=r("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}))}handlePropChange(t,a,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return i("slot",null,this.label)}get el(){return e(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";const u=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",7),this.disabled=!1}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};u.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}";function b(t){return"CALCITE-OPTION"===t.tagName}const w=class{constructor(i){t(this,i),this.calciteSelectChange=a(this,"calciteSelectChange",7),this.disabled=!1,this.required=!1,this.scale="m",this.value=null,this.width="auto",this.componentToNativeEl=new Map,this.mutationObserver=r("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var a;return null===(a=this.selectEl)||void 0===a?void 0:a.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()}}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((a=>a.selected=a.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:a}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(a,{subtree:!0,childList:!0}),s(this),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),c(this),m(this)}componentDidLoad(){var t,a;p(this,null!==(a=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==a?a:"")}componentDidRender(){h(this)}async setFocus(){o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const a=t.target,i=this.componentToNativeEl.get(a);i&&(this.updateNativeElement(a,i),b(a)&&a.selected&&(this.deselectAllExcept(a),this.selectedOption=a))}onLabelClick(){this.setFocus()}updateNativeElement(t,a){if(a.disabled=t.disabled,a.label=t.label,b(t)){const i=a;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let a;this.componentToNativeEl.forEach(((i,e)=>{b(e)&&i===t&&(e.selected=!0,a=e,this.deselectAllExcept(e))})),a&&(this.selectedOption=a)}toNativeElement(t){if(b(t)){const a=document.createElement("option");return this.updateNativeElement(t,a),this.componentToNativeEl.set(t,a),a}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const a=document.createElement("optgroup");return this.updateNativeElement(t,a),Array.from(t.children).forEach((i=>{const e=this.toNativeElement(i);a.append(e),this.componentToNativeEl.set(t,e)})),this.componentToNativeEl.set(t,a),a}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((a=>{a!==t&&(a.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return i(n,null,i("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(d,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:var(--select-width)}: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([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-left:0.5rem;padding-right:0.5rem}:host([scale=m]){height:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-left:0.75rem;padding-right:0.75rem}:host([scale=l]){height:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-left:1rem;padding-right:1rem}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;top:0px;bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{f as calcite_option,u as calcite_option_group,w as calcite_select}