@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
package/hydrate/index.js
CHANGED
|
@@ -1,14 +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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
|
-
Stencil Mock Doc v2.
|
|
11
|
+
Stencil Mock Doc v2.17.3 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const CONTENT_REF_ID = 'r';
|
|
14
14
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -695,6 +695,25 @@ class MockMouseEvent extends MockEvent {
|
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
+
class MockUIEvent extends MockEvent {
|
|
699
|
+
constructor(type, uiEventInitDic) {
|
|
700
|
+
super(type);
|
|
701
|
+
this.detail = null;
|
|
702
|
+
this.view = null;
|
|
703
|
+
if (uiEventInitDic != null) {
|
|
704
|
+
Object.assign(this, uiEventInitDic);
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
class MockFocusEvent extends MockUIEvent {
|
|
709
|
+
constructor(type, focusEventInitDic) {
|
|
710
|
+
super(type);
|
|
711
|
+
this.relatedTarget = null;
|
|
712
|
+
if (focusEventInitDic != null) {
|
|
713
|
+
Object.assign(this, focusEventInitDic);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
698
717
|
class MockEventListener {
|
|
699
718
|
constructor(type, handler) {
|
|
700
719
|
this.type = type;
|
|
@@ -1607,6 +1626,9 @@ class MockElement extends MockNode {
|
|
|
1607
1626
|
this.shadowRoot = shadowRoot;
|
|
1608
1627
|
return shadowRoot;
|
|
1609
1628
|
}
|
|
1629
|
+
blur() {
|
|
1630
|
+
dispatchEvent(this, new MockFocusEvent('blur', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1631
|
+
}
|
|
1610
1632
|
get shadowRoot() {
|
|
1611
1633
|
return this.__shadowRoot || null;
|
|
1612
1634
|
}
|
|
@@ -1675,6 +1697,9 @@ class MockElement extends MockNode {
|
|
|
1675
1697
|
get firstElementChild() {
|
|
1676
1698
|
return this.children[0] || null;
|
|
1677
1699
|
}
|
|
1700
|
+
focus(_options) {
|
|
1701
|
+
dispatchEvent(this, new MockFocusEvent('focus', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1702
|
+
}
|
|
1678
1703
|
getAttribute(attrName) {
|
|
1679
1704
|
if (attrName === 'style') {
|
|
1680
1705
|
if (this.__style != null && this.__style.length > 0) {
|
|
@@ -2019,6 +2044,9 @@ class MockElement extends MockNode {
|
|
|
2019
2044
|
set title(value) {
|
|
2020
2045
|
this.setAttributeNS(null, 'title', value);
|
|
2021
2046
|
}
|
|
2047
|
+
animate() {
|
|
2048
|
+
/**/
|
|
2049
|
+
}
|
|
2022
2050
|
onanimationstart() {
|
|
2023
2051
|
/**/
|
|
2024
2052
|
}
|
|
@@ -2283,6 +2311,18 @@ class MockElement extends MockNode {
|
|
|
2283
2311
|
onwheel() {
|
|
2284
2312
|
/**/
|
|
2285
2313
|
}
|
|
2314
|
+
requestFullscreen() {
|
|
2315
|
+
/**/
|
|
2316
|
+
}
|
|
2317
|
+
scrollBy() {
|
|
2318
|
+
/**/
|
|
2319
|
+
}
|
|
2320
|
+
scrollTo() {
|
|
2321
|
+
/**/
|
|
2322
|
+
}
|
|
2323
|
+
scrollIntoView() {
|
|
2324
|
+
/**/
|
|
2325
|
+
}
|
|
2286
2326
|
toString(opts) {
|
|
2287
2327
|
return serializeNodeToHtml(this, opts);
|
|
2288
2328
|
}
|
|
@@ -2578,7 +2618,28 @@ function createElementNS(ownerDocument, namespaceURI, tagName) {
|
|
|
2578
2618
|
return createElement(ownerDocument, tagName);
|
|
2579
2619
|
}
|
|
2580
2620
|
else if (namespaceURI === 'http://www.w3.org/2000/svg') {
|
|
2581
|
-
|
|
2621
|
+
switch (tagName.toLowerCase()) {
|
|
2622
|
+
case 'text':
|
|
2623
|
+
case 'tspan':
|
|
2624
|
+
case 'tref':
|
|
2625
|
+
case 'altglyph':
|
|
2626
|
+
case 'textpath':
|
|
2627
|
+
return new MockSVGTextContentElement(ownerDocument, tagName);
|
|
2628
|
+
case 'circle':
|
|
2629
|
+
case 'ellipse':
|
|
2630
|
+
case 'image':
|
|
2631
|
+
case 'line':
|
|
2632
|
+
case 'path':
|
|
2633
|
+
case 'polygon':
|
|
2634
|
+
case 'polyline':
|
|
2635
|
+
case 'rect':
|
|
2636
|
+
case 'use':
|
|
2637
|
+
return new MockSVGGraphicsElement(ownerDocument, tagName);
|
|
2638
|
+
case 'svg':
|
|
2639
|
+
return new MockSVGSVGElement(ownerDocument, tagName);
|
|
2640
|
+
default:
|
|
2641
|
+
return new MockSVGElement(ownerDocument, tagName);
|
|
2642
|
+
}
|
|
2582
2643
|
}
|
|
2583
2644
|
else {
|
|
2584
2645
|
return new MockElement(ownerDocument, tagName);
|
|
@@ -2725,6 +2786,98 @@ class MockScriptElement extends MockHTMLElement {
|
|
|
2725
2786
|
patchPropAttributes(MockScriptElement.prototype, {
|
|
2726
2787
|
type: String,
|
|
2727
2788
|
});
|
|
2789
|
+
class MockDOMMatrix {
|
|
2790
|
+
constructor() {
|
|
2791
|
+
this.a = 1;
|
|
2792
|
+
this.b = 0;
|
|
2793
|
+
this.c = 0;
|
|
2794
|
+
this.d = 1;
|
|
2795
|
+
this.e = 0;
|
|
2796
|
+
this.f = 0;
|
|
2797
|
+
this.m11 = 1;
|
|
2798
|
+
this.m12 = 0;
|
|
2799
|
+
this.m13 = 0;
|
|
2800
|
+
this.m14 = 0;
|
|
2801
|
+
this.m21 = 0;
|
|
2802
|
+
this.m22 = 1;
|
|
2803
|
+
this.m23 = 0;
|
|
2804
|
+
this.m24 = 0;
|
|
2805
|
+
this.m31 = 0;
|
|
2806
|
+
this.m32 = 0;
|
|
2807
|
+
this.m33 = 1;
|
|
2808
|
+
this.m34 = 0;
|
|
2809
|
+
this.m41 = 0;
|
|
2810
|
+
this.m42 = 0;
|
|
2811
|
+
this.m43 = 0;
|
|
2812
|
+
this.m44 = 1;
|
|
2813
|
+
this.is2D = true;
|
|
2814
|
+
this.isIdentity = true;
|
|
2815
|
+
}
|
|
2816
|
+
static fromMatrix() {
|
|
2817
|
+
return new MockDOMMatrix();
|
|
2818
|
+
}
|
|
2819
|
+
inverse() {
|
|
2820
|
+
return new MockDOMMatrix();
|
|
2821
|
+
}
|
|
2822
|
+
flipX() {
|
|
2823
|
+
return new MockDOMMatrix();
|
|
2824
|
+
}
|
|
2825
|
+
flipY() {
|
|
2826
|
+
return new MockDOMMatrix();
|
|
2827
|
+
}
|
|
2828
|
+
multiply() {
|
|
2829
|
+
return new MockDOMMatrix();
|
|
2830
|
+
}
|
|
2831
|
+
rotate() {
|
|
2832
|
+
return new MockDOMMatrix();
|
|
2833
|
+
}
|
|
2834
|
+
rotateAxisAngle() {
|
|
2835
|
+
return new MockDOMMatrix();
|
|
2836
|
+
}
|
|
2837
|
+
rotateFromVector() {
|
|
2838
|
+
return new MockDOMMatrix();
|
|
2839
|
+
}
|
|
2840
|
+
scale() {
|
|
2841
|
+
return new MockDOMMatrix();
|
|
2842
|
+
}
|
|
2843
|
+
scaleNonUniform() {
|
|
2844
|
+
return new MockDOMMatrix();
|
|
2845
|
+
}
|
|
2846
|
+
skewX() {
|
|
2847
|
+
return new MockDOMMatrix();
|
|
2848
|
+
}
|
|
2849
|
+
skewY() {
|
|
2850
|
+
return new MockDOMMatrix();
|
|
2851
|
+
}
|
|
2852
|
+
toJSON() { }
|
|
2853
|
+
toString() { }
|
|
2854
|
+
transformPoint() {
|
|
2855
|
+
return new MockDOMPoint();
|
|
2856
|
+
}
|
|
2857
|
+
translate() {
|
|
2858
|
+
return new MockDOMMatrix();
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
class MockDOMPoint {
|
|
2862
|
+
constructor() {
|
|
2863
|
+
this.w = 1;
|
|
2864
|
+
this.x = 0;
|
|
2865
|
+
this.y = 0;
|
|
2866
|
+
this.z = 0;
|
|
2867
|
+
}
|
|
2868
|
+
toJSON() { }
|
|
2869
|
+
matrixTransform() {
|
|
2870
|
+
return new MockDOMMatrix();
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
class MockSVGRect {
|
|
2874
|
+
constructor() {
|
|
2875
|
+
this.height = 10;
|
|
2876
|
+
this.width = 10;
|
|
2877
|
+
this.x = 0;
|
|
2878
|
+
this.y = 0;
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2728
2881
|
class MockStyleElement extends MockHTMLElement {
|
|
2729
2882
|
constructor(ownerDocument) {
|
|
2730
2883
|
super(ownerDocument, 'style');
|
|
@@ -2757,9 +2910,6 @@ class MockSVGElement extends MockElement {
|
|
|
2757
2910
|
get viewportElement() {
|
|
2758
2911
|
return null;
|
|
2759
2912
|
}
|
|
2760
|
-
focus() {
|
|
2761
|
-
/**/
|
|
2762
|
-
}
|
|
2763
2913
|
onunload() {
|
|
2764
2914
|
/**/
|
|
2765
2915
|
}
|
|
@@ -2777,6 +2927,27 @@ class MockSVGElement extends MockElement {
|
|
|
2777
2927
|
return 0;
|
|
2778
2928
|
}
|
|
2779
2929
|
}
|
|
2930
|
+
class MockSVGGraphicsElement extends MockSVGElement {
|
|
2931
|
+
getBBox(_options) {
|
|
2932
|
+
return new MockSVGRect();
|
|
2933
|
+
}
|
|
2934
|
+
getCTM() {
|
|
2935
|
+
return new MockDOMMatrix();
|
|
2936
|
+
}
|
|
2937
|
+
getScreenCTM() {
|
|
2938
|
+
return new MockDOMMatrix();
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
class MockSVGSVGElement extends MockSVGGraphicsElement {
|
|
2942
|
+
createSVGPoint() {
|
|
2943
|
+
return new MockDOMPoint();
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
class MockSVGTextContentElement extends MockSVGGraphicsElement {
|
|
2947
|
+
getComputedTextLength() {
|
|
2948
|
+
return 0;
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2780
2951
|
class MockBaseElement extends MockHTMLElement {
|
|
2781
2952
|
constructor(ownerDocument) {
|
|
2782
2953
|
super(ownerDocument, 'base');
|
|
@@ -3302,6 +3473,7 @@ const WINDOW_PROPS = [
|
|
|
3302
3473
|
'HTMLElement',
|
|
3303
3474
|
'Node',
|
|
3304
3475
|
'NodeList',
|
|
3476
|
+
'FocusEvent',
|
|
3305
3477
|
'KeyboardEvent',
|
|
3306
3478
|
'MouseEvent',
|
|
3307
3479
|
];
|
|
@@ -3309,6 +3481,7 @@ const GLOBAL_CONSTRUCTORS = [
|
|
|
3309
3481
|
['CustomEvent', MockCustomEvent],
|
|
3310
3482
|
['Event', MockEvent],
|
|
3311
3483
|
['Headers', MockHeaders],
|
|
3484
|
+
['FocusEvent', MockFocusEvent],
|
|
3312
3485
|
['KeyboardEvent', MockKeyboardEvent],
|
|
3313
3486
|
['MouseEvent', MockMouseEvent],
|
|
3314
3487
|
['Request', MockRequest],
|
|
@@ -4751,6 +4924,59 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4751
4924
|
const NAMESPACE = 'calcite';
|
|
4752
4925
|
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4753
4926
|
|
|
4927
|
+
const autoTheme = "calcite-theme-auto";
|
|
4928
|
+
const darkTheme = "calcite-theme-dark";
|
|
4929
|
+
const lightTheme = "calcite-theme-light";
|
|
4930
|
+
const CSS_UTILITY = {
|
|
4931
|
+
autoTheme,
|
|
4932
|
+
darkTheme,
|
|
4933
|
+
lightTheme,
|
|
4934
|
+
rtl: "calcite--rtl"
|
|
4935
|
+
};
|
|
4936
|
+
const TEXT$u = {
|
|
4937
|
+
loading: "Loading"
|
|
4938
|
+
};
|
|
4939
|
+
|
|
4940
|
+
/**
|
|
4941
|
+
* Emits when the theme is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
4942
|
+
*/
|
|
4943
|
+
function initThemeChangeEvent() {
|
|
4944
|
+
const { classList } = document.body;
|
|
4945
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
4946
|
+
const getTheme = () => classList.contains(darkTheme) || (classList.contains(autoTheme) && prefersDark) ? "dark" : "light";
|
|
4947
|
+
const emitThemeChange = (theme) => document.body.dispatchEvent(new CustomEvent("calciteThemeChange", { bubbles: true, detail: { theme } }));
|
|
4948
|
+
const themeChangeHandler = (newTheme) => {
|
|
4949
|
+
currentTheme !== newTheme && emitThemeChange(newTheme);
|
|
4950
|
+
currentTheme = newTheme;
|
|
4951
|
+
};
|
|
4952
|
+
let currentTheme = getTheme();
|
|
4953
|
+
// emits event on page load
|
|
4954
|
+
emitThemeChange(currentTheme);
|
|
4955
|
+
// emits event when changing OS theme preferences
|
|
4956
|
+
window
|
|
4957
|
+
.matchMedia("(prefers-color-scheme: dark)")
|
|
4958
|
+
.addEventListener("change", (event) => themeChangeHandler(event.matches ? "dark" : "light"));
|
|
4959
|
+
// emits event when toggling between theme classes on <body>
|
|
4960
|
+
new MutationObserver(() => themeChangeHandler(getTheme())).observe(document.body, {
|
|
4961
|
+
attributes: true,
|
|
4962
|
+
attributeFilter: ["class"]
|
|
4963
|
+
});
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4966
|
+
/**
|
|
4967
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
4968
|
+
*
|
|
4969
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
4970
|
+
*/
|
|
4971
|
+
function appGlobalScript () {
|
|
4972
|
+
if (isBrowser()) {
|
|
4973
|
+
initThemeChangeEvent();
|
|
4974
|
+
}
|
|
4975
|
+
}
|
|
4976
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
4977
|
+
|
|
4978
|
+
const globalScripts = appGlobalScript;
|
|
4979
|
+
|
|
4754
4980
|
function componentOnReady() {
|
|
4755
4981
|
return getHostRef(this).$onReadyPromise$;
|
|
4756
4982
|
}
|
|
@@ -4859,7 +5085,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
4859
5085
|
return Array.from(t).map(waitingOnElementMsg);
|
|
4860
5086
|
}(d)}`);
|
|
4861
5087
|
}), t.timeout), plt.$resourcesUrl$ = new URL(t.resourcesUrl || "./", doc.baseURI).href,
|
|
4862
|
-
function e(t) {
|
|
5088
|
+
globalScripts(), function e(t) {
|
|
4863
5089
|
if (null != t && 1 === t.nodeType) {
|
|
4864
5090
|
f(t);
|
|
4865
5091
|
const o = t.children;
|
|
@@ -5628,7 +5854,7 @@ class Accordion {
|
|
|
5628
5854
|
const item = event.detail.item;
|
|
5629
5855
|
const parent = event.detail.parent;
|
|
5630
5856
|
if (this.el === parent) {
|
|
5631
|
-
const key = item
|
|
5857
|
+
const { key } = item;
|
|
5632
5858
|
const itemToFocus = event.target;
|
|
5633
5859
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
5634
5860
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
@@ -5725,19 +5951,6 @@ class Accordion {
|
|
|
5725
5951
|
}; }
|
|
5726
5952
|
}
|
|
5727
5953
|
|
|
5728
|
-
const autoTheme = "calcite-theme-auto";
|
|
5729
|
-
const darkTheme = "calcite-theme-dark";
|
|
5730
|
-
const lightTheme = "calcite-theme-light";
|
|
5731
|
-
const CSS_UTILITY = {
|
|
5732
|
-
autoTheme,
|
|
5733
|
-
darkTheme,
|
|
5734
|
-
lightTheme,
|
|
5735
|
-
rtl: "calcite--rtl"
|
|
5736
|
-
};
|
|
5737
|
-
const TEXT$u = {
|
|
5738
|
-
loading: "Loading"
|
|
5739
|
-
};
|
|
5740
|
-
|
|
5741
5954
|
function gen(counts) {
|
|
5742
5955
|
return counts
|
|
5743
5956
|
.map((count) => {
|
|
@@ -8047,7 +8260,12 @@ function getRoundRobinIndex(index, total) {
|
|
|
8047
8260
|
return (index + total) % total;
|
|
8048
8261
|
}
|
|
8049
8262
|
|
|
8050
|
-
|
|
8263
|
+
function isActivationKey(key) {
|
|
8264
|
+
return key === "Enter" || key === " ";
|
|
8265
|
+
}
|
|
8266
|
+
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
8267
|
+
|
|
8268
|
+
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*/.sc-calcite-action-menu: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*/.calcite-animate.sc-calcite-action-menu{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*/.calcite-animate__in.sc-calcite-action-menu{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-menu{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-menu{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-menu{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-action-menu:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-menu-h{display:none !important}/*!@:host*/.sc-calcite-action-menu-h{-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)*/.menu .sc-calcite-action-menu-s>calcite-action{margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}/*!@.menu ::slotted(calcite-action[active])*/.menu .sc-calcite-action-menu-s>calcite-action[active]{outline:2px solid var(--calcite-ui-brand);outline-offset:0px}/*!@.default-trigger*/.default-trigger.sc-calcite-action-menu{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), \ncalcite-action::slotted([slot=trigger])*/slot[name=trigger].sc-calcite-action-menu-s>calcite-action,calcite-action.sc-calcite-action-menu-s>[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*/.menu.sc-calcite-action-menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
|
|
8051
8269
|
|
|
8052
8270
|
const SUPPORTED_BUTTON_NAV_KEYS = ["ArrowUp", "ArrowDown"];
|
|
8053
8271
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
@@ -8073,7 +8291,12 @@ class ActionMenu {
|
|
|
8073
8291
|
* When true, the component is open.
|
|
8074
8292
|
*/
|
|
8075
8293
|
this.open = false;
|
|
8076
|
-
/**
|
|
8294
|
+
/**
|
|
8295
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
8296
|
+
*
|
|
8297
|
+
* 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".
|
|
8298
|
+
*
|
|
8299
|
+
*/
|
|
8077
8300
|
this.overlayPositioning = "absolute";
|
|
8078
8301
|
/**
|
|
8079
8302
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -8082,7 +8305,6 @@ class ActionMenu {
|
|
|
8082
8305
|
*/
|
|
8083
8306
|
this.placement = "auto";
|
|
8084
8307
|
this.actionElements = [];
|
|
8085
|
-
this.mutationObserver = createObserver();
|
|
8086
8308
|
this.guid = `calcite-action-menu-${guid()}`;
|
|
8087
8309
|
this.menuId = `${this.guid}-menu`;
|
|
8088
8310
|
this.menuButtonId = `${this.guid}-menu-button`;
|
|
@@ -8093,8 +8315,8 @@ class ActionMenu {
|
|
|
8093
8315
|
//
|
|
8094
8316
|
// --------------------------------------------------------------------------
|
|
8095
8317
|
this.connectMenuButtonEl = () => {
|
|
8096
|
-
const {
|
|
8097
|
-
const menuButtonEl =
|
|
8318
|
+
const { menuButtonId, menuId, open, label } = this;
|
|
8319
|
+
const menuButtonEl = this.slottedMenuButtonEl || this.defaultMenuButtonEl;
|
|
8098
8320
|
if (this.menuButtonEl === menuButtonEl) {
|
|
8099
8321
|
return;
|
|
8100
8322
|
}
|
|
@@ -8128,6 +8350,15 @@ class ActionMenu {
|
|
|
8128
8350
|
menuButtonEl.removeEventListener("pointerdown", this.menuButtonClick);
|
|
8129
8351
|
menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
|
|
8130
8352
|
};
|
|
8353
|
+
this.setMenuButtonEl = (event) => {
|
|
8354
|
+
const actions = event.target
|
|
8355
|
+
.assignedElements({
|
|
8356
|
+
flatten: true
|
|
8357
|
+
})
|
|
8358
|
+
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-action"));
|
|
8359
|
+
this.slottedMenuButtonEl = actions[0];
|
|
8360
|
+
this.connectMenuButtonEl();
|
|
8361
|
+
};
|
|
8131
8362
|
this.setDefaultMenuButtonEl = (el) => {
|
|
8132
8363
|
this.defaultMenuButtonEl = el;
|
|
8133
8364
|
this.connectMenuButtonEl();
|
|
@@ -8172,23 +8403,29 @@ class ActionMenu {
|
|
|
8172
8403
|
this.updateActions = (actions) => {
|
|
8173
8404
|
actions === null || actions === void 0 ? void 0 : actions.forEach(this.updateAction);
|
|
8174
8405
|
};
|
|
8175
|
-
this.
|
|
8176
|
-
const
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8406
|
+
this.handleDefaultSlotChange = (event) => {
|
|
8407
|
+
const actions = event.target
|
|
8408
|
+
.assignedElements({
|
|
8409
|
+
flatten: true
|
|
8410
|
+
})
|
|
8411
|
+
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-action"));
|
|
8412
|
+
this.actionElements = actions;
|
|
8181
8413
|
};
|
|
8182
8414
|
this.menuButtonKeyDown = (event) => {
|
|
8183
8415
|
const { key } = event;
|
|
8184
8416
|
const { actionElements } = this;
|
|
8185
|
-
if (!
|
|
8417
|
+
if (!actionElements.length) {
|
|
8186
8418
|
return;
|
|
8187
8419
|
}
|
|
8188
|
-
|
|
8189
|
-
|
|
8420
|
+
if (isActivationKey(key)) {
|
|
8421
|
+
event.preventDefault();
|
|
8422
|
+
this.toggleOpen();
|
|
8423
|
+
return;
|
|
8424
|
+
}
|
|
8425
|
+
if (!this.isValidKey(key, SUPPORTED_BUTTON_NAV_KEYS)) {
|
|
8190
8426
|
return;
|
|
8191
8427
|
}
|
|
8428
|
+
event.preventDefault();
|
|
8192
8429
|
this.toggleOpen(true);
|
|
8193
8430
|
this.handleActionNavigation(key, actionElements);
|
|
8194
8431
|
};
|
|
@@ -8199,7 +8436,7 @@ class ActionMenu {
|
|
|
8199
8436
|
this.open = false;
|
|
8200
8437
|
return;
|
|
8201
8438
|
}
|
|
8202
|
-
if (key
|
|
8439
|
+
if (isActivationKey(key)) {
|
|
8203
8440
|
event.preventDefault();
|
|
8204
8441
|
const action = actionElements[activeMenuItemIndex];
|
|
8205
8442
|
action ? action.click() : this.toggleOpen(false);
|
|
@@ -8218,6 +8455,9 @@ class ActionMenu {
|
|
|
8218
8455
|
this.handleActionNavigation(key, actionElements);
|
|
8219
8456
|
};
|
|
8220
8457
|
this.handleActionNavigation = (key, actions) => {
|
|
8458
|
+
if (!this.open) {
|
|
8459
|
+
return;
|
|
8460
|
+
}
|
|
8221
8461
|
const currentIndex = this.activeMenuItemIndex;
|
|
8222
8462
|
if (key === "Home") {
|
|
8223
8463
|
this.activeMenuItemIndex = 0;
|
|
@@ -8246,17 +8486,8 @@ class ActionMenu {
|
|
|
8246
8486
|
// Lifecycle
|
|
8247
8487
|
//
|
|
8248
8488
|
// --------------------------------------------------------------------------
|
|
8249
|
-
connectedCallback() {
|
|
8250
|
-
var _a;
|
|
8251
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
8252
|
-
this.getActions();
|
|
8253
|
-
connectConditionalSlotComponent(this);
|
|
8254
|
-
}
|
|
8255
8489
|
disconnectedCallback() {
|
|
8256
|
-
var _a;
|
|
8257
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
8258
8490
|
this.disconnectMenuButtonEl();
|
|
8259
|
-
disconnectConditionalSlotComponent(this);
|
|
8260
8491
|
}
|
|
8261
8492
|
expandedHandler() {
|
|
8262
8493
|
this.open = false;
|
|
@@ -8287,18 +8518,18 @@ class ActionMenu {
|
|
|
8287
8518
|
// --------------------------------------------------------------------------
|
|
8288
8519
|
/** Sets focus on the component. */
|
|
8289
8520
|
async setFocus() {
|
|
8290
|
-
focusElement(this.
|
|
8521
|
+
focusElement(this.menuButtonEl);
|
|
8291
8522
|
}
|
|
8292
8523
|
renderMenuButton() {
|
|
8293
8524
|
const { label, scale, expanded } = this;
|
|
8294
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger }, hAsync("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8525
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8295
8526
|
return menuButtonSlot;
|
|
8296
8527
|
}
|
|
8297
8528
|
renderMenuItems() {
|
|
8298
8529
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8299
8530
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8300
8531
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
8301
|
-
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown,
|
|
8532
|
+
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
8302
8533
|
}
|
|
8303
8534
|
render() {
|
|
8304
8535
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -8324,6 +8555,7 @@ class ActionMenu {
|
|
|
8324
8555
|
"overlayPositioning": [1, "overlay-positioning"],
|
|
8325
8556
|
"placement": [513],
|
|
8326
8557
|
"scale": [513],
|
|
8558
|
+
"menuButtonEl": [32],
|
|
8327
8559
|
"activeMenuItemIndex": [32],
|
|
8328
8560
|
"setFocus": [64]
|
|
8329
8561
|
},
|
|
@@ -9306,7 +9538,7 @@ class BlockSection {
|
|
|
9306
9538
|
//
|
|
9307
9539
|
// --------------------------------------------------------------------------
|
|
9308
9540
|
this.handleHeaderKeyDown = (event) => {
|
|
9309
|
-
if (event.key
|
|
9541
|
+
if (isActivationKey(event.key)) {
|
|
9310
9542
|
this.toggleSection();
|
|
9311
9543
|
event.preventDefault();
|
|
9312
9544
|
event.stopPropagation();
|
|
@@ -10123,7 +10355,7 @@ class Checkbox {
|
|
|
10123
10355
|
}
|
|
10124
10356
|
};
|
|
10125
10357
|
this.keyDownHandler = (event) => {
|
|
10126
|
-
if (event.key
|
|
10358
|
+
if (isActivationKey(event.key)) {
|
|
10127
10359
|
this.toggle();
|
|
10128
10360
|
event.preventDefault();
|
|
10129
10361
|
}
|
|
@@ -12766,7 +12998,7 @@ class ColorPicker {
|
|
|
12766
12998
|
this.updateChannelsFromColor(this.color);
|
|
12767
12999
|
};
|
|
12768
13000
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
12769
|
-
const key = event
|
|
13001
|
+
const { key } = event;
|
|
12770
13002
|
const arrowKeyToXYOffset = {
|
|
12771
13003
|
ArrowUp: { x: 0, y: -10 },
|
|
12772
13004
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -12781,7 +13013,7 @@ class ColorPicker {
|
|
|
12781
13013
|
};
|
|
12782
13014
|
this.handleHueScopeKeyDown = (event) => {
|
|
12783
13015
|
const modifier = event.shiftKey ? 10 : 1;
|
|
12784
|
-
const key = event
|
|
13016
|
+
const { key } = event;
|
|
12785
13017
|
const arrowKeyToXOffset = {
|
|
12786
13018
|
ArrowUp: 1,
|
|
12787
13019
|
ArrowRight: 1,
|
|
@@ -12847,7 +13079,7 @@ class ColorPicker {
|
|
|
12847
13079
|
this.updateColorFromChannels(channels);
|
|
12848
13080
|
};
|
|
12849
13081
|
this.handleSavedColorKeyDown = (event) => {
|
|
12850
|
-
if (event.key
|
|
13082
|
+
if (isActivationKey(event.key)) {
|
|
12851
13083
|
event.preventDefault();
|
|
12852
13084
|
event.stopPropagation();
|
|
12853
13085
|
this.handleSavedColorSelect(event);
|
|
@@ -13116,7 +13348,7 @@ class ColorPicker {
|
|
|
13116
13348
|
// using @Listen as a workaround for VDOM listener not firing
|
|
13117
13349
|
handleChannelKeyUpOrDown(event) {
|
|
13118
13350
|
this.shiftKeyChannelAdjustment = 0;
|
|
13119
|
-
const key = event
|
|
13351
|
+
const { key } = event;
|
|
13120
13352
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13121
13353
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
|
|
13122
13354
|
return;
|
|
@@ -13543,7 +13775,7 @@ class ColorPickerHexInput {
|
|
|
13543
13775
|
onInputKeyDown(event) {
|
|
13544
13776
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
13545
13777
|
const { internalColor, value } = this;
|
|
13546
|
-
const key = event
|
|
13778
|
+
const { key } = event;
|
|
13547
13779
|
if (key === "Tab" || key === "Enter") {
|
|
13548
13780
|
this.onInputChange();
|
|
13549
13781
|
return;
|
|
@@ -14790,11 +15022,59 @@ function getParentNode(node) {
|
|
|
14790
15022
|
}
|
|
14791
15023
|
|
|
14792
15024
|
function getTrueOffsetParent(element) {
|
|
14793
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
15025
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
14794
15026
|
return null;
|
|
14795
15027
|
}
|
|
14796
15028
|
|
|
14797
|
-
return element
|
|
15029
|
+
return composedOffsetParent(element);
|
|
15030
|
+
}
|
|
15031
|
+
/**
|
|
15032
|
+
* Polyfills the old offsetParent behavior from before the spec was changed:
|
|
15033
|
+
* https://github.com/w3c/csswg-drafts/issues/159
|
|
15034
|
+
*/
|
|
15035
|
+
|
|
15036
|
+
|
|
15037
|
+
function composedOffsetParent(element) {
|
|
15038
|
+
let {
|
|
15039
|
+
offsetParent
|
|
15040
|
+
} = element;
|
|
15041
|
+
let ancestor = element;
|
|
15042
|
+
let foundInsideSlot = false;
|
|
15043
|
+
|
|
15044
|
+
while (ancestor && ancestor !== offsetParent) {
|
|
15045
|
+
const {
|
|
15046
|
+
assignedSlot
|
|
15047
|
+
} = ancestor;
|
|
15048
|
+
|
|
15049
|
+
if (assignedSlot) {
|
|
15050
|
+
let newOffsetParent = assignedSlot.offsetParent;
|
|
15051
|
+
|
|
15052
|
+
if (getComputedStyle$1(assignedSlot).display === 'contents') {
|
|
15053
|
+
const hadStyleAttribute = assignedSlot.hasAttribute('style');
|
|
15054
|
+
const oldDisplay = assignedSlot.style.display;
|
|
15055
|
+
assignedSlot.style.display = getComputedStyle$1(ancestor).display;
|
|
15056
|
+
newOffsetParent = assignedSlot.offsetParent;
|
|
15057
|
+
assignedSlot.style.display = oldDisplay;
|
|
15058
|
+
|
|
15059
|
+
if (!hadStyleAttribute) {
|
|
15060
|
+
assignedSlot.removeAttribute('style');
|
|
15061
|
+
}
|
|
15062
|
+
}
|
|
15063
|
+
|
|
15064
|
+
ancestor = assignedSlot;
|
|
15065
|
+
|
|
15066
|
+
if (offsetParent !== newOffsetParent) {
|
|
15067
|
+
offsetParent = newOffsetParent;
|
|
15068
|
+
foundInsideSlot = true;
|
|
15069
|
+
}
|
|
15070
|
+
} else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {
|
|
15071
|
+
break;
|
|
15072
|
+
}
|
|
15073
|
+
|
|
15074
|
+
ancestor = isShadowRoot(ancestor) && ancestor.host || ancestor.parentNode;
|
|
15075
|
+
}
|
|
15076
|
+
|
|
15077
|
+
return offsetParent;
|
|
14798
15078
|
}
|
|
14799
15079
|
|
|
14800
15080
|
function getContainingBlock(element) {
|
|
@@ -14808,7 +15088,8 @@ function getContainingBlock(element) {
|
|
|
14808
15088
|
if (isContainingBlock(currentNode)) {
|
|
14809
15089
|
return currentNode;
|
|
14810
15090
|
} else {
|
|
14811
|
-
|
|
15091
|
+
const parent = currentNode.parentNode;
|
|
15092
|
+
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
14812
15093
|
}
|
|
14813
15094
|
}
|
|
14814
15095
|
|
|
@@ -14821,11 +15102,11 @@ function getOffsetParent(element) {
|
|
|
14821
15102
|
const window = getWindow(element);
|
|
14822
15103
|
let offsetParent = getTrueOffsetParent(element);
|
|
14823
15104
|
|
|
14824
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
15105
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
14825
15106
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
14826
15107
|
}
|
|
14827
15108
|
|
|
14828
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
15109
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
14829
15110
|
return window;
|
|
14830
15111
|
}
|
|
14831
15112
|
|
|
@@ -15426,7 +15707,12 @@ class Combobox {
|
|
|
15426
15707
|
this.disabled = false;
|
|
15427
15708
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
15428
15709
|
this.maxItems = 0;
|
|
15429
|
-
/**
|
|
15710
|
+
/**
|
|
15711
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
15712
|
+
*
|
|
15713
|
+
* 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".
|
|
15714
|
+
*
|
|
15715
|
+
*/
|
|
15430
15716
|
this.overlayPositioning = "absolute";
|
|
15431
15717
|
/**
|
|
15432
15718
|
* When true, makes the component required for form-submission.
|
|
@@ -16431,11 +16717,6 @@ class ComboboxItemGroup {
|
|
|
16431
16717
|
}; }
|
|
16432
16718
|
}
|
|
16433
16719
|
|
|
16434
|
-
function isActivationKey(key) {
|
|
16435
|
-
return key === "Enter" || key === " ";
|
|
16436
|
-
}
|
|
16437
|
-
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
16438
|
-
|
|
16439
16720
|
// regex for number sanitization
|
|
16440
16721
|
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
16441
16722
|
const decimalOnlyAtEndOfString = /(?!^\.)\.$/;
|
|
@@ -17313,8 +17594,8 @@ class DatePickerDay {
|
|
|
17313
17594
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17314
17595
|
};
|
|
17315
17596
|
this.keyDownHandler = (event) => {
|
|
17316
|
-
const key = event
|
|
17317
|
-
if (key
|
|
17597
|
+
const { key } = event;
|
|
17598
|
+
if (isActivationKey(key)) {
|
|
17318
17599
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17319
17600
|
}
|
|
17320
17601
|
};
|
|
@@ -17731,8 +18012,8 @@ class DatePickerMonthHeader {
|
|
|
17731
18012
|
this.handleArrowClick(event, this.prevMonthDate);
|
|
17732
18013
|
};
|
|
17733
18014
|
this.prevMonthKeydown = (event) => {
|
|
17734
|
-
const key = event
|
|
17735
|
-
if (key
|
|
18015
|
+
const { key } = event;
|
|
18016
|
+
if (isActivationKey(key)) {
|
|
17736
18017
|
this.prevMonthClick(event);
|
|
17737
18018
|
}
|
|
17738
18019
|
};
|
|
@@ -17740,8 +18021,8 @@ class DatePickerMonthHeader {
|
|
|
17740
18021
|
this.handleArrowClick(event, this.nextMonthDate);
|
|
17741
18022
|
};
|
|
17742
18023
|
this.nextMonthKeydown = (event) => {
|
|
17743
|
-
const key = event
|
|
17744
|
-
if (key
|
|
18024
|
+
const { key } = event;
|
|
18025
|
+
if (isActivationKey(key)) {
|
|
17745
18026
|
this.nextMonthClick(event);
|
|
17746
18027
|
}
|
|
17747
18028
|
};
|
|
@@ -17909,7 +18190,12 @@ class Dropdown {
|
|
|
17909
18190
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
17910
18191
|
*/
|
|
17911
18192
|
this.maxItems = 0;
|
|
17912
|
-
/**
|
|
18193
|
+
/**
|
|
18194
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
18195
|
+
*
|
|
18196
|
+
* 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".
|
|
18197
|
+
*
|
|
18198
|
+
*/
|
|
17913
18199
|
this.overlayPositioning = "absolute";
|
|
17914
18200
|
/**
|
|
17915
18201
|
* Determines where the dropdown will be positioned relative to the button.
|
|
@@ -18020,7 +18306,7 @@ class Dropdown {
|
|
|
18020
18306
|
if (target !== this.referenceEl) {
|
|
18021
18307
|
return;
|
|
18022
18308
|
}
|
|
18023
|
-
const key = event
|
|
18309
|
+
const { key } = event;
|
|
18024
18310
|
if (this.open && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
|
|
18025
18311
|
this.closeCalciteDropdown();
|
|
18026
18312
|
return;
|
|
@@ -20352,7 +20638,12 @@ class InputDatePicker {
|
|
|
20352
20638
|
* @internal
|
|
20353
20639
|
*/
|
|
20354
20640
|
this.required = false;
|
|
20355
|
-
/**
|
|
20641
|
+
/**
|
|
20642
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
20643
|
+
*
|
|
20644
|
+
* 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".
|
|
20645
|
+
*
|
|
20646
|
+
*/
|
|
20356
20647
|
this.overlayPositioning = "absolute";
|
|
20357
20648
|
/** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
|
|
20358
20649
|
this.proximitySelectionDisabled = false;
|
|
@@ -24958,7 +25249,7 @@ class PopoverManager$1 {
|
|
|
24958
25249
|
.forEach((popover) => popover.toggle(false));
|
|
24959
25250
|
};
|
|
24960
25251
|
this.keyHandler = (event) => {
|
|
24961
|
-
if (event.key
|
|
25252
|
+
if (!isActivationKey(event.key)) {
|
|
24962
25253
|
return;
|
|
24963
25254
|
}
|
|
24964
25255
|
this.togglePopovers(event);
|
|
@@ -25055,7 +25346,12 @@ class Popover {
|
|
|
25055
25346
|
* When true, displays and positions the component.
|
|
25056
25347
|
*/
|
|
25057
25348
|
this.open = false;
|
|
25058
|
-
/**
|
|
25349
|
+
/**
|
|
25350
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
25351
|
+
*
|
|
25352
|
+
* 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".
|
|
25353
|
+
*
|
|
25354
|
+
*/
|
|
25059
25355
|
this.overlayPositioning = "absolute";
|
|
25060
25356
|
/**
|
|
25061
25357
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -25471,27 +25767,27 @@ class RadioButton {
|
|
|
25471
25767
|
// Properties
|
|
25472
25768
|
//
|
|
25473
25769
|
//--------------------------------------------------------------------------
|
|
25474
|
-
/**
|
|
25770
|
+
/** When true, the component is checked. */
|
|
25475
25771
|
this.checked = false;
|
|
25476
|
-
/**
|
|
25772
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25477
25773
|
this.disabled = false;
|
|
25478
25774
|
/**
|
|
25479
|
-
* The focused state of the
|
|
25775
|
+
* The focused state of the component.
|
|
25480
25776
|
*
|
|
25481
25777
|
* @internal
|
|
25482
25778
|
*/
|
|
25483
25779
|
this.focused = false;
|
|
25484
|
-
/**
|
|
25780
|
+
/** When true, the component is not displayed and is not focusable or checkable. */
|
|
25485
25781
|
this.hidden = false;
|
|
25486
25782
|
/**
|
|
25487
|
-
* The hovered state of the
|
|
25783
|
+
* The hovered state of the component.
|
|
25488
25784
|
*
|
|
25489
25785
|
* @internal
|
|
25490
25786
|
*/
|
|
25491
25787
|
this.hovered = false;
|
|
25492
|
-
/**
|
|
25788
|
+
/** When true, the component must have a value selected from the `calcite-radio-button-group` on form submission. */
|
|
25493
25789
|
this.required = false;
|
|
25494
|
-
/**
|
|
25790
|
+
/** Specifies the size of the component inherited from the `calcite-radio-button-group`. */
|
|
25495
25791
|
this.scale = "m";
|
|
25496
25792
|
//--------------------------------------------------------------------------
|
|
25497
25793
|
//
|
|
@@ -25526,7 +25822,7 @@ class RadioButton {
|
|
|
25526
25822
|
};
|
|
25527
25823
|
this.handleKeyDown = (event) => {
|
|
25528
25824
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
25529
|
-
const key = event
|
|
25825
|
+
const { key } = event;
|
|
25530
25826
|
const { el } = this;
|
|
25531
25827
|
if (keys.indexOf(key) === -1) {
|
|
25532
25828
|
return;
|
|
@@ -25746,15 +26042,15 @@ class RadioButtonGroup {
|
|
|
25746
26042
|
// Properties
|
|
25747
26043
|
//
|
|
25748
26044
|
//--------------------------------------------------------------------------
|
|
25749
|
-
/**
|
|
26045
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25750
26046
|
this.disabled = false;
|
|
25751
|
-
/**
|
|
26047
|
+
/** When true, the component is not displayed and its `calcite-radio-button`s are not focusable or checkable. */
|
|
25752
26048
|
this.hidden = false;
|
|
25753
|
-
/**
|
|
26049
|
+
/** Defines the layout of the component. */
|
|
25754
26050
|
this.layout = "horizontal";
|
|
25755
|
-
/**
|
|
26051
|
+
/** When true, the component must have a value on form submission. */
|
|
25756
26052
|
this.required = false;
|
|
25757
|
-
/**
|
|
26053
|
+
/** Specifies the size of the component. */
|
|
25758
26054
|
this.scale = "m";
|
|
25759
26055
|
// --------------------------------------------------------------------------
|
|
25760
26056
|
//
|
|
@@ -25861,23 +26157,23 @@ class RadioGroup {
|
|
|
25861
26157
|
// Properties
|
|
25862
26158
|
//
|
|
25863
26159
|
//--------------------------------------------------------------------------
|
|
25864
|
-
/**
|
|
26160
|
+
/** Specifies the appearance style of the component. */
|
|
25865
26161
|
this.appearance = "solid";
|
|
25866
|
-
/** is the
|
|
26162
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25867
26163
|
this.disabled = false;
|
|
25868
26164
|
/**
|
|
25869
|
-
* When true,
|
|
26165
|
+
* When true, the component must have a value on form submission.
|
|
25870
26166
|
*
|
|
25871
26167
|
* @internal
|
|
25872
26168
|
*/
|
|
25873
26169
|
this.required = false;
|
|
25874
|
-
/**
|
|
26170
|
+
/** Defines the layout of the component. */
|
|
25875
26171
|
this.layout = "horizontal";
|
|
25876
|
-
/**
|
|
26172
|
+
/** Specifies the size of the component. */
|
|
25877
26173
|
this.scale = "m";
|
|
25878
|
-
/** The
|
|
26174
|
+
/** The component's "selectedItem" value. */
|
|
25879
26175
|
this.value = null;
|
|
25880
|
-
/**
|
|
26176
|
+
/** Specifies the width of the component. */
|
|
25881
26177
|
this.width = "auto";
|
|
25882
26178
|
//--------------------------------------------------------------------------
|
|
25883
26179
|
//
|
|
@@ -25951,7 +26247,7 @@ class RadioGroup {
|
|
|
25951
26247
|
}
|
|
25952
26248
|
handleKeyDown(event) {
|
|
25953
26249
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
25954
|
-
const key = event
|
|
26250
|
+
const { key } = event;
|
|
25955
26251
|
const { el, selectedItem } = this;
|
|
25956
26252
|
if (keys.indexOf(key) === -1) {
|
|
25957
26253
|
return;
|
|
@@ -26080,11 +26376,11 @@ class RadioGroupItem {
|
|
|
26080
26376
|
// Properties
|
|
26081
26377
|
//
|
|
26082
26378
|
//--------------------------------------------------------------------------
|
|
26083
|
-
/**
|
|
26379
|
+
/** When true, the component is checked. */
|
|
26084
26380
|
this.checked = false;
|
|
26085
|
-
/**
|
|
26381
|
+
/** When true, the icon will be flipped when the element direction is right-to-left ("rtl"). */
|
|
26086
26382
|
this.iconFlipRtl = false;
|
|
26087
|
-
/**
|
|
26383
|
+
/** When used with "icon", specifies its position. */
|
|
26088
26384
|
this.iconPosition = "start";
|
|
26089
26385
|
}
|
|
26090
26386
|
handleCheckedChange() {
|
|
@@ -26141,30 +26437,30 @@ class Rating {
|
|
|
26141
26437
|
// Properties
|
|
26142
26438
|
//
|
|
26143
26439
|
// --------------------------------------------------------------------------
|
|
26144
|
-
/**
|
|
26440
|
+
/** Specifies the size of the component. */
|
|
26145
26441
|
this.scale = "m";
|
|
26146
|
-
/**
|
|
26442
|
+
/** The component's value. */
|
|
26147
26443
|
this.value = 0;
|
|
26148
|
-
/**
|
|
26444
|
+
/** When true, the component's value can be read, but cannot be modified. */
|
|
26149
26445
|
this.readOnly = false;
|
|
26150
|
-
/** is the
|
|
26446
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
26151
26447
|
this.disabled = false;
|
|
26152
|
-
/**
|
|
26448
|
+
/** When true, and if available, displays the "average" and/or "count" data summary in a `calcite-chip`. */
|
|
26153
26449
|
this.showChip = false;
|
|
26154
26450
|
/**
|
|
26155
|
-
*
|
|
26451
|
+
* Accessible name for the component.
|
|
26156
26452
|
*
|
|
26157
26453
|
* @default "Rating"
|
|
26158
26454
|
*/
|
|
26159
26455
|
this.intlRating = TEXT$5.rating;
|
|
26160
26456
|
/**
|
|
26161
|
-
*
|
|
26457
|
+
* Accessible name for each star. The `${num}` in the string will be replaced by the number.
|
|
26162
26458
|
*
|
|
26163
26459
|
* @default "Stars: ${num}"
|
|
26164
26460
|
*/
|
|
26165
26461
|
this.intlStars = TEXT$5.stars;
|
|
26166
26462
|
/**
|
|
26167
|
-
* When true,
|
|
26463
|
+
* When true, the component must have a value on form submission.
|
|
26168
26464
|
*
|
|
26169
26465
|
* @internal
|
|
26170
26466
|
*/
|
|
@@ -27353,8 +27649,8 @@ class Slider {
|
|
|
27353
27649
|
const mirror = this.shouldMirror();
|
|
27354
27650
|
const { activeProp, max, min, pageStep, step } = this;
|
|
27355
27651
|
const value = this[activeProp];
|
|
27356
|
-
const key = event
|
|
27357
|
-
if (key
|
|
27652
|
+
const { key } = event;
|
|
27653
|
+
if (isActivationKey(key)) {
|
|
27358
27654
|
event.preventDefault();
|
|
27359
27655
|
return;
|
|
27360
27656
|
}
|
|
@@ -31047,7 +31343,12 @@ class SplitButton {
|
|
|
31047
31343
|
disabling interaction. with the primary button
|
|
31048
31344
|
*/
|
|
31049
31345
|
this.loading = false;
|
|
31050
|
-
/**
|
|
31346
|
+
/**
|
|
31347
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
31348
|
+
*
|
|
31349
|
+
* 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".
|
|
31350
|
+
*
|
|
31351
|
+
*/
|
|
31051
31352
|
this.overlayPositioning = "absolute";
|
|
31052
31353
|
/** specify the scale of the control, defaults to m */
|
|
31053
31354
|
this.scale = "m";
|
|
@@ -31580,8 +31881,8 @@ class Switch {
|
|
|
31580
31881
|
//
|
|
31581
31882
|
//--------------------------------------------------------------------------
|
|
31582
31883
|
this.keyDownHandler = (event) => {
|
|
31583
|
-
const key = event
|
|
31584
|
-
if (!this.disabled && (key
|
|
31884
|
+
const { key } = event;
|
|
31885
|
+
if (!this.disabled && isActivationKey(key)) {
|
|
31585
31886
|
this.toggle();
|
|
31586
31887
|
event.preventDefault();
|
|
31587
31888
|
}
|
|
@@ -31670,7 +31971,7 @@ class Switch {
|
|
|
31670
31971
|
}; }
|
|
31671
31972
|
}
|
|
31672
31973
|
|
|
31673
|
-
const tabCss = "@-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*/.sc-calcite-tab: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*/.calcite-animate.sc-calcite-tab{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*/.calcite-animate__in.sc-calcite-tab{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none !important}/*!@:host([
|
|
31974
|
+
const tabCss = "@-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*/.sc-calcite-tab: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*/.calcite-animate.sc-calcite-tab{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*/.calcite-animate__in.sc-calcite-tab{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none !important}/*!@:host([selected]) section*/[selected].sc-calcite-tab-h section.sc-calcite-tab{display:block}/*!@:host*/.sc-calcite-tab-h{display:none;block-size:100%;inline-size:100%}/*!@:host([selected])*/[selected].sc-calcite-tab-h{display:block;block-size:100%;inline-size:100%;overflow:auto}/*!@section*/section.sc-calcite-tab{display:none;block-size:100%;inline-size:100%}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-h{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-h{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-h{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";
|
|
31674
31975
|
|
|
31675
31976
|
/**
|
|
31676
31977
|
* @slot - A slot for adding custom content.
|
|
@@ -31681,14 +31982,26 @@ class Tab {
|
|
|
31681
31982
|
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 6);
|
|
31682
31983
|
/**
|
|
31683
31984
|
* Show this tab
|
|
31985
|
+
*
|
|
31986
|
+
* @deprecated Use selected instead.
|
|
31684
31987
|
*/
|
|
31685
31988
|
this.active = false;
|
|
31989
|
+
/**
|
|
31990
|
+
* When true, display this tab.
|
|
31991
|
+
*/
|
|
31992
|
+
this.selected = false;
|
|
31686
31993
|
/**
|
|
31687
31994
|
* @internal
|
|
31688
31995
|
*/
|
|
31689
31996
|
this.scale = "m";
|
|
31690
31997
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
31691
31998
|
}
|
|
31999
|
+
activeHandler(value) {
|
|
32000
|
+
this.selected = value;
|
|
32001
|
+
}
|
|
32002
|
+
selectedHandler(value) {
|
|
32003
|
+
this.active = value;
|
|
32004
|
+
}
|
|
31692
32005
|
//--------------------------------------------------------------------------
|
|
31693
32006
|
//
|
|
31694
32007
|
// Lifecycle
|
|
@@ -31696,10 +32009,15 @@ class Tab {
|
|
|
31696
32009
|
//--------------------------------------------------------------------------
|
|
31697
32010
|
render() {
|
|
31698
32011
|
const id = this.el.id || this.guid;
|
|
31699
|
-
return (hAsync(Host, { "aria-labelledby": this.labeledBy, id: id }, hAsync("div", { role: "tabpanel", tabIndex: this.
|
|
32012
|
+
return (hAsync(Host, { "aria-labelledby": this.labeledBy, id: id }, hAsync("div", { role: "tabpanel", tabIndex: this.selected ? 0 : -1 }, hAsync("section", null, hAsync("slot", null)))));
|
|
31700
32013
|
}
|
|
31701
32014
|
connectedCallback() {
|
|
31702
32015
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
32016
|
+
const isSelected = this.selected || this.active;
|
|
32017
|
+
if (isSelected) {
|
|
32018
|
+
this.activeHandler(isSelected);
|
|
32019
|
+
this.selectedHandler(isSelected);
|
|
32020
|
+
}
|
|
31703
32021
|
}
|
|
31704
32022
|
componentDidLoad() {
|
|
31705
32023
|
this.calciteInternalTabRegister.emit();
|
|
@@ -31731,11 +32049,11 @@ class Tab {
|
|
|
31731
32049
|
return;
|
|
31732
32050
|
}
|
|
31733
32051
|
if (this.tab) {
|
|
31734
|
-
this.
|
|
32052
|
+
this.selected = this.tab === event.detail.tab;
|
|
31735
32053
|
}
|
|
31736
32054
|
else {
|
|
31737
32055
|
this.getTabIndex().then((index) => {
|
|
31738
|
-
this.
|
|
32056
|
+
this.selected = index === event.detail.tab;
|
|
31739
32057
|
});
|
|
31740
32058
|
}
|
|
31741
32059
|
event.stopPropagation();
|
|
@@ -31765,6 +32083,10 @@ class Tab {
|
|
|
31765
32083
|
this.labeledBy = titleIds[tabIds.indexOf(this.el.id)] || null;
|
|
31766
32084
|
}
|
|
31767
32085
|
get el() { return getElement(this); }
|
|
32086
|
+
static get watchers() { return {
|
|
32087
|
+
"active": ["activeHandler"],
|
|
32088
|
+
"selected": ["selectedHandler"]
|
|
32089
|
+
}; }
|
|
31768
32090
|
static get style() { return tabCss; }
|
|
31769
32091
|
static get cmpMeta() { return {
|
|
31770
32092
|
"$flags$": 9,
|
|
@@ -31772,6 +32094,7 @@ class Tab {
|
|
|
31772
32094
|
"$members$": {
|
|
31773
32095
|
"tab": [513],
|
|
31774
32096
|
"active": [1540],
|
|
32097
|
+
"selected": [1540],
|
|
31775
32098
|
"scale": [1537],
|
|
31776
32099
|
"labeledBy": [32],
|
|
31777
32100
|
"getTabIndex": [64],
|
|
@@ -31779,11 +32102,11 @@ class Tab {
|
|
|
31779
32102
|
},
|
|
31780
32103
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"]],
|
|
31781
32104
|
"$lazyBundleId$": "-",
|
|
31782
|
-
"$attrsToReflect$": [["tab", "tab"], ["active", "active"], ["scale", "scale"]]
|
|
32105
|
+
"$attrsToReflect$": [["tab", "tab"], ["active", "active"], ["selected", "selected"], ["scale", "scale"]]
|
|
31783
32106
|
}; }
|
|
31784
32107
|
}
|
|
31785
32108
|
|
|
31786
|
-
const tabNavCss = "@-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*/.sc-calcite-tab-nav: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*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
32109
|
+
const tabNavCss = "@-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*/.sc-calcite-tab-nav: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*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@:host([layout=center]) .tab-nav*/[layout=center].sc-calcite-tab-nav-h .tab-nav.sc-calcite-tab-nav{-ms-flex-pack:center;justify-content:center}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
31787
32110
|
|
|
31788
32111
|
/**
|
|
31789
32112
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -32002,7 +32325,7 @@ class TabNav {
|
|
|
32002
32325
|
}; }
|
|
32003
32326
|
}
|
|
32004
32327
|
|
|
32005
|
-
const tabTitleCss = "@-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*/.sc-calcite-tab-title: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*/.calcite-animate.sc-calcite-tab-title{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*/.calcite-animate__in.sc-calcite-tab-title{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-title{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-title{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-title{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-title:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-title-h{display:none !important}/*!@:host([disabled])*/[disabled].sc-calcite-tab-title-h{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*/.sc-calcite-tab-title-h{display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}/*!@:host([layout=center])*/[layout=center].sc-calcite-tab-title-h{margin-block:0px;margin-inline:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}/*!@:host([position=below]) .container*/[position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host([position=bottom]) .container*/[position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host .container*/.sc-calcite-tab-title-h .container.sc-calcite-tab-title{outline-color:transparent}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host(:active) a, \n:host(:focus) a, \n:host(:hover) a*/.sc-calcite-tab-title-h:active a.sc-calcite-tab-title,.sc-calcite-tab-title-h:focus a.sc-calcite-tab-title,.sc-calcite-tab-title-h:hover a.sc-calcite-tab-title{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}/*!@:host([active]) .container*/[active].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([disabled]) .container*/[disabled].sc-calcite-tab-title-h .container.sc-calcite-tab-title{pointer-events:none;opacity:0.5}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tab-title-h [calcite-hydrated][disabled].sc-calcite-tab-title{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-title-h{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-title-h{-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container*/.container.sc-calcite-tab-title{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-block-end-width:2px;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-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;border-block-end-color:transparent;border-block-end-style:solid}/*!@.calcite-tab-title--icon*/.calcite-tab-title--icon.sc-calcite-tab-title{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}/*!@.calcite-tab-title--icon svg*/.calcite-tab-title--icon.sc-calcite-tab-title svg.sc-calcite-tab-title{-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}/*!@.container--has-text*/.container--has-text.sc-calcite-tab-title{padding:0.25rem}/*!@.container--has-text .calcite-tab-title--icon.icon-start*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-start.sc-calcite-tab-title{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@.container--has-text .calcite-tab-title--icon.icon-end*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-end.sc-calcite-tab-title{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}/*!@:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child*/[icon-start][icon-end].sc-calcite-tab-title-h .calcite-tab-title--icon.sc-calcite-tab-title:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([bordered])*/[bordered].sc-calcite-tab-title-h{-webkit-margin-end:0;margin-inline-end:0}/*!@:host([bordered][active])*/[bordered][active].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}/*!@:host([bordered][active][position=below])*/[bordered][active][position=below].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered][active][position=bottom])*/[bordered][active][position=bottom].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered]:hover) .container, \n:host([bordered]:focus) .container, \n:host([bordered]:active) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:active .container.sc-calcite-tab-title{position:relative}/*!@:host([bordered]:hover) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title{background-color:var(--calcite-button-transparent-hover)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:unset;-webkit-border-start:1px solid transparent;border-inline-start:1px solid transparent;-webkit-border-end:1px solid transparent;border-inline-end:1px solid transparent}/*!@:host([bordered][position=below]) .container*/[bordered][position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([active][bordered]) .container*/[active][bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.75rem}/*!@:host([bordered][scale=s]) .container*/[bordered][scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.5rem}/*!@:host([bordered][scale=l]) .container*/[bordered][scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:1rem}@media (forced-colors: active){/*!@:host*/.sc-calcite-tab-title-h{outline-width:0;outline-offset:0}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline-color:highlight}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:solid}/*!@:host([bordered][position=below]) .container*/[bordered][position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][active]) .container*/[bordered][active].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:none}/*!@:host([bordered][position=below][active]) .container*/[bordered][position=below][active].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}/*!@:host([bordered][position=bottom][active]) .container*/[bordered][position=bottom][active].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}}";
|
|
32328
|
+
const tabTitleCss = "@-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*/.sc-calcite-tab-title: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*/.calcite-animate.sc-calcite-tab-title{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*/.calcite-animate__in.sc-calcite-tab-title{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-title{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-title{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-title{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-title:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-title-h{display:none !important}/*!@:host([disabled])*/[disabled].sc-calcite-tab-title-h{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*/.sc-calcite-tab-title-h{display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}/*!@:host([layout=center])*/[layout=center].sc-calcite-tab-title-h{margin-block:0px;margin-inline:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}/*!@:host([position=below]) .container*/[position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host([position=bottom]) .container*/[position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host .container*/.sc-calcite-tab-title-h .container.sc-calcite-tab-title{outline-color:transparent}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host(:active) a, \n:host(:focus) a, \n:host(:hover) a*/.sc-calcite-tab-title-h:active a.sc-calcite-tab-title,.sc-calcite-tab-title-h:focus a.sc-calcite-tab-title,.sc-calcite-tab-title-h:hover a.sc-calcite-tab-title{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}/*!@:host([selected]) .container*/[selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([disabled]) .container*/[disabled].sc-calcite-tab-title-h .container.sc-calcite-tab-title{pointer-events:none;opacity:0.5}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tab-title-h [calcite-hydrated][disabled].sc-calcite-tab-title{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-title-h{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-title-h{-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container*/.container.sc-calcite-tab-title{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-block-end-width:2px;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-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;border-block-end-color:transparent;border-block-end-style:solid}/*!@.calcite-tab-title--icon*/.calcite-tab-title--icon.sc-calcite-tab-title{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}/*!@.calcite-tab-title--icon svg*/.calcite-tab-title--icon.sc-calcite-tab-title svg.sc-calcite-tab-title{-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}/*!@.container--has-text*/.container--has-text.sc-calcite-tab-title{padding:0.25rem}/*!@.container--has-text .calcite-tab-title--icon.icon-start*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-start.sc-calcite-tab-title{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@.container--has-text .calcite-tab-title--icon.icon-end*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-end.sc-calcite-tab-title{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}/*!@:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child*/[icon-start][icon-end].sc-calcite-tab-title-h .calcite-tab-title--icon.sc-calcite-tab-title:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([bordered])*/[bordered].sc-calcite-tab-title-h{-webkit-margin-end:0;margin-inline-end:0}/*!@:host([bordered][selected])*/[bordered][selected].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}/*!@:host([bordered][selected][position=below])*/[bordered][selected][position=below].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered][selected][position=bottom])*/[bordered][selected][position=bottom].sc-calcite-tab-title-h{-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered]:hover) .container, \n:host([bordered]:focus) .container, \n:host([bordered]:active) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:active .container.sc-calcite-tab-title{position:relative}/*!@:host([bordered]:hover) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title{background-color:var(--calcite-button-transparent-hover)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:unset;-webkit-border-start:1px solid transparent;border-inline-start:1px solid transparent;-webkit-border-end:1px solid transparent;border-inline-end:1px solid transparent}/*!@:host([bordered][position=below]) .container*/[bordered][position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([selected][bordered]) .container*/[selected][bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.75rem}/*!@:host([bordered][scale=s]) .container*/[bordered][scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.5rem}/*!@:host([bordered][scale=l]) .container*/[bordered][scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:1rem}@media (forced-colors: active){/*!@:host*/.sc-calcite-tab-title-h{outline-width:0;outline-offset:0}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline-color:highlight}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:solid}/*!@:host([bordered][position=below]) .container*/[bordered][position=below].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][selected]) .container*/[bordered][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:none}/*!@:host([bordered][position=below][selected]) .container*/[bordered][position=below][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}/*!@:host([bordered][position=bottom][selected]) .container*/[bordered][position=bottom][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}}";
|
|
32006
32329
|
|
|
32007
32330
|
/**
|
|
32008
32331
|
* @slot - A slot for adding text.
|
|
@@ -32020,8 +32343,16 @@ class TabTitle {
|
|
|
32020
32343
|
// Properties
|
|
32021
32344
|
//
|
|
32022
32345
|
//--------------------------------------------------------------------------
|
|
32023
|
-
/**
|
|
32346
|
+
/**
|
|
32347
|
+
* Show this tab title as selected
|
|
32348
|
+
*
|
|
32349
|
+
* @deprecated Use selected instead.
|
|
32350
|
+
*/
|
|
32024
32351
|
this.active = false;
|
|
32352
|
+
/**
|
|
32353
|
+
* When true, display this tab title as selected.
|
|
32354
|
+
*/
|
|
32355
|
+
this.selected = false;
|
|
32025
32356
|
/** Disable this tab title */
|
|
32026
32357
|
this.disabled = false;
|
|
32027
32358
|
/**
|
|
@@ -32039,8 +32370,12 @@ class TabTitle {
|
|
|
32039
32370
|
this.hasText = false;
|
|
32040
32371
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
32041
32372
|
}
|
|
32042
|
-
|
|
32043
|
-
|
|
32373
|
+
activeHandler(value) {
|
|
32374
|
+
this.selected = value;
|
|
32375
|
+
}
|
|
32376
|
+
selectedHandler(value) {
|
|
32377
|
+
this.active = value;
|
|
32378
|
+
if (this.selected) {
|
|
32044
32379
|
this.emitActiveTab(false);
|
|
32045
32380
|
}
|
|
32046
32381
|
}
|
|
@@ -32050,6 +32385,13 @@ class TabTitle {
|
|
|
32050
32385
|
//
|
|
32051
32386
|
//--------------------------------------------------------------------------
|
|
32052
32387
|
connectedCallback() {
|
|
32388
|
+
const { selected, active } = this;
|
|
32389
|
+
if (selected) {
|
|
32390
|
+
this.active = selected;
|
|
32391
|
+
}
|
|
32392
|
+
else if (active) {
|
|
32393
|
+
this.activeHandler(active);
|
|
32394
|
+
}
|
|
32053
32395
|
this.setupTextContentObserver();
|
|
32054
32396
|
this.parentTabNavEl = this.el.closest("calcite-tab-nav");
|
|
32055
32397
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -32063,7 +32405,7 @@ class TabTitle {
|
|
|
32063
32405
|
}));
|
|
32064
32406
|
}
|
|
32065
32407
|
componentWillLoad() {
|
|
32066
|
-
if (this.tab && this.
|
|
32408
|
+
if (this.tab && this.selected) {
|
|
32067
32409
|
this.emitActiveTab(false);
|
|
32068
32410
|
}
|
|
32069
32411
|
}
|
|
@@ -32084,7 +32426,7 @@ class TabTitle {
|
|
|
32084
32426
|
const id = this.el.id || this.guid;
|
|
32085
32427
|
const iconStartEl = (hAsync("calcite-icon", { class: "calcite-tab-title--icon icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
32086
32428
|
const iconEndEl = (hAsync("calcite-icon", { class: "calcite-tab-title--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
32087
|
-
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.
|
|
32429
|
+
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
|
|
32088
32430
|
container: true,
|
|
32089
32431
|
"container--has-text": this.hasText
|
|
32090
32432
|
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
@@ -32094,7 +32436,7 @@ class TabTitle {
|
|
|
32094
32436
|
}
|
|
32095
32437
|
componentDidRender() {
|
|
32096
32438
|
updateHostInteraction(this, () => {
|
|
32097
|
-
return this.
|
|
32439
|
+
return this.selected;
|
|
32098
32440
|
});
|
|
32099
32441
|
}
|
|
32100
32442
|
//--------------------------------------------------------------------------
|
|
@@ -32110,11 +32452,11 @@ class TabTitle {
|
|
|
32110
32452
|
return;
|
|
32111
32453
|
}
|
|
32112
32454
|
if (this.tab) {
|
|
32113
|
-
this.
|
|
32455
|
+
this.selected = this.tab === event.detail.tab;
|
|
32114
32456
|
}
|
|
32115
32457
|
else {
|
|
32116
32458
|
this.getTabIndex().then((index) => {
|
|
32117
|
-
this.
|
|
32459
|
+
this.selected = index === event.detail.tab;
|
|
32118
32460
|
});
|
|
32119
32461
|
}
|
|
32120
32462
|
event.stopPropagation();
|
|
@@ -32193,7 +32535,8 @@ class TabTitle {
|
|
|
32193
32535
|
}
|
|
32194
32536
|
get el() { return getElement(this); }
|
|
32195
32537
|
static get watchers() { return {
|
|
32196
|
-
"active": ["
|
|
32538
|
+
"active": ["activeHandler"],
|
|
32539
|
+
"selected": ["selectedHandler"]
|
|
32197
32540
|
}; }
|
|
32198
32541
|
static get style() { return tabTitleCss; }
|
|
32199
32542
|
static get cmpMeta() { return {
|
|
@@ -32201,6 +32544,7 @@ class TabTitle {
|
|
|
32201
32544
|
"$tagName$": "calcite-tab-title",
|
|
32202
32545
|
"$members$": {
|
|
32203
32546
|
"active": [1540],
|
|
32547
|
+
"selected": [1540],
|
|
32204
32548
|
"disabled": [516],
|
|
32205
32549
|
"iconEnd": [513, "icon-end"],
|
|
32206
32550
|
"iconFlipRtl": [513, "icon-flip-rtl"],
|
|
@@ -32218,7 +32562,7 @@ class TabTitle {
|
|
|
32218
32562
|
},
|
|
32219
32563
|
"$listeners$": [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
32220
32564
|
"$lazyBundleId$": "-",
|
|
32221
|
-
"$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["position", "position"], ["scale", "scale"], ["bordered", "bordered"], ["tab", "tab"]]
|
|
32565
|
+
"$attrsToReflect$": [["active", "active"], ["selected", "selected"], ["disabled", "disabled"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["layout", "layout"], ["position", "position"], ["scale", "scale"], ["bordered", "bordered"], ["tab", "tab"]]
|
|
32222
32566
|
}; }
|
|
32223
32567
|
}
|
|
32224
32568
|
|
|
@@ -32933,7 +33277,7 @@ class TimePicker {
|
|
|
32933
33277
|
}
|
|
32934
33278
|
};
|
|
32935
33279
|
this.hourKeyDownHandler = (event) => {
|
|
32936
|
-
const key = event
|
|
33280
|
+
const { key } = event;
|
|
32937
33281
|
if (numberKeys.includes(key)) {
|
|
32938
33282
|
const keyAsNumber = parseInt(key);
|
|
32939
33283
|
let newHour;
|
|
@@ -32978,7 +33322,6 @@ class TimePicker {
|
|
|
32978
33322
|
this.incrementHour();
|
|
32979
33323
|
break;
|
|
32980
33324
|
case " ":
|
|
32981
|
-
case "Spacebar":
|
|
32982
33325
|
event.preventDefault();
|
|
32983
33326
|
break;
|
|
32984
33327
|
}
|
|
@@ -33041,7 +33384,6 @@ class TimePicker {
|
|
|
33041
33384
|
this.decrementMeridiem();
|
|
33042
33385
|
break;
|
|
33043
33386
|
case " ":
|
|
33044
|
-
case "Spacebar":
|
|
33045
33387
|
event.preventDefault();
|
|
33046
33388
|
break;
|
|
33047
33389
|
}
|
|
@@ -33057,7 +33399,7 @@ class TimePicker {
|
|
|
33057
33399
|
}
|
|
33058
33400
|
};
|
|
33059
33401
|
this.minuteKeyDownHandler = (event) => {
|
|
33060
|
-
const key = event
|
|
33402
|
+
const { key } = event;
|
|
33061
33403
|
if (numberKeys.includes(key)) {
|
|
33062
33404
|
const keyAsNumber = parseInt(key);
|
|
33063
33405
|
let newMinute;
|
|
@@ -33088,7 +33430,6 @@ class TimePicker {
|
|
|
33088
33430
|
this.incrementMinute();
|
|
33089
33431
|
break;
|
|
33090
33432
|
case " ":
|
|
33091
|
-
case "Spacebar":
|
|
33092
33433
|
event.preventDefault();
|
|
33093
33434
|
break;
|
|
33094
33435
|
}
|
|
@@ -33105,7 +33446,7 @@ class TimePicker {
|
|
|
33105
33446
|
}
|
|
33106
33447
|
};
|
|
33107
33448
|
this.secondKeyDownHandler = (event) => {
|
|
33108
|
-
const key = event
|
|
33449
|
+
const { key } = event;
|
|
33109
33450
|
if (numberKeys.includes(key)) {
|
|
33110
33451
|
const keyAsNumber = parseInt(key);
|
|
33111
33452
|
let newSecond;
|
|
@@ -33136,7 +33477,6 @@ class TimePicker {
|
|
|
33136
33477
|
this.incrementSecond();
|
|
33137
33478
|
break;
|
|
33138
33479
|
case " ":
|
|
33139
|
-
case "Spacebar":
|
|
33140
33480
|
event.preventDefault();
|
|
33141
33481
|
break;
|
|
33142
33482
|
}
|
|
@@ -33248,7 +33588,7 @@ class TimePicker {
|
|
|
33248
33588
|
this.calciteInternalTimePickerFocus.emit();
|
|
33249
33589
|
}
|
|
33250
33590
|
keyDownHandler(event) {
|
|
33251
|
-
const key = event
|
|
33591
|
+
const { key } = event;
|
|
33252
33592
|
switch (this.activeEl) {
|
|
33253
33593
|
case this.hourEl:
|
|
33254
33594
|
if (key === "ArrowRight") {
|
|
@@ -33316,7 +33656,7 @@ class TimePicker {
|
|
|
33316
33656
|
//
|
|
33317
33657
|
// --------------------------------------------------------------------------
|
|
33318
33658
|
buttonActivated(event) {
|
|
33319
|
-
const key = event
|
|
33659
|
+
const { key } = event;
|
|
33320
33660
|
if (key === " ") {
|
|
33321
33661
|
event.preventDefault();
|
|
33322
33662
|
}
|
|
@@ -33997,7 +34337,12 @@ class Tooltip {
|
|
|
33997
34337
|
* When true, the component is open.
|
|
33998
34338
|
*/
|
|
33999
34339
|
this.open = false;
|
|
34000
|
-
/**
|
|
34340
|
+
/**
|
|
34341
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
34342
|
+
*
|
|
34343
|
+
* 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".
|
|
34344
|
+
*
|
|
34345
|
+
*/
|
|
34001
34346
|
this.overlayPositioning = "absolute";
|
|
34002
34347
|
/**
|
|
34003
34348
|
* Determines where the component will be positioned relative to the `referenceElement`.
|