@esri/calcite-components 1.0.0-next.321 → 1.0.0-next.325

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 (701) 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-17a5fd88.entry.js +5 -0
  10. package/dist/calcite/p-184c9b62.system.entry.js +5 -0
  11. package/dist/calcite/p-18899170.entry.js +5 -0
  12. package/dist/calcite/p-1942876c.js +5 -0
  13. package/dist/calcite/p-1a30f69e.system.entry.js +5 -0
  14. package/dist/calcite/p-1c667bd9.system.entry.js +5 -0
  15. package/dist/calcite/p-1e2e8b64.entry.js +5 -0
  16. package/dist/calcite/p-1ec19629.system.entry.js +5 -0
  17. package/dist/calcite/p-202740f8.system.entry.js +5 -0
  18. package/dist/calcite/p-204d9aca.entry.js +5 -0
  19. package/dist/calcite/p-20bc20ee.entry.js +5 -0
  20. package/dist/calcite/p-26328035.system.entry.js +5 -0
  21. package/dist/calcite/p-27cec7b3.system.entry.js +5 -0
  22. package/dist/calcite/p-28f081f0.entry.js +5 -0
  23. package/dist/calcite/p-2977b7e8.entry.js +5 -0
  24. package/dist/calcite/p-2b11469c.entry.js +5 -0
  25. package/dist/calcite/p-2d0578a8.entry.js +5 -0
  26. package/dist/calcite/p-2f011be9.system.entry.js +5 -0
  27. package/dist/calcite/p-2fd6f4f4.system.entry.js +5 -0
  28. package/dist/calcite/p-3037c513.entry.js +5 -0
  29. package/dist/calcite/{p-714ae4f6.entry.js → p-327b0ae2.entry.js} +1 -1
  30. package/dist/calcite/{p-d07ff1ee.system.js → p-35a5c74c.system.js} +1 -1
  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-7a87a393.entry.js +5 -0
  62. package/dist/calcite/{p-23bc2d32.entry.js → p-7afed2f6.entry.js} +1 -1
  63. package/dist/calcite/p-7bd3efdb.entry.js +5 -0
  64. package/dist/calcite/p-7c7df54d.entry.js +5 -0
  65. package/dist/calcite/p-7db12757.entry.js +5 -0
  66. package/dist/calcite/p-7e7cfeaa.entry.js +5 -0
  67. package/dist/calcite/p-7efe15d0.entry.js +5 -0
  68. package/dist/calcite/p-7f576b77.system.entry.js +5 -0
  69. package/dist/calcite/p-80d8c468.system.entry.js +5 -0
  70. package/dist/calcite/p-83467ae1.system.entry.js +5 -0
  71. package/dist/calcite/p-87dac28d.system.entry.js +5 -0
  72. package/dist/calcite/p-8e252799.system.js +1 -1
  73. package/dist/calcite/p-91a1824b.entry.js +5 -0
  74. package/dist/calcite/p-94982d31.entry.js +5 -0
  75. package/dist/calcite/p-94dc5a56.entry.js +5 -0
  76. package/dist/calcite/p-95c632ab.entry.js +5 -0
  77. package/dist/calcite/p-96d305ef.entry.js +5 -0
  78. package/dist/calcite/p-974ca4ba.system.entry.js +5 -0
  79. package/dist/calcite/p-980d9025.entry.js +5 -0
  80. package/dist/calcite/p-99fb19ec.system.entry.js +5 -0
  81. package/dist/calcite/p-9a2b1a29.system.entry.js +5 -0
  82. package/dist/calcite/p-9b117f75.entry.js +5 -0
  83. package/dist/calcite/p-9c3d34ca.entry.js +5 -0
  84. package/dist/calcite/p-a173826c.system.entry.js +5 -0
  85. package/dist/calcite/p-a49c5514.system.entry.js +5 -0
  86. package/dist/calcite/p-a871ba8a.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-f834b297.entry.js +5 -0
  126. package/dist/calcite/p-f8818895.entry.js +5 -0
  127. package/dist/calcite/p-f953f1a9.system.entry.js +5 -0
  128. package/dist/calcite/p-f993aab7.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 +4 -5
  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 +10 -15
  146. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -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 +16 -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 +9 -10
  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 +2 -4
  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 +2 -5
  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 +20 -8
  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 +17 -5
  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-group/calcite-option-group.css +6 -2
  272. package/dist/collection/components/calcite-pagination/calcite-pagination.css +7 -3
  273. package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
  274. package/dist/collection/components/calcite-panel/calcite-panel.css +10 -29
  275. package/dist/collection/components/calcite-panel/calcite-panel.js +4 -9
  276. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +6 -2
  277. package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
  278. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +7 -8
  279. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
  280. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +7 -8
  281. package/dist/collection/components/calcite-popover/calcite-popover.css +6 -6
  282. package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
  283. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -2
  284. package/dist/collection/components/calcite-progress/calcite-progress.css +6 -2
  285. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +75 -2
  286. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -3
  287. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -2
  288. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +6 -2
  289. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +2 -2
  290. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +6 -2
  291. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
  292. package/dist/collection/components/calcite-rating/calcite-rating.css +9 -20
  293. package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
  294. package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
  295. package/dist/collection/components/calcite-select/calcite-select.css +13 -26
  296. package/dist/collection/components/calcite-select/calcite-select.js +5 -7
  297. package/dist/collection/components/calcite-shell/calcite-shell.css +7 -3
  298. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +9 -20
  299. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
  300. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +7 -3
  301. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +3 -3
  302. package/dist/collection/components/calcite-slider/calcite-slider.css +145 -162
  303. package/dist/collection/components/calcite-slider/calcite-slider.js +64 -27
  304. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -2
  305. package/dist/collection/components/calcite-split-button/calcite-split-button.css +6 -2
  306. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
  307. package/dist/collection/components/calcite-stepper/calcite-stepper.css +6 -2
  308. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +20 -74
  309. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +2 -4
  310. package/dist/collection/components/calcite-switch/calcite-switch.css +8 -26
  311. package/dist/collection/components/calcite-switch/calcite-switch.js +2 -4
  312. package/dist/collection/components/calcite-tab/calcite-tab.css +6 -2
  313. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +6 -2
  314. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  315. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +12 -23
  316. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +6 -9
  317. package/dist/collection/components/calcite-tabs/calcite-tabs.css +6 -2
  318. package/dist/collection/components/calcite-tile/calcite-tile.css +6 -2
  319. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +8 -16
  320. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +1 -4
  321. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -2
  322. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +6 -2
  323. package/dist/collection/components/calcite-tip/calcite-tip.css +6 -2
  324. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +6 -2
  325. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +9 -14
  326. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  327. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +6 -2
  328. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -2
  329. package/dist/collection/components/calcite-tree/calcite-tree.css +6 -2
  330. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +9 -5
  331. package/dist/collection/components/calcite-value-list/calcite-value-list.css +6 -2
  332. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +6 -2
  333. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  334. package/dist/collection/utils/dom.js +0 -6
  335. package/dist/components/CalciteExpandToggle.js +3 -3
  336. package/dist/components/calcite-accordion-item.js +1 -1
  337. package/dist/components/calcite-accordion.js +1 -1
  338. package/dist/components/calcite-action-bar.js +1 -1
  339. package/dist/components/calcite-action-group2.js +1 -1
  340. package/dist/components/calcite-action-menu2.js +1 -1
  341. package/dist/components/calcite-action-pad.js +3 -8
  342. package/dist/components/calcite-action2.js +1 -1
  343. package/dist/components/calcite-alert.js +3 -5
  344. package/dist/components/calcite-avatar.js +4 -5
  345. package/dist/components/calcite-block-section.js +4 -4
  346. package/dist/components/calcite-block.js +1 -1
  347. package/dist/components/calcite-button2.js +3 -4
  348. package/dist/components/calcite-card.js +2 -4
  349. package/dist/components/calcite-checkbox2.js +1 -1
  350. package/dist/components/calcite-chip2.js +4 -5
  351. package/dist/components/calcite-color-picker-hex-input2.js +4 -5
  352. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  353. package/dist/components/calcite-color-picker.js +6 -8
  354. package/dist/components/calcite-combobox-item-group.js +3 -4
  355. package/dist/components/calcite-combobox-item.js +2 -4
  356. package/dist/components/calcite-combobox.js +3 -6
  357. package/dist/components/calcite-date-picker-day2.js +1 -1
  358. package/dist/components/calcite-date-picker-month-header2.js +5 -7
  359. package/dist/components/calcite-date-picker-month2.js +6 -8
  360. package/dist/components/calcite-date-picker2.js +17 -9
  361. package/dist/components/calcite-dropdown-group.js +3 -4
  362. package/dist/components/calcite-dropdown-item.js +4 -6
  363. package/dist/components/calcite-dropdown2.js +3 -4
  364. package/dist/components/calcite-fab.js +4 -5
  365. package/dist/components/calcite-filter2.js +3 -4
  366. package/dist/components/calcite-flow.js +1 -1
  367. package/dist/components/calcite-graph2.js +1 -1
  368. package/dist/components/calcite-handle2.js +1 -1
  369. package/dist/components/calcite-icon2.js +1 -1
  370. package/dist/components/calcite-inline-editable.js +1 -1
  371. package/dist/components/calcite-input-date-picker.js +14 -6
  372. package/dist/components/calcite-input-message.js +3 -4
  373. package/dist/components/calcite-input-time-picker.js +1 -1
  374. package/dist/components/calcite-input2.js +3 -5
  375. package/dist/components/calcite-label2.js +2 -4
  376. package/dist/components/calcite-link2.js +2 -2
  377. package/dist/components/calcite-list-item-group.js +1 -1
  378. package/dist/components/calcite-list-item.js +1 -1
  379. package/dist/components/calcite-list.js +1 -1
  380. package/dist/components/calcite-loader2.js +1 -1
  381. package/dist/components/calcite-modal.js +3 -4
  382. package/dist/components/calcite-notice.js +3 -4
  383. package/dist/components/calcite-option-group.js +1 -1
  384. package/dist/components/calcite-option.js +1 -1
  385. package/dist/components/calcite-pagination.js +3 -5
  386. package/dist/components/calcite-panel.js +5 -9
  387. package/dist/components/calcite-pick-list-group.js +3 -5
  388. package/dist/components/calcite-pick-list-item2.js +1 -1
  389. package/dist/components/calcite-pick-list.js +1 -1
  390. package/dist/components/calcite-popover-manager.js +2 -2
  391. package/dist/components/calcite-popover2.js +3 -5
  392. package/dist/components/calcite-progress2.js +1 -1
  393. package/dist/components/calcite-radio-button-group.js +1 -1
  394. package/dist/components/calcite-radio-button.js +5 -11
  395. package/dist/components/calcite-radio-group-item.js +6 -14
  396. package/dist/components/calcite-radio-group.js +3 -3
  397. package/dist/components/calcite-rating.js +2 -4
  398. package/dist/components/calcite-scrim2.js +1 -1
  399. package/dist/components/calcite-select.js +5 -6
  400. package/dist/components/calcite-shell-center-row.js +4 -5
  401. package/dist/components/calcite-shell-panel.js +4 -4
  402. package/dist/components/calcite-shell.js +1 -1
  403. package/dist/components/calcite-slider.js +24 -10
  404. package/dist/components/calcite-sortable-list.js +1 -1
  405. package/dist/components/calcite-split-button.js +2 -4
  406. package/dist/components/calcite-stepper-item.js +3 -4
  407. package/dist/components/calcite-stepper.js +1 -1
  408. package/dist/components/calcite-switch2.js +3 -4
  409. package/dist/components/calcite-tab-nav2.js +4 -4
  410. package/dist/components/calcite-tab-title2.js +7 -9
  411. package/dist/components/calcite-tab2.js +1 -1
  412. package/dist/components/calcite-tabs2.js +1 -1
  413. package/dist/components/calcite-tile-select-group.js +1 -1
  414. package/dist/components/calcite-tile-select.js +2 -4
  415. package/dist/components/calcite-tile2.js +1 -1
  416. package/dist/components/calcite-time-picker2.js +1 -1
  417. package/dist/components/calcite-tip-group.js +1 -1
  418. package/dist/components/calcite-tip-manager.js +3 -3
  419. package/dist/components/calcite-tip.js +1 -1
  420. package/dist/components/calcite-tooltip-manager2.js +1 -1
  421. package/dist/components/calcite-tooltip.js +1 -1
  422. package/dist/components/calcite-tree-item.js +2 -2
  423. package/dist/components/calcite-tree.js +1 -1
  424. package/dist/components/calcite-value-list-item.js +1 -1
  425. package/dist/components/calcite-value-list.js +1 -1
  426. package/dist/components/dom.js +1 -7
  427. package/dist/components/form.js +1 -1
  428. package/dist/components/label.js +1 -1
  429. package/dist/components/shared-list-render.js +3 -3
  430. package/dist/custom-elements/index.d.ts +0 -6
  431. package/dist/custom-elements/index.js +219 -296
  432. package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-c33bd6fd.js} +3 -3
  433. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  434. package/dist/esm/calcite-action-bar.entry.js +3 -3
  435. package/dist/esm/calcite-action-group.entry.js +2 -2
  436. package/dist/esm/calcite-action-menu.entry.js +2 -2
  437. package/dist/esm/calcite-action-pad.entry.js +4 -9
  438. package/dist/esm/calcite-action.entry.js +1 -1
  439. package/dist/esm/calcite-alert.entry.js +3 -5
  440. package/dist/esm/calcite-avatar.entry.js +4 -5
  441. package/dist/esm/calcite-block_2.entry.js +5 -5
  442. package/dist/esm/calcite-button.entry.js +4 -5
  443. package/dist/esm/calcite-card.entry.js +2 -5
  444. package/dist/esm/calcite-checkbox.entry.js +4 -4
  445. package/dist/esm/calcite-chip.entry.js +4 -5
  446. package/dist/esm/calcite-color-picker_3.entry.js +10 -13
  447. package/dist/esm/calcite-combobox_3.entry.js +10 -15
  448. package/dist/esm/calcite-date-picker_4.entry.js +28 -21
  449. package/dist/esm/calcite-dropdown_3.entry.js +9 -13
  450. package/dist/esm/calcite-fab.entry.js +4 -5
  451. package/dist/esm/calcite-filter.entry.js +3 -4
  452. package/dist/esm/calcite-flow.entry.js +1 -1
  453. package/dist/esm/calcite-graph_2.entry.js +26 -13
  454. package/dist/esm/calcite-handle.entry.js +1 -1
  455. package/dist/esm/calcite-icon.entry.js +2 -2
  456. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  457. package/dist/esm/calcite-input-date-picker.entry.js +16 -7
  458. package/dist/esm/calcite-input-message.entry.js +3 -4
  459. package/dist/esm/calcite-input-time-picker_2.entry.js +5 -5
  460. package/dist/esm/calcite-input.entry.js +6 -8
  461. package/dist/esm/calcite-label.entry.js +2 -5
  462. package/dist/esm/calcite-link.entry.js +3 -3
  463. package/dist/esm/calcite-list_3.entry.js +4 -4
  464. package/dist/esm/calcite-loader.entry.js +1 -1
  465. package/dist/esm/calcite-modal.entry.js +3 -4
  466. package/dist/esm/calcite-notice.entry.js +3 -4
  467. package/dist/esm/calcite-option_3.entry.js +9 -10
  468. package/dist/esm/calcite-pagination.entry.js +3 -6
  469. package/dist/esm/calcite-panel.entry.js +5 -9
  470. package/dist/esm/calcite-pick-list_3.entry.js +6 -8
  471. package/dist/esm/calcite-popover_2.entry.js +5 -7
  472. package/dist/esm/calcite-progress.entry.js +1 -1
  473. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  474. package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +8 -48
  475. package/dist/esm/calcite-radio-group_2.entry.js +9 -16
  476. package/dist/esm/calcite-rating.entry.js +5 -6
  477. package/dist/esm/calcite-scrim.entry.js +1 -1
  478. package/dist/esm/calcite-shell_3.entry.js +8 -9
  479. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  480. package/dist/esm/calcite-split-button.entry.js +2 -5
  481. package/dist/esm/calcite-stepper_2.entry.js +4 -5
  482. package/dist/esm/calcite-switch.entry.js +5 -6
  483. package/dist/esm/calcite-tab_4.entry.js +12 -14
  484. package/dist/esm/calcite-tile-select_2.entry.js +3 -5
  485. package/dist/esm/calcite-tile.entry.js +2 -2
  486. package/dist/esm/calcite-tip_3.entry.js +5 -5
  487. package/dist/esm/calcite-tooltip_2.entry.js +4 -4
  488. package/dist/esm/calcite-tree_2.entry.js +3 -3
  489. package/dist/esm/calcite-value-list_2.entry.js +4 -4
  490. package/dist/esm/calcite.js +1 -1
  491. package/dist/esm/{dom-dc012a45.js → dom-f24e866c.js} +1 -7
  492. package/dist/esm/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  493. package/dist/esm/{label-0d804a87.js → label-5559055d.js} +1 -1
  494. package/dist/esm/loader.js +1 -1
  495. package/dist/esm/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  496. package/dist/esm/{resources-c31631e5.js → resources-35c1823f.js} +3 -3
  497. package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
  498. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  499. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  500. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  501. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  502. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  503. package/dist/esm-es5/calcite-action.entry.js +2 -2
  504. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  505. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  506. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  507. package/dist/esm-es5/calcite-button.entry.js +1 -1
  508. package/dist/esm-es5/calcite-card.entry.js +1 -1
  509. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  510. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  511. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  512. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  513. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  514. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  515. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  516. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  517. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  518. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  519. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  520. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  521. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  522. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  523. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  524. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  525. package/dist/esm-es5/calcite-input.entry.js +2 -2
  526. package/dist/esm-es5/calcite-label.entry.js +1 -1
  527. package/dist/esm-es5/calcite-link.entry.js +2 -2
  528. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  529. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  530. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  531. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  532. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  533. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  534. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  535. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  536. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  537. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  538. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  539. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  540. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  541. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  542. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  543. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  544. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  545. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  546. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  547. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  548. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  549. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  550. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  551. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  552. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  553. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  554. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  555. package/dist/esm-es5/calcite.js +1 -1
  556. package/dist/esm-es5/dom-f24e866c.js +5 -0
  557. package/dist/esm-es5/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  558. package/dist/esm-es5/{label-0d804a87.js → label-5559055d.js} +1 -1
  559. package/dist/esm-es5/loader.js +1 -1
  560. package/dist/esm-es5/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  561. package/dist/esm-es5/resources-35c1823f.js +5 -0
  562. package/dist/extras/docs-json.json +33 -116
  563. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -1
  564. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +2 -0
  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-input-date-picker/calcite-input-date-picker.d.ts +2 -0
  567. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -2
  568. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
  569. package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
  570. package/dist/types/components.d.ts +8 -53
  571. package/dist/types/preact.d.ts +0 -2
  572. package/dist/types/utils/dom.d.ts +0 -4
  573. package/hydrate/index.js +220 -309
  574. package/package.json +1 -1
  575. package/readme.md +2 -2
  576. package/dist/calcite/p-04bce033.entry.js +0 -5
  577. package/dist/calcite/p-058ee7b0.entry.js +0 -5
  578. package/dist/calcite/p-0b53c2c6.system.entry.js +0 -5
  579. package/dist/calcite/p-0d67d5bf.system.entry.js +0 -5
  580. package/dist/calcite/p-0f33798d.system.entry.js +0 -5
  581. package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
  582. package/dist/calcite/p-141051c4.entry.js +0 -5
  583. package/dist/calcite/p-1480eb2d.entry.js +0 -5
  584. package/dist/calcite/p-198902ca.entry.js +0 -5
  585. package/dist/calcite/p-19d3c50f.system.entry.js +0 -5
  586. package/dist/calcite/p-1ad123f9.entry.js +0 -5
  587. package/dist/calcite/p-1de453ba.entry.js +0 -5
  588. package/dist/calcite/p-1e4955d7.entry.js +0 -5
  589. package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
  590. package/dist/calcite/p-1eb85972.entry.js +0 -5
  591. package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
  592. package/dist/calcite/p-2033f545.system.entry.js +0 -5
  593. package/dist/calcite/p-266ee9db.entry.js +0 -5
  594. package/dist/calcite/p-26f8f2d1.js +0 -5
  595. package/dist/calcite/p-29d4765b.entry.js +0 -5
  596. package/dist/calcite/p-2cd9d307.entry.js +0 -5
  597. package/dist/calcite/p-30afa3c6.system.entry.js +0 -5
  598. package/dist/calcite/p-33802886.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-4e95e13d.system.entry.js +0 -5
  610. package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
  611. package/dist/calcite/p-5035488d.entry.js +0 -5
  612. package/dist/calcite/p-52578054.js +0 -5
  613. package/dist/calcite/p-535d635b.system.entry.js +0 -5
  614. package/dist/calcite/p-55bfe4fc.entry.js +0 -5
  615. package/dist/calcite/p-58208234.system.entry.js +0 -5
  616. package/dist/calcite/p-58e21391.system.entry.js +0 -5
  617. package/dist/calcite/p-5c606579.entry.js +0 -5
  618. package/dist/calcite/p-5dc52ebc.entry.js +0 -5
  619. package/dist/calcite/p-5dce20e5.system.entry.js +0 -5
  620. package/dist/calcite/p-65748440.entry.js +0 -5
  621. package/dist/calcite/p-659898bf.entry.js +0 -5
  622. package/dist/calcite/p-6af46786.entry.js +0 -5
  623. package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
  624. package/dist/calcite/p-6e050609.entry.js +0 -5
  625. package/dist/calcite/p-702140ce.entry.js +0 -5
  626. package/dist/calcite/p-71e299a6.system.js +0 -5
  627. package/dist/calcite/p-730b8963.system.entry.js +0 -5
  628. package/dist/calcite/p-7311f615.entry.js +0 -5
  629. package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
  630. package/dist/calcite/p-732d4acf.entry.js +0 -5
  631. package/dist/calcite/p-784e4e32.system.entry.js +0 -5
  632. package/dist/calcite/p-7bf46f12.system.entry.js +0 -5
  633. package/dist/calcite/p-82c6cd9a.entry.js +0 -5
  634. package/dist/calcite/p-832affcb.system.entry.js +0 -5
  635. package/dist/calcite/p-87f1831b.entry.js +0 -5
  636. package/dist/calcite/p-88b4f504.entry.js +0 -5
  637. package/dist/calcite/p-89987575.entry.js +0 -5
  638. package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
  639. package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
  640. package/dist/calcite/p-9339cca3.entry.js +0 -5
  641. package/dist/calcite/p-9470d123.system.entry.js +0 -5
  642. package/dist/calcite/p-949c8f43.system.entry.js +0 -5
  643. package/dist/calcite/p-95a17f62.system.entry.js +0 -5
  644. package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
  645. package/dist/calcite/p-96bbc815.system.entry.js +0 -5
  646. package/dist/calcite/p-97f8034a.system.entry.js +0 -5
  647. package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
  648. package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
  649. package/dist/calcite/p-9be50494.entry.js +0 -5
  650. package/dist/calcite/p-9dff8dc8.system.entry.js +0 -5
  651. package/dist/calcite/p-a57aa5d0.entry.js +0 -5
  652. package/dist/calcite/p-a7be885b.entry.js +0 -5
  653. package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
  654. package/dist/calcite/p-ab8ce668.system.entry.js +0 -5
  655. package/dist/calcite/p-ac38b743.system.entry.js +0 -5
  656. package/dist/calcite/p-aced5f01.entry.js +0 -5
  657. package/dist/calcite/p-ad617a5a.entry.js +0 -5
  658. package/dist/calcite/p-b16b831d.entry.js +0 -5
  659. package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
  660. package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
  661. package/dist/calcite/p-b6aabc24.entry.js +0 -5
  662. package/dist/calcite/p-bf82491b.entry.js +0 -5
  663. package/dist/calcite/p-c0690971.entry.js +0 -5
  664. package/dist/calcite/p-c12e88cd.entry.js +0 -5
  665. package/dist/calcite/p-c1794615.entry.js +0 -5
  666. package/dist/calcite/p-c3ba61ea.entry.js +0 -5
  667. package/dist/calcite/p-c9551366.entry.js +0 -5
  668. package/dist/calcite/p-ca5c0679.entry.js +0 -5
  669. package/dist/calcite/p-cb55c32c.system.entry.js +0 -5
  670. package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
  671. package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
  672. package/dist/calcite/p-d102e280.system.entry.js +0 -5
  673. package/dist/calcite/p-d4e9d7bb.system.entry.js +0 -5
  674. package/dist/calcite/p-dab6ebab.system.entry.js +0 -5
  675. package/dist/calcite/p-ddcf2620.system.entry.js +0 -5
  676. package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
  677. package/dist/calcite/p-e5305b02.js +0 -5
  678. package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
  679. package/dist/calcite/p-e817ded0.entry.js +0 -5
  680. package/dist/calcite/p-e9e13891.entry.js +0 -5
  681. package/dist/calcite/p-eada9cef.entry.js +0 -5
  682. package/dist/calcite/p-ed82600e.system.entry.js +0 -5
  683. package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
  684. package/dist/calcite/p-f0338acf.system.entry.js +0 -5
  685. package/dist/calcite/p-f2620bc3.js +0 -5
  686. package/dist/calcite/p-f7b5dd98.system.entry.js +0 -5
  687. package/dist/calcite/p-f8266626.system.js +0 -5
  688. package/dist/calcite/p-f87ba8eb.system.js +0 -5
  689. package/dist/calcite/p-fc32b022.entry.js +0 -5
  690. package/dist/calcite/p-fc47547f.system.entry.js +0 -5
  691. package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
  692. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  693. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  694. package/dist/components/calcite-radio.d.ts +0 -11
  695. package/dist/components/calcite-radio.js +0 -10
  696. package/dist/components/calcite-radio2.js +0 -71
  697. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
  698. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  699. package/dist/esm-es5/dom-dc012a45.js +0 -5
  700. package/dist/esm-es5/resources-c31631e5.js +0 -5
  701. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
