@esri/calcite-components 1.0.0-next.554 → 1.0.0-next.557
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.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +2 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-952a0e45.js → p-01bbc68a.js} +2 -2
- package/dist/calcite/{p-03246ab8.js → p-0323edd5.js} +2 -2
- package/dist/calcite/p-03abc90c.system.entry.js +6 -0
- package/dist/calcite/p-050bccd2.system.entry.js +6 -0
- package/dist/calcite/{p-25609078.js → p-053d6f2d.js} +2 -2
- package/dist/calcite/p-089c4e7a.system.js +6 -0
- package/dist/calcite/p-08cd0042.js +6 -0
- package/dist/calcite/p-098e2929.system.entry.js +6 -0
- package/dist/calcite/p-09e36a8f.system.entry.js +6 -0
- package/dist/calcite/{p-22872d72.js → p-0b2dbf1f.js} +1 -1
- package/dist/calcite/p-0b6e742e.system.js +6 -0
- package/dist/calcite/p-0de90ca3.system.entry.js +6 -0
- package/dist/calcite/{p-6b97256e.js → p-0f719968.js} +1 -1
- package/dist/calcite/p-10837290.entry.js +6 -0
- package/dist/calcite/p-13d514c2.system.entry.js +6 -0
- package/dist/calcite/{p-046fcb0c.entry.js → p-1442423a.entry.js} +2 -2
- package/dist/calcite/p-14661dbd.system.entry.js +6 -0
- package/dist/calcite/{p-d9369914.entry.js → p-16755058.entry.js} +2 -2
- package/dist/calcite/p-179814ff.system.entry.js +6 -0
- package/dist/calcite/p-185bbebe.system.entry.js +6 -0
- package/dist/calcite/p-186e9072.entry.js +6 -0
- package/dist/calcite/{p-5bcc6e36.system.entry.js → p-18a217bd.system.entry.js} +2 -2
- package/dist/calcite/{p-7e022b1b.js → p-1bdc083e.js} +2 -2
- package/dist/calcite/p-1c6bc78e.entry.js +6 -0
- package/dist/calcite/p-1d8a659f.entry.js +6 -0
- package/dist/calcite/{p-43758c02.system.js → p-1f7bcb20.system.js} +1 -1
- package/dist/calcite/p-1fa0d6dc.system.entry.js +6 -0
- package/dist/calcite/{p-1abbbcc2.system.js → p-207b9ac8.system.js} +2 -2
- package/dist/calcite/p-2397e51c.system.entry.js +6 -0
- package/dist/calcite/{p-3ee2d78c.system.entry.js → p-259901ca.system.entry.js} +2 -2
- package/dist/calcite/{p-a9964dd8.js → p-267cfd6f.js} +1 -1
- package/dist/calcite/p-27292a37.entry.js +6 -0
- package/dist/calcite/{p-ed4d9df0.js → p-28eb7892.js} +1 -1
- package/dist/calcite/p-2bcbe086.system.entry.js +6 -0
- package/dist/calcite/p-2e486788.system.js +6 -0
- package/dist/calcite/p-2fa04db0.entry.js +6 -0
- package/dist/calcite/p-33798ba6.entry.js +6 -0
- package/dist/calcite/p-34c56af0.system.js +6 -0
- package/dist/calcite/p-34fc3044.system.js +6 -0
- package/dist/calcite/{p-37d12dd9.system.js → p-362017b2.system.js} +1 -1
- package/dist/calcite/p-36800b66.entry.js +6 -0
- package/dist/calcite/{p-7f2a8028.system.entry.js → p-38996036.system.entry.js} +2 -2
- package/dist/calcite/p-38f0718c.entry.js +6 -0
- package/dist/calcite/{p-1ea993fc.system.entry.js → p-3a0ac767.system.entry.js} +2 -2
- package/dist/calcite/p-3afee225.system.entry.js +6 -0
- package/dist/calcite/p-3b36d84f.system.entry.js +6 -0
- package/dist/calcite/p-3cb0bba0.system.entry.js +6 -0
- package/dist/calcite/p-3d2c9fb7.entry.js +6 -0
- package/dist/calcite/p-3e4cdc64.system.entry.js +6 -0
- package/dist/calcite/p-3f0a88a5.js +6 -0
- package/dist/calcite/{p-ea0927b7.system.js → p-430ddb64.system.js} +1 -1
- package/dist/calcite/p-43e54a04.entry.js +6 -0
- package/dist/calcite/{p-242c5e9a.entry.js → p-44e87d25.entry.js} +2 -2
- package/dist/calcite/p-473cdc07.js +6 -0
- package/dist/calcite/p-485002f2.system.entry.js +6 -0
- package/dist/calcite/p-489fa1b0.entry.js +6 -0
- package/dist/calcite/{p-6e82d8e3.system.js → p-4918e784.system.js} +2 -2
- package/dist/calcite/{p-88547c90.system.js → p-4ab1e412.system.js} +1 -1
- package/dist/calcite/{p-18ff9a7f.system.js → p-4b690d1f.system.js} +1 -1
- package/dist/calcite/{p-7d192d44.js → p-4d7092d7.js} +2 -2
- package/dist/calcite/{p-a93a9d60.js → p-500e5bfd.js} +2 -2
- package/dist/calcite/p-5276d2f5.system.entry.js +6 -0
- package/dist/calcite/p-5431b506.entry.js +6 -0
- package/dist/calcite/p-549fb66c.system.entry.js +6 -0
- package/dist/calcite/{p-8b2dc670.js → p-57e3ec6e.js} +1 -1
- package/dist/calcite/{p-5e65a668.js → p-57e5742a.js} +1 -1
- package/dist/calcite/p-58bfb933.entry.js +6 -0
- package/dist/calcite/p-5a80d1d7.entry.js +6 -0
- package/dist/calcite/{p-a7beca8b.system.entry.js → p-5bbc365f.system.entry.js} +2 -2
- package/dist/calcite/{p-9a62cc07.system.js → p-5ca05270.system.js} +3 -3
- package/dist/calcite/p-5e3d1c69.entry.js +6 -0
- package/dist/calcite/p-619fd20d.entry.js +6 -0
- package/dist/calcite/{p-d51e133d.system.js → p-662db081.system.js} +1 -1
- package/dist/calcite/{p-ddaf0771.system.entry.js → p-6707dfe7.system.entry.js} +2 -2
- package/dist/calcite/{p-cbad651b.system.entry.js → p-6862e6df.system.entry.js} +2 -2
- package/dist/calcite/{p-51b04300.system.js → p-69ae393b.system.js} +2 -2
- package/dist/calcite/p-6a495e2f.entry.js +6 -0
- package/dist/calcite/{p-432d465a.system.js → p-6e6c766d.system.js} +1 -1
- package/dist/calcite/{p-2022a888.system.js → p-6f4a290e.system.js} +1 -1
- package/dist/calcite/p-72ae6659.system.entry.js +6 -0
- package/dist/calcite/p-7505e5f2.entry.js +6 -0
- package/dist/calcite/p-75bdaf1d.entry.js +6 -0
- package/dist/calcite/p-7688a4d8.system.entry.js +6 -0
- package/dist/calcite/{p-39f470d6.system.js → p-7750cf69.system.js} +2 -2
- package/dist/calcite/p-77ba3a75.entry.js +6 -0
- package/dist/calcite/p-79819ce2.entry.js +6 -0
- package/dist/calcite/p-799d6510.entry.js +6 -0
- package/dist/calcite/p-7bd363bf.system.entry.js +6 -0
- package/dist/calcite/p-7e29926c.entry.js +6 -0
- package/dist/calcite/p-83b0e6fa.system.entry.js +6 -0
- package/dist/calcite/p-85b7d575.entry.js +6 -0
- package/dist/calcite/p-8d3fc4ee.entry.js +6 -0
- package/dist/calcite/{p-f0edee04.system.js → p-8de36feb.system.js} +2 -2
- package/dist/calcite/{p-6f028d65.system.js → p-8eeb2705.system.js} +1 -1
- package/dist/calcite/p-913c10d7.entry.js +6 -0
- package/dist/calcite/p-92882341.entry.js +6 -0
- package/dist/calcite/{p-4a7b0eeb.system.entry.js → p-9394f514.system.entry.js} +2 -2
- package/dist/calcite/p-967ab5ce.js +7 -0
- package/dist/calcite/p-9689d57a.system.entry.js +6 -0
- package/dist/calcite/p-986a7d1a.entry.js +6 -0
- package/dist/calcite/p-995ea165.system.js +6 -0
- package/dist/calcite/p-9e69eb69.entry.js +6 -0
- package/dist/calcite/p-9f078008.system.entry.js +6 -0
- package/dist/calcite/p-9ff5036d.system.entry.js +6 -0
- package/dist/calcite/p-a000afc0.system.entry.js +6 -0
- package/dist/calcite/{p-c5772a30.js → p-a0e5b18f.js} +1 -1
- package/dist/calcite/p-a1049719.system.entry.js +6 -0
- package/dist/calcite/p-a52a7b0a.system.entry.js +6 -0
- package/dist/calcite/p-a562f13f.js +6 -0
- package/dist/calcite/p-a6d0a409.system.entry.js +6 -0
- package/dist/calcite/p-a70ed6e7.entry.js +6 -0
- package/dist/calcite/p-a71d58b7.entry.js +6 -0
- package/dist/calcite/p-a96bd824.system.entry.js +6 -0
- package/dist/calcite/p-ad4f2930.system.entry.js +6 -0
- package/dist/calcite/p-ae9b373a.entry.js +6 -0
- package/dist/calcite/{p-db665163.system.js → p-b271e062.system.js} +1 -1
- package/dist/calcite/p-b3c760e0.system.entry.js +6 -0
- package/dist/calcite/{p-e81770d4.system.entry.js → p-b4b3b61e.entry.js} +3 -3
- package/dist/calcite/p-b4d9bf86.system.entry.js +6 -0
- package/dist/calcite/{p-f8346f59.entry.js → p-b60feb71.entry.js} +2 -2
- package/dist/calcite/p-b78f9b9f.entry.js +6 -0
- package/dist/calcite/{p-82034b70.js → p-bc9318f3.js} +1 -1
- package/dist/calcite/{p-e364f001.js → p-bd07abeb.js} +1 -1
- package/dist/calcite/p-bd29bacb.system.js +7 -0
- package/dist/calcite/p-be784116.entry.js +6 -0
- package/dist/calcite/p-bf1e9f67.entry.js +6 -0
- package/dist/calcite/p-c05c774d.system.entry.js +6 -0
- package/dist/calcite/{p-253816b8.entry.js → p-c0ca417e.entry.js} +2 -2
- package/dist/calcite/p-c14e1f09.system.entry.js +6 -0
- package/dist/calcite/p-c1dcd3cb.system.entry.js +6 -0
- package/dist/calcite/p-c3ce9178.entry.js +6 -0
- package/dist/calcite/p-c69f0a78.entry.js +6 -0
- package/dist/calcite/{p-8aba1b16.system.js → p-c80f7567.system.js} +1 -1
- package/dist/calcite/{p-0671663f.js → p-c8ba1f6a.js} +1 -1
- package/dist/calcite/p-c8c3e524.system.entry.js +6 -0
- package/dist/calcite/p-ca31a5e2.entry.js +6 -0
- package/dist/calcite/p-cf78df6d.system.entry.js +6 -0
- package/dist/calcite/p-d0047de8.system.entry.js +6 -0
- package/dist/calcite/p-d4cde041.entry.js +6 -0
- package/dist/calcite/p-d4f13b3d.entry.js +6 -0
- package/dist/calcite/{p-39f7c8c6.system.js → p-d5e345ee.system.js} +1 -1
- package/dist/calcite/p-d6ad752f.js +6 -0
- package/dist/calcite/{p-646b0c31.entry.js → p-d77e1a0d.entry.js} +2 -2
- package/dist/calcite/p-d7f6ea6f.system.entry.js +6 -0
- package/dist/calcite/p-da0db093.system.entry.js +6 -0
- package/dist/calcite/p-db473b43.system.entry.js +6 -0
- package/dist/calcite/p-dfb05eff.system.entry.js +6 -0
- package/dist/calcite/p-e0afa4c7.entry.js +6 -0
- package/dist/calcite/p-e12c0332.system.entry.js +6 -0
- package/dist/calcite/{p-a917f729.system.js → p-e307f02b.system.js} +2 -2
- package/dist/calcite/p-e3b5f2ef.entry.js +6 -0
- package/dist/calcite/{p-ed222b79.js → p-e5d86cd5.js} +1 -1
- package/dist/calcite/p-e664273e.js +6 -0
- package/dist/calcite/p-e880847f.entry.js +6 -0
- package/dist/calcite/{p-1671dfb1.js → p-ebe9283f.js} +2 -2
- package/dist/calcite/{p-edbae867.system.js → p-ec260be5.system.js} +2 -2
- package/dist/calcite/{p-4b0ecbf9.system.entry.js → p-ed3d5173.system.entry.js} +2 -2
- package/dist/calcite/p-ed77bad5.system.entry.js +6 -0
- package/dist/calcite/p-ed94b31e.entry.js +6 -0
- package/dist/calcite/p-f09b2cde.system.entry.js +6 -0
- package/dist/calcite/{p-7218723c.entry.js → p-f2f938ed.entry.js} +2 -2
- package/dist/calcite/p-f3570229.system.entry.js +6 -0
- package/dist/calcite/{p-a080a428.system.js → p-f505b966.system.js} +1 -1
- package/dist/calcite/{p-36fe38e0.entry.js → p-f585e174.entry.js} +2 -2
- package/dist/calcite/p-f5c4d4d1.system.entry.js +6 -0
- package/dist/calcite/{p-c1fc9977.js → p-f65ef845.js} +1 -1
- package/dist/calcite/{p-7e5a2e0c.entry.js → p-f7dbcbb8.entry.js} +2 -2
- package/dist/calcite/p-f8f14c87.entry.js +6 -0
- package/dist/calcite/{p-beb8dc08.js → p-f92ce833.js} +1 -1
- package/dist/calcite/p-f9f5fb51.entry.js +6 -0
- package/dist/calcite/{p-0b906eba.system.js → p-fb20f3c6.system.js} +1 -1
- package/dist/calcite/p-fb294b8e.entry.js +6 -0
- package/dist/calcite/p-fbf72dda.system.entry.js +6 -0
- package/dist/calcite/{p-310d558b.entry.js → p-fc817fa2.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-b628a6fb.js → ExpandToggle-c870fade.js} +5 -5
- package/dist/cjs/{Heading-ec59a634.js → Heading-17afc80c.js} +2 -2
- package/dist/cjs/app-globals-e1b88841.js +50 -0
- package/dist/cjs/{array-e882eb18.js → array-731bcbb2.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +55 -42
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -9
- package/dist/cjs/calcite-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -16
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +11 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -18
- package/dist/cjs/calcite-input.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -10
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -16
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +63 -21
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -11
- package/dist/cjs/calcite.cjs.js +7 -4
- package/dist/cjs/{conditionalSlot-74bd80f2.js → conditionalSlot-dc6359e0.js} +3 -3
- package/dist/cjs/{debounce-b78e172c.js → debounce-7d685f39.js} +1 -1
- package/dist/cjs/{dom-e2fc17b1.js → dom-4efc4df7.js} +4 -18
- package/dist/cjs/{filter-1690cfee.js → filter-79a805e9.js} +2 -2
- package/dist/cjs/{floating-ui-dcd8a8ad.js → floating-ui-d1c220ca.js} +59 -10
- package/dist/cjs/{form-50cfa01d.js → form-3f0e0679.js} +3 -3
- package/dist/cjs/{guid-7f6810c7.js → guid-7ce1e44f.js} +1 -1
- package/dist/cjs/{index-7117bc67.js → index-e05dafb0.js} +10 -5
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-2f6429b5.js → interactive-dcbc4725.js} +1 -1
- package/dist/cjs/{interfaces-6fd77f95.js → interfaces-8778d49d.js} +1 -1
- package/dist/cjs/{key-a88e22b7.js → key-b77dd9e1.js} +1 -1
- package/dist/cjs/{label-7bac2db2.js → label-6297b9e1.js} +2 -2
- package/dist/cjs/loader.cjs.js +7 -4
- package/dist/cjs/{locale-5d369405.js → locale-8baef0cd.js} +2 -2
- package/dist/cjs/{math-36ae917d.js → math-e5bb2fa2.js} +1 -1
- package/dist/cjs/{observers-68700b83.js → observers-edab9098.js} +1 -1
- package/dist/cjs/{openCloseComponent-93e2a9f0.js → openCloseComponent-8b7f305e.js} +1 -1
- package/dist/cjs/{resources-15e23e3b.js → resources-01597c65.js} +1 -1
- package/dist/cjs/resources-198c6f21.js +24 -0
- package/dist/cjs/{resources-a2ec29a3.js → resources-b0217622.js} +3 -3
- package/dist/cjs/{resources-754908f1.js → resources-d70c9d00.js} +5 -5
- package/dist/cjs/{resources-e656d522.js → resources-ebab5fd6.js} +1 -1
- package/dist/cjs/{sortable.esm-0bc0f2ec.js → sortable.esm-7290c83b.js} +1 -1
- package/dist/cjs/{utils-7686a8b9.js → utils-ccab61d8.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/collection/components/action-menu/action-menu.js +45 -32
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -2
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -5
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +2 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +8 -3
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -5
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +9 -4
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -3
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.js +8 -3
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +20 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +19 -19
- package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +21 -21
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +4 -3
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +8 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +4 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab/tab.js +51 -6
- package/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +8 -8
- package/dist/collection/components/tab-title/tab-title.js +54 -11
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +6 -10
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +8 -3
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +44 -31
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +4 -3
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +7 -6
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +10 -5
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +3 -3
- package/dist/components/calcite-input-date-picker.js +10 -5
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +3 -3
- package/dist/components/calcite-input-text.js +3 -3
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +2 -2
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +6 -6
- package/dist/components/calcite-radio-button.js +11 -11
- package/dist/components/calcite-radio-group-item.js +4 -4
- package/dist/components/calcite-radio-group.js +11 -11
- package/dist/components/calcite-rating.js +10 -10
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +5 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +7 -2
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +8 -3
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +4 -3
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +5 -4
- package/dist/components/date-picker-month-header.js +7 -6
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +9 -4
- package/dist/components/filter.js +168 -741
- package/dist/components/filter2.js +741 -168
- package/dist/components/floating-ui.js +60 -11
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +92 -5
- package/dist/components/index.js +136 -1
- package/dist/components/input.js +3 -3
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +87 -112
- package/dist/components/label2.js +112 -87
- package/dist/components/link.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +10 -4
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -4
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +33 -12
- package/dist/components/tab.js +27 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +6 -10
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +306 -136
- package/dist/esm/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +5 -5
- package/dist/esm/{Heading-1227633c.js → Heading-ca8012f3.js} +2 -2
- package/dist/esm/app-globals-0dea7c34.js +48 -0
- package/dist/esm/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -10
- package/dist/esm/calcite-action-group.entry.js +9 -8
- package/dist/esm/calcite-action-menu.entry.js +48 -35
- package/dist/esm/calcite-action-pad.entry.js +10 -9
- package/dist/esm/calcite-action.entry.js +7 -6
- package/dist/esm/calcite-alert.entry.js +7 -6
- package/dist/esm/calcite-avatar.entry.js +6 -5
- package/dist/esm/calcite-block_2.entry.js +11 -9
- package/dist/esm/calcite-button.entry.js +9 -8
- package/dist/esm/calcite-card.entry.js +7 -6
- package/dist/esm/calcite-checkbox.entry.js +10 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +15 -13
- package/dist/esm/calcite-combobox_3.entry.js +20 -14
- package/dist/esm/calcite-date-picker_4.entry.js +16 -15
- package/dist/esm/calcite-dropdown_3.entry.js +16 -10
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +8 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -11
- package/dist/esm/calcite-handle.entry.js +5 -4
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +8 -7
- package/dist/esm/calcite-input-date-picker.entry.js +19 -13
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-number.entry.js +12 -11
- package/dist/esm/calcite-input-text.entry.js +9 -8
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -18
- package/dist/esm/calcite-input.entry.js +12 -11
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +6 -5
- package/dist/esm/calcite-list_3.entry.js +9 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -7
- package/dist/esm/calcite-notice.entry.js +8 -7
- package/dist/esm/calcite-option_3.entry.js +9 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +10 -9
- package/dist/esm/calcite-pick-list_3.entry.js +12 -11
- package/dist/esm/calcite-popover_2.entry.js +17 -10
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +17 -16
- package/dist/esm/calcite-radio-group_2.entry.js +19 -18
- package/dist/esm/calcite-rating.entry.js +17 -16
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +9 -4
- package/dist/esm/calcite-stepper_2.entry.js +6 -5
- package/dist/esm/calcite-switch.entry.js +11 -9
- package/dist/esm/calcite-tab_4.entry.js +63 -21
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -7
- package/dist/esm/calcite-tooltip_2.entry.js +12 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -6
- package/dist/esm/calcite-value-list_2.entry.js +12 -11
- package/dist/esm/calcite.js +7 -4
- package/dist/esm/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +3 -3
- package/dist/esm/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
- package/dist/esm/{dom-e671177c.js → dom-42491565.js} +4 -16
- package/dist/esm/{filter-345157e1.js → filter-099dc292.js} +2 -2
- package/dist/esm/{floating-ui-93554377.js → floating-ui-f2ddd7c3.js} +59 -10
- package/dist/esm/{form-71cefaff.js → form-ad1965a4.js} +3 -3
- package/dist/esm/{guid-8690cee7.js → guid-73322791.js} +1 -1
- package/dist/esm/{index-30e59418.js → index-06221bfb.js} +10 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
- package/dist/esm/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
- package/dist/esm/{key-c2927cc5.js → key-22a0f143.js} +1 -1
- package/dist/esm/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
- package/dist/esm/loader.js +7 -4
- package/dist/esm/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
- package/dist/esm/{math-5ab9a082.js → math-e44d4881.js} +1 -1
- package/dist/esm/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
- package/dist/esm/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
- package/dist/esm/{resources-243c15db.js → resources-414ad2dc.js} +5 -5
- package/dist/esm/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
- package/dist/esm/resources-8fc2f7f1.js +19 -0
- package/dist/esm/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
- package/dist/esm/{resources-e6150606.js → resources-f6b51a5c.js} +3 -3
- package/dist/esm/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
- package/dist/esm/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +2 -2
- package/dist/esm-es5/Heading-ca8012f3.js +6 -0
- package/dist/esm-es5/app-globals-0dea7c34.js +6 -0
- package/dist/esm-es5/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +2 -2
- package/dist/esm-es5/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
- package/dist/esm-es5/dom-42491565.js +6 -0
- package/dist/esm-es5/{filter-345157e1.js → filter-099dc292.js} +2 -2
- package/dist/esm-es5/floating-ui-f2ddd7c3.js +6 -0
- package/dist/esm-es5/{form-71cefaff.js → form-ad1965a4.js} +2 -2
- package/dist/esm-es5/{guid-8690cee7.js → guid-73322791.js} +1 -1
- package/dist/esm-es5/index-06221bfb.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
- package/dist/esm-es5/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
- package/dist/esm-es5/{key-c2927cc5.js → key-22a0f143.js} +1 -1
- package/dist/esm-es5/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
- package/dist/esm-es5/{math-5ab9a082.js → math-e44d4881.js} +1 -1
- package/dist/esm-es5/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
- package/dist/esm-es5/{resources-243c15db.js → resources-414ad2dc.js} +2 -2
- package/dist/esm-es5/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
- package/dist/esm-es5/resources-8fc2f7f1.js +6 -0
- package/dist/esm-es5/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
- package/dist/esm-es5/{resources-e6150606.js → resources-f6b51a5c.js} +2 -2
- package/dist/esm-es5/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
- package/dist/esm-es5/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
- package/dist/extras/docs-json.json +97 -51
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +10 -7
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +6 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +6 -1
- package/dist/types/components/radio-button/radio-button.d.ts +13 -13
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +8 -0
- package/dist/types/components/tab-title/tab-title.d.ts +11 -2
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +116 -96
- package/dist/types/utils/form.d.ts +1 -1
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +486 -141
- package/package.json +17 -17
- package/dist/calcite/p-0005ef75.system.entry.js +0 -6
- package/dist/calcite/p-0660f9e4.system.entry.js +0 -6
- package/dist/calcite/p-08f047c5.entry.js +0 -6
- package/dist/calcite/p-0a4daa25.entry.js +0 -6
- package/dist/calcite/p-0d145563.entry.js +0 -6
- package/dist/calcite/p-0e84a8f0.system.js +0 -6
- package/dist/calcite/p-1214606c.entry.js +0 -6
- package/dist/calcite/p-147af54e.system.js +0 -6
- package/dist/calcite/p-15c02b4d.entry.js +0 -6
- package/dist/calcite/p-1a7614ea.entry.js +0 -6
- package/dist/calcite/p-1c2f82cb.system.entry.js +0 -6
- package/dist/calcite/p-1c8efb7e.system.entry.js +0 -6
- package/dist/calcite/p-1d3dd7f9.entry.js +0 -6
- package/dist/calcite/p-1dc4a191.entry.js +0 -6
- package/dist/calcite/p-1e5edb71.system.entry.js +0 -6
- package/dist/calcite/p-21ed952b.entry.js +0 -6
- package/dist/calcite/p-26bcb5b6.entry.js +0 -6
- package/dist/calcite/p-29e02d4a.system.entry.js +0 -6
- package/dist/calcite/p-2cf629e7.entry.js +0 -6
- package/dist/calcite/p-2d32c815.entry.js +0 -6
- package/dist/calcite/p-31c79261.js +0 -6
- package/dist/calcite/p-32bb6f34.system.entry.js +0 -6
- package/dist/calcite/p-34aa9639.entry.js +0 -6
- package/dist/calcite/p-380c33a8.system.entry.js +0 -6
- package/dist/calcite/p-3a3461b7.system.entry.js +0 -6
- package/dist/calcite/p-3cde140e.system.entry.js +0 -6
- package/dist/calcite/p-3eedb285.entry.js +0 -6
- package/dist/calcite/p-407b5ccd.entry.js +0 -6
- package/dist/calcite/p-413ac707.system.entry.js +0 -6
- package/dist/calcite/p-417a4876.entry.js +0 -6
- package/dist/calcite/p-41a8a85b.system.js +0 -7
- package/dist/calcite/p-432f25f1.system.entry.js +0 -6
- package/dist/calcite/p-43c45bf0.system.entry.js +0 -6
- package/dist/calcite/p-44a82107.system.entry.js +0 -6
- package/dist/calcite/p-44f5c854.system.entry.js +0 -6
- package/dist/calcite/p-48f46ccb.system.entry.js +0 -6
- package/dist/calcite/p-4a7c82fa.system.entry.js +0 -6
- package/dist/calcite/p-4d0581c7.system.entry.js +0 -6
- package/dist/calcite/p-4d23859c.entry.js +0 -6
- package/dist/calcite/p-530e2e09.entry.js +0 -6
- package/dist/calcite/p-5574819f.entry.js +0 -6
- package/dist/calcite/p-5e64560b.system.entry.js +0 -6
- package/dist/calcite/p-5e827954.system.entry.js +0 -6
- package/dist/calcite/p-6036d3be.entry.js +0 -6
- package/dist/calcite/p-60b9ce9d.entry.js +0 -6
- package/dist/calcite/p-612a9ce4.entry.js +0 -6
- package/dist/calcite/p-62a71d1c.entry.js +0 -6
- package/dist/calcite/p-64c25d69.system.entry.js +0 -6
- package/dist/calcite/p-6b4f2222.entry.js +0 -6
- package/dist/calcite/p-71b75c5c.entry.js +0 -6
- package/dist/calcite/p-79cf0dfb.system.entry.js +0 -6
- package/dist/calcite/p-7b666121.entry.js +0 -6
- package/dist/calcite/p-7d8724d2.entry.js +0 -6
- package/dist/calcite/p-7ee36106.entry.js +0 -6
- package/dist/calcite/p-7f065745.system.entry.js +0 -6
- package/dist/calcite/p-7fdc1018.js +0 -6
- package/dist/calcite/p-80111cee.system.entry.js +0 -6
- package/dist/calcite/p-86549598.system.entry.js +0 -6
- package/dist/calcite/p-88c3018d.system.entry.js +0 -6
- package/dist/calcite/p-8bc2165c.js +0 -6
- package/dist/calcite/p-8e5c70dd.system.entry.js +0 -6
- package/dist/calcite/p-9028a34c.system.entry.js +0 -6
- package/dist/calcite/p-908a4296.system.entry.js +0 -6
- package/dist/calcite/p-9090481c.entry.js +0 -6
- package/dist/calcite/p-90ce2019.entry.js +0 -6
- package/dist/calcite/p-999ee0c9.entry.js +0 -6
- package/dist/calcite/p-9b6f530b.system.entry.js +0 -6
- package/dist/calcite/p-a0c2ee47.entry.js +0 -6
- package/dist/calcite/p-a500313b.system.entry.js +0 -6
- package/dist/calcite/p-a51a91ac.entry.js +0 -6
- package/dist/calcite/p-a5300168.system.entry.js +0 -6
- package/dist/calcite/p-a608bf11.system.entry.js +0 -6
- package/dist/calcite/p-a65fc836.entry.js +0 -6
- package/dist/calcite/p-a75b930d.system.entry.js +0 -6
- package/dist/calcite/p-a9a7c01e.system.entry.js +0 -6
- package/dist/calcite/p-aa187882.system.entry.js +0 -6
- package/dist/calcite/p-ac51c9e7.entry.js +0 -6
- package/dist/calcite/p-acdf2913.system.entry.js +0 -6
- package/dist/calcite/p-af65ef38.system.entry.js +0 -6
- package/dist/calcite/p-bb0c30b9.entry.js +0 -6
- package/dist/calcite/p-bbb23458.entry.js +0 -6
- package/dist/calcite/p-c4c40ef4.system.entry.js +0 -6
- package/dist/calcite/p-c62b5a52.entry.js +0 -6
- package/dist/calcite/p-c6541f7b.system.entry.js +0 -6
- package/dist/calcite/p-c9d5f9f2.system.entry.js +0 -6
- package/dist/calcite/p-cc3377d6.entry.js +0 -6
- package/dist/calcite/p-cf295ecd.system.entry.js +0 -6
- package/dist/calcite/p-d1b5604c.system.entry.js +0 -6
- package/dist/calcite/p-d1fdb055.entry.js +0 -6
- package/dist/calcite/p-d32b1978.entry.js +0 -6
- package/dist/calcite/p-d35d0c1e.entry.js +0 -6
- package/dist/calcite/p-d368e9f4.entry.js +0 -6
- package/dist/calcite/p-dc8322e2.system.entry.js +0 -6
- package/dist/calcite/p-dd748fa3.system.entry.js +0 -6
- package/dist/calcite/p-df2b5d7b.system.entry.js +0 -6
- package/dist/calcite/p-e4c491ee.system.js +0 -6
- package/dist/calcite/p-e5d09c13.system.entry.js +0 -6
- package/dist/calcite/p-eb6a9bc3.entry.js +0 -6
- package/dist/calcite/p-ec9b83a4.entry.js +0 -6
- package/dist/calcite/p-f0035ea2.system.js +0 -6
- package/dist/calcite/p-f7caf374.entry.js +0 -6
- package/dist/calcite/p-f90993c0.system.entry.js +0 -6
- package/dist/calcite/p-f919e1cc.system.entry.js +0 -6
- package/dist/calcite/p-f932b94d.entry.js +0 -6
- package/dist/calcite/p-f9e2e124.js +0 -6
- package/dist/calcite/p-fbd55f14.entry.js +0 -6
- package/dist/calcite/p-fc403671.entry.js +0 -6
- package/dist/calcite/p-fd5e3207.js +0 -7
- package/dist/esm-es5/Heading-1227633c.js +0 -6
- package/dist/esm-es5/dom-e671177c.js +0 -6
- package/dist/esm-es5/floating-ui-93554377.js +0 -6
- package/dist/esm-es5/index-30e59418.js +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate, h } from './index-
|
|
7
|
-
import { a as getElementDir } from './dom-
|
|
8
|
-
import { S as SLOTS } from './resources-
|
|
9
|
-
import { S as SLOTS$1 } from './resources-
|
|
6
|
+
import { f as forceUpdate, h } from './index-06221bfb.js';
|
|
7
|
+
import { a as getElementDir } from './dom-42491565.js';
|
|
8
|
+
import { S as SLOTS } from './resources-4fe95540.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-ea033965.js';
|
|
10
10
|
|
|
11
11
|
const overflowActionsDebounceInMs = 150;
|
|
12
12
|
const groupBufferPx = 2;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { h } from './index-
|
|
6
|
+
import { h } from './index-06221bfb.js';
|
|
7
7
|
|
|
8
8
|
function constrainHeadingLevel(level) {
|
|
9
9
|
return Math.min(Math.max(Math.ceil(level), 1), 6);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
|
+
*/
|
|
6
|
+
import { d as darkTheme, a as autoTheme } from './resources-8fc2f7f1.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Emits when the theme is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
10
|
+
*/
|
|
11
|
+
function initThemeChangeEvent() {
|
|
12
|
+
const { classList } = document.body;
|
|
13
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
14
|
+
const getTheme = () => classList.contains(darkTheme) || (classList.contains(autoTheme) && prefersDark) ? "dark" : "light";
|
|
15
|
+
const emitThemeChange = (theme) => document.body.dispatchEvent(new CustomEvent("calciteThemeChange", { bubbles: true, detail: { theme } }));
|
|
16
|
+
const themeChangeHandler = (newTheme) => {
|
|
17
|
+
currentTheme !== newTheme && emitThemeChange(newTheme);
|
|
18
|
+
currentTheme = newTheme;
|
|
19
|
+
};
|
|
20
|
+
let currentTheme = getTheme();
|
|
21
|
+
// emits event on page load
|
|
22
|
+
emitThemeChange(currentTheme);
|
|
23
|
+
// emits event when changing OS theme preferences
|
|
24
|
+
window
|
|
25
|
+
.matchMedia("(prefers-color-scheme: dark)")
|
|
26
|
+
.addEventListener("change", (event) => themeChangeHandler(event.matches ? "dark" : "light"));
|
|
27
|
+
// emits event when toggling between theme classes on <body>
|
|
28
|
+
new MutationObserver(() => themeChangeHandler(getTheme())).observe(document.body, {
|
|
29
|
+
attributes: true,
|
|
30
|
+
attributeFilter: ["class"]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
36
|
+
*
|
|
37
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
38
|
+
*/
|
|
39
|
+
function appGlobalScript () {
|
|
40
|
+
if (isBrowser()) {
|
|
41
|
+
initThemeChangeEvent();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
45
|
+
|
|
46
|
+
const globalScripts = appGlobalScript;
|
|
47
|
+
|
|
48
|
+
export { globalScripts as g };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
6
|
function getRoundRobinIndex(index, total) {
|
|
7
7
|
return (index + total) % total;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { d as getElementProp, g as getSlotted, a as getElementDir,
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-06221bfb.js';
|
|
7
|
+
import { d as getElementProp, g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-42491565.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
9
|
+
import { C as CSS_UTILITY } from './resources-8fc2f7f1.js';
|
|
10
|
+
import './guid-73322791.js';
|
|
11
|
+
import './observers-9d4ab86b.js';
|
|
11
12
|
|
|
12
13
|
const accordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
|
|
13
14
|
|
|
@@ -71,7 +72,7 @@ const Accordion = class {
|
|
|
71
72
|
const item = event.detail.item;
|
|
72
73
|
const parent = event.detail.parent;
|
|
73
74
|
if (this.el === parent) {
|
|
74
|
-
const key = item
|
|
75
|
+
const { key } = item;
|
|
75
76
|
const itemToFocus = event.target;
|
|
76
77
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
77
78
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './ExpandToggle-
|
|
8
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
11
|
-
import { d as debounce } from './debounce-
|
|
12
|
-
import './resources-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './ExpandToggle-f12a7145.js';
|
|
8
|
+
import { f as focusElement, g as getSlotted } from './dom-42491565.js';
|
|
9
|
+
import { c as createObserver } from './observers-9d4ab86b.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
11
|
+
import { d as debounce } from './debounce-841521b1.js';
|
|
12
|
+
import './resources-4fe95540.js';
|
|
13
|
+
import './resources-ea033965.js';
|
|
14
|
+
import './resources-8fc2f7f1.js';
|
|
15
|
+
import './guid-73322791.js';
|
|
15
16
|
|
|
16
17
|
const CSS = {
|
|
17
18
|
actionGroupBottom: "action-group--bottom"
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-
|
|
8
|
-
import { g as getSlotted } from './dom-
|
|
9
|
-
import { S as SLOTS$1 } from './resources-
|
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
6
|
+
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-ea033965.js';
|
|
8
|
+
import { g as getSlotted } from './dom-42491565.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-4fe95540.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
11
|
+
import './resources-8fc2f7f1.js';
|
|
12
|
+
import './guid-73322791.js';
|
|
13
|
+
import './observers-9d4ab86b.js';
|
|
13
14
|
|
|
14
15
|
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--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){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
|
|
15
16
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { C as CSS, I as ICONS, S as SLOTS } from './resources-
|
|
8
|
-
import {
|
|
9
|
-
import { g as getRoundRobinIndex } from './array-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { C as CSS, I as ICONS, S as SLOTS } from './resources-4fe95540.js';
|
|
8
|
+
import { t as toAriaBoolean, f as focusElement } from './dom-42491565.js';
|
|
9
|
+
import { g as getRoundRobinIndex } from './array-8f37a85a.js';
|
|
10
|
+
import { g as guid } from './guid-73322791.js';
|
|
11
|
+
import { i as isActivationKey } from './key-22a0f143.js';
|
|
12
|
+
import './resources-8fc2f7f1.js';
|
|
13
13
|
|
|
14
|
-
const actionMenuCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
|
|
14
|
+
const actionMenuCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
|
|
15
15
|
|
|
16
16
|
const SUPPORTED_BUTTON_NAV_KEYS = ["ArrowUp", "ArrowDown"];
|
|
17
17
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
@@ -32,7 +32,12 @@ const ActionMenu = class {
|
|
|
32
32
|
* When true, the component is open.
|
|
33
33
|
*/
|
|
34
34
|
this.open = false;
|
|
35
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
37
|
+
*
|
|
38
|
+
* Using the "absolute" value will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. The "fixed" value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is "fixed".
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
36
41
|
this.overlayPositioning = "absolute";
|
|
37
42
|
/**
|
|
38
43
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -41,7 +46,6 @@ const ActionMenu = class {
|
|
|
41
46
|
*/
|
|
42
47
|
this.placement = "auto";
|
|
43
48
|
this.actionElements = [];
|
|
44
|
-
this.mutationObserver = createObserver("mutation", () => this.getActions());
|
|
45
49
|
this.guid = `calcite-action-menu-${guid()}`;
|
|
46
50
|
this.menuId = `${this.guid}-menu`;
|
|
47
51
|
this.menuButtonId = `${this.guid}-menu-button`;
|
|
@@ -52,8 +56,8 @@ const ActionMenu = class {
|
|
|
52
56
|
//
|
|
53
57
|
// --------------------------------------------------------------------------
|
|
54
58
|
this.connectMenuButtonEl = () => {
|
|
55
|
-
const {
|
|
56
|
-
const menuButtonEl =
|
|
59
|
+
const { menuButtonId, menuId, open, label } = this;
|
|
60
|
+
const menuButtonEl = this.slottedMenuButtonEl || this.defaultMenuButtonEl;
|
|
57
61
|
if (this.menuButtonEl === menuButtonEl) {
|
|
58
62
|
return;
|
|
59
63
|
}
|
|
@@ -87,6 +91,15 @@ const ActionMenu = class {
|
|
|
87
91
|
menuButtonEl.removeEventListener("pointerdown", this.menuButtonClick);
|
|
88
92
|
menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
|
|
89
93
|
};
|
|
94
|
+
this.setMenuButtonEl = (event) => {
|
|
95
|
+
const actions = event.target
|
|
96
|
+
.assignedElements({
|
|
97
|
+
flatten: true
|
|
98
|
+
})
|
|
99
|
+
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-action"));
|
|
100
|
+
this.slottedMenuButtonEl = actions[0];
|
|
101
|
+
this.connectMenuButtonEl();
|
|
102
|
+
};
|
|
90
103
|
this.setDefaultMenuButtonEl = (el) => {
|
|
91
104
|
this.defaultMenuButtonEl = el;
|
|
92
105
|
this.connectMenuButtonEl();
|
|
@@ -131,23 +144,29 @@ const ActionMenu = class {
|
|
|
131
144
|
this.updateActions = (actions) => {
|
|
132
145
|
actions === null || actions === void 0 ? void 0 : actions.forEach(this.updateAction);
|
|
133
146
|
};
|
|
134
|
-
this.
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
147
|
+
this.handleDefaultSlotChange = (event) => {
|
|
148
|
+
const actions = event.target
|
|
149
|
+
.assignedElements({
|
|
150
|
+
flatten: true
|
|
151
|
+
})
|
|
152
|
+
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-action"));
|
|
153
|
+
this.actionElements = actions;
|
|
140
154
|
};
|
|
141
155
|
this.menuButtonKeyDown = (event) => {
|
|
142
156
|
const { key } = event;
|
|
143
157
|
const { actionElements } = this;
|
|
144
|
-
if (!
|
|
158
|
+
if (!actionElements.length) {
|
|
145
159
|
return;
|
|
146
160
|
}
|
|
147
|
-
|
|
148
|
-
|
|
161
|
+
if (isActivationKey(key)) {
|
|
162
|
+
event.preventDefault();
|
|
163
|
+
this.toggleOpen();
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (!this.isValidKey(key, SUPPORTED_BUTTON_NAV_KEYS)) {
|
|
149
167
|
return;
|
|
150
168
|
}
|
|
169
|
+
event.preventDefault();
|
|
151
170
|
this.toggleOpen(true);
|
|
152
171
|
this.handleActionNavigation(key, actionElements);
|
|
153
172
|
};
|
|
@@ -158,7 +177,7 @@ const ActionMenu = class {
|
|
|
158
177
|
this.open = false;
|
|
159
178
|
return;
|
|
160
179
|
}
|
|
161
|
-
if (key
|
|
180
|
+
if (isActivationKey(key)) {
|
|
162
181
|
event.preventDefault();
|
|
163
182
|
const action = actionElements[activeMenuItemIndex];
|
|
164
183
|
action ? action.click() : this.toggleOpen(false);
|
|
@@ -177,6 +196,9 @@ const ActionMenu = class {
|
|
|
177
196
|
this.handleActionNavigation(key, actionElements);
|
|
178
197
|
};
|
|
179
198
|
this.handleActionNavigation = (key, actions) => {
|
|
199
|
+
if (!this.open) {
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
180
202
|
const currentIndex = this.activeMenuItemIndex;
|
|
181
203
|
if (key === "Home") {
|
|
182
204
|
this.activeMenuItemIndex = 0;
|
|
@@ -205,17 +227,8 @@ const ActionMenu = class {
|
|
|
205
227
|
// Lifecycle
|
|
206
228
|
//
|
|
207
229
|
// --------------------------------------------------------------------------
|
|
208
|
-
connectedCallback() {
|
|
209
|
-
var _a;
|
|
210
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
211
|
-
this.getActions();
|
|
212
|
-
connectConditionalSlotComponent(this);
|
|
213
|
-
}
|
|
214
230
|
disconnectedCallback() {
|
|
215
|
-
var _a;
|
|
216
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
217
231
|
this.disconnectMenuButtonEl();
|
|
218
|
-
disconnectConditionalSlotComponent(this);
|
|
219
232
|
}
|
|
220
233
|
expandedHandler() {
|
|
221
234
|
this.open = false;
|
|
@@ -246,18 +259,18 @@ const ActionMenu = class {
|
|
|
246
259
|
// --------------------------------------------------------------------------
|
|
247
260
|
/** Sets focus on the component. */
|
|
248
261
|
async setFocus() {
|
|
249
|
-
focusElement(this.
|
|
262
|
+
focusElement(this.menuButtonEl);
|
|
250
263
|
}
|
|
251
264
|
renderMenuButton() {
|
|
252
265
|
const { label, scale, expanded } = this;
|
|
253
|
-
const menuButtonSlot = (h("slot", { name: SLOTS.trigger }, h("calcite-action", { class: CSS.defaultTrigger, icon: ICONS.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
266
|
+
const menuButtonSlot = (h("slot", { name: SLOTS.trigger, onSlotchange: this.setMenuButtonEl }, h("calcite-action", { class: CSS.defaultTrigger, icon: ICONS.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
254
267
|
return menuButtonSlot;
|
|
255
268
|
}
|
|
256
269
|
renderMenuItems() {
|
|
257
270
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
258
271
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
259
272
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
260
|
-
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown,
|
|
273
|
+
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
261
274
|
}
|
|
262
275
|
render() {
|
|
263
276
|
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toggleChildActionText, E as ExpandToggle } from './ExpandToggle-
|
|
8
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './resources-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { t as toggleChildActionText, E as ExpandToggle } from './ExpandToggle-f12a7145.js';
|
|
8
|
+
import { f as focusElement, g as getSlotted } from './dom-42491565.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
10
|
+
import './resources-4fe95540.js';
|
|
11
|
+
import './resources-ea033965.js';
|
|
12
|
+
import './resources-8fc2f7f1.js';
|
|
13
|
+
import './guid-73322791.js';
|
|
14
|
+
import './observers-9d4ab86b.js';
|
|
14
15
|
|
|
15
16
|
const CSS = {
|
|
16
17
|
actionGroupBottom: "action-group--bottom",
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, f as forceUpdate } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import { t as toAriaBoolean } from './dom-
|
|
10
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, f as forceUpdate } from './index-06221bfb.js';
|
|
7
|
+
import { c as createObserver } from './observers-9d4ab86b.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-ff1f7f87.js';
|
|
9
|
+
import { t as toAriaBoolean } from './dom-42491565.js';
|
|
10
|
+
import './resources-8fc2f7f1.js';
|
|
11
|
+
import './guid-73322791.js';
|
|
11
12
|
|
|
12
13
|
const CSS = {
|
|
13
14
|
button: "button",
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { s as setRequestedIcon, t as toAriaBoolean, g as getSlotted } from './dom-
|
|
8
|
-
import { S as StatusIcons } from './interfaces-
|
|
9
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
10
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { s as setRequestedIcon, t as toAriaBoolean, g as getSlotted } from './dom-42491565.js';
|
|
8
|
+
import { S as StatusIcons } from './interfaces-e7ff50ef.js';
|
|
9
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-56a35411.js';
|
|
10
|
+
import './resources-8fc2f7f1.js';
|
|
11
|
+
import './guid-73322791.js';
|
|
11
12
|
|
|
12
13
|
const TEXT = {
|
|
13
14
|
intlClose: "Close"
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { h as hexToRGB, i as isValidHex } from './utils-
|
|
8
|
-
import { b as getThemeName } from './dom-
|
|
9
|
-
import './
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { h as hexToRGB, i as isValidHex } from './utils-c26a2cd8.js';
|
|
8
|
+
import { b as getThemeName } from './dom-42491565.js';
|
|
9
|
+
import './resources-8fc2f7f1.js';
|
|
10
|
+
import './guid-73322791.js';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Convert a string to a valid hex by hashing its contents
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, t as toAriaBoolean, a as getElementDir } from './dom-
|
|
8
|
-
import { H as Heading } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { g as getSlotted, t as toAriaBoolean, a as getElementDir } from './dom-42491565.js';
|
|
8
|
+
import { H as Heading } from './Heading-ca8012f3.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ff1f7f87.js';
|
|
11
|
+
import { g as guid } from './guid-73322791.js';
|
|
12
|
+
import { i as isActivationKey } from './key-22a0f143.js';
|
|
13
|
+
import './resources-8fc2f7f1.js';
|
|
14
|
+
import './observers-9d4ab86b.js';
|
|
13
15
|
|
|
14
16
|
const CSS$1 = {
|
|
15
17
|
article: "article",
|
|
@@ -237,7 +239,7 @@ const BlockSection = class {
|
|
|
237
239
|
//
|
|
238
240
|
// --------------------------------------------------------------------------
|
|
239
241
|
this.handleHeaderKeyDown = (event) => {
|
|
240
|
-
if (event.key
|
|
242
|
+
if (isActivationKey(event.key)) {
|
|
241
243
|
this.toggleSection();
|
|
242
244
|
event.preventDefault();
|
|
243
245
|
event.stopPropagation();
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { s as submitForm, r as resetForm } from './form-
|
|
12
|
-
import './
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { c as closestElementCrossShadowBoundary } from './dom-42491565.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-1b193aff.js';
|
|
9
|
+
import { c as createObserver } from './observers-9d4ab86b.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ff1f7f87.js';
|
|
11
|
+
import { s as submitForm, r as resetForm } from './form-ad1965a4.js';
|
|
12
|
+
import './resources-8fc2f7f1.js';
|
|
13
|
+
import './guid-73322791.js';
|
|
13
14
|
|
|
14
15
|
(function(prototype) {
|
|
15
16
|
if (typeof prototype.requestSubmit == "function") return
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, g as getSlotted } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { t as toAriaBoolean, g as getSlotted } from './dom-42491565.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
9
|
+
import './resources-8fc2f7f1.js';
|
|
10
|
+
import './guid-73322791.js';
|
|
11
|
+
import './observers-9d4ab86b.js';
|
|
11
12
|
|
|
12
13
|
const CSS = {
|
|
13
14
|
container: "container",
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { t as toAriaBoolean } from './dom-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { g as guid } from './guid-73322791.js';
|
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-ad1965a4.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-1b193aff.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ff1f7f87.js';
|
|
11
|
+
import { t as toAriaBoolean } from './dom-42491565.js';
|
|
12
|
+
import { i as isActivationKey } from './key-22a0f143.js';
|
|
13
|
+
import './resources-8fc2f7f1.js';
|
|
12
14
|
|
|
13
15
|
const checkboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
14
16
|
|
|
@@ -69,7 +71,7 @@ const Checkbox = class {
|
|
|
69
71
|
}
|
|
70
72
|
};
|
|
71
73
|
this.keyDownHandler = (event) => {
|
|
72
|
-
if (event.key
|
|
74
|
+
if (isActivationKey(event.key)) {
|
|
73
75
|
this.toggle();
|
|
74
76
|
event.preventDefault();
|
|
75
77
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.557
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { g as guid } from './guid-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-06221bfb.js';
|
|
7
|
+
import { g as getSlotted } from './dom-42491565.js';
|
|
8
|
+
import { g as guid } from './guid-73322791.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-a4c96c8d.js';
|
|
10
|
+
import './resources-8fc2f7f1.js';
|
|
11
|
+
import './observers-9d4ab86b.js';
|
|
11
12
|
|
|
12
13
|
const CSS = {
|
|
13
14
|
title: "title",
|