@esri/calcite-components 1.0.0-next.320 → 1.0.0-next.324

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 (700) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +1 -1
  3. package/dist/calcite/{p-b6b6ec04.js → p-0229a408.js} +1 -1
  4. package/dist/calcite/p-03fb996f.entry.js +5 -0
  5. package/dist/calcite/p-06399508.entry.js +5 -0
  6. package/dist/calcite/p-0d3c30eb.system.entry.js +5 -0
  7. package/dist/calcite/p-0f2b51bf.system.js +5 -0
  8. package/dist/calcite/p-101529ad.entry.js +5 -0
  9. package/dist/calcite/p-184c9b62.system.entry.js +5 -0
  10. package/dist/calcite/p-18899170.entry.js +5 -0
  11. package/dist/calcite/p-1942876c.js +5 -0
  12. package/dist/calcite/p-1a30f69e.system.entry.js +5 -0
  13. package/dist/calcite/p-1c667bd9.system.entry.js +5 -0
  14. package/dist/calcite/p-1e2e8b64.entry.js +5 -0
  15. package/dist/calcite/p-1ec19629.system.entry.js +5 -0
  16. package/dist/calcite/p-202740f8.system.entry.js +5 -0
  17. package/dist/calcite/p-204d9aca.entry.js +5 -0
  18. package/dist/calcite/p-20bc20ee.entry.js +5 -0
  19. package/dist/calcite/p-26328035.system.entry.js +5 -0
  20. package/dist/calcite/p-27cec7b3.system.entry.js +5 -0
  21. package/dist/calcite/p-28f081f0.entry.js +5 -0
  22. package/dist/calcite/p-2977b7e8.entry.js +5 -0
  23. package/dist/calcite/p-2b11469c.entry.js +5 -0
  24. package/dist/calcite/p-2d0578a8.entry.js +5 -0
  25. package/dist/calcite/p-2f011be9.system.entry.js +5 -0
  26. package/dist/calcite/p-2fd6f4f4.system.entry.js +5 -0
  27. package/dist/calcite/p-3037c513.entry.js +5 -0
  28. package/dist/calcite/{p-714ae4f6.entry.js → p-327b0ae2.entry.js} +1 -1
  29. package/dist/calcite/{p-d07ff1ee.system.js → p-35a5c74c.system.js} +1 -1
  30. package/dist/calcite/p-3c906c3c.entry.js +5 -0
  31. package/dist/calcite/p-3ce6883b.system.entry.js +5 -0
  32. package/dist/calcite/p-3d27070c.system.entry.js +5 -0
  33. package/dist/calcite/p-3dae9da3.js +5 -0
  34. package/dist/calcite/{p-fa9a1d8f.system.entry.js → p-3eeeebe5.system.entry.js} +1 -1
  35. package/dist/calcite/p-45ba7337.system.entry.js +5 -0
  36. package/dist/calcite/p-488ca1e1.system.entry.js +5 -0
  37. package/dist/calcite/p-4b14db4d.system.entry.js +5 -0
  38. package/dist/calcite/p-4bb92105.system.entry.js +5 -0
  39. package/dist/calcite/{p-71cdeee3.system.js → p-523bc291.system.js} +1 -1
  40. package/dist/calcite/p-52cc870b.js +5 -0
  41. package/dist/calcite/p-53de3684.system.entry.js +5 -0
  42. package/dist/calcite/p-575c5661.system.entry.js +5 -0
  43. package/dist/calcite/p-588d27df.entry.js +5 -0
  44. package/dist/calcite/p-5b02dc87.system.entry.js +5 -0
  45. package/dist/calcite/p-5ca9284c.system.entry.js +5 -0
  46. package/dist/calcite/p-5cdf37a7.entry.js +5 -0
  47. package/dist/calcite/p-5df7df57.system.entry.js +5 -0
  48. package/dist/calcite/{p-7bb94bfa.entry.js → p-5f1684f3.entry.js} +1 -1
  49. package/dist/calcite/p-606c2ba6.entry.js +5 -0
  50. package/dist/calcite/p-60b60d22.system.entry.js +5 -0
  51. package/dist/calcite/p-62f3d4df.system.js +5 -0
  52. package/dist/calcite/p-6be0a24d.entry.js +5 -0
  53. package/dist/calcite/p-6cc23c39.system.js +5 -0
  54. package/dist/calcite/p-6d969c5b.entry.js +5 -0
  55. package/dist/calcite/p-6ee81faa.system.entry.js +5 -0
  56. package/dist/calcite/p-6fc7d27c.system.entry.js +5 -0
  57. package/dist/calcite/p-70894126.system.entry.js +5 -0
  58. package/dist/calcite/p-70def0a2.entry.js +5 -0
  59. package/dist/calcite/p-7403ee95.system.entry.js +5 -0
  60. package/dist/calcite/p-774454cc.system.entry.js +5 -0
  61. package/dist/calcite/p-7a16a9e4.entry.js +5 -0
  62. package/dist/calcite/p-7a87a393.entry.js +5 -0
  63. package/dist/calcite/{p-23bc2d32.entry.js → p-7afed2f6.entry.js} +1 -1
  64. package/dist/calcite/p-7bd3efdb.entry.js +5 -0
  65. package/dist/calcite/p-7c7df54d.entry.js +5 -0
  66. package/dist/calcite/p-7db12757.entry.js +5 -0
  67. package/dist/calcite/p-7e7cfeaa.entry.js +5 -0
  68. package/dist/calcite/p-7efe15d0.entry.js +5 -0
  69. package/dist/calcite/p-7f576b77.system.entry.js +5 -0
  70. package/dist/calcite/p-80d8c468.system.entry.js +5 -0
  71. package/dist/calcite/p-83467ae1.system.entry.js +5 -0
  72. package/dist/calcite/p-84e2d36a.system.entry.js +5 -0
  73. package/dist/calcite/p-8e252799.system.js +1 -1
  74. package/dist/calcite/p-91a1824b.entry.js +5 -0
  75. package/dist/calcite/p-94982d31.entry.js +5 -0
  76. package/dist/calcite/p-94dc5a56.entry.js +5 -0
  77. package/dist/calcite/p-95c632ab.entry.js +5 -0
  78. package/dist/calcite/p-96d305ef.entry.js +5 -0
  79. package/dist/calcite/p-974ca4ba.system.entry.js +5 -0
  80. package/dist/calcite/p-980d9025.entry.js +5 -0
  81. package/dist/calcite/p-99fb19ec.system.entry.js +5 -0
  82. package/dist/calcite/p-9a2b1a29.system.entry.js +5 -0
  83. package/dist/calcite/p-9b117f75.entry.js +5 -0
  84. package/dist/calcite/p-9c3d34ca.entry.js +5 -0
  85. package/dist/calcite/p-a173826c.system.entry.js +5 -0
  86. package/dist/calcite/p-a49c5514.system.entry.js +5 -0
  87. package/dist/calcite/p-b19f7605.system.entry.js +5 -0
  88. package/dist/calcite/p-b5fa03c1.entry.js +5 -0
  89. package/dist/calcite/p-b93a6d2d.system.entry.js +5 -0
  90. package/dist/calcite/p-ba1cabf2.system.entry.js +5 -0
  91. package/dist/calcite/p-ba631974.system.entry.js +5 -0
  92. package/dist/calcite/p-bbd8636a.entry.js +5 -0
  93. package/dist/calcite/p-bd919913.entry.js +5 -0
  94. package/dist/calcite/p-bff145c5.entry.js +5 -0
  95. package/dist/calcite/p-c00b1d26.js +5 -0
  96. package/dist/calcite/p-c02b5eba.system.entry.js +5 -0
  97. package/dist/calcite/p-c0eefed8.entry.js +5 -0
  98. package/dist/calcite/p-c1610a5c.system.entry.js +5 -0
  99. package/dist/calcite/{p-47f55191.system.js → p-c34c4414.system.js} +1 -1
  100. package/dist/calcite/p-c3f2b03a.system.entry.js +5 -0
  101. package/dist/calcite/p-c7ed36e5.system.entry.js +5 -0
  102. package/dist/calcite/p-cd0018ac.system.entry.js +5 -0
  103. package/dist/calcite/p-ce622e0a.system.entry.js +5 -0
  104. package/dist/calcite/p-ce704ece.js +5 -0
  105. package/dist/calcite/p-cefe5a4e.entry.js +5 -0
  106. package/dist/calcite/p-d0d237ab.entry.js +5 -0
  107. package/dist/calcite/p-d373de48.system.entry.js +5 -0
  108. package/dist/calcite/{p-3f07a3e7.system.entry.js → p-d64659ba.system.entry.js} +1 -1
  109. package/dist/calcite/p-d6860bd7.system.entry.js +5 -0
  110. package/dist/calcite/p-d9af4015.entry.js +5 -0
  111. package/dist/calcite/p-ddd419d6.entry.js +5 -0
  112. package/dist/calcite/p-e1049030.entry.js +5 -0
  113. package/dist/calcite/p-e2058b98.system.entry.js +5 -0
  114. package/dist/calcite/p-e3f4d68f.entry.js +5 -0
  115. package/dist/calcite/p-e542274a.entry.js +5 -0
  116. package/dist/calcite/p-e633c044.system.entry.js +5 -0
  117. package/dist/calcite/p-e78f8c8f.entry.js +5 -0
  118. package/dist/calcite/{p-fba77b86.entry.js → p-e83339b1.entry.js} +1 -1
  119. package/dist/calcite/p-eb665026.system.entry.js +5 -0
  120. package/dist/calcite/p-ed0935d6.system.entry.js +5 -0
  121. package/dist/calcite/p-effec307.system.entry.js +5 -0
  122. package/dist/calcite/p-f5b19445.entry.js +5 -0
  123. package/dist/calcite/p-f658de6f.entry.js +5 -0
  124. package/dist/calcite/p-f6aa5d7e.entry.js +5 -0
  125. package/dist/calcite/p-f8818895.entry.js +5 -0
  126. package/dist/calcite/p-f953f1a9.system.entry.js +5 -0
  127. package/dist/calcite/p-f993aab7.entry.js +5 -0
  128. package/dist/calcite/p-fa7105a4.system.entry.js +5 -0
  129. package/dist/calcite/p-fee12dc7.entry.js +5 -0
  130. package/dist/cjs/{CalciteExpandToggle-ca629f39.js → CalciteExpandToggle-d654421a.js} +3 -3
  131. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
  132. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  134. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
  136. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-alert.cjs.entry.js +3 -5
  138. package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
  139. package/dist/cjs/calcite-block_2.cjs.entry.js +5 -5
  140. package/dist/cjs/calcite-button.cjs.entry.js +5 -6
  141. package/dist/cjs/calcite-card.cjs.entry.js +2 -5
  142. package/dist/cjs/calcite-checkbox.cjs.entry.js +4 -4
  143. package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
  144. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -13
  145. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -16
  146. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +18 -21
  147. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -13
  148. package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
  149. package/dist/cjs/calcite-filter.cjs.entry.js +3 -4
  150. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-graph_2.cjs.entry.js +25 -12
  152. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  155. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -7
  156. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
  157. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +5 -5
  158. package/dist/cjs/calcite-input.cjs.entry.js +6 -8
  159. package/dist/cjs/calcite-label.cjs.entry.js +2 -5
  160. package/dist/cjs/calcite-link.cjs.entry.js +3 -3
  161. package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
  162. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-modal.cjs.entry.js +3 -4
  164. package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
  165. package/dist/cjs/calcite-option_3.cjs.entry.js +12 -11
  166. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
  167. package/dist/cjs/calcite-panel.cjs.entry.js +5 -9
  168. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +6 -8
  169. package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -7
  170. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  172. package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +6 -47
  173. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -16
  174. package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
  175. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -9
  177. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -5
  179. package/dist/cjs/calcite-stepper_2.cjs.entry.js +4 -5
  180. package/dist/cjs/calcite-switch.cjs.entry.js +5 -6
  181. package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -14
  182. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -5
  183. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  184. package/dist/cjs/calcite-tip_3.cjs.entry.js +5 -5
  185. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -4
  186. package/dist/cjs/calcite-tree_2.cjs.entry.js +3 -3
  187. package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
  188. package/dist/cjs/calcite.cjs.js +1 -1
  189. package/dist/cjs/{dom-41ce6029.js → dom-19822169.js} +0 -7
  190. package/dist/cjs/{form-7f276aa5.js → form-a5b44a1f.js} +1 -1
  191. package/dist/cjs/{label-98a31f7d.js → label-8e3552b2.js} +1 -1
  192. package/dist/cjs/loader.cjs.js +1 -1
  193. package/dist/cjs/{popper-4c24a334.js → popper-a7580aca.js} +1 -1
  194. package/dist/cjs/{resources-fee43dc4.js → resources-6c4b32ef.js} +3 -3
  195. package/dist/collection/collection-manifest.json +5 -7
  196. package/dist/collection/components/calcite-accordion/calcite-accordion.css +6 -2
  197. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +11 -24
  198. package/dist/collection/components/calcite-action/calcite-action.css +6 -2
  199. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +6 -2
  200. package/dist/collection/components/calcite-action-group/calcite-action-group.css +6 -2
  201. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +6 -2
  202. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +8 -9
  203. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
  204. package/dist/collection/components/calcite-alert/calcite-alert.css +13 -36
  205. package/dist/collection/components/calcite-alert/calcite-alert.js +2 -5
  206. package/dist/collection/components/calcite-avatar/calcite-avatar.css +6 -2
  207. package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
  208. package/dist/collection/components/calcite-block/calcite-block.css +7 -3
  209. package/dist/collection/components/calcite-block-section/calcite-block-section.css +8 -14
  210. package/dist/collection/components/calcite-block-section/calcite-block-section.js +3 -4
  211. package/dist/collection/components/calcite-button/calcite-button.css +17 -51
  212. package/dist/collection/components/calcite-button/calcite-button.js +5 -6
  213. package/dist/collection/components/calcite-card/calcite-card.css +7 -8
  214. package/dist/collection/components/calcite-card/calcite-card.js +1 -4
  215. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +6 -2
  216. package/dist/collection/components/calcite-chip/calcite-chip.css +19 -40
  217. package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
  218. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +7 -8
  219. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +5 -8
  220. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +6 -2
  221. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +3 -4
  222. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +6 -2
  223. package/dist/collection/components/calcite-combobox/calcite-combobox.css +10 -14
  224. package/dist/collection/components/calcite-combobox/calcite-combobox.js +6 -6
  225. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +8 -15
  226. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +1 -4
  227. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +8 -20
  228. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +2 -4
  229. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +6 -2
  230. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -6
  231. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +28 -10
  232. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +6 -2
  233. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +5 -7
  234. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +6 -2
  235. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -6
  236. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +6 -29
  237. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -4
  238. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +6 -2
  239. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
  240. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +35 -131
  241. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +3 -6
  242. package/dist/collection/components/calcite-fab/calcite-fab.css +6 -2
  243. package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
  244. package/dist/collection/components/calcite-filter/calcite-filter.css +9 -23
  245. package/dist/collection/components/calcite-filter/calcite-filter.js +3 -5
  246. package/dist/collection/components/calcite-flow/calcite-flow.css +6 -2
  247. package/dist/collection/components/calcite-graph/calcite-graph.css +6 -2
  248. package/dist/collection/components/calcite-handle/calcite-handle.css +6 -2
  249. package/dist/collection/components/calcite-icon/calcite-icon.css +6 -2
  250. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +7 -3
  251. package/dist/collection/components/calcite-input/calcite-input.css +30 -118
  252. package/dist/collection/components/calcite-input/calcite-input.js +2 -4
  253. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +6 -2
  254. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +1 -3
  255. package/dist/collection/components/calcite-input-message/calcite-input-message.css +10 -11
  256. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
  257. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +6 -2
  258. package/dist/collection/components/calcite-label/calcite-label.css +10 -9
  259. package/dist/collection/components/calcite-label/calcite-label.js +1 -4
  260. package/dist/collection/components/calcite-link/calcite-link.css +12 -18
  261. package/dist/collection/components/calcite-link/calcite-link.js +1 -1
  262. package/dist/collection/components/calcite-list/calcite-list.css +6 -2
  263. package/dist/collection/components/calcite-list-item/calcite-list-item.css +6 -2
  264. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +6 -2
  265. package/dist/collection/components/calcite-loader/calcite-loader.css +7 -8
  266. package/dist/collection/components/calcite-modal/calcite-modal.css +10 -23
  267. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -4
  268. package/dist/collection/components/calcite-notice/calcite-notice.css +12 -31
  269. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
  270. package/dist/collection/components/calcite-option/calcite-option.css +6 -2
  271. package/dist/collection/components/calcite-option/calcite-option.js +3 -1
  272. package/dist/collection/components/calcite-option-group/calcite-option-group.css +6 -2
  273. package/dist/collection/components/calcite-pagination/calcite-pagination.css +7 -3
  274. package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
  275. package/dist/collection/components/calcite-panel/calcite-panel.css +10 -29
  276. package/dist/collection/components/calcite-panel/calcite-panel.js +4 -9
  277. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +6 -2
  278. package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
  279. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +7 -8
  280. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
  281. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +7 -8
  282. package/dist/collection/components/calcite-popover/calcite-popover.css +6 -6
  283. package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
  284. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -2
  285. package/dist/collection/components/calcite-progress/calcite-progress.css +6 -2
  286. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +75 -2
  287. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -3
  288. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -2
  289. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +6 -2
  290. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +2 -2
  291. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +6 -2
  292. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
  293. package/dist/collection/components/calcite-rating/calcite-rating.css +9 -20
  294. package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
  295. package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
  296. package/dist/collection/components/calcite-select/calcite-select.css +13 -26
  297. package/dist/collection/components/calcite-select/calcite-select.js +5 -7
  298. package/dist/collection/components/calcite-shell/calcite-shell.css +7 -3
  299. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +9 -20
  300. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
  301. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +7 -3
  302. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +3 -3
  303. package/dist/collection/components/calcite-slider/calcite-slider.css +145 -162
  304. package/dist/collection/components/calcite-slider/calcite-slider.js +64 -27
  305. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -2
  306. package/dist/collection/components/calcite-split-button/calcite-split-button.css +6 -2
  307. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
  308. package/dist/collection/components/calcite-stepper/calcite-stepper.css +6 -2
  309. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +20 -74
  310. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +2 -4
  311. package/dist/collection/components/calcite-switch/calcite-switch.css +8 -26
  312. package/dist/collection/components/calcite-switch/calcite-switch.js +2 -4
  313. package/dist/collection/components/calcite-tab/calcite-tab.css +6 -2
  314. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +6 -2
  315. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  316. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +12 -23
  317. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +6 -9
  318. package/dist/collection/components/calcite-tabs/calcite-tabs.css +6 -2
  319. package/dist/collection/components/calcite-tile/calcite-tile.css +6 -2
  320. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +8 -16
  321. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +1 -4
  322. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -2
  323. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +6 -2
  324. package/dist/collection/components/calcite-tip/calcite-tip.css +6 -2
  325. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +6 -2
  326. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +9 -14
  327. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  328. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +6 -2
  329. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -2
  330. package/dist/collection/components/calcite-tree/calcite-tree.css +6 -2
  331. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +9 -5
  332. package/dist/collection/components/calcite-value-list/calcite-value-list.css +6 -2
  333. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +6 -2
  334. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  335. package/dist/collection/utils/dom.js +0 -6
  336. package/dist/components/CalciteExpandToggle.js +3 -3
  337. package/dist/components/calcite-accordion-item.js +1 -1
  338. package/dist/components/calcite-accordion.js +1 -1
  339. package/dist/components/calcite-action-bar.js +1 -1
  340. package/dist/components/calcite-action-group2.js +1 -1
  341. package/dist/components/calcite-action-menu2.js +1 -1
  342. package/dist/components/calcite-action-pad.js +3 -8
  343. package/dist/components/calcite-action2.js +1 -1
  344. package/dist/components/calcite-alert.js +3 -5
  345. package/dist/components/calcite-avatar.js +4 -5
  346. package/dist/components/calcite-block-section.js +4 -4
  347. package/dist/components/calcite-block.js +1 -1
  348. package/dist/components/calcite-button2.js +4 -5
  349. package/dist/components/calcite-card.js +2 -4
  350. package/dist/components/calcite-checkbox2.js +1 -1
  351. package/dist/components/calcite-chip2.js +4 -5
  352. package/dist/components/calcite-color-picker-hex-input2.js +4 -5
  353. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  354. package/dist/components/calcite-color-picker.js +6 -8
  355. package/dist/components/calcite-combobox-item-group.js +3 -4
  356. package/dist/components/calcite-combobox-item.js +2 -4
  357. package/dist/components/calcite-combobox.js +7 -7
  358. package/dist/components/calcite-date-picker-day2.js +1 -1
  359. package/dist/components/calcite-date-picker-month-header2.js +5 -7
  360. package/dist/components/calcite-date-picker-month2.js +6 -8
  361. package/dist/components/calcite-date-picker2.js +5 -7
  362. package/dist/components/calcite-dropdown-group.js +3 -4
  363. package/dist/components/calcite-dropdown-item.js +4 -6
  364. package/dist/components/calcite-dropdown2.js +3 -4
  365. package/dist/components/calcite-fab.js +4 -5
  366. package/dist/components/calcite-filter2.js +3 -4
  367. package/dist/components/calcite-flow.js +1 -1
  368. package/dist/components/calcite-graph2.js +1 -1
  369. package/dist/components/calcite-handle2.js +1 -1
  370. package/dist/components/calcite-icon2.js +1 -1
  371. package/dist/components/calcite-inline-editable.js +1 -1
  372. package/dist/components/calcite-input-date-picker.js +2 -4
  373. package/dist/components/calcite-input-message.js +3 -4
  374. package/dist/components/calcite-input-time-picker.js +1 -1
  375. package/dist/components/calcite-input2.js +3 -5
  376. package/dist/components/calcite-label2.js +2 -4
  377. package/dist/components/calcite-link2.js +2 -2
  378. package/dist/components/calcite-list-item-group.js +1 -1
  379. package/dist/components/calcite-list-item.js +1 -1
  380. package/dist/components/calcite-list.js +1 -1
  381. package/dist/components/calcite-loader2.js +1 -1
  382. package/dist/components/calcite-modal.js +3 -4
  383. package/dist/components/calcite-notice.js +3 -4
  384. package/dist/components/calcite-option-group.js +1 -1
  385. package/dist/components/calcite-option.js +4 -2
  386. package/dist/components/calcite-pagination.js +3 -5
  387. package/dist/components/calcite-panel.js +5 -9
  388. package/dist/components/calcite-pick-list-group.js +3 -5
  389. package/dist/components/calcite-pick-list-item2.js +1 -1
  390. package/dist/components/calcite-pick-list.js +1 -1
  391. package/dist/components/calcite-popover-manager.js +2 -2
  392. package/dist/components/calcite-popover2.js +3 -5
  393. package/dist/components/calcite-progress2.js +1 -1
  394. package/dist/components/calcite-radio-button-group.js +1 -1
  395. package/dist/components/calcite-radio-button.js +5 -11
  396. package/dist/components/calcite-radio-group-item.js +6 -14
  397. package/dist/components/calcite-radio-group.js +3 -3
  398. package/dist/components/calcite-rating.js +2 -4
  399. package/dist/components/calcite-scrim2.js +1 -1
  400. package/dist/components/calcite-select.js +5 -6
  401. package/dist/components/calcite-shell-center-row.js +4 -5
  402. package/dist/components/calcite-shell-panel.js +4 -4
  403. package/dist/components/calcite-shell.js +1 -1
  404. package/dist/components/calcite-slider.js +24 -10
  405. package/dist/components/calcite-sortable-list.js +1 -1
  406. package/dist/components/calcite-split-button.js +2 -4
  407. package/dist/components/calcite-stepper-item.js +3 -4
  408. package/dist/components/calcite-stepper.js +1 -1
  409. package/dist/components/calcite-switch2.js +3 -4
  410. package/dist/components/calcite-tab-nav2.js +4 -4
  411. package/dist/components/calcite-tab-title2.js +7 -9
  412. package/dist/components/calcite-tab2.js +1 -1
  413. package/dist/components/calcite-tabs2.js +1 -1
  414. package/dist/components/calcite-tile-select-group.js +1 -1
  415. package/dist/components/calcite-tile-select.js +2 -4
  416. package/dist/components/calcite-tile2.js +1 -1
  417. package/dist/components/calcite-time-picker2.js +1 -1
  418. package/dist/components/calcite-tip-group.js +1 -1
  419. package/dist/components/calcite-tip-manager.js +3 -3
  420. package/dist/components/calcite-tip.js +1 -1
  421. package/dist/components/calcite-tooltip-manager2.js +1 -1
  422. package/dist/components/calcite-tooltip.js +1 -1
  423. package/dist/components/calcite-tree-item.js +2 -2
  424. package/dist/components/calcite-tree.js +1 -1
  425. package/dist/components/calcite-value-list-item.js +1 -1
  426. package/dist/components/calcite-value-list.js +1 -1
  427. package/dist/components/dom.js +1 -7
  428. package/dist/components/form.js +1 -1
  429. package/dist/components/label.js +1 -1
  430. package/dist/components/shared-list-render.js +3 -3
  431. package/dist/custom-elements/index.d.ts +0 -6
  432. package/dist/custom-elements/index.js +205 -297
  433. package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-c33bd6fd.js} +3 -3
  434. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  435. package/dist/esm/calcite-action-bar.entry.js +3 -3
  436. package/dist/esm/calcite-action-group.entry.js +2 -2
  437. package/dist/esm/calcite-action-menu.entry.js +2 -2
  438. package/dist/esm/calcite-action-pad.entry.js +4 -9
  439. package/dist/esm/calcite-action.entry.js +1 -1
  440. package/dist/esm/calcite-alert.entry.js +3 -5
  441. package/dist/esm/calcite-avatar.entry.js +4 -5
  442. package/dist/esm/calcite-block_2.entry.js +5 -5
  443. package/dist/esm/calcite-button.entry.js +5 -6
  444. package/dist/esm/calcite-card.entry.js +2 -5
  445. package/dist/esm/calcite-checkbox.entry.js +4 -4
  446. package/dist/esm/calcite-chip.entry.js +4 -5
  447. package/dist/esm/calcite-color-picker_3.entry.js +10 -13
  448. package/dist/esm/calcite-combobox_3.entry.js +14 -16
  449. package/dist/esm/calcite-date-picker_4.entry.js +18 -21
  450. package/dist/esm/calcite-dropdown_3.entry.js +9 -13
  451. package/dist/esm/calcite-fab.entry.js +4 -5
  452. package/dist/esm/calcite-filter.entry.js +3 -4
  453. package/dist/esm/calcite-flow.entry.js +1 -1
  454. package/dist/esm/calcite-graph_2.entry.js +26 -13
  455. package/dist/esm/calcite-handle.entry.js +1 -1
  456. package/dist/esm/calcite-icon.entry.js +2 -2
  457. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  458. package/dist/esm/calcite-input-date-picker.entry.js +6 -7
  459. package/dist/esm/calcite-input-message.entry.js +3 -4
  460. package/dist/esm/calcite-input-time-picker_2.entry.js +5 -5
  461. package/dist/esm/calcite-input.entry.js +6 -8
  462. package/dist/esm/calcite-label.entry.js +2 -5
  463. package/dist/esm/calcite-link.entry.js +3 -3
  464. package/dist/esm/calcite-list_3.entry.js +4 -4
  465. package/dist/esm/calcite-loader.entry.js +1 -1
  466. package/dist/esm/calcite-modal.entry.js +3 -4
  467. package/dist/esm/calcite-notice.entry.js +3 -4
  468. package/dist/esm/calcite-option_3.entry.js +12 -11
  469. package/dist/esm/calcite-pagination.entry.js +3 -6
  470. package/dist/esm/calcite-panel.entry.js +5 -9
  471. package/dist/esm/calcite-pick-list_3.entry.js +6 -8
  472. package/dist/esm/calcite-popover_2.entry.js +5 -7
  473. package/dist/esm/calcite-progress.entry.js +1 -1
  474. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  475. package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +8 -48
  476. package/dist/esm/calcite-radio-group_2.entry.js +9 -16
  477. package/dist/esm/calcite-rating.entry.js +5 -6
  478. package/dist/esm/calcite-scrim.entry.js +1 -1
  479. package/dist/esm/calcite-shell_3.entry.js +8 -9
  480. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  481. package/dist/esm/calcite-split-button.entry.js +2 -5
  482. package/dist/esm/calcite-stepper_2.entry.js +4 -5
  483. package/dist/esm/calcite-switch.entry.js +5 -6
  484. package/dist/esm/calcite-tab_4.entry.js +12 -14
  485. package/dist/esm/calcite-tile-select_2.entry.js +3 -5
  486. package/dist/esm/calcite-tile.entry.js +2 -2
  487. package/dist/esm/calcite-tip_3.entry.js +5 -5
  488. package/dist/esm/calcite-tooltip_2.entry.js +4 -4
  489. package/dist/esm/calcite-tree_2.entry.js +3 -3
  490. package/dist/esm/calcite-value-list_2.entry.js +4 -4
  491. package/dist/esm/calcite.js +1 -1
  492. package/dist/esm/{dom-dc012a45.js → dom-f24e866c.js} +1 -7
  493. package/dist/esm/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  494. package/dist/esm/{label-0d804a87.js → label-5559055d.js} +1 -1
  495. package/dist/esm/loader.js +1 -1
  496. package/dist/esm/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  497. package/dist/esm/{resources-c31631e5.js → resources-35c1823f.js} +3 -3
  498. package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
  499. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  500. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  501. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  502. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  503. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  504. package/dist/esm-es5/calcite-action.entry.js +2 -2
  505. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  506. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  507. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  508. package/dist/esm-es5/calcite-button.entry.js +1 -1
  509. package/dist/esm-es5/calcite-card.entry.js +1 -1
  510. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  511. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  512. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  513. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  514. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  515. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  516. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  517. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  518. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  519. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  520. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  521. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  522. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  523. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  524. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  525. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  526. package/dist/esm-es5/calcite-input.entry.js +2 -2
  527. package/dist/esm-es5/calcite-label.entry.js +1 -1
  528. package/dist/esm-es5/calcite-link.entry.js +2 -2
  529. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  530. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  531. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  532. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  533. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  534. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  535. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  536. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  537. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  538. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  539. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  540. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  541. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  542. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  543. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  544. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  545. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  546. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  547. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  548. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  549. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  550. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  551. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  552. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  553. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  554. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  555. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  556. package/dist/esm-es5/calcite.js +1 -1
  557. package/dist/esm-es5/dom-f24e866c.js +5 -0
  558. package/dist/esm-es5/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  559. package/dist/esm-es5/{label-0d804a87.js → label-5559055d.js} +1 -1
  560. package/dist/esm-es5/loader.js +1 -1
  561. package/dist/esm-es5/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  562. package/dist/esm-es5/resources-35c1823f.js +5 -0
  563. package/dist/extras/docs-json.json +29 -112
  564. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -1
  565. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +1 -1
  566. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -2
  567. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
  568. package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
  569. package/dist/types/components.d.ts +8 -53
  570. package/dist/types/preact.d.ts +0 -2
  571. package/dist/types/utils/dom.d.ts +0 -4
  572. package/hydrate/index.js +204 -308
  573. package/package.json +1 -1
  574. package/readme.md +2 -2
  575. package/dist/calcite/p-058ee7b0.entry.js +0 -5
  576. package/dist/calcite/p-0b53c2c6.system.entry.js +0 -5
  577. package/dist/calcite/p-0d67d5bf.system.entry.js +0 -5
  578. package/dist/calcite/p-0f33798d.system.entry.js +0 -5
  579. package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
  580. package/dist/calcite/p-141051c4.entry.js +0 -5
  581. package/dist/calcite/p-1480eb2d.entry.js +0 -5
  582. package/dist/calcite/p-198902ca.entry.js +0 -5
  583. package/dist/calcite/p-19d3c50f.system.entry.js +0 -5
  584. package/dist/calcite/p-1ad123f9.entry.js +0 -5
  585. package/dist/calcite/p-1de453ba.entry.js +0 -5
  586. package/dist/calcite/p-1e4955d7.entry.js +0 -5
  587. package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
  588. package/dist/calcite/p-1eb85972.entry.js +0 -5
  589. package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
  590. package/dist/calcite/p-2033f545.system.entry.js +0 -5
  591. package/dist/calcite/p-266ee9db.entry.js +0 -5
  592. package/dist/calcite/p-26f8f2d1.js +0 -5
  593. package/dist/calcite/p-29d4765b.entry.js +0 -5
  594. package/dist/calcite/p-2b137143.system.entry.js +0 -5
  595. package/dist/calcite/p-2cd9d307.entry.js +0 -5
  596. package/dist/calcite/p-30afa3c6.system.entry.js +0 -5
  597. package/dist/calcite/p-33802886.entry.js +0 -5
  598. package/dist/calcite/p-35c5e6bd.entry.js +0 -5
  599. package/dist/calcite/p-3d69fba9.entry.js +0 -5
  600. package/dist/calcite/p-3ec67fae.entry.js +0 -5
  601. package/dist/calcite/p-3f82f702.system.entry.js +0 -5
  602. package/dist/calcite/p-41f87fe7.entry.js +0 -5
  603. package/dist/calcite/p-42091a1f.system.entry.js +0 -5
  604. package/dist/calcite/p-43020fb5.js +0 -5
  605. package/dist/calcite/p-437e9d52.entry.js +0 -5
  606. package/dist/calcite/p-4a8b3cf3.system.entry.js +0 -5
  607. package/dist/calcite/p-4af85388.system.entry.js +0 -5
  608. package/dist/calcite/p-4e47f1a5.entry.js +0 -5
  609. package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
  610. package/dist/calcite/p-5035488d.entry.js +0 -5
  611. package/dist/calcite/p-52578054.js +0 -5
  612. package/dist/calcite/p-535d635b.system.entry.js +0 -5
  613. package/dist/calcite/p-55bfe4fc.entry.js +0 -5
  614. package/dist/calcite/p-58e21391.system.entry.js +0 -5
  615. package/dist/calcite/p-5c606579.entry.js +0 -5
  616. package/dist/calcite/p-5dc52ebc.entry.js +0 -5
  617. package/dist/calcite/p-5dce20e5.system.entry.js +0 -5
  618. package/dist/calcite/p-65748440.entry.js +0 -5
  619. package/dist/calcite/p-659898bf.entry.js +0 -5
  620. package/dist/calcite/p-6af46786.entry.js +0 -5
  621. package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
  622. package/dist/calcite/p-6e050609.entry.js +0 -5
  623. package/dist/calcite/p-702140ce.entry.js +0 -5
  624. package/dist/calcite/p-71e299a6.system.js +0 -5
  625. package/dist/calcite/p-730b8963.system.entry.js +0 -5
  626. package/dist/calcite/p-7311f615.entry.js +0 -5
  627. package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
  628. package/dist/calcite/p-732d4acf.entry.js +0 -5
  629. package/dist/calcite/p-784e4e32.system.entry.js +0 -5
  630. package/dist/calcite/p-7bf46f12.system.entry.js +0 -5
  631. package/dist/calcite/p-82c6cd9a.entry.js +0 -5
  632. package/dist/calcite/p-832affcb.system.entry.js +0 -5
  633. package/dist/calcite/p-87f1831b.entry.js +0 -5
  634. package/dist/calcite/p-88b4f504.entry.js +0 -5
  635. package/dist/calcite/p-89987575.entry.js +0 -5
  636. package/dist/calcite/p-8b2d4eac.system.entry.js +0 -5
  637. package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
  638. package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
  639. package/dist/calcite/p-9339cca3.entry.js +0 -5
  640. package/dist/calcite/p-9470d123.system.entry.js +0 -5
  641. package/dist/calcite/p-949c8f43.system.entry.js +0 -5
  642. package/dist/calcite/p-95a17f62.system.entry.js +0 -5
  643. package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
  644. package/dist/calcite/p-96bbc815.system.entry.js +0 -5
  645. package/dist/calcite/p-97f8034a.system.entry.js +0 -5
  646. package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
  647. package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
  648. package/dist/calcite/p-9be50494.entry.js +0 -5
  649. package/dist/calcite/p-9dff8dc8.system.entry.js +0 -5
  650. package/dist/calcite/p-a7be885b.entry.js +0 -5
  651. package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
  652. package/dist/calcite/p-a98e5444.system.entry.js +0 -5
  653. package/dist/calcite/p-ab8ce668.system.entry.js +0 -5
  654. package/dist/calcite/p-ac38b743.system.entry.js +0 -5
  655. package/dist/calcite/p-aced5f01.entry.js +0 -5
  656. package/dist/calcite/p-b16b831d.entry.js +0 -5
  657. package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
  658. package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
  659. package/dist/calcite/p-b6aabc24.entry.js +0 -5
  660. package/dist/calcite/p-bf82491b.entry.js +0 -5
  661. package/dist/calcite/p-c0690971.entry.js +0 -5
  662. package/dist/calcite/p-c12e88cd.entry.js +0 -5
  663. package/dist/calcite/p-c1794615.entry.js +0 -5
  664. package/dist/calcite/p-c3ba61ea.entry.js +0 -5
  665. package/dist/calcite/p-c9551366.entry.js +0 -5
  666. package/dist/calcite/p-ca5c0679.entry.js +0 -5
  667. package/dist/calcite/p-cb55c32c.system.entry.js +0 -5
  668. package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
  669. package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
  670. package/dist/calcite/p-d102e280.system.entry.js +0 -5
  671. package/dist/calcite/p-d4e9d7bb.system.entry.js +0 -5
  672. package/dist/calcite/p-dab6ebab.system.entry.js +0 -5
  673. package/dist/calcite/p-ddcf2620.system.entry.js +0 -5
  674. package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
  675. package/dist/calcite/p-e5305b02.js +0 -5
  676. package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
  677. package/dist/calcite/p-e817ded0.entry.js +0 -5
  678. package/dist/calcite/p-e9e13891.entry.js +0 -5
  679. package/dist/calcite/p-eada9cef.entry.js +0 -5
  680. package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
  681. package/dist/calcite/p-f0338acf.system.entry.js +0 -5
  682. package/dist/calcite/p-f2620bc3.js +0 -5
  683. package/dist/calcite/p-f7b5dd98.system.entry.js +0 -5
  684. package/dist/calcite/p-f8266626.system.js +0 -5
  685. package/dist/calcite/p-f87ba8eb.system.js +0 -5
  686. package/dist/calcite/p-f97e1a2d.entry.js +0 -5
  687. package/dist/calcite/p-fc32b022.entry.js +0 -5
  688. package/dist/calcite/p-fc47547f.system.entry.js +0 -5
  689. package/dist/calcite/p-fccc1605.entry.js +0 -5
  690. package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
  691. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  692. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  693. package/dist/components/calcite-radio.d.ts +0 -11
  694. package/dist/components/calcite-radio.js +0 -10
  695. package/dist/components/calcite-radio2.js +0 -71
  696. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
  697. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  698. package/dist/esm-es5/dom-dc012a45.js +0 -5
  699. package/dist/esm-es5/resources-c31631e5.js +0 -5
  700. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(i.next(e))}catch(e){r(e)}}function l(e){try{c(i["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):a(e.value).then(o,l)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return c([e,t])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-34e5baa7.system.js","./p-a0c02648.system.js","./p-e020662f.system.js"],(function(e){"use strict";var t,n,i,a,r,o,l,c,s,d,h;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.F;r=e.g},function(e){o=e.a;l=e.g;c=e.b;s=e.C},function(e){d=e.C},function(e){h=e.S},function(){}],execute:function(){var m={backButton:"back-button",container:"container",header:"header",heading:"heading",summary:"summary",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",contentContainer:"content-container",contentHeight:"content-height",fabContainer:"fab-container",footer:"footer",menuContainer:"menu-container",menuButton:"menu-button",menu:"menu",menuOpen:"menu--open"};var u={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right"};var f={headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};var p={back:"Back",close:"Close",open:"Open",options:"Options"};var b=3;var g="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;position:relative;width:100%;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);width:100%;padding:0;margin:0;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, width 150ms ease-in-out;transition:max-height 150ms ease-in-out, width 150ms ease-in-out}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative;z-index:1}.header{border-bottom:1px solid;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);-ms-flex-pack:start;justify-content:flex-start;position:-webkit-sticky;position:sticky;top:0;border-bottom-color:var(--calcite-ui-border-3);width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;z-index:2}.header-content{overflow:hidden;margin-right:auto;padding-left:0.75rem;padding-right:0.75rem;padding-top:1rem;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.header-content .heading,.header-content .summary{padding:0;display:block;overflow:hidden;white-space:nowrap;width:100%;text-overflow:ellipsis}.header-content .heading{font-weight:var(--calcite-font-weight-medium);margin-top:0;margin-left:0;margin-right:0;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.header-content .heading:only-child{margin-bottom:0}.header-content .summary{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}.back-button{border-color:var(--calcite-ui-border-3);border-style:solid;border-width:0;border-right-width:1px}.calcite--rtl .back-button{border-right-width:0;border-left-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.header-actions--end{margin-left:auto}.menu-container:only-child{margin-left:auto}.menu-button{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:column;flex-direction:column}.footer{border-top:1px solid;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;position:-webkit-sticky;position:sticky;bottom:0;width:100%;-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.calcite--rtl .header-content{margin-left:auto;margin-right:unset}.calcite--rtl .header-actions--end{margin-right:auto;margin-left:unset}.calcite--rtl .menu-container:only-child{margin-right:auto;margin-left:unset}.fab-container{display:block;position:-webkit-sticky;position:sticky;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;padding:0.5rem;bottom:0;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;z-index:1}";var w=e("calcite_panel",function(){function e(e){var i=this;t(this,e);this.calcitePanelDismissedChange=n(this,"calcitePanelDismissedChange",7);this.calcitePanelScroll=n(this,"calcitePanelScroll",7);this.calcitePanelBackClick=n(this,"calcitePanelBackClick",7);this.dismissed=false;this.disabled=false;this.dismissible=false;this.showBackButton=false;this.loading=false;this.menuOpen=false;this.setContainerRef=function(e){i.containerEl=e};this.setDismissRef=function(e){i.dismissButtonEl=e};this.setBackRef=function(e){i.backButtonEl=e};this.panelKeyDownHandler=function(e){if(e.key==="Escape"){i.dismiss()}};this.dismiss=function(){i.dismissed=true};this.panelScrollHandler=function(){i.calcitePanelScroll.emit()};this.backButtonClick=function(){i.calcitePanelBackClick.emit()}}e.prototype.dismissedHandler=function(){this.calcitePanelDismissedChange.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i;return __generator(this,(function(a){if(e==="dismiss-button"){(t=this.dismissButtonEl)===null||t===void 0?void 0:t.setFocus();return[2]}if(e==="back-button"){(n=this.backButtonEl)===null||n===void 0?void 0:n.setFocus();return[2]}(i=this.containerEl)===null||i===void 0?void 0:i.focus();return[2]}))}))};e.prototype.renderBackButton=function(){var e=this.el;var t=o(e)==="rtl";var n=this,a=n.showBackButton,r=n.intlBack,l=n.backButtonClick;var c=r||p.back;var s=t?u.backRight:u.backLeft;return a?i("calcite-action",{"aria-label":c,class:m.backButton,icon:s,key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:f.headerActionsStart,text:c}):null};e.prototype.renderHeaderContent=function(){var e=this,t=e.heading,n=e.headingLevel,a=e.summary;var r=t?i(d,{class:m.heading,level:n||b},t):null;var o=a?i("span",{class:m.summary},a):null;return r||o?i("div",{class:m.headerContent,key:"header-content"},r,o):null};e.prototype.renderHeaderSlottedContent=function(){return i("div",{class:m.headerContent,key:"header-content"},i("slot",{name:f.headerContent}))};e.prototype.renderHeaderStartActions=function(){var e;var t=this.el;var n=l(t,f.headerActionsStart);return n?i("div",{class:(e={},e[m.headerActionsStart]=true,e[m.headerActions]=true,e),key:"header-actions-start"},i("slot",{name:f.headerActionsStart})):null};e.prototype.renderHeaderActionsEnd=function(){var e;var t=this,n=t.dismiss,a=t.dismissible,r=t.el,o=t.intlClose;var c=o||p.close;var s=a?i("calcite-action",{"aria-label":c,icon:u.close,onClick:n,ref:this.setDismissRef,text:c}):null;var d=i("slot",{name:f.headerActionsEnd});var h=l(r,f.headerActionsEnd);return h||s?i("div",{class:(e={},e[m.headerActionsEnd]=true,e[m.headerActions]=true,e),key:"header-actions-end"},d,s):null};e.prototype.renderMenu=function(){var e=this,t=e.el,n=e.intlOptions,a=e.menuOpen;var r=l(t,f.headerMenuActions);return r?i("calcite-action-menu",{flipPlacements:["top","bottom"],label:n||p.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:u.menu,slot:h.trigger,text:n||p.options}),i("slot",{name:f.headerMenuActions})):null};e.prototype.renderHeaderNode=function(){var e=this,t=e.el,n=e.showBackButton;var a=this.renderBackButton();var r=l(t,f.headerContent);var o=r?this.renderHeaderSlottedContent():this.renderHeaderContent();var c=this.renderHeaderStartActions();var s=this.renderHeaderActionsEnd();var d=this.renderMenu();return c||o||s||d||n?i("header",{class:m.header},a,c,o,s,d):null};e.prototype.renderFooterSlottedContent=function(){var e=this.el;var t=l(e,f.footer);return t?i("footer",{class:m.footer},i("slot",{name:f.footer})):null};e.prototype.renderFooterActions=function(){var e=this.el;var t=l(e,f.footerActions);return t?i("footer",{class:m.footer},i("slot",{name:f.footerActions})):null};e.prototype.renderContent=function(){var e,t;var n=this.el;var a=l(n,f.fab);return a?i("div",{class:(e={},e[m.contentWrapper]=true,e[m.contentHeight]=true,e),onScroll:this.panelScrollHandler,tabIndex:0},i("section",{class:m.contentContainer},i("slot",null)),this.renderFab()):i("section",{class:(t={},t[m.contentWrapper]=true,t[m.contentContainer]=true,t),onScroll:this.panelScrollHandler,tabIndex:0},i("slot",null))};e.prototype.renderFab=function(){return i("div",{class:m.fabContainer},i("slot",{name:f.fab}))};e.prototype.render=function(){var e;var t=this,n=t.dismissed,r=t.disabled,o=t.dismissible,l=t.el,d=t.loading,h=t.panelKeyDownHandler;var u=c(l)==="rtl";var f=i("article",{"aria-busy":d.toString(),class:(e={},e[m.container]=true,e[s.rtl]=u,e),hidden:o&&n,onKeyDown:h,ref:this.setContainerRef,tabIndex:o?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterSlottedContent()||this.renderFooterActions());return i(a,null,d||r?i("calcite-scrim",{loading:d}):null,f)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dismissed:["dismissedHandler"]}},enumerable:false,configurable:true});return e}());w.style=g}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function l(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?i(e.value):r(e.value).then(l,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return c([e,t])}}function c(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(a=l[0]&2?r["return"]:l[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;if(r=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(l[0]===6&&i.label<a[1]){i.label=a[1];a=l;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(l);break}if(a[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];r=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-f87ba8eb.system.js","./p-4de6f4fd.system.js","./p-1d6404b5.system.js","./p-288bc438.system.js"],(function(e){"use strict";var t,i,n,r,a,l,s;return{setters:[function(e){t=e.f;i=e.g;n=e.b},function(e){r=e.g},function(e){a=e.d},function(e){l=e.h;s=e.H}],execute:function(){e({I:void 0,a:f,b:h,c:d,d:x,e:v,f:S,g:_,h:O,i:u,j:E,k:b,l:p,m:c,r:y,s:I});function c(){this.setUpItems();this.setUpFilter()}var o=["ArrowUp","ArrowDown"];function u(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=a(g.bind(this),0)}function f(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function d(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function h(e){var i=this.selectedValues;var n=e.detail,r=n.item,a=n.value,l=n.selected,s=n.shiftPressed;if(l){if(this.multiple&&s){this.selectSiblings(r)}if(!this.multiple){this.deselectSiblingItems(r)}i.set(a,r)}else{i.delete(a);if(this.multiple&&s){this.selectSiblings(r,true)}}if(!this.multiple){w(r,l);if(l){t(r)}}this.lastSelectedItem=r;this.emitCalciteListChange()}function v(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function m(e){return!!o.find((function(t){return t===e}))}function p(e){var t=this,i=t.el,n=t.items,r=t.multiple,a=t.selectedValues;if(r){return}var l=!!i.contains(e.relatedTarget);if(l){w(e.target,false);return}n.forEach((function(t){return w(t,a.size===0?e.target===t:t.selected)}))}function b(e){var i=e.key,n=e.target;if(!m(i)){return}var a=this,l=a.items,s=a.multiple,c=a.selectionFollowsFocus;var o=l.length;var u=l.indexOf(n);if(!o||u===-1){return}e.preventDefault();var f=r(u+(i==="ArrowUp"?-1:1),o);var d=l[f];l.forEach((function(e){return w(e,e===d)}));if(!s&&c){d.selected=true}t(d)}function g(){this.calciteListChange.emit(this.selectedValues)}function y(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function w(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function E(e){return __awaiter(this,void 0,void 0,(function(){var i,n,r,a,l;return __generator(this,(function(s){switch(s.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,t(this.filterEl)];case 1:s.sent();return[2];case 2:i=this,n=i.items,r=i.multiple,a=i.selectionFollowsFocus;if(n.length===0){return[2]}if(r){return[2,n[0].setFocus()]}l=n.find((function(e){return e.selected}))||n[0];if(a){l.selected=true}return[2,l.setFocus()]}}))}))}function S(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;w(e,false)}if(e.selected){i=true;w(e,true);t.selectedValues.set(e.value,e)}}));var r=n[0];if(!i&&r){w(r,true)}}function x(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function I(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var r=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var a=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(r,a),Math.max(r,a)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var C;function O(e){var t=e.currentTarget.filteredItems;var n=t.map((function(e){return e.value}));var r=false;if(!C){C=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var i=t.matches("calcite-pick-list-group");if(i){C.add(t)}var a=n.includes(e.value);e.hidden=!a;if(!r){r=a&&e.selected}return a}));C.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var n=i(e,"parent-item");if(n){n.hidden=false;if(a.includes(n)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));C.clear();if(a.length>0&&!r&&!this.multiple){w(a[0],true)}}function _(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var A={sticky:"sticky"};var F;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(F||(F=e("I",{})));var k={menuActions:"menu-actions"};var V=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++){if(t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r]))i[n[r]]=e[n[r]]}return i};var j=e("L",(function(e){var t;var i=e.props,r=i.disabled,a=i.loading,c=i.filterEnabled,o=i.dataForFilter,u=i.handleFilter,f=i.filterPlaceholder,d=i.el,h=i.setFilterEl,v=V(e,["props"]);var m=l("slot",null);return l(s,Object.assign({"aria-busy":a.toString(),"aria-disabled":r.toString(),role:"menu"},v),l("section",null,l("header",{class:(t={},t[A.sticky]=true,t)},c?l("calcite-filter",{"aria-label":f,dir:n(d),disabled:a||r,items:o,onCalciteFilterChange:u,placeholder:f,ref:h}):null,l("slot",{name:k.menuActions})),a||r?l("calcite-scrim",{loading:a}):null,m))}));var P=e("C",{actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"});var L=e("n",{checked:"check",remove:"x"});var T=e("S",{actionsEnd:"actions-end",actionsStart:"actions-start"});var U=e("T",{remove:"Remove"})}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,t,e,n){function i(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,u){function o(r){try{l(n.next(r))}catch(r){u(r)}}function a(r){try{l(n["throw"](r))}catch(r){u(r)}}function l(r){r.done?e(r.value):i(r.value).then(o,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return l([r,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,i&&(u=o[0]&2?i["return"]:o[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;if(i=0,u)o=[o[0]&2,u.value];switch(o[0]){case 0:case 1:u=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){e.label=o[1];break}if(o[0]===6&&e.label<u[1]){e.label=u[1];u=o;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(o);break}if(u[2])e.ops.pop();e.trys.pop();continue}o=t.call(r,e)}catch(r){o=[6,r];i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-e020662f.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:f,b:s,c:c,d:g,e:d,f:_,g:b,h:a,i:m,j:y,k:q,l:S,n:l,q:p,s:k});var e="calcite-theme-auto";var n="calcite-theme-dark";var i="calcite-theme-light";var u=r("C",{autoTheme:e,darkTheme:n,lightTheme:i,rtl:"calcite--rtl"});var o=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||r.tagName.toLowerCase()+"-"+t()}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){return g(r,"."+u.darkTheme)?"dark":"light"}function f(r){return window.getComputedStyle(r).direction||"ltr"}function s(r){var t="dir";var e="["+t+"]";var n=g(r,e);return n?n.getAttribute(t):"ltr"}function d(r,t,e){var n="["+t+"]";var i=r.closest(n);return i?i.getAttribute(t):e}function v(r){return r.getRootNode()}function h(r){return r.host||null}function y(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var i=v(r);var u=Array.from(i.querySelectorAll(t));var o=u.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n),o);var a=h(i);return a?e(a,n):n}return e(r,[])}function p(r,t){function e(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var n=v(r);var i=n.querySelector(t);var u=h(n);return i?i:u?e(u):null}return e(r)}function g(r,t){function e(r){return r?r.closest(t)||e(h(v(r))):null}return e(r)}function m(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function _(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,m(r)?r.setFocus():r.focus()]}))}))}function b(r,t,e){var n='[slot="'+t+'"]';if(e===null||e===void 0?void 0:e.all){return A(r,n,e)}return w(r,n,e)}function A(r,t,e){var n=Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));var i=e===null||e===void 0?void 0:e.selector;return i?n.map((function(r){return Array.from(r.querySelectorAll(i))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r),t)}),[]).filter((function(r){return!!r})):n}function w(r,t,e){var n=r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;var i=e===null||e===void 0?void 0:e.selector;return i?n.querySelector(i):n}function S(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function k(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function q(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}}}}));
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,h as e,g as a}from"./p-2e29554c.js";import{d as o,b as n,C as r}from"./p-e5305b02.js";import{c,d as i,g as s}from"./p-52578054.js";import{c as l}from"./p-e4acb5a8.js";import"./p-8a63221d.js";!function(t){function e(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,a){t instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||e(TypeError,"The specified element is not a submit button"),t.form==a||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(t,this),t.click()):((t=document.createElement("input")).type="submit",t.hidden=!0,this.appendChild(t),t.click(),this.removeChild(t))})}(HTMLFormElement.prototype);let p=class{constructor(e){t(this,e),this.alignment="center",this.appearance="solid",this.color="blue",this.disabled=!1,this.intlLoading="Loading",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.width="auto",this.mutationObserver=l("mutation",(()=>this.updateHasContent())),this.childElType="button",this.hasContent=!1,this.hasLoader=!1,this.handleClick=()=>{const{childElType:t,formEl:e,type:a}=this;"button"===t&&"button"!==a&&("submit"===a?null==e||e.requestSubmit():"reset"===a&&(null==e||e.reset()))}}hrefHandler(t){this.childElType=t?"a":"button"}loadingChanged(t,e){t&&!e&&(this.hasLoader=!0),!t&&e&&window.setTimeout((()=>{this.hasLoader=!1}),300)}connectedCallback(){this.childElType=this.href?"a":"button",this.hasLoader=this.loading,this.setupTextContentObserver(),c(this),this.formEl=o(this.el,this.form?`#${this.form}`:"form")}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),i(this),this.formEl=null}componentWillLoad(){this.updateHasContent(),"button"!==this.childElType||this.type||(this.type="submit")}render(){const t=n(this.el),a=this.childElType,o=e("div",{class:"calcite-button--loader"},this.hasLoader?e("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"}):null),c=e("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),i=e("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),l=e("span",{class:"content"},e("slot",null));return e(a,{"aria-label":s(this),class:{[r.rtl]:"rtl"===t,"content--slotted":this.hasContent},disabled:this.disabled||this.loading,href:"a"===this.childElType&&this.href,name:"button"===this.childElType&&this.name,onClick:this.handleClick,ref:t=>this.childEl=t,rel:"a"===this.childElType&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===this.childElType&&this.target,type:"button"===this.childElType&&this.type},o,this.iconStart?c:null,this.hasContent?l:null,this.iconEnd?i:null)}async setFocus(){this.childEl.focus()}updateHasContent(){var t,e;const a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===(null===(t=this.el.childNodes[0])||void 0===t?void 0:t.nodeName)?(null===(e=this.el.textContent)||void 0===e?void 0:e.trim().length)>0:a}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}get el(){return a(this)}static get watchers(){return{href:["hrefHandler"],loading:["loadingChanged"]}}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;width:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding:var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;width:100%;height:100%;border-radius:0;border-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out}:host button:hover,:host a:hover{text-decoration:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--calcite-button-content-margin);margin-right:var(--calcite-button-content-margin)}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host(:not([icon-start])) .content{margin-left:unset}:host(:not([icon-end])) .content{margin-right:unset}:host([icon-start]:not([icon-end])) .calcite--rtl .content{margin-left:unset;margin-right:var(--calcite-button-content-margin)}:host([icon-end]:not([icon-start])) .calcite--rtl .content{margin-right:unset;margin-left:var(--calcite-button-content-margin)}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-right:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-start-space-between]:not([width=auto])) .calcite--rtl .icon--start{margin-right:unset;margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) .calcite--rtl .icon--end{margin-left:unset;margin-right:auto}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-left:var(--calcite-button-content-margin)}:host([alignment=center]) a.calcite--rtl:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button.calcite--rtl:not(.content--slotted) .icon--start+.icon--end{margin-left:unset;margin-right:var(--calcite-button-content-margin)}.icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([loading]),:host([disabled]){pointer-events:none}:host([loading]) button,:host([loading]) a,:host([disabled]) button,:host([disabled]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0;-webkit-transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-brand)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-danger)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{background-color:transparent;border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-right-width:0;border-left-width:1px}:host([appearance=outline][split-child=primary]) button.calcite--rtl,:host([appearance=clear][split-child=primary]) button.calcite--rtl{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button.calcite--rtl,:host([appearance=clear][split-child=secondary]) button.calcite--rtl{border-right-width:0;border-left-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{color:var(--calcite-ui-text-3);border-top-width:1px;border-top-color:var(--calcite-ui-border-input);border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-input);border-bottom-style:solid;border-top-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:1.5rem;min-height:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2rem;min-height:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2.75rem;min-height:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:1.5rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2.75rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";export{p as calcite_button}
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,h as a,F as i,g as n}from"./p-2e29554c.js";import{S as e,I as o,T as r}from"./p-f243b615.js";import{g as s}from"./p-e5305b02.js";import{S as c}from"./p-26508b91.js";import"./p-8a63221d.js";let l=class{constructor(a){t(this,a),this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.setMenuOpen=t=>{this.menuOpen=!!t.detail}}expandedHandler(){this.menuOpen=!1}renderTooltip(){const{el:t}=this;return s(t,e.menuTooltip)?a("slot",{name:e.menuTooltip,slot:c.tooltip}):null}renderMenu(){const{el:t,expanded:i,intlMore:n,menuOpen:l,scale:m}=this;return s(t,e.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||r.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:l,placement:"leading-start",scale:m},a("calcite-action",{icon:o.menu,scale:m,slot:c.trigger,text:n||r.more,textEnabled:i}),a("slot",{name:e.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){background-color:var(--calcite-ui-background);display:grid;grid-gap:1px;gap:1px;place-content:stretch;padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{l as calcite_action_group}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,n){function r(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,i){function o(t){try{l(n.next(t))}catch(t){i(t)}}function s(t){try{l(n["throw"](t))}catch(t){i(t)}}function l(t){t.done?a(t.value):r(t.value).then(o,s)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,r,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(o[0]===6&&a.label<i[1]){a.label=i[1];i=o;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(o);break}if(i[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];r=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-288bc438.system.js","./p-db10485b.system.js"],(function(t){"use strict";var e,a,n,r;return{setters:[function(t){e=t.r;a=t.h;n=t.g},function(t){r=t.c}],execute:function(){var i={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"};var o="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;width:100%;overflow:hidden;position:relative}:host .frame{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;width:100%;padding:0;margin:0;-ms-flex-direction:column;flex-direction:column;position:relative}:host ::slotted(calcite-panel){height:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance 150ms ease-in-out;animation:calcite-frame-advance 150ms ease-in-out}:host .frame--retreating{-webkit-animation:calcite-frame-retreat 150ms ease-in-out;animation:calcite-frame-retreat 150ms ease-in-out}@-webkit-keyframes calcite-frame-advance{0%{--bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";var s=t("calcite_flow",function(){function t(t){var a=this;e(this,t);this.panelCount=0;this.flowDirection=null;this.panels=[];this.getFlowDirection=function(t,e){var a=t>1;var n=t&&e>1;if(!n&&!a){return null}return e<t?"retreating":"advancing"};this.updateFlowProps=function(){var t=a.panels;var e=Array.from(a.el.querySelectorAll("calcite-panel"));var n=t.length;var r=e.length;var i=e[r-1];var o=e[r-2];if(r&&i){e.forEach((function(t){t.showBackButton=r>1;t.hidden=t!==i}))}if(o){o.menuOpen=false}a.panels=e;if(n!==r){var s=a.getFlowDirection(n,r);a.panelCount=r;a.flowDirection=s}};this.panelItemMutationObserver=r("mutation",this.updateFlowProps)}t.prototype.back=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){t=this.el.querySelector("calcite-panel:last-child");if(!t){return[2]}e=t.beforeBack?t.beforeBack:function(){return Promise.resolve()};return[2,e.call(t).then((function(){t.remove();return t}))]}))}))};t.prototype.connectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFlowProps()};t.prototype.disconnectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.handleCalcitePanelBackClick=function(){this.back()};t.prototype.render=function(){var t;var e=this,n=e.flowDirection,r=e.panelCount;var o=(t={},t[i.frame]=true,t[i.frameAdvancing]=n==="advancing",t[i.frameRetreating]=n==="retreating",t);return a("div",{class:o,key:r},a("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());s.style=o}}}));
@@ -1,5 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import{r as t,c as a,h as i,g as e,F as n}from"./p-2e29554c.js";import{c as r}from"./p-e4acb5a8.js";import{f as o,C as s,b as c}from"./p-e5305b02.js";import{c as l,d as m}from"./p-52578054.js";import{c as p,d as h,a as d,H as f}from"./p-f2620bc3.js";import"./p-8a63221d.js";let b=class{constructor(i){t(this,i),this.calciteOptionChange=a(this,"calciteOptionChange",7),this.disabled=!1,this.mutationObserver=r("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteOptionChange.emit()}))}handlePropChange(t,a,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteOptionChange.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,{childList:!0,attributeFilter:["label","value"]})}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"]}}};b.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";let u=class{constructor(i){t(this,i),this.calciteOptionGroupChange=a(this,"calciteOptionGroupChange",7),this.disabled=!1}handlePropChange(){this.calciteOptionGroupChange.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";function w(t){return"CALCITE-OPTION"===t.tagName}let k=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}),l(this),p(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),m(this),h(this)}componentDidLoad(){var t,a;d(this,null!==(a=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==a?a:"")}async setFocus(){o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const a=t.target,i=this.componentToNativeEl.get(a);i&&(this.updateNativeElement(a,i),w(a)&&a.selected&&(this.deselectAllExcept(a),this.selectedOption=a))}onLabelClick(){this.setFocus()}updateNativeElement(t,a){if(a.disabled=t.disabled,a.label=t.label,w(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)=>{w(e)&&i===t&&(e.selected=!0,a=e,this.deselectAllExcept(e))})),a&&(this.selectedOption=a)}toNativeElement(t){if(w(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(t){return i("div",{class:{"icon-container":!0,[s.rtl]:"rtl"===t}},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){const t=c(this.el);return i(n,null,i("select",{"aria-label":this.label,class:{select:!0,[s.rtl]:"rtl"===t},disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(t),i(f,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};k.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;position:relative;width:var(--select-width)}:host([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing:0 2rem 0 0.5rem;--calcite-select-spacing-rtl:0 0.5rem 0 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:0 2.5rem 0 0.75rem;--calcite-select-spacing-rtl:0 0.75rem 0 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:0 3rem 0 1rem;--calcite-select-spacing-rtl:0 1rem 0 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{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-right-width:0;background-color:var(--calcite-ui-foreground-1);border-color:var(--calcite-ui-border-input);border-radius:0;color:var(--calcite-ui-text-2);cursor:pointer;font-family:inherit;margin:0;width:100%;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-select-font-size);padding:var(--calcite-select-spacing)}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}.select.calcite--rtl{border-width:1px;border-color:var(--calcite-ui-border-input);padding:var(--calcite-select-spacing-rtl)}select:disabled{border-color:var(--calcite-ui-border-input);--bg-opacity:1}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.icon-container{-ms-flex-align:center;align-items:center;background-color:transparent;border-width:0;border-right-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;color:var(--calcite-ui-text-2);display:-ms-flexbox;display:flex;pointer-events:none;position:absolute;right:0;top:0;bottom:0}.icon-container.calcite--rtl{border-left-width:1px;border-right-width:0;left:0;right:unset}.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{b as calcite_option,u as calcite_option_group,k as calcite_select}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{s(i.next(e))}catch(e){a(e)}}function l(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):o(e.value).then(r,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;o=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(e){r=[6,e];o=0}finally{i=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-288bc438.system.js","./p-a0c02648.system.js","./p-f87ba8eb.system.js","./p-4de6f4fd.system.js","./p-e020662f.system.js","./p-db10485b.system.js"],(function(e){"use strict";var t,n,i,o,a,r,l,s,u,c,f,m,p;return{setters:[function(e){t=e.r;n=e.c;i=e.h;o=e.F;a=e.g},function(e){r=e.C;l=e.I;s=e.S},function(e){u=e.g;c=e.f},function(e){f=e.g},function(e){m=e.g},function(e){p=e.c}],execute:function(){var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-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)}.menu ::slotted(calcite-action){display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;margin:0.125rem}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:0px}.default-trigger{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex:0 1 auto;flex:0 1 auto;height:100%;position:relative}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var h=["ArrowUp","ArrowDown"];var v=["ArrowUp","ArrowDown","End","Home"];var y=e("calcite_action_menu",function(){function e(e){var i=this;t(this,e);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=p("mutation",(function(){return i.getActions()}));this.guid="calcite-action-menu-"+m();this.menuId=this.guid+"-menu";this.menuButtonId=this.guid+"-menu-button";this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var e=i,t=e.el,n=e.menuButtonId,o=e.menuId,a=e.open,r=e.label;var l=u(t,s.trigger)||i.defaultMenuButtonEl;if(i.menuButtonEl===l){return}i.disconnectMenuButtonEl();i.menuButtonEl=l;i.setTooltipReferenceElement();if(!l){return}l.active=a;l.setAttribute("aria-controls",o);l.setAttribute("aria-expanded",a.toString());l.setAttribute("aria-haspopup","true");if(!l.id){l.id=n}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("click",i.menuButtonClick);l.addEventListener("keydown",i.menuButtonKeyDown);l.addEventListener("keyup",i.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var e=i.menuButtonEl;if(!e){return}e.removeEventListener("click",i.menuButtonClick);e.removeEventListener("keydown",i.menuButtonKeyDown);e.removeEventListener("keyup",i.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(e){i.defaultMenuButtonEl=e;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.setTooltipReferenceElement=function(){var e=i,t=e.el,n=e.expanded,o=e.menuButtonEl;var a=u(t,s.tooltip);var r=(a===null||a===void 0?void 0:a.tagName)==="SLOT"?a.assignedElements()[0]:a;if((r===null||r===void 0?void 0:r.tagName)==="CALCITE-TOOLTIP"){r.referenceElement=!n?o:null}};this.updateAction=function(e,t){var n=i,o=n.guid,a=n.activeMenuItemIndex;var r=o+"-action-"+t;e.tabIndex=-1;e.setAttribute("role","menuitem");if(!e.id){e.id=r}e.active=t===a};this.updateActions=function(e){e===null||e===void 0?void 0:e.forEach(i.updateAction)};this.getActions=function(){var e=i.el;var t=i.getAssignedElements().filter((function(e){return e.tagName==="CALCITE-ACTION"&&e.slot!=="trigger"}));var n=t.length?t:Array.from(e.querySelectorAll("calcite-action:not([slot=trigger])"));i.updateActions(n);i.actionElements=n;i.connectMenuButtonEl()};this.menuButtonKeyUp=function(e){var t=e.key;var n=i.actionElements;if(!i.isValidKey(t,h)){return}e.preventDefault();if(!n.length){return}i.toggleOpen(true);i.handleActionNavigation(t,n)};this.menuButtonKeyDown=function(e){var t=e.key;if(!i.isValidKey(t,h)){return}e.preventDefault()};this.menuActionsContainerKeyDown=function(e){var t=e.key;var n=i,o=n.actionElements,a=n.activeMenuItemIndex;if(t==="Tab"){i.open=false;return}if(t===" "||t==="Enter"){e.preventDefault();var r=o[a];r?r.click():i.toggleOpen(false);return}if(i.isValidKey(t,v)){e.preventDefault()}};this.menuActionsContainerKeyUp=function(e){var t=e.key;var n=i.actionElements;if(t==="Escape"){i.toggleOpen(false);return}if(!i.isValidKey(t,v)){return}e.preventDefault();if(!n.length){return}i.handleActionNavigation(t,n)};this.handleActionNavigation=function(e,t){var n=i.activeMenuItemIndex;if(e==="Home"){i.activeMenuItemIndex=0}if(e==="End"){i.activeMenuItemIndex=t.length-1}if(e==="ArrowUp"){i.activeMenuItemIndex=f(Math.max(n-1,-1),t.length)}if(e==="ArrowDown"){i.activeMenuItemIndex=f(n+1,t.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(e){if(e===void 0){e=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=e}}e.prototype.connectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});this.getActions()};e.prototype.disconnectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();this.disconnectMenuButtonEl()};e.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};e.prototype.openHandler=function(e){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=e}this.calciteActionMenuOpenChange.emit(e)};e.prototype.closeCalciteActionMenuOnClick=function(e){var t=e.composedPath();if(t.includes(this.el)){return}this.open=false};e.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){c(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};e.prototype.renderMenuButton=function(){var e=this,t=e.el,n=e.label,o=e.scale;var a=i("slot",{name:s.trigger},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:o,text:n}));return u(t,s.tooltip)?i("calcite-tooltip-manager",null,a):a};e.prototype.renderMenuItems=function(){var e=this;var t=this,n=t.actionElements,o=t.activeMenuItemIndex,a=t.open,l=t.menuId,s=t.menuButtonEl,u=t.label,c=t.placement,f=t.overlayPositioning;var m=n[o];var p=(m===null||m===void 0?void 0:m.id)||null;return i("calcite-popover",{disablePointer:true,label:u,offsetDistance:0,open:a,overlayPositioning:f,placement:c,referenceElement:s},i("div",{"aria-activedescendant":p,"aria-labelledby":s===null||s===void 0?void 0:s.id,class:r.menu,id:l,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(t){return e.menuEl=t},role:"menu",tabIndex:-1},i("slot",null)))};e.prototype.render=function(){return i(o,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:s.tooltip}))};e.prototype.getAssignedElements=function(){return Array.from(this.el.querySelectorAll("slot")).map((function(e){return e.assignedElements({flatten:true})})).reduce((function(e,t){return e.concat(t)}),[])};e.prototype.isValidKey=function(e,t){return!!t.find((function(t){return t===e}))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return e}());y.style=d}}}));
@@ -1,162 +0,0 @@
1
- /* mixins & extensions */
2
-
3
- @keyframes in {
4
- 0% {
5
- opacity: 0;
6
- }
7
-
8
- 100% {
9
- opacity: 1;
10
- }
11
- }
12
-
13
- @keyframes in-down {
14
- 0% {
15
- opacity: 0;
16
- transform: translate3D(0, -5px, 0);
17
- }
18
-
19
- 100% {
20
- opacity: 1;
21
- transform: translate3D(0, 0, 0);
22
- }
23
- }
24
-
25
- @keyframes in-up {
26
- 0% {
27
- opacity: 0;
28
- transform: translate3D(0, 5px, 0);
29
- }
30
-
31
- 100% {
32
- opacity: 1;
33
- transform: translate3D(0, 0, 0);
34
- }
35
- }
36
-
37
- @keyframes in-scale {
38
- 0% {
39
- opacity: 0;
40
- transform: scale3D(0.95, 0.95, 1);
41
- }
42
-
43
- 100% {
44
- opacity: 1;
45
- transform: scale3D(1, 1, 1);
46
- }
47
- }
48
-
49
- :root {
50
- --calcite-animation-timing: 300ms;
51
- }
52
-
53
- .calcite-animate {
54
- opacity: 0;
55
- animation-fill-mode: both;
56
- animation-duration: var(--calcite-animation-timing);
57
- }
58
-
59
- .calcite-animate__in {
60
- animation-name: in;
61
- }
62
-
63
- .calcite-animate__in-down {
64
- animation-name: in-down;
65
- }
66
-
67
- .calcite-animate__in-up {
68
- animation-name: in-up;
69
- }
70
-
71
- .calcite-animate__in-scale {
72
- animation-name: in-scale;
73
- }
74
-
75
- /**
76
- * Currently only used in Checkbox.
77
- */
78
-
79
- :root {
80
- --calcite-popper-transition: 150ms ease-in-out;
81
- }
82
-
83
- :host([hidden]) {
84
- display: none;
85
- }
86
-
87
- :host {
88
- display: block;
89
- }
90
-
91
- :host .radio {
92
- background-color: var(--calcite-ui-foreground-1);
93
- border-radius: 9999px;
94
- cursor: pointer;
95
- transition-property: all;
96
- transition-duration: 150ms;
97
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
98
- box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
99
- }
100
-
101
- :host([hovered]) .radio,
102
- :host(:not([checked])[focused]) .radio {
103
- box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);
104
- }
105
-
106
- :host([disabled]) .radio {
107
- cursor: default;
108
- opacity: var(--calcite-ui-opacity-disabled);
109
- }
110
-
111
- :host([hovered][disabled]) .radio {
112
- box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
113
- }
114
-
115
- :host([scale=s]) {
116
- --calcite-radio-size: var(--calcite-font-size--2);
117
- }
118
-
119
- :host([scale=m]) {
120
- --calcite-radio-size: var(--calcite-font-size--1);
121
- }
122
-
123
- :host([scale=l]) {
124
- --calcite-radio-size: var(--calcite-font-size-0);
125
- }
126
-
127
- .radio {
128
- height: var(--calcite-radio-size);
129
- max-width: var(--calcite-radio-size);
130
- min-width: var(--calcite-radio-size);
131
- }
132
-
133
- :host([scale=s][checked]) .radio,
134
- :host([hovered][scale=s][checked][disabled]) .radio {
135
- box-shadow: inset 0 0 0 4px var(--calcite-ui-brand);
136
- }
137
-
138
- :host([scale=s][focused][checked]) .radio {
139
- box-shadow: inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
140
- }
141
-
142
- :host([scale=m][checked]) .radio,
143
- :host([hovered][scale=m][checked][disabled]) .radio {
144
- box-shadow: inset 0 0 0 5px var(--calcite-ui-brand);
145
- }
146
-
147
- :host([scale=m][focused][checked]) .radio {
148
- box-shadow: inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
149
- }
150
-
151
- :host([scale=l][checked]) .radio,
152
- :host([hovered][scale=l][checked][disabled]) .radio {
153
- box-shadow: inset 0 0 0 6px var(--calcite-ui-brand);
154
- }
155
-
156
- :host([scale=l][focused][checked]) .radio {
157
- box-shadow: inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
158
- }
159
-
160
- :host([hidden]) {
161
- display: none;
162
- }
@@ -1,169 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import { Component, h, Prop } from "@stencil/core";
6
- export class CalciteRadio {
7
- constructor() {
8
- //--------------------------------------------------------------------------
9
- //
10
- // Properties
11
- //
12
- //--------------------------------------------------------------------------
13
- /** The checked state of the radio. */
14
- this.checked = false;
15
- /** The disabled state of the radio. */
16
- this.disabled = false;
17
- /**
18
- * The focused state of the radio.
19
- * @internal
20
- */
21
- this.focused = false;
22
- /** The radio's hidden status. */
23
- this.hidden = false;
24
- /**
25
- * The hovered state of the radio.
26
- * @internal
27
- */
28
- this.hovered = false;
29
- /** The scale (size) of the radio. */
30
- this.scale = "m";
31
- }
32
- // --------------------------------------------------------------------------
33
- //
34
- // Render Methods
35
- //
36
- // --------------------------------------------------------------------------
37
- render() {
38
- return h("div", { class: "radio" });
39
- }
40
- static get is() { return "calcite-radio"; }
41
- static get encapsulation() { return "shadow"; }
42
- static get originalStyleUrls() { return {
43
- "$": ["calcite-radio.scss"]
44
- }; }
45
- static get styleUrls() { return {
46
- "$": ["calcite-radio.css"]
47
- }; }
48
- static get properties() { return {
49
- "checked": {
50
- "type": "boolean",
51
- "mutable": false,
52
- "complexType": {
53
- "original": "boolean",
54
- "resolved": "boolean",
55
- "references": {}
56
- },
57
- "required": false,
58
- "optional": false,
59
- "docs": {
60
- "tags": [],
61
- "text": "The checked state of the radio."
62
- },
63
- "attribute": "checked",
64
- "reflect": true,
65
- "defaultValue": "false"
66
- },
67
- "disabled": {
68
- "type": "boolean",
69
- "mutable": false,
70
- "complexType": {
71
- "original": "boolean",
72
- "resolved": "boolean",
73
- "references": {}
74
- },
75
- "required": false,
76
- "optional": false,
77
- "docs": {
78
- "tags": [],
79
- "text": "The disabled state of the radio."
80
- },
81
- "attribute": "disabled",
82
- "reflect": true,
83
- "defaultValue": "false"
84
- },
85
- "focused": {
86
- "type": "boolean",
87
- "mutable": false,
88
- "complexType": {
89
- "original": "boolean",
90
- "resolved": "boolean",
91
- "references": {}
92
- },
93
- "required": false,
94
- "optional": false,
95
- "docs": {
96
- "tags": [{
97
- "name": "internal",
98
- "text": undefined
99
- }],
100
- "text": "The focused state of the radio."
101
- },
102
- "attribute": "focused",
103
- "reflect": true,
104
- "defaultValue": "false"
105
- },
106
- "hidden": {
107
- "type": "boolean",
108
- "mutable": false,
109
- "complexType": {
110
- "original": "boolean",
111
- "resolved": "boolean",
112
- "references": {}
113
- },
114
- "required": false,
115
- "optional": false,
116
- "docs": {
117
- "tags": [],
118
- "text": "The radio's hidden status."
119
- },
120
- "attribute": "hidden",
121
- "reflect": true,
122
- "defaultValue": "false"
123
- },
124
- "hovered": {
125
- "type": "boolean",
126
- "mutable": false,
127
- "complexType": {
128
- "original": "boolean",
129
- "resolved": "boolean",
130
- "references": {}
131
- },
132
- "required": false,
133
- "optional": false,
134
- "docs": {
135
- "tags": [{
136
- "name": "internal",
137
- "text": undefined
138
- }],
139
- "text": "The hovered state of the radio."
140
- },
141
- "attribute": "hovered",
142
- "reflect": true,
143
- "defaultValue": "false"
144
- },
145
- "scale": {
146
- "type": "string",
147
- "mutable": false,
148
- "complexType": {
149
- "original": "Scale",
150
- "resolved": "\"l\" | \"m\" | \"s\"",
151
- "references": {
152
- "Scale": {
153
- "location": "import",
154
- "path": "../interfaces"
155
- }
156
- }
157
- },
158
- "required": false,
159
- "optional": false,
160
- "docs": {
161
- "tags": [],
162
- "text": "The scale (size) of the radio."
163
- },
164
- "attribute": "scale",
165
- "reflect": true,
166
- "defaultValue": "\"m\""
167
- }
168
- }; }
169
- }
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface CalciteRadio extends Components.CalciteRadio, HTMLElement {}
4
- export const CalciteRadio: {
5
- prototype: CalciteRadio;
6
- new (): CalciteRadio;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,10 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- */
5
- import { C as CalciteRadio$1, d as defineCustomElement$1 } from './calcite-radio2.js';
6
-
7
- const CalciteRadio = CalciteRadio$1;
8
- const defineCustomElement = defineCustomElement$1;
9
-
10
- export { CalciteRadio, defineCustomElement };