@esri/calcite-components 1.0.0-next.557 → 1.0.0-next.558
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 +1 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-5a80d1d7.entry.js → p-0502b22a.entry.js} +2 -2
- package/dist/calcite/{p-34c56af0.system.js → p-0585d9b0.system.js} +2 -2
- package/dist/calcite/{p-0f719968.js → p-0a25ae1d.js} +1 -1
- package/dist/calcite/{p-e880847f.entry.js → p-0c5b3cdc.entry.js} +2 -2
- package/dist/calcite/{p-b78f9b9f.entry.js → p-0f1c3595.entry.js} +2 -2
- package/dist/calcite/{p-fb20f3c6.system.js → p-11cd0b55.system.js} +1 -1
- package/dist/calcite/{p-c05c774d.system.entry.js → p-13b6a2db.system.entry.js} +2 -2
- package/dist/calcite/p-16069fb4.entry.js +6 -0
- package/dist/calcite/p-1624bc55.entry.js +6 -0
- package/dist/calcite/{p-da0db093.system.entry.js → p-163e53ca.system.entry.js} +3 -3
- package/dist/calcite/{p-207b9ac8.system.js → p-16b0453b.system.js} +2 -2
- package/dist/calcite/{p-a0e5b18f.js → p-1780784a.js} +1 -1
- package/dist/calcite/{p-08cd0042.js → p-17cec6b8.js} +2 -2
- package/dist/calcite/{p-a6d0a409.system.entry.js → p-1d34c38f.system.entry.js} +2 -2
- package/dist/calcite/p-1ea94d85.system.js +6 -0
- package/dist/calcite/{p-92882341.entry.js → p-20fe4e1c.entry.js} +2 -2
- package/dist/calcite/{p-3cb0bba0.system.entry.js → p-21a37a5a.system.entry.js} +3 -3
- package/dist/calcite/{p-e3b5f2ef.entry.js → p-23171b1f.entry.js} +2 -2
- package/dist/calcite/p-248a7087.entry.js +6 -0
- package/dist/calcite/{p-b4d9bf86.system.entry.js → p-24e0057b.system.entry.js} +2 -2
- package/dist/calcite/{p-6707dfe7.system.entry.js → p-252107ab.system.entry.js} +2 -2
- package/dist/calcite/{p-f09b2cde.system.entry.js → p-25b7fd0f.system.entry.js} +2 -2
- package/dist/calcite/p-26273b21.js +6 -0
- package/dist/calcite/{p-c14e1f09.system.entry.js → p-27582ec7.system.entry.js} +2 -2
- package/dist/calcite/{p-d6ad752f.js → p-27702d50.js} +2 -2
- package/dist/calcite/{p-e307f02b.system.js → p-278787aa.system.js} +2 -2
- package/dist/calcite/{p-03abc90c.system.entry.js → p-27c53d51.system.entry.js} +2 -2
- package/dist/calcite/{p-6862e6df.system.entry.js → p-296d468f.system.entry.js} +2 -2
- package/dist/calcite/{p-a96bd824.system.entry.js → p-298b97f9.system.entry.js} +2 -2
- package/dist/calcite/{p-fc817fa2.entry.js → p-29e0e784.entry.js} +2 -2
- package/dist/calcite/p-2a4c534d.entry.js +6 -0
- package/dist/calcite/{p-13d514c2.system.entry.js → p-2ad51122.system.entry.js} +2 -2
- package/dist/calcite/{p-f92ce833.js → p-2b6d4553.js} +1 -1
- package/dist/calcite/{p-986a7d1a.entry.js → p-2d4c8374.entry.js} +2 -2
- package/dist/calcite/{p-7bd363bf.system.entry.js → p-30348a01.system.entry.js} +2 -2
- package/dist/calcite/{p-267cfd6f.js → p-345e415d.js} +1 -1
- package/dist/calcite/{p-b3c760e0.system.entry.js → p-370725ef.system.entry.js} +2 -2
- package/dist/calcite/{p-72ae6659.system.entry.js → p-3ad6772a.system.entry.js} +2 -2
- package/dist/calcite/{p-01bbc68a.js → p-3ad6d2f3.js} +2 -2
- package/dist/calcite/p-3e1d0059.js +7 -0
- package/dist/calcite/{p-c3ce9178.entry.js → p-3e2de5d1.entry.js} +2 -2
- package/dist/calcite/{p-d4f13b3d.entry.js → p-418bac53.entry.js} +2 -2
- package/dist/calcite/{p-9394f514.system.entry.js → p-41d697dd.system.entry.js} +2 -2
- package/dist/calcite/{p-995ea165.system.js → p-4226038a.system.js} +1 -1
- package/dist/calcite/p-43ce8839.system.entry.js +6 -0
- package/dist/calcite/{p-3a0ac767.system.entry.js → p-4accd508.system.entry.js} +2 -2
- package/dist/calcite/{p-9ff5036d.system.entry.js → p-4c97a4c0.system.entry.js} +2 -2
- package/dist/calcite/{p-a1049719.system.entry.js → p-4de78a11.system.entry.js} +2 -2
- package/dist/calcite/{p-5e3d1c69.entry.js → p-5026acc2.entry.js} +2 -2
- package/dist/calcite/{p-b60feb71.entry.js → p-5137cd32.entry.js} +2 -2
- package/dist/calcite/{p-09e36a8f.system.entry.js → p-51c4e7a5.system.entry.js} +2 -2
- package/dist/calcite/p-520886c8.entry.js +6 -0
- package/dist/calcite/p-5283065b.system.entry.js +6 -0
- package/dist/calcite/{p-db473b43.system.entry.js → p-53882968.system.entry.js} +2 -2
- package/dist/calcite/{p-2fa04db0.entry.js → p-54ece05e.entry.js} +2 -2
- package/dist/calcite/{p-d7f6ea6f.system.entry.js → p-56f18add.system.entry.js} +2 -2
- package/dist/calcite/{p-38f0718c.entry.js → p-5a689203.entry.js} +2 -2
- package/dist/calcite/{p-f5c4d4d1.system.entry.js → p-5b16c537.system.entry.js} +2 -2
- package/dist/calcite/{p-0323edd5.js → p-5f806683.js} +2 -2
- package/dist/calcite/p-64c1170a.system.js +7 -0
- package/dist/calcite/{p-2397e51c.system.entry.js → p-653a188c.system.entry.js} +2 -2
- package/dist/calcite/{p-e0afa4c7.entry.js → p-67046baf.entry.js} +2 -2
- package/dist/calcite/{p-b271e062.system.js → p-69525da6.system.js} +1 -1
- package/dist/calcite/p-6a73d11c.entry.js +6 -0
- package/dist/calcite/p-6b187c35.entry.js +6 -0
- package/dist/calcite/p-6b2f0a31.entry.js +6 -0
- package/dist/calcite/{p-6f4a290e.system.js → p-6b8ab74c.system.js} +1 -1
- package/dist/calcite/p-6c4cc60d.entry.js +6 -0
- package/dist/calcite/{p-4918e784.system.js → p-6c5b88d2.system.js} +2 -2
- package/dist/calcite/{p-e5d86cd5.js → p-6e8e1b87.js} +1 -1
- package/dist/calcite/{p-f585e174.entry.js → p-6ec1ff4a.entry.js} +2 -2
- package/dist/calcite/{p-5276d2f5.system.entry.js → p-71332596.system.entry.js} +2 -2
- package/dist/calcite/{p-1bdc083e.js → p-729dafa9.js} +2 -2
- package/dist/calcite/{p-33798ba6.entry.js → p-731ee2d8.entry.js} +2 -2
- package/dist/calcite/{p-10837290.entry.js → p-74013d2a.entry.js} +2 -2
- package/dist/calcite/{p-0de90ca3.system.entry.js → p-7405884d.system.entry.js} +2 -2
- package/dist/calcite/{p-28eb7892.js → p-744a85fc.js} +1 -1
- package/dist/calcite/{p-a000afc0.system.entry.js → p-74bcb1a9.system.entry.js} +2 -2
- package/dist/calcite/p-75667417.system.js +6 -0
- package/dist/calcite/p-756dad9a.system.entry.js +6 -0
- package/dist/calcite/p-75d29835.js +6 -0
- package/dist/calcite/{p-ec260be5.system.js → p-79a538f7.system.js} +2 -2
- package/dist/calcite/{p-bc9318f3.js → p-7c227bdd.js} +1 -1
- package/dist/calcite/p-7c576702.entry.js +6 -0
- package/dist/calcite/p-80558bde.entry.js +6 -0
- package/dist/calcite/p-80739d04.js +6 -0
- package/dist/calcite/{p-ad4f2930.system.entry.js → p-81457908.system.entry.js} +2 -2
- package/dist/calcite/{p-18a217bd.system.entry.js → p-846eface.system.entry.js} +2 -2
- package/dist/calcite/{p-8eeb2705.system.js → p-862fedaa.system.js} +1 -1
- package/dist/calcite/p-885eab8d.entry.js +6 -0
- package/dist/calcite/{p-f65ef845.js → p-886763cb.js} +1 -1
- package/dist/calcite/p-8890d3e2.system.js +6 -0
- package/dist/calcite/{p-c8ba1f6a.js → p-9026d188.js} +1 -1
- package/dist/calcite/{p-3afee225.system.entry.js → p-91750177.system.entry.js} +2 -2
- package/dist/calcite/{p-c1dcd3cb.system.entry.js → p-921e04d7.system.entry.js} +2 -2
- package/dist/calcite/{p-5bbc365f.system.entry.js → p-9343b006.system.entry.js} +2 -2
- package/dist/calcite/{p-1c6bc78e.entry.js → p-9376e452.entry.js} +2 -2
- package/dist/calcite/{p-9689d57a.system.entry.js → p-946f25aa.system.entry.js} +2 -2
- package/dist/calcite/{p-d0047de8.system.entry.js → p-95d31dd3.system.entry.js} +3 -3
- package/dist/calcite/{p-662db081.system.js → p-97de2524.system.js} +1 -1
- package/dist/calcite/{p-1d8a659f.entry.js → p-9cddf1fe.entry.js} +2 -2
- package/dist/calcite/{p-e12c0332.system.entry.js → p-9e82f611.system.entry.js} +2 -2
- package/dist/calcite/{p-77ba3a75.entry.js → p-9f851997.entry.js} +2 -2
- package/dist/calcite/{p-ebe9283f.js → p-9fc45886.js} +2 -2
- package/dist/calcite/{p-185bbebe.system.entry.js → p-a00387d5.system.entry.js} +2 -2
- package/dist/calcite/{p-362017b2.system.js → p-a24243df.system.js} +1 -1
- package/dist/calcite/p-a243d424.system.entry.js +6 -0
- package/dist/calcite/{p-c0ca417e.entry.js → p-a39a5d5a.entry.js} +2 -2
- package/dist/calcite/{p-f3570229.system.entry.js → p-a4816e39.system.entry.js} +2 -2
- package/dist/calcite/{p-d5e345ee.system.js → p-aa8213fa.system.js} +1 -1
- package/dist/calcite/{p-186e9072.entry.js → p-aaf54fd7.entry.js} +2 -2
- package/dist/calcite/{p-050bccd2.system.entry.js → p-abf77f86.system.entry.js} +2 -2
- package/dist/calcite/p-acfc5ac5.system.js +6 -0
- package/dist/calcite/p-ae18c7bf.entry.js +6 -0
- package/dist/calcite/{p-3f0a88a5.js → p-b0c56132.js} +2 -2
- package/dist/calcite/{p-259901ca.system.entry.js → p-b5d4ec2a.system.entry.js} +2 -2
- package/dist/calcite/{p-c80f7567.system.js → p-b7994742.system.js} +1 -1
- package/dist/calcite/{p-4b690d1f.system.js → p-b7a91027.system.js} +1 -1
- package/dist/calcite/{p-1fa0d6dc.system.entry.js → p-b7e18a02.system.entry.js} +2 -2
- package/dist/calcite/{p-4ab1e412.system.js → p-ba2891fa.system.js} +1 -1
- package/dist/calcite/{p-549fb66c.system.entry.js → p-bb5ca21b.system.entry.js} +2 -2
- package/dist/calcite/p-bbc0e97b.entry.js +6 -0
- package/dist/calcite/{p-57e3ec6e.js → p-bc8c7786.js} +1 -1
- package/dist/calcite/{p-d4cde041.entry.js → p-bfe19402.entry.js} +2 -2
- package/dist/calcite/{p-1f7bcb20.system.js → p-bffb1382.system.js} +1 -1
- package/dist/calcite/{p-16755058.entry.js → p-c03cff6e.entry.js} +2 -2
- package/dist/calcite/{p-75bdaf1d.entry.js → p-c81af029.entry.js} +2 -2
- package/dist/calcite/{p-d77e1a0d.entry.js → p-cab52e4a.entry.js} +2 -2
- package/dist/calcite/{p-9f078008.system.entry.js → p-cab89beb.system.entry.js} +2 -2
- package/dist/calcite/{p-619fd20d.entry.js → p-cd058c74.entry.js} +2 -2
- package/dist/calcite/{p-053d6f2d.js → p-ce5c7763.js} +2 -2
- package/dist/calcite/{p-ed94b31e.entry.js → p-d09c30b8.entry.js} +2 -2
- package/dist/calcite/{p-bd07abeb.js → p-d2a5f28b.js} +1 -1
- package/dist/calcite/{p-57e5742a.js → p-d3118cd1.js} +1 -1
- package/dist/calcite/{p-2e486788.system.js → p-d4476ddd.system.js} +2 -2
- package/dist/calcite/{p-3b36d84f.system.entry.js → p-d47c3a7e.system.entry.js} +2 -2
- package/dist/calcite/{p-3e4cdc64.system.entry.js → p-d4bc3dd2.system.entry.js} +2 -2
- package/dist/calcite/{p-f9f5fb51.entry.js → p-d6bc2ae1.entry.js} +2 -2
- package/dist/calcite/{p-dfb05eff.system.entry.js → p-d8c77767.system.entry.js} +2 -2
- package/dist/calcite/{p-7e29926c.entry.js → p-dd6caec5.entry.js} +2 -2
- package/dist/calcite/{p-f505b966.system.js → p-de559994.system.js} +1 -1
- package/dist/calcite/{p-485002f2.system.entry.js → p-dedc61b7.system.entry.js} +2 -2
- package/dist/calcite/p-dfa49523.entry.js +6 -0
- package/dist/calcite/p-e0fba098.system.entry.js +6 -0
- package/dist/calcite/{p-0b2dbf1f.js → p-e1742743.js} +1 -1
- package/dist/calcite/{p-430ddb64.system.js → p-e17accb1.system.js} +1 -1
- package/dist/calcite/{p-6e6c766d.system.js → p-e1a96b23.system.js} +1 -1
- package/dist/calcite/{p-089c4e7a.system.js → p-e2de398a.system.js} +2 -2
- package/dist/calcite/{p-8de36feb.system.js → p-e3e1be6d.system.js} +2 -2
- package/dist/calcite/p-e6d58c04.entry.js +6 -0
- package/dist/calcite/{p-3d2c9fb7.entry.js → p-e805f85d.entry.js} +2 -2
- package/dist/calcite/{p-a52a7b0a.system.entry.js → p-e825b522.system.entry.js} +2 -2
- package/dist/calcite/{p-85b7d575.entry.js → p-e82aa633.entry.js} +2 -2
- package/dist/calcite/{p-9e69eb69.entry.js → p-e860007f.entry.js} +2 -2
- package/dist/calcite/{p-e664273e.js → p-e92f9fc6.js} +1 -1
- package/dist/calcite/{p-f2f938ed.entry.js → p-e9e4a131.entry.js} +2 -2
- package/dist/calcite/{p-ed3d5173.system.entry.js → p-e9f55090.system.entry.js} +2 -2
- package/dist/calcite/{p-43e54a04.entry.js → p-ea2e9a14.entry.js} +2 -2
- package/dist/calcite/{p-b4b3b61e.entry.js → p-ea379196.entry.js} +2 -2
- package/dist/calcite/{p-4d7092d7.js → p-ebbddc76.js} +2 -2
- package/dist/calcite/p-ec25f6fa.entry.js +6 -0
- package/dist/calcite/{p-83b0e6fa.system.entry.js → p-ec84d66e.system.entry.js} +2 -2
- package/dist/calcite/{p-5431b506.entry.js → p-ecbd3a0f.entry.js} +2 -2
- package/dist/calcite/{p-179814ff.system.entry.js → p-ed09c602.system.entry.js} +2 -2
- package/dist/calcite/{p-7688a4d8.system.entry.js → p-eea513ed.system.entry.js} +2 -2
- package/dist/calcite/{p-79819ce2.entry.js → p-f0994aca.entry.js} +2 -2
- package/dist/calcite/{p-44e87d25.entry.js → p-f0c66e92.entry.js} +2 -2
- package/dist/calcite/{p-36800b66.entry.js → p-f2928c5a.entry.js} +2 -2
- package/dist/calcite/{p-7750cf69.system.js → p-f3480eb2.system.js} +2 -2
- package/dist/calcite/{p-1442423a.entry.js → p-f54eed18.entry.js} +2 -2
- package/dist/calcite/{p-2bcbe086.system.entry.js → p-f7faffd2.system.entry.js} +2 -2
- package/dist/calcite/p-f8b0e4f1.system.entry.js +6 -0
- package/dist/calcite/p-fa077fb9.entry.js +6 -0
- package/dist/calcite/{p-38996036.system.entry.js → p-fdc4da44.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-c870fade.js → ExpandToggle-1c0fba17.js} +5 -5
- package/dist/cjs/{Heading-17afc80c.js → Heading-bbd94693.js} +2 -2
- package/dist/cjs/{app-globals-e1b88841.js → app-globals-f4f5b4f3.js} +2 -2
- package/dist/cjs/{array-731bcbb2.js → array-04b71de0.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +33 -20
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +18 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +30 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -20
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +12 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +32 -14
- package/dist/cjs/calcite-input.cjs.entry.js +15 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
- package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +11 -12
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-switch.cjs.entry.js +15 -16
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-dc6359e0.js → conditionalSlot-c5d23706.js} +3 -3
- package/dist/cjs/{debounce-7d685f39.js → debounce-8565a616.js} +1 -1
- package/dist/cjs/{dom-4efc4df7.js → dom-14e5af32.js} +3 -3
- package/dist/cjs/{filter-79a805e9.js → filter-e6823373.js} +2 -2
- package/dist/cjs/{floating-ui-d1c220ca.js → floating-ui-f1794a41.js} +2 -2
- package/dist/cjs/{form-3f0e0679.js → form-d0c52805.js} +6 -4
- package/dist/cjs/{guid-7ce1e44f.js → guid-0cd4a810.js} +1 -1
- package/dist/cjs/{index-e05dafb0.js → index-1551f0c3.js} +5 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-dcbc4725.js → interactive-b6c7ef94.js} +1 -1
- package/dist/cjs/{interfaces-8778d49d.js → interfaces-36e5c0a3.js} +1 -1
- package/dist/cjs/{key-b77dd9e1.js → key-c7d73dea.js} +1 -1
- package/dist/cjs/{label-6297b9e1.js → label-3c08392d.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-8baef0cd.js → locale-acfba29a.js} +2 -2
- package/dist/cjs/{math-e5bb2fa2.js → math-437432fd.js} +1 -1
- package/dist/cjs/{observers-edab9098.js → observers-36262a56.js} +1 -1
- package/dist/cjs/{openCloseComponent-8b7f305e.js → openCloseComponent-9ca34c15.js} +1 -1
- package/dist/cjs/{resources-d70c9d00.js → resources-1a5e5de5.js} +5 -5
- package/dist/cjs/{resources-01597c65.js → resources-2ad5cd52.js} +1 -1
- package/dist/cjs/{resources-b0217622.js → resources-a8470dd3.js} +3 -3
- package/dist/cjs/{resources-ebab5fd6.js → resources-dbdd4e73.js} +1 -1
- package/dist/cjs/{resources-198c6f21.js → resources-f351edf3.js} +1 -1
- package/dist/cjs/{sortable.esm-7290c83b.js → sortable.esm-c6b45879.js} +1 -1
- package/dist/cjs/{utils-ccab61d8.js → utils-f923cce9.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- 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.js +2 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -2
- 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 +1 -1
- 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 +20 -7
- 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 +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +22 -11
- 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 +2 -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 +4 -2
- 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 +16 -13
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- 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 -4
- 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 +4 -2
- 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 +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
- 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 +3 -2
- 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 +3 -2
- 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 +2 -2
- package/dist/collection/components/popover/popover.js +1 -1
- 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 +2 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +2 -2
- 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 +5 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +2 -2
- package/dist/collection/components/select/select.js +15 -15
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +17 -17
- package/dist/collection/components/slider/slider.js +38 -38
- 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 +25 -26
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -21
- package/dist/collection/components/stepper-item/stepper-item.js +19 -19
- package/dist/collection/components/switch/switch.js +16 -17
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- 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 +13 -2
- 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 +1 -1
- 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 +4 -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 +4 -2
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- 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 +1 -1
- package/dist/collection/utils/theme.js +1 -1
- 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 +2 -1
- 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 +3 -2
- package/dist/components/calcite-accordion.js +1 -1
- 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 +2 -2
- 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 +2 -3
- 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 +23 -10
- 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 +18 -15
- package/dist/components/calcite-input-date-picker.js +11 -7
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +7 -4
- package/dist/components/calcite-input-text.js +7 -4
- package/dist/components/calcite-input-time-picker.js +12 -5
- 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 +4 -3
- 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 +4 -3
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +3 -3
- 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 +1 -1
- package/dist/components/calcite-radio-button.js +4 -3
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +7 -7
- package/dist/components/calcite-shell-center-row.js +5 -5
- package/dist/components/calcite-shell-panel.js +8 -8
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +14 -14
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +9 -10
- package/dist/components/calcite-stepper-item.js +9 -9
- package/dist/components/calcite-stepper.js +10 -10
- 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 +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +3 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +5 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- 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 +5 -8
- package/dist/components/date-picker-month.js +4 -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 +3 -15
- package/dist/components/dropdown.js +23 -12
- package/dist/components/filter.js +741 -168
- package/dist/components/filter2.js +169 -741
- package/dist/components/floating-ui.js +3 -3
- package/dist/components/form.js +5 -3
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +5 -92
- package/dist/components/index.js +2 -94
- package/dist/components/input.js +7 -4
- 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 +112 -87
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +3 -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 +3 -3
- package/dist/components/popover.js +3 -3
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +3 -4
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +8 -9
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +13 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +178 -116
- package/dist/esm/{ExpandToggle-f12a7145.js → ExpandToggle-03b5e1d5.js} +5 -5
- package/dist/esm/{Heading-ca8012f3.js → Heading-047b0cdc.js} +2 -2
- package/dist/esm/{app-globals-0dea7c34.js → app-globals-51b23e15.js} +2 -2
- package/dist/esm/{array-8f37a85a.js → array-d8ba8c7e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +9 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +7 -7
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -11
- package/dist/esm/calcite-combobox_3.entry.js +33 -20
- package/dist/esm/calcite-date-picker_4.entry.js +18 -18
- package/dist/esm/calcite-dropdown_3.entry.js +30 -19
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +9 -8
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +23 -23
- package/dist/esm/calcite-handle.entry.js +7 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +23 -20
- package/dist/esm/calcite-input-date-picker.entry.js +20 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +15 -13
- package/dist/esm/calcite-input-text.entry.js +12 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +32 -14
- package/dist/esm/calcite-input.entry.js +15 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -9
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +14 -14
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +12 -11
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -11
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +4 -5
- package/dist/esm/calcite-shell_3.entry.js +18 -18
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +11 -12
- package/dist/esm/calcite-stepper_2.entry.js +23 -23
- package/dist/esm/calcite-switch.entry.js +15 -16
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +15 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-a4c96c8d.js → conditionalSlot-26b969d3.js} +3 -3
- package/dist/esm/{debounce-841521b1.js → debounce-5345e0be.js} +1 -1
- package/dist/esm/{dom-42491565.js → dom-c10efc2c.js} +3 -3
- package/dist/esm/{filter-099dc292.js → filter-117ae85d.js} +2 -2
- package/dist/esm/{floating-ui-f2ddd7c3.js → floating-ui-406554be.js} +2 -2
- package/dist/esm/{form-ad1965a4.js → form-1bdffa27.js} +6 -4
- package/dist/esm/{guid-73322791.js → guid-474ffdfd.js} +1 -1
- package/dist/esm/{index-06221bfb.js → index-c054e517.js} +5 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ff1f7f87.js → interactive-8995ce7f.js} +1 -1
- package/dist/esm/{interfaces-e7ff50ef.js → interfaces-e4871505.js} +1 -1
- package/dist/esm/{key-22a0f143.js → key-9207ff34.js} +1 -1
- package/dist/esm/{label-1b193aff.js → label-6adb2d63.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-88c03f90.js → locale-16ed87c7.js} +2 -2
- package/dist/esm/{math-e44d4881.js → math-f945d4d5.js} +1 -1
- package/dist/esm/{observers-9d4ab86b.js → observers-3abc495b.js} +1 -1
- package/dist/esm/{openCloseComponent-56a35411.js → openCloseComponent-0e0f40f0.js} +1 -1
- package/dist/esm/{resources-414ad2dc.js → resources-46a8f154.js} +5 -5
- package/dist/esm/{resources-8fc2f7f1.js → resources-db29e676.js} +1 -1
- package/dist/esm/{resources-ea033965.js → resources-df14e68c.js} +1 -1
- package/dist/esm/{resources-f6b51a5c.js → resources-e4516415.js} +3 -3
- package/dist/esm/{resources-4fe95540.js → resources-e6bf7975.js} +1 -1
- package/dist/esm/{sortable.esm-3ef91fcd.js → sortable.esm-10070431.js} +1 -1
- package/dist/esm/{utils-c26a2cd8.js → utils-996a3c90.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-f12a7145.js → ExpandToggle-03b5e1d5.js} +2 -2
- package/dist/esm-es5/Heading-047b0cdc.js +6 -0
- package/dist/esm-es5/{app-globals-0dea7c34.js → app-globals-51b23e15.js} +2 -2
- package/dist/esm-es5/{array-8f37a85a.js → array-d8ba8c7e.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- 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-a4c96c8d.js → conditionalSlot-26b969d3.js} +2 -2
- package/dist/esm-es5/{debounce-841521b1.js → debounce-5345e0be.js} +1 -1
- package/dist/esm-es5/{dom-42491565.js → dom-c10efc2c.js} +2 -2
- package/dist/esm-es5/{filter-099dc292.js → filter-117ae85d.js} +2 -2
- package/dist/esm-es5/{floating-ui-f2ddd7c3.js → floating-ui-406554be.js} +2 -2
- package/dist/esm-es5/form-1bdffa27.js +6 -0
- package/dist/esm-es5/{guid-73322791.js → guid-474ffdfd.js} +1 -1
- package/dist/esm-es5/index-c054e517.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-ff1f7f87.js → interactive-8995ce7f.js} +1 -1
- package/dist/esm-es5/{interfaces-e7ff50ef.js → interfaces-e4871505.js} +1 -1
- package/dist/esm-es5/{key-22a0f143.js → key-9207ff34.js} +1 -1
- package/dist/esm-es5/{label-1b193aff.js → label-6adb2d63.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-88c03f90.js → locale-16ed87c7.js} +2 -2
- package/dist/esm-es5/{math-e44d4881.js → math-f945d4d5.js} +1 -1
- package/dist/esm-es5/{observers-9d4ab86b.js → observers-3abc495b.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-56a35411.js → openCloseComponent-0e0f40f0.js} +1 -1
- package/dist/esm-es5/{resources-414ad2dc.js → resources-46a8f154.js} +2 -2
- package/dist/esm-es5/{resources-8fc2f7f1.js → resources-db29e676.js} +1 -1
- package/dist/esm-es5/{resources-ea033965.js → resources-df14e68c.js} +1 -1
- package/dist/esm-es5/{resources-f6b51a5c.js → resources-e4516415.js} +2 -2
- package/dist/esm-es5/{resources-4fe95540.js → resources-e6bf7975.js} +1 -1
- package/dist/esm-es5/{sortable.esm-3ef91fcd.js → sortable.esm-10070431.js} +1 -1
- package/dist/esm-es5/{utils-c26a2cd8.js → utils-996a3c90.js} +1 -1
- package/dist/extras/docs-json.json +118 -118
- 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/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/scrim/scrim.d.ts +2 -3
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
- package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
- package/dist/types/components/slider/slider.d.ts +32 -29
- package/dist/types/components/split-button/split-button.d.ts +18 -19
- package/dist/types/components/stepper/stepper.d.ts +11 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
- package/dist/types/components/switch/switch.d.ts +9 -9
- package/dist/types/components.d.ts +170 -170
- package/dist/types/utils/form.d.ts +2 -1
- package/hydrate/index.js +191 -302
- package/package.json +2 -2
- package/readme.md +2 -2
- package/dist/calcite/p-098e2929.system.entry.js +0 -6
- package/dist/calcite/p-0b6e742e.system.js +0 -6
- package/dist/calcite/p-14661dbd.system.entry.js +0 -6
- package/dist/calcite/p-27292a37.entry.js +0 -6
- package/dist/calcite/p-34fc3044.system.js +0 -6
- package/dist/calcite/p-473cdc07.js +0 -6
- package/dist/calcite/p-489fa1b0.entry.js +0 -6
- package/dist/calcite/p-500e5bfd.js +0 -6
- package/dist/calcite/p-58bfb933.entry.js +0 -6
- package/dist/calcite/p-5ca05270.system.js +0 -6
- package/dist/calcite/p-69ae393b.system.js +0 -6
- package/dist/calcite/p-6a495e2f.entry.js +0 -6
- package/dist/calcite/p-7505e5f2.entry.js +0 -6
- package/dist/calcite/p-799d6510.entry.js +0 -6
- package/dist/calcite/p-8d3fc4ee.entry.js +0 -6
- package/dist/calcite/p-913c10d7.entry.js +0 -6
- package/dist/calcite/p-967ab5ce.js +0 -7
- package/dist/calcite/p-a562f13f.js +0 -6
- package/dist/calcite/p-a70ed6e7.entry.js +0 -6
- package/dist/calcite/p-a71d58b7.entry.js +0 -6
- package/dist/calcite/p-ae9b373a.entry.js +0 -6
- package/dist/calcite/p-bd29bacb.system.js +0 -7
- package/dist/calcite/p-be784116.entry.js +0 -6
- package/dist/calcite/p-bf1e9f67.entry.js +0 -6
- package/dist/calcite/p-c69f0a78.entry.js +0 -6
- package/dist/calcite/p-c8c3e524.system.entry.js +0 -6
- package/dist/calcite/p-ca31a5e2.entry.js +0 -6
- package/dist/calcite/p-cf78df6d.system.entry.js +0 -6
- package/dist/calcite/p-ed77bad5.system.entry.js +0 -6
- package/dist/calcite/p-f7dbcbb8.entry.js +0 -6
- package/dist/calcite/p-f8f14c87.entry.js +0 -6
- package/dist/calcite/p-fb294b8e.entry.js +0 -6
- package/dist/calcite/p-fbf72dda.system.entry.js +0 -6
- package/dist/esm-es5/Heading-ca8012f3.js +0 -6
- package/dist/esm-es5/form-ad1965a4.js +0 -6
- package/dist/esm-es5/index-06221bfb.js +0 -7
|
@@ -1,19 +1,19 @@
|
|
|
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.558
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { S as Sortable } from './sortable.esm-
|
|
8
|
-
import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import { g as getSlotted } from './dom-
|
|
13
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
14
|
-
import './array-
|
|
15
|
-
import './debounce-
|
|
16
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-c054e517.js';
|
|
7
|
+
import { S as Sortable } from './sortable.esm-10070431.js';
|
|
8
|
+
import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-46a8f154.js';
|
|
9
|
+
import { c as createObserver } from './observers-3abc495b.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-8995ce7f.js';
|
|
11
|
+
import { g as guid } from './guid-474ffdfd.js';
|
|
12
|
+
import { g as getSlotted } from './dom-c10efc2c.js';
|
|
13
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-26b969d3.js';
|
|
14
|
+
import './array-d8ba8c7e.js';
|
|
15
|
+
import './debounce-5345e0be.js';
|
|
16
|
+
import './resources-db29e676.js';
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
19
19
|
container: "container",
|
|
@@ -125,6 +125,9 @@ const ValueList = class {
|
|
|
125
125
|
this.handleFilter = handleFilter.bind(this);
|
|
126
126
|
this.getItemData = getItemData.bind(this);
|
|
127
127
|
this.keyDownHandler = (event) => {
|
|
128
|
+
if (event.defaultPrevented) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
128
131
|
const { handle, item } = getHandleAndItemElement(event);
|
|
129
132
|
if (handle && !item.handleActivated && event.key === " ") {
|
|
130
133
|
this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
|
package/dist/esm/calcite.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.558
|
|
5
5
|
*/
|
|
6
|
-
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
import { g as globalScripts } from './app-globals-
|
|
8
|
-
import './resources-
|
|
6
|
+
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-c054e517.js';
|
|
7
|
+
import { g as globalScripts } from './app-globals-51b23e15.js';
|
|
8
|
+
import './resources-db29e676.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
|
-
Stencil Client Patch Browser v2.
|
|
11
|
+
Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const patchBrowser = () => {
|
|
14
14
|
// @ts-ignore
|
|
@@ -1,10 +1,10 @@
|
|
|
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.558
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
6
|
+
import { f as forceUpdate } from './index-c054e517.js';
|
|
7
|
+
import { c as createObserver } from './observers-3abc495b.js';
|
|
8
8
|
|
|
9
9
|
const observed = new Set();
|
|
10
10
|
let mutationObserver;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
@@ -1,10 +1,10 @@
|
|
|
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.558
|
|
5
5
|
*/
|
|
6
|
-
import { C as CSS_UTILITY } from './resources-
|
|
7
|
-
import { g as guid } from './guid-
|
|
6
|
+
import { C as CSS_UTILITY } from './resources-db29e676.js';
|
|
7
|
+
import { g as guid } from './guid-474ffdfd.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* This helper will guarantee an ID on the provided element.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-
|
|
6
|
+
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-5345e0be.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { a as getElementDir } from './dom-c10efc2c.js';
|
|
7
7
|
|
|
8
8
|
function getSide(placement) {
|
|
9
9
|
return placement.split('-')[0];
|
|
@@ -1,10 +1,10 @@
|
|
|
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.558
|
|
5
5
|
*/
|
|
6
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
7
|
-
import { h } from './index-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary } from './dom-c10efc2c.js';
|
|
7
|
+
import { h } from './index-c054e517.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes.
|
|
@@ -35,13 +35,15 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
35
35
|
* Helper to submit a form.
|
|
36
36
|
*
|
|
37
37
|
* @param component
|
|
38
|
+
* @returns true if its associated form was submitted, false otherwise.
|
|
38
39
|
*/
|
|
39
40
|
function submitForm(component) {
|
|
40
41
|
const { formEl } = component;
|
|
41
42
|
if (!formEl) {
|
|
42
|
-
return;
|
|
43
|
+
return false;
|
|
43
44
|
}
|
|
44
45
|
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
|
46
|
+
return true;
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* Helper to reset a form.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const NAMESPACE = 'calcite';
|
|
7
7
|
|
|
@@ -22,10 +22,10 @@ const plt = {
|
|
|
22
22
|
};
|
|
23
23
|
const supportsShadow = true;
|
|
24
24
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
25
|
-
const
|
|
25
|
+
const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
|
|
26
26
|
try {
|
|
27
27
|
new CSSStyleSheet();
|
|
28
|
-
return typeof new CSSStyleSheet().
|
|
28
|
+
return typeof new CSSStyleSheet().replace === 'function';
|
|
29
29
|
}
|
|
30
30
|
catch (e) { }
|
|
31
31
|
return false;
|
|
@@ -95,14 +95,9 @@ const uniqueTime = (key, measureText) => {
|
|
|
95
95
|
const rootAppliedStyles = new WeakMap();
|
|
96
96
|
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
97
97
|
let style = styles.get(scopeId);
|
|
98
|
-
if (
|
|
98
|
+
if (supportsConstructibleStylesheets && allowCS) {
|
|
99
99
|
style = (style || new CSSStyleSheet());
|
|
100
|
-
|
|
101
|
-
style = cssText;
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
style.replaceSync(cssText);
|
|
105
|
-
}
|
|
100
|
+
style.replace(cssText);
|
|
106
101
|
}
|
|
107
102
|
else {
|
|
108
103
|
style = cssText;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-
|
|
6
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-c10efc2c.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Exported for testing purposes only
|
package/dist/esm/loader.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.558
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
import { g as globalScripts } from './app-globals-
|
|
8
|
-
import './resources-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-c054e517.js';
|
|
7
|
+
import { g as globalScripts } from './app-globals-51b23e15.js';
|
|
8
|
+
import './resources-db29e676.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
|
-
Stencil Client Patch Esm v2.
|
|
11
|
+
Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const patchEsm = () => {
|
|
14
14
|
return promiseResolve();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import { n as numberKeys } from './key-
|
|
6
|
+
import { n as numberKeys } from './key-9207ff34.js';
|
|
7
7
|
|
|
8
8
|
// regex for number sanitization
|
|
9
9
|
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-c10efc2c.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-d8ba8c7e.js';
|
|
8
|
+
import { d as debounce } from './debounce-5345e0be.js';
|
|
9
|
+
import { h, H as Host } from './index-c054e517.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const autoTheme = "calcite-theme-auto";
|
|
7
7
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,10 +1,10 @@
|
|
|
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.558
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { a as locales } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-c054e517.js';
|
|
7
|
+
import { a as locales } from './locale-16ed87c7.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Get supported locale code from raw user input
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import{f as forceUpdate,h}from"./index-
|
|
6
|
+
import{f as forceUpdate,h}from"./index-c054e517.js";import{a as getElementDir}from"./dom-c10efc2c.js";import{S as SLOTS}from"./resources-e6bf7975.js";import{S as SLOTS$1}from"./resources-df14e68c.js";var overflowActionsDebounceInMs=150;var groupBufferPx=2;var getAverage=function(e){return e.reduce((function(e,t){return e+t}),0)/e.length};var geActionDimensions=function(e){var t=e===null||e===void 0?void 0:e.length;return{actionWidth:t?getAverage(e.map((function(e){return e.clientWidth||0}))):0,actionHeight:t?getAverage(e.map((function(e){return e.clientHeight||0}))):0}};var getMaxActionCount=function(e){var t=e.width,n=e.actionWidth,o=e.layout,r=e.height,i=e.actionHeight,a=e.groupCount;var c=o==="horizontal"?t:r;var l=o==="horizontal"?n:i;return Math.floor((c-a*groupBufferPx)/l)};var getOverflowCount=function(e){var t=e.layout,n=e.actionCount,o=e.actionWidth,r=e.width,i=e.actionHeight,a=e.height,c=e.groupCount;return Math.max(n-getMaxActionCount({width:r,actionWidth:o,layout:t,height:a,actionHeight:i,groupCount:c}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,n=e.expanded,o=e.overflowCount;var r=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=n}}));if(r>0){o.some((function(e){var n=o.filter((function(e){return!e.slot}));if(n.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){r--}}return r<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var n;return e||((n=t.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function toggleChildActionText(e){var t=e.parent,n=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=n}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=n}))}var setTooltipReference=function(e){var t=e.tooltip,n=e.referenceElement,o=e.expanded,r=e.ref;if(t){t.referenceElement=!o&&n?n:null}if(r){r(n)}return n};var ExpandToggle=function(e){var t=e.expanded,n=e.intlExpand,o=e.intlCollapse,r=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?o:n;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var d=g?v[1]:v[0];var p=g?v[0]:v[1];var m=h("calcite-action",{icon:t?d:p,onClick:r,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as b,geActionDimensions as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var e,a=1,t=arguments.length;a<t;a++){e=arguments[a];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))n[i]=e[i]}return n};return __assign.apply(this,arguments)};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-next.558
|
|
6
|
+
*/import{h}from"./index-c054e517.js";function constrainHeadingLevel(n){return Math.min(Math.max(Math.ceil(n),1),6)}var Heading=function(n,e){var a="h".concat(n.level);delete n.level;return h(a,__assign({},n),e)};export{Heading as H,constrainHeadingLevel as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import{d as darkTheme,a as autoTheme}from"./resources-
|
|
6
|
+
import{d as darkTheme,a as autoTheme}from"./resources-db29e676.js";function initThemeChangeEvent(){var e=document.body.classList;var t=window.matchMedia("(prefers-color-scheme: dark)").matches;var r=function(){return e.contains(darkTheme)||e.contains(autoTheme)&&t?"dark":"light"};var a=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var n=function(e){i!==e&&a(e);i=e};var i=r();a(i);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return n(e.matches?"dark":"light")}));new MutationObserver((function(){return n(r())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function appGlobalScript(){if(isBrowser()){initThemeChangeEvent()}}var isBrowser=new Function("try {return this===window;}catch(e){ return false;}");var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-06221bfb.js";import{d as getElementProp,g as getSlotted,a as getElementDir,t as toAriaBoolean}from"./dom-42491565.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-a4c96c8d.js";import{C as CSS_UTILITY}from"./resources-8fc2f7f1.js";import"./guid-73322791.js";import"./observers-9d4ab86b.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",6);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var n=i.key;var a=t.target;var o=this.itemIndex(a)===0;var c=this.itemIndex(a)===this.items.length-1;switch(n){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(a)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var SLOTS={actionsStart:"actions-start",actionsEnd:"actions-end"};var CSS={icon:"icon",header:"header",headerContent:"header-content",actionsStart:"actions-start",actionsEnd:"actions-end",headerText:"header-text",heading:"heading",description:"description",expandIcon:"expand-icon",content:"content"};var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",6);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",6);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",6);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",6);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.activeHandler=function(t){this.expanded=t};t.prototype.expandedHandler=function(t){this.active=t};t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition);var t=this.active||this.expanded;if(t){this.activeHandler(t);this.expandedHandler(t)}connectConditionalSlotComponent(this)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderActionsStart=function(){var t=this.el;return getSlotted(t,SLOTS.actionsStart)?h("div",{class:CSS.actionsStart},h("slot",{name:SLOTS.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return getSlotted(t,SLOTS.actionsEnd)?h("div",{class:CSS.actionsEnd},h("slot",{name:SLOTS.actionsEnd})):null};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var n=h("calcite-icon",{class:CSS.icon,icon:this.icon,scale:"s"});return h(Host,null,h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{class:(i={},i[CSS.header]=true,i[CSS_UTILITY.rtl]=e==="rtl",i)},this.renderActionsStart(),h("div",{"aria-expanded":toAriaBoolean(this.active||this.expanded),class:CSS.headerContent,onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},this.icon?n:null,h("div",{class:CSS.headerText},h("span",{class:CSS.heading},this.heading||this.itemTitle),this.itemSubtitle||this.description?h("span",{class:CSS.description},this.description||this.itemSubtitle):null),h("calcite-icon",{class:CSS.expandIcon,icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),this.renderActionsEnd()),h("div",{class:CSS.content},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.expanded=!this.expanded}break;case"single":this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|
|
6
|
+
import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-c054e517.js";import{d as getElementProp,g as getSlotted,a as getElementDir,t as toAriaBoolean}from"./dom-c10efc2c.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-26b969d3.js";import{C as CSS_UTILITY}from"./resources-db29e676.js";import"./guid-474ffdfd.js";import"./observers-3abc495b.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",6);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var n=i.key;var a=t.target;var o=this.itemIndex(a)===0;var c=this.itemIndex(a)===this.items.length-1;switch(n){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(a)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var SLOTS={actionsStart:"actions-start",actionsEnd:"actions-end"};var CSS={icon:"icon",header:"header",headerContent:"header-content",actionsStart:"actions-start",actionsEnd:"actions-end",headerText:"header-text",heading:"heading",description:"description",expandIcon:"expand-icon",content:"content"};var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",6);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",6);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",6);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",6);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.activeHandler=function(t){this.expanded=t};t.prototype.expandedHandler=function(t){this.active=t};t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition);var t=this.active||this.expanded;if(t){this.activeHandler(t);this.expandedHandler(t)}connectConditionalSlotComponent(this)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderActionsStart=function(){var t=this.el;return getSlotted(t,SLOTS.actionsStart)?h("div",{class:CSS.actionsStart},h("slot",{name:SLOTS.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return getSlotted(t,SLOTS.actionsEnd)?h("div",{class:CSS.actionsEnd},h("slot",{name:SLOTS.actionsEnd})):null};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var n=h("calcite-icon",{class:CSS.icon,icon:this.icon,scale:"s"});return h(Host,null,h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{class:(i={},i[CSS.header]=true,i[CSS_UTILITY.rtl]=e==="rtl",i)},this.renderActionsStart(),h("div",{"aria-expanded":toAriaBoolean(this.active||this.expanded),class:CSS.headerContent,onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},this.icon?n:null,h("div",{class:CSS.headerText},h("span",{class:CSS.heading},this.heading||this.itemTitle),this.itemSubtitle||this.description?h("span",{class:CSS.description},this.description||this.itemSubtitle):null),h("calcite-icon",{class:CSS.expandIcon,icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),this.renderActionsEnd()),h("div",{class:CSS.content},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.expanded=!this.expanded}break;case"single":this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
|