@@ -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
- 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 };
@@ -1,71 +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 { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
-
7
- const calciteRadioCss = "@-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}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
8
-
9
- let CalciteRadio = class extends HTMLElement {
10
- constructor() {
11
- super();
12
- this.__registerHost();
13
- this.__attachShadow();
14
- //--------------------------------------------------------------------------
15
- //
16
- // Properties
17
- //
18
- //--------------------------------------------------------------------------
19
- /** The checked state of the radio. */
20
- this.checked = false;
21
- /** The disabled state of the radio. */
22
- this.disabled = false;
23
- /**
24
- * The focused state of the radio.
25
- * @internal
26
- */
27
- this.focused = false;
28
- /** The radio's hidden status. */
29
- this.hidden = false;
30
- /**
31
- * The hovered state of the radio.
32
- * @internal
33
- */
34
- this.hovered = false;
35
- /** The scale (size) of the radio. */
36
- this.scale = "m";
37
- }
38
- // --------------------------------------------------------------------------
39
- //
40
- // Render Methods
41
- //
42
- // --------------------------------------------------------------------------
43
- render() {
44
- return h("div", { class: "radio" });
45
- }
46
- static get style() { return calciteRadioCss; }
47
- };
48
- CalciteRadio = /*@__PURE__*/ proxyCustomElement(CalciteRadio, [1, "calcite-radio", {
49
- "checked": [516],
50
- "disabled": [516],
51
- "focused": [516],
52
- "hidden": [516],
53
- "hovered": [516],
54
- "scale": [513]
55
- }]);
56
- function defineCustomElement() {
57
- if (typeof customElements === "undefined") {
58
- return;
59
- }
60
- const components = ["calcite-radio"];
61
- components.forEach(tagName => { switch (tagName) {
62
- case "calcite-radio":
63
- if (!customElements.get(tagName)) {
64
- customElements.define(tagName, CalciteRadio);
65
- }
66
- break;
67
- } });
68
- }
69
- defineCustomElement();
70
-
71
- export { CalciteRadio as C, defineCustomElement as d };
@@ -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{f as forceUpdate,h}from"./index-9de00868.js";import{a as getElementStyleDir,b as getElementDir}from"./dom-dc012a45.js";import{S as SLOTS}from"./resources-584acd9b.js";import{S as SLOTS$1}from"./resources-7c6029b6.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,r=e.actionHeight,o=e.groupCount;return Math.floor((t-o*groupBufferHeight)/r)};var getOverflowCount=function(e){var t=e.actionCount,r=e.actionHeight,o=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:o,actionHeight:r,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,r=e.expanded,o=e.overflowCount;var n=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=r}}));if(n>0){o.some((function(e){var r=o.filter((function(e){return!e.slot}));if(r.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var r;return e||((r=t.closest("calcite-shell-panel"))===null||r===void 0?void 0:r.position)||"start"}function toggleChildActionText(e){var t=e.parent,r=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=r}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=r}))}var setTooltipReference=function(e){var t=e.tooltip,r=e.referenceElement,o=e.expanded,n=e.ref;if(t){t.referenceElement=!o&&r}if(n){n(r)}return r};var CalciteExpandToggle=function(e){var t=e.expanded,r=e.intlExpand,o=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementStyleDir(i)==="rtl";var f=t?o:r;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{dir:getElementDir(i)==="rtl"?"rtl":"ltr",icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return c?h("calcite-tooltip-manager",null,m):m};export{CalciteExpandToggle as C,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function c(t){try{s(i["throw"](t))}catch(t){o(t)}}function s(t){t.done?a(t.value):n(t.value).then(r,c)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,n,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:a.label++;return{value:r[1],done:false};case 5:a.label++;n=r[1];r=[0];continue;case 7:r=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){a=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(r[0]===6&&a.label<o[1]){a.label=o[1];o=r;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(r);break}if(o[2])a.ops.pop();a.trys.pop();continue}r=e.call(t,a)}catch(t){r=[6,t];n=0}finally{i=o=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
- */import{r as registerInstance,h,c as createEvent,H as Host,g as getElement}from"./index-9de00868.js";import{g as guid}from"./guid-196bd5ea.js";import{a as getElementStyleDir,f as focusElement}from"./dom-dc012a45.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-0d804a87.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-6b717ce8.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";var calciteRadioCss="@-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}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";var CalciteRadio=function(){function t(t){registerInstance(this,t);this.checked=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.scale="m"}t.prototype.render=function(){return h("div",{class:"radio"})};return t}();CalciteRadio.style=calciteRadioCss;var CSS={container:"container"};var calciteRadioButtonCss="@-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{cursor:pointer;display:block}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host([disabled]){cursor:pointer}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var CalciteRadioButton=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalRadioButtonBlur=createEvent(this,"calciteInternalRadioButtonBlur",7);this.calciteRadioButtonChange=createEvent(this,"calciteRadioButtonChange",7);this.calciteInternalRadioButtonCheckedChange=createEvent(this,"calciteInternalRadioButtonCheckedChange",7);this.calciteInternalRadioButtonFocus=createEvent(this,"calciteInternalRadioButtonFocus",7);this.checked=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.required=false;this.scale="m";this.selectItem=function(t,e){t[e].click()};this.queryButtons=function(){return Array.from(e.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===e.name}))};this.isDefaultSelectable=function(){var t=e.queryButtons();return!t.some((function(t){return t.checked}))&&t[0]===e.el};this.check=function(){if(e.disabled){return}e.uncheckAllRadioButtonsInGroup();e.checked=true;e.calciteRadioButtonChange.emit();e.setFocus()};this.clickHandler=function(){e.check()};this.setContainerEl=function(t){e.containerEl=t};this.handleKeyDown=function(t){var a=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var n=e.el;if(a.indexOf(i)===-1){return}if(i===" "){e.check();return}var o=i;if(getElementStyleDir(n)==="rtl"){if(i==="ArrowRight"){o="ArrowLeft"}if(i==="ArrowLeft"){o="ArrowRight"}}var r=Array.from(e.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===e.name}));var c=0;var s=r.length;r.some((function(t,e){if(t.checked){c=e;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();e.selectItem(r,getRoundRobinIndex(Math.max(c-1,-1),s));return;case"ArrowRight":case"ArrowDown":t.preventDefault();e.selectItem(r,getRoundRobinIndex(c+1,s));return;default:return}};this.onContainerBlur=function(){e.focused=false;e.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=function(){e.focused=true;e.calciteInternalRadioButtonFocus.emit()}}t.prototype.checkedChanged=function(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit(t)};t.prototype.nameChanged=function(){this.checkLastRadioButton();var t=this.rootNode.querySelector('input[name="'+this.name+'"]:checked');if(!(t===null||t===void 0?void 0:t.value)){this.uncheckAllRadioButtonsInGroup()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.containerEl);return[2]}))}))};t.prototype.onLabelClick=function(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();var e=t.currentTarget;var a=e.for?this.rootNode.querySelector('calcite-radio-button[id="'+e.for+'"]'):e.querySelector('calcite-radio-button[name="'+this.name+'"]');if(a){a.checked=true;a.focused=true}this.calciteRadioButtonChange.emit();this.setFocus()}};t.prototype.checkLastRadioButton=function(){var t=this.queryButtons();var e=t.filter((function(t){return t.checked}));if((e===null||e===void 0?void 0:e.length)>1){var a=e[e.length-1];e.filter((function(t){return t!==a})).forEach((function(t){t.checked=false;t.emitCheckedChange()}))}};t.prototype.emitCheckedChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.calciteInternalRadioButtonCheckedChange.emit();return[2]}))}))};t.prototype.uncheckAllRadioButtonsInGroup=function(){var t=this.queryButtons();t.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.uncheckOtherRadioButtonsInGroup=function(){var t=this;var e=this.queryButtons();var a=e.filter((function(e){return e.guid!==t.guid}));a.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.mouseenter=function(){this.hovered=true};t.prototype.mouseleave=function(){this.hovered=false};t.prototype.connectedCallback=function(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||"calcite-radio-button-"+guid();if(this.name){this.checkLastRadioButton()}connectLabel(this);connectForm(this)};t.prototype.componentDidLoad=function(){if(this.focused){this.setFocus()}};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.render=function(){return h(Host,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},h("div",{"aria-checked":this.checked.toString(),"aria-label":getLabelText(this),class:CSS.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:this.checked||this.isDefaultSelectable()?0:-1},h("calcite-radio",{checked:this.checked,disabled:this.disabled,focused:this.focused,hidden:this.hidden,hovered:this.hovered,scale:this.scale})),h(HiddenFormInputSlot,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}();CalciteRadioButton.style=calciteRadioButtonCss;export{CalciteRadio as calcite_radio,CalciteRadioButton as calcite_radio_button};
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function u(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(u,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{g as guid}from"./guid-196bd5ea.js";var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};function ensureId(e){if(!e){return""}return e.id=e.id||e.tagName.toLowerCase()+"-"+guid()}function nodeListToArray(e){return Array.isArray(e)?e:Array.from(e)}function getThemeName(e){return closestElementCrossShadowBoundary(e,"."+CSS_UTILITY.darkTheme)?"dark":"light"}function getElementStyleDir(e){return window.getComputedStyle(e).direction||"ltr"}function getElementDir(e){var t="dir";var r="["+t+"]";var n=closestElementCrossShadowBoundary(e,r);return n?n.getAttribute(t):"ltr"}function getElementProp(e,t,r){var n="["+t+"]";var o=e.closest(n);return o?o.getAttribute(t):r}function getRootNode(e){return e.getRootNode()}function getHost(e){return e.host||null}function queryElementsRoots(e,t){function r(e,n){if(!e){return n}if(e.assignedSlot){e=e.assignedSlot}var o=getRootNode(e);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(e){return!n.includes(e)}));n=__spreadArray(__spreadArray([],n),u);var a=getHost(o);return a?r(a,n):n}return r(e,[])}function queryElementRoots(e,t){function r(e){if(!e){return null}if(e.assignedSlot){e=e.assignedSlot}var n=getRootNode(e);var o=n.querySelector(t);var i=getHost(n);return o?o:i?r(i):null}return r(e)}function closestElementCrossShadowBoundary(e,t){function r(e){return e?e.closest(t)||r(getHost(getRootNode(e))):null}return r(e)}function isCalciteFocusable(e){return typeof(e===null||e===void 0?void 0:e.setFocus)==="function"}function focusElement(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!e){return[2]}return[2,isCalciteFocusable(e)?e.setFocus():e.focus()]}))}))}function getSlotted(e,t,r){var n='[slot="'+t+'"]';if(r===null||r===void 0?void 0:r.all){return queryMultiple(e,n,r)}return querySingle(e,n,r)}function queryMultiple(e,t,r){var n=Array.from(e.querySelectorAll(t));n=r&&r.direct===false?n:n.filter((function(t){return t.parentElement===e}));var o=r===null||r===void 0?void 0:r.selector;return o?n.map((function(e){return Array.from(e.querySelectorAll(o))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e),t)}),[]).filter((function(e){return!!e})):n}function querySingle(e,t,r){var n=e.querySelector(t);n=r&&r.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===e?n:null;var o=r===null||r===void 0?void 0:r.selector;return o?n.querySelector(o):n}function filterDirectChildren(e,t){return Array.from(e.children).filter((function(e){return e.matches(t)}))}function setRequestedIcon(e,t,r){if(typeof t==="string"&&t!==""){return t}else if(t===""){return e[r]}}function intersects(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}export{CSS_UTILITY as C,TEXT as T,getElementStyleDir as a,getElementDir as b,getThemeName as c,closestElementCrossShadowBoundary as d,getElementProp as e,focusElement as f,getSlotted as g,ensureId as h,isCalciteFocusable as i,queryElementsRoots as j,intersects as k,filterDirectChildren as l,nodeListToArray as n,queryElementRoots as q,setRequestedIcon as s};
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function l(e){try{o(n.next(e))}catch(e){r(e)}}function s(e){try{o(n["throw"](e))}catch(e){r(e)}}function o(e){e.done?i(e.value):a(e.value).then(l,s)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,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 o([e,t])}}function o(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=l[0]&2?a["return"]:l[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,l[1])).done)return r;if(a=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;a=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];a=0}finally{n=r=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
- */import{f as focusElement,g as getSlotted,b as getElementDir}from"./dom-dc012a45.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-9de00868.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=!!i.contains(e.relatedTarget);if(l){toggleSingleSelectItemTabbing(e.target,false);return}n.forEach((function(t){return toggleSingleSelectItemTabbing(t,r.size===0?e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=getRoundRobinIndex(o+(t==="ArrowUp"?-1:1),s);var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:l.sent();return[2];case 2:t=this,i=t.items,n=t.multiple,a=t.selectionFollowsFocus;if(i.length===0){return[2]}if(n){return[2,i[0].setFocus()]}r=i.find((function(e){return e.selected}))||i[0];if(a){r.selected=true}return[2,r.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a){toggleSingleSelectItemTabbing(a,true)}}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.el,u=i.setFilterEl,f=__rest(e,["props"]);var d=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),"aria-disabled":n.toString(),role:"menu"},f),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,dir:getElementDir(c),disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:u}):null,h("slot",{name:SLOTS$1.menuActions})),a||n?h("calcite-scrim",{loading:a}):null,d))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,initializeObserver as a,calciteListItemChangeHandler as b,cleanUpObserver as c,deselectSiblingItems as d,calciteListItemValueChangeHandler as e,setUpItems as f,getItemData as g,handleFilter as h,initialize as i,setFocus as j,keyDownHandler as k,calciteListFocusOutHandler as l,mutationObserverCallback as m,ICONS as n,removeItem as r,selectSiblings as s};
@@ -1,22 +0,0 @@
1
- import { Scale } from "../interfaces";
2
- export declare class CalciteRadio {
3
- /** The checked state of the radio. */
4
- checked: boolean;
5
- /** The disabled state of the radio. */
6
- disabled: boolean;
7
- /**
8
- * The focused state of the radio.
9
- * @internal
10
- */
11
- focused: boolean;
12
- /** The radio's hidden status. */
13
- hidden: boolean;
14
- /**
15
- * The hovered state of the radio.
16
- * @internal
17
- */
18
- hovered: boolean;
19
- /** The scale (size) of the radio. */
20
- scale: Scale;
21
- render(): any;
22
- }