@esri/calcite-components 2.6.0-next.1 → 2.6.0-next.3
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/card/t9n/messages.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_en.json +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0061ff99.js +7 -0
- package/dist/calcite/p-0491fea7.js +7 -0
- package/dist/calcite/p-052205e6.js +7 -0
- package/dist/calcite/p-0537c304.entry.js +7 -0
- package/dist/calcite/p-05f44b1e.js +7 -0
- package/dist/calcite/p-068098c8.js +7 -0
- package/dist/calcite/p-070aef63.entry.js +7 -0
- package/dist/calcite/p-070aef63.entry.js.map +1 -0
- package/dist/calcite/p-083a002a.entry.js +7 -0
- package/dist/calcite/p-0b738ad4.js +7 -0
- package/dist/calcite/p-0b76add0.entry.js +7 -0
- package/dist/calcite/p-0f2558c6.js +11 -0
- package/dist/calcite/p-110e5bc8.js +7 -0
- package/dist/calcite/p-11b1571e.js +7 -0
- package/dist/calcite/p-11c25b0e.js +7 -0
- package/dist/calcite/p-1204cf5a.js +7 -0
- package/dist/calcite/p-14025fa8.entry.js +7 -0
- package/dist/calcite/p-1446bf35.entry.js +7 -0
- package/dist/calcite/p-15f3a8e1.js +7 -0
- package/dist/calcite/p-16a34f84.entry.js +7 -0
- package/dist/calcite/p-17b3ec05.js +7 -0
- package/dist/calcite/p-187fcbe6.entry.js +7 -0
- package/dist/calcite/p-187fcbe6.entry.js.map +1 -0
- package/dist/calcite/p-1a913088.entry.js +7 -0
- package/dist/calcite/p-1cf7a670.entry.js +7 -0
- package/dist/calcite/p-1dc9a386.js +7 -0
- package/dist/calcite/p-1f475d47.entry.js +7 -0
- package/dist/calcite/p-203b1310.entry.js +7 -0
- package/dist/calcite/p-203b1310.entry.js.map +1 -0
- package/dist/calcite/p-2073d001.entry.js +7 -0
- package/dist/calcite/p-2073d001.entry.js.map +1 -0
- package/dist/calcite/p-20e035bf.js +7 -0
- package/dist/calcite/p-224218c9.js +12 -0
- package/dist/calcite/p-238c0889.js +7 -0
- package/dist/calcite/p-2453b380.js +7 -0
- package/dist/calcite/p-24e53aae.js +7 -0
- package/dist/calcite/p-2602094a.entry.js +7 -0
- package/dist/calcite/p-2939f2e9.js +7 -0
- package/dist/calcite/p-307d643b.entry.js +7 -0
- package/dist/calcite/p-307d643b.entry.js.map +1 -0
- package/dist/calcite/p-33ac757f.js +7 -0
- package/dist/calcite/p-33dc3536.entry.js +7 -0
- package/dist/calcite/p-34623328.js +7 -0
- package/dist/calcite/p-34daf121.entry.js +7 -0
- package/dist/calcite/p-34daf121.entry.js.map +1 -0
- package/dist/calcite/p-36e9d514.js +7 -0
- package/dist/calcite/p-37106871.entry.js +7 -0
- package/dist/calcite/p-37106871.entry.js.map +1 -0
- package/dist/calcite/p-38002734.entry.js +7 -0
- package/dist/calcite/p-38002734.entry.js.map +1 -0
- package/dist/calcite/p-3aebc43a.entry.js +7 -0
- package/dist/calcite/p-3aebc43a.entry.js.map +1 -0
- package/dist/calcite/p-3db893b2.entry.js +7 -0
- package/dist/calcite/p-3de0b2f7.entry.js +7 -0
- package/dist/calcite/p-3de0b2f7.entry.js.map +1 -0
- package/dist/calcite/p-3ee71bf4.js +7 -0
- package/dist/calcite/p-3f844a5a.js +7 -0
- package/dist/calcite/p-4020d6a6.js +7 -0
- package/dist/calcite/p-40a12053.entry.js +7 -0
- package/dist/calcite/p-4531c10d.entry.js +7 -0
- package/dist/calcite/p-4531c10d.entry.js.map +1 -0
- package/dist/calcite/p-45521e0e.entry.js +7 -0
- package/dist/calcite/p-45521e0e.entry.js.map +1 -0
- package/dist/calcite/p-458bdc33.js +7 -0
- package/dist/calcite/p-4933044b.js +7 -0
- package/dist/calcite/p-4de25bff.entry.js +7 -0
- package/dist/calcite/p-4de25bff.entry.js.map +1 -0
- package/dist/calcite/p-4fc83781.entry.js +7 -0
- package/dist/calcite/p-4fc83781.entry.js.map +1 -0
- package/dist/calcite/p-520a01aa.entry.js +7 -0
- package/dist/calcite/p-520a01aa.entry.js.map +1 -0
- package/dist/calcite/p-572fddf4.entry.js +7 -0
- package/dist/calcite/p-572fddf4.entry.js.map +1 -0
- package/dist/calcite/p-573201c9.js +7 -0
- package/dist/calcite/p-59e7feff.js +13 -0
- package/dist/calcite/p-5ae3e072.entry.js +7 -0
- package/dist/calcite/p-5af672dd.js +7 -0
- package/dist/calcite/p-5bb06c91.js +7 -0
- package/dist/calcite/p-5bec48a8.entry.js +7 -0
- package/dist/calcite/p-5d42de91.js +7 -0
- package/dist/calcite/p-5e42b2a2.js +7 -0
- package/dist/calcite/p-6014723f.entry.js +7 -0
- package/dist/calcite/p-603943ce.js +7 -0
- package/dist/calcite/p-621f4806.js +7 -0
- package/dist/calcite/p-65766338.entry.js +7 -0
- package/dist/calcite/p-65766338.entry.js.map +1 -0
- package/dist/calcite/p-675402ed.js +7 -0
- package/dist/calcite/p-698a02b2.entry.js +7 -0
- package/dist/calcite/p-6a1ea4a6.js +7 -0
- package/dist/calcite/p-6e79eb68.js +7 -0
- package/dist/calcite/p-6eb7c82b.js +7 -0
- package/dist/calcite/p-7213009f.entry.js +7 -0
- package/dist/calcite/p-74b9b77d.entry.js +7 -0
- package/dist/calcite/p-783d0e6a.js +7 -0
- package/dist/calcite/p-7a67d946.entry.js +7 -0
- package/dist/calcite/p-7bce3af3.entry.js +7 -0
- package/dist/calcite/p-7cc4bcb2.js +7 -0
- package/dist/calcite/p-819bde10.js +8 -0
- package/dist/calcite/p-826740f4.js +7 -0
- package/dist/calcite/p-826eb9ad.js +7 -0
- package/dist/calcite/p-8449e266.entry.js +7 -0
- package/dist/calcite/p-8449e266.entry.js.map +1 -0
- package/dist/calcite/p-8617edb6.js +7 -0
- package/dist/calcite/p-866151cc.js +7 -0
- package/dist/calcite/p-86bd01e0.js +7 -0
- package/dist/calcite/p-86eaeac9.entry.js +7 -0
- package/dist/calcite/p-86eaeac9.entry.js.map +1 -0
- package/dist/calcite/p-86fa0665.entry.js +7 -0
- package/dist/calcite/p-8946d3c8.js +7 -0
- package/dist/calcite/p-8bcc99c2.js +7 -0
- package/dist/calcite/p-8dad8cc3.js +7 -0
- package/dist/calcite/p-8e5cab2f.js +7 -0
- package/dist/calcite/p-912680f2.entry.js +7 -0
- package/dist/calcite/p-912680f2.entry.js.map +1 -0
- package/dist/calcite/p-920f47ed.js +7 -0
- package/dist/calcite/p-94e6d97e.js +7 -0
- package/dist/calcite/p-952d10a6.js +7 -0
- package/dist/calcite/p-95ba6c93.entry.js +7 -0
- package/dist/calcite/p-95ba6c93.entry.js.map +1 -0
- package/dist/calcite/p-95da7cdd.js +7 -0
- package/dist/calcite/p-9621fe6f.entry.js +7 -0
- package/dist/calcite/p-979c3d5d.js +7 -0
- package/dist/calcite/p-983da2ab.entry.js +7 -0
- package/dist/calcite/p-983da2ab.entry.js.map +1 -0
- package/dist/calcite/p-9a8b5ee6.js +7 -0
- package/dist/calcite/p-9b50b94f.entry.js +7 -0
- package/dist/calcite/p-9b50b94f.entry.js.map +1 -0
- package/dist/calcite/p-9d70d331.js +7 -0
- package/dist/calcite/p-9d9f3d4a.entry.js +7 -0
- package/dist/calcite/p-9d9f3d4a.entry.js.map +1 -0
- package/dist/calcite/p-9e0e23ad.entry.js +7 -0
- package/dist/calcite/p-9e0e23ad.entry.js.map +1 -0
- package/dist/calcite/p-a05cc06b.entry.js +7 -0
- package/dist/calcite/p-a1fc27c5.js +7 -0
- package/dist/calcite/p-a5baec64.js +7 -0
- package/dist/calcite/p-a665fd8c.js +7 -0
- package/dist/calcite/p-a71f8554.entry.js +7 -0
- package/dist/calcite/p-a7f3cc0f.entry.js +7 -0
- package/dist/calcite/p-a7f3cc0f.entry.js.map +1 -0
- package/dist/calcite/p-ac175cd6.js +7 -0
- package/dist/calcite/p-af9dc83a.js +7 -0
- package/dist/calcite/p-afacbd83.js +7 -0
- package/dist/calcite/p-b3699100.js +7 -0
- package/dist/calcite/p-b47fea72.js +7 -0
- package/dist/calcite/p-b4de9424.js +7 -0
- package/dist/calcite/p-b5a7ba7b.js +7 -0
- package/dist/calcite/p-b5d774a4.js +7 -0
- package/dist/calcite/p-b5e95612.entry.js +7 -0
- package/dist/calcite/p-b5e95612.entry.js.map +1 -0
- package/dist/calcite/p-b6ea2371.entry.js +7 -0
- package/dist/calcite/p-b6ea2371.entry.js.map +1 -0
- package/dist/calcite/p-b6fd49e7.js +7 -0
- package/dist/calcite/p-b832e405.entry.js +7 -0
- package/dist/calcite/p-b832e405.entry.js.map +1 -0
- package/dist/calcite/p-baa6b5dd.entry.js +7 -0
- package/dist/calcite/p-baa6b5dd.entry.js.map +1 -0
- package/dist/calcite/p-bb1f73f1.entry.js +7 -0
- package/dist/calcite/p-bb1f73f1.entry.js.map +1 -0
- package/dist/calcite/p-bdc14ccb.js +7 -0
- package/dist/calcite/p-beb22c39.entry.js +7 -0
- package/dist/calcite/p-beb22c39.entry.js.map +1 -0
- package/dist/calcite/p-bf6a6593.entry.js +7 -0
- package/dist/calcite/p-c4e7bfd1.js +7 -0
- package/dist/calcite/p-cd83aa57.entry.js +7 -0
- package/dist/calcite/p-cd83aa57.entry.js.map +1 -0
- package/dist/calcite/p-cde1bd33.js +7 -0
- package/dist/calcite/p-ce4a4660.js +7 -0
- package/dist/calcite/p-ceaa476b.js +7 -0
- package/dist/calcite/p-cfdd44f8.entry.js +7 -0
- package/dist/calcite/p-cfdd44f8.entry.js.map +1 -0
- package/dist/calcite/p-d324544e.js +7 -0
- package/dist/calcite/p-d74b464b.entry.js +7 -0
- package/dist/calcite/p-d8ae10b1.entry.js +7 -0
- package/dist/calcite/p-d8ae10b1.entry.js.map +1 -0
- package/dist/calcite/p-d9e34fcc.entry.js +7 -0
- package/dist/calcite/p-d9e34fcc.entry.js.map +1 -0
- package/dist/calcite/p-dabfd14f.entry.js +7 -0
- package/dist/calcite/p-dabfd14f.entry.js.map +1 -0
- package/dist/calcite/p-db28e4bb.entry.js +7 -0
- package/dist/calcite/p-dcfcb77f.js +7 -0
- package/dist/calcite/p-dda0abea.js +7 -0
- package/dist/calcite/p-df22485e.entry.js +7 -0
- package/dist/calcite/p-df22485e.entry.js.map +1 -0
- package/dist/calcite/p-dfb47122.entry.js +7 -0
- package/dist/calcite/p-e009e982.entry.js +7 -0
- package/dist/calcite/p-e009e982.entry.js.map +1 -0
- package/dist/calcite/p-e0417a47.js +7 -0
- package/dist/calcite/p-e1d57fa2.js +7 -0
- package/dist/calcite/p-e217c70c.js +7 -0
- package/dist/calcite/p-e3b2f3f3.js +7 -0
- package/dist/calcite/p-e54e5b79.js +7 -0
- package/dist/calcite/p-e6ca70b9.js +7 -0
- package/dist/calcite/p-e7dba443.js +7 -0
- package/dist/calcite/p-e7e8f7da.js +7 -0
- package/dist/calcite/p-f6a232ea.entry.js +7 -0
- package/dist/calcite/p-f6a232ea.entry.js.map +1 -0
- package/dist/calcite/p-f843db92.js +7 -0
- package/dist/calcite/p-f908db38.js +7 -0
- package/dist/calcite/p-f9606957.js +7 -0
- package/dist/calcite/p-f9d8176c.entry.js +7 -0
- package/dist/calcite/p-f9d8176c.entry.js.map +1 -0
- package/dist/calcite/p-faf71871.entry.js +7 -0
- package/dist/calcite/p-fcd215e6.entry.js +7 -0
- package/dist/calcite/p-fcd215e6.entry.js.map +1 -0
- package/dist/calcite/p-fe83236c.entry.js +7 -0
- package/dist/calcite/p-fe83236c.entry.js.map +1 -0
- package/dist/calcite-preset.js +4 -4
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-f01ccf5a.js +110 -0
- package/dist/cjs/ExpandToggle-f01ccf5a.js.map +1 -0
- package/dist/cjs/FloatingArrow-674801eb.js +49 -0
- package/dist/cjs/FloatingArrow-674801eb.js.map +1 -0
- package/dist/cjs/Heading-d2d4fe65.js +22 -0
- package/dist/cjs/Heading-d2d4fe65.js.map +1 -0
- package/dist/cjs/Validation-a1e15e9b.js +18 -0
- package/dist/cjs/Validation-a1e15e9b.js.map +1 -0
- package/dist/cjs/app-globals-76b13a32.js +61 -0
- package/dist/cjs/app-globals-76b13a32.js.map +1 -0
- package/dist/cjs/ar-64d3103d.js +106 -0
- package/dist/cjs/ar-64d3103d.js.map +1 -0
- package/dist/cjs/array-db32163d.js +14 -0
- package/dist/cjs/array-db32163d.js.map +1 -0
- package/dist/cjs/bg-6583375d.js +84 -0
- package/dist/cjs/bg-6583375d.js.map +1 -0
- package/dist/cjs/browser-bac99561.js +20 -0
- package/dist/cjs/browser-bac99561.js.map +1 -0
- package/dist/cjs/bs-2e9ee17a.js +53 -0
- package/dist/cjs/bs-2e9ee17a.js.map +1 -0
- package/dist/cjs/ca-83ef0608.js +73 -0
- package/dist/cjs/ca-83ef0608.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card-group.cjs.entry.js +169 -0
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-card.cjs.entry.js +130 -36
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-89c450c7.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-89c450c7.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +20 -20
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-83b1dc68.js +30 -0
- package/dist/cjs/component-83b1dc68.js.map +1 -0
- package/dist/cjs/conditionalSlot-82a38bf8.js +60 -0
- package/dist/cjs/conditionalSlot-82a38bf8.js.map +1 -0
- package/dist/cjs/cs-7dd02874.js +149 -0
- package/dist/cjs/cs-7dd02874.js.map +1 -0
- package/dist/cjs/da-a5bb08a5.js +68 -0
- package/dist/cjs/da-a5bb08a5.js.map +1 -0
- package/dist/cjs/de-at-c07a0b3e.js +92 -0
- package/dist/cjs/de-at-c07a0b3e.js.map +1 -0
- package/dist/cjs/de-c982d159.js +93 -0
- package/dist/cjs/de-c982d159.js.map +1 -0
- package/dist/cjs/de-ch-94291629.js +92 -0
- package/dist/cjs/de-ch-94291629.js.map +1 -0
- package/dist/cjs/debounce-57b0e321.js +498 -0
- package/dist/cjs/debounce-57b0e321.js.map +1 -0
- package/dist/cjs/dom-de2c02c4.js +1084 -0
- package/dist/cjs/dom-de2c02c4.js.map +1 -0
- package/dist/cjs/el-52e3c7d3.js +68 -0
- package/dist/cjs/el-52e3c7d3.js.map +1 -0
- package/dist/cjs/en-au-9ad19e40.js +68 -0
- package/dist/cjs/en-au-9ad19e40.js.map +1 -0
- package/dist/cjs/en-ca-bae77bd8.js +67 -0
- package/dist/cjs/en-ca-bae77bd8.js.map +1 -0
- package/dist/cjs/en-gb-5d1328cb.js +71 -0
- package/dist/cjs/en-gb-5d1328cb.js.map +1 -0
- package/dist/cjs/es-ebf6630f.js +68 -0
- package/dist/cjs/es-ebf6630f.js.map +1 -0
- package/dist/cjs/es-mx-fdd78517.js +67 -0
- package/dist/cjs/es-mx-fdd78517.js.map +1 -0
- package/dist/cjs/et-40d815c8.js +94 -0
- package/dist/cjs/et-40d815c8.js.map +1 -0
- package/dist/cjs/fi-8867d206.js +117 -0
- package/dist/cjs/fi-8867d206.js.map +1 -0
- package/dist/cjs/filter-a8b7b992.js +762 -0
- package/dist/cjs/filter-a8b7b992.js.map +1 -0
- package/dist/cjs/floating-ui-09f94270.js +1981 -0
- package/dist/cjs/floating-ui-09f94270.js.map +1 -0
- package/dist/cjs/focusTrapComponent-b4e178a6.js +1020 -0
- package/dist/cjs/focusTrapComponent-b4e178a6.js.map +1 -0
- package/dist/cjs/form-bf12021a.js +333 -0
- package/dist/cjs/form-bf12021a.js.map +1 -0
- package/dist/cjs/fr-ch-78dddf71.js +68 -0
- package/dist/cjs/fr-ch-78dddf71.js.map +1 -0
- package/dist/cjs/fr-ec005247.js +70 -0
- package/dist/cjs/fr-ec005247.js.map +1 -0
- package/dist/cjs/guid-5e3a9bf6.js +23 -0
- package/dist/cjs/guid-5e3a9bf6.js.map +1 -0
- package/dist/cjs/he-6690cd56.js +107 -0
- package/dist/cjs/he-6690cd56.js.map +1 -0
- package/dist/cjs/hi-5fa38a3f.js +67 -0
- package/dist/cjs/hi-5fa38a3f.js.map +1 -0
- package/dist/cjs/hr-d8d2db1f.js +82 -0
- package/dist/cjs/hr-d8d2db1f.js.map +1 -0
- package/dist/cjs/hu-3941d889.js +90 -0
- package/dist/cjs/hu-3941d889.js.map +1 -0
- package/dist/cjs/id-44abc4ea.js +68 -0
- package/dist/cjs/id-44abc4ea.js.map +1 -0
- package/dist/cjs/index-092fe257.js +208 -0
- package/dist/cjs/index-092fe257.js.map +1 -0
- package/dist/cjs/index-c6f34b59.js +2663 -0
- package/dist/cjs/index-c6f34b59.js.map +1 -0
- package/dist/cjs/index-fe796504.js +75 -0
- package/dist/cjs/index-fe796504.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-d389552f.js +57 -0
- package/dist/cjs/input-d389552f.js.map +1 -0
- package/dist/cjs/interactive-86053ff8.js +151 -0
- package/dist/cjs/interactive-86053ff8.js.map +1 -0
- package/dist/cjs/it-2937a910.js +68 -0
- package/dist/cjs/it-2937a910.js.map +1 -0
- package/dist/cjs/it-ch-15fca48b.js +68 -0
- package/dist/cjs/it-ch-15fca48b.js.map +1 -0
- package/dist/cjs/ja-ac60915f.js +74 -0
- package/dist/cjs/ja-ac60915f.js.map +1 -0
- package/dist/cjs/key-c357e3f0.js +16 -0
- package/dist/cjs/key-c357e3f0.js.map +1 -0
- package/dist/cjs/ko-6031f6dd.js +74 -0
- package/dist/cjs/ko-6031f6dd.js.map +1 -0
- package/dist/cjs/label-2f38b9d6.js +183 -0
- package/dist/cjs/label-2f38b9d6.js.map +1 -0
- package/dist/cjs/loadable-fd8bf45d.js +91 -0
- package/dist/cjs/loadable-fd8bf45d.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-1b61dbfa.js +576 -0
- package/dist/cjs/locale-1b61dbfa.js.map +1 -0
- package/dist/cjs/lt-bb3ce995.js +99 -0
- package/dist/cjs/lt-bb3ce995.js.map +1 -0
- package/dist/cjs/lv-8863d8d9.js +68 -0
- package/dist/cjs/lv-8863d8d9.js.map +1 -0
- package/dist/cjs/math-30d68ae8.js +57 -0
- package/dist/cjs/math-30d68ae8.js.map +1 -0
- package/dist/cjs/mk-2d1961c2.js +68 -0
- package/dist/cjs/mk-2d1961c2.js.map +1 -0
- package/dist/cjs/nb-76a570d1.js +69 -0
- package/dist/cjs/nb-76a570d1.js.map +1 -0
- package/dist/cjs/nl-200c13f1.js +69 -0
- package/dist/cjs/nl-200c13f1.js.map +1 -0
- package/dist/cjs/observers-19e89f3d.js +50 -0
- package/dist/cjs/observers-19e89f3d.js.map +1 -0
- package/dist/cjs/openCloseComponent-2cfe1269.js +89 -0
- package/dist/cjs/openCloseComponent-2cfe1269.js.map +1 -0
- package/dist/cjs/pl-33b5d0e1.js +116 -0
- package/dist/cjs/pl-33b5d0e1.js.map +1 -0
- package/dist/cjs/pt-2e8840d5.js +69 -0
- package/dist/cjs/pt-2e8840d5.js.map +1 -0
- package/dist/cjs/pt-br-a727dee9.js +67 -0
- package/dist/cjs/pt-br-a727dee9.js.map +1 -0
- package/dist/cjs/resources-3332cda4.js +17 -0
- package/dist/cjs/resources-3332cda4.js.map +1 -0
- package/dist/cjs/resources-4ae789ee.js +49 -0
- package/dist/cjs/resources-4ae789ee.js.map +1 -0
- package/dist/cjs/resources-6bb7f09d.js +29 -0
- package/dist/cjs/resources-6bb7f09d.js.map +1 -0
- package/dist/cjs/resources-a5ca1bb0.js +26 -0
- package/dist/cjs/resources-a5ca1bb0.js.map +1 -0
- package/dist/cjs/resources-aa383bc0.js +23 -0
- package/dist/cjs/resources-aa383bc0.js.map +1 -0
- package/dist/cjs/resources-d5987589.js +414 -0
- package/dist/cjs/resources-d5987589.js.map +1 -0
- package/dist/cjs/resources-e27b0791.js +26 -0
- package/dist/cjs/resources-e27b0791.js.map +1 -0
- package/dist/cjs/ro-dbf217ce.js +68 -0
- package/dist/cjs/ro-dbf217ce.js.map +1 -0
- package/dist/cjs/ru-9d89ce64.js +128 -0
- package/dist/cjs/ru-9d89ce64.js.map +1 -0
- package/dist/cjs/sk-7cca8a43.js +150 -0
- package/dist/cjs/sk-7cca8a43.js.map +1 -0
- package/dist/cjs/sl-e1787fb5.js +170 -0
- package/dist/cjs/sl-e1787fb5.js.map +1 -0
- package/dist/cjs/sortableComponent-be7c0139.js +2744 -0
- package/dist/cjs/sortableComponent-be7c0139.js.map +1 -0
- package/dist/cjs/sr-13bb392e.js +103 -0
- package/dist/cjs/sr-13bb392e.js.map +1 -0
- package/dist/cjs/sv-10f23d02.js +73 -0
- package/dist/cjs/sv-10f23d02.js.map +1 -0
- package/dist/cjs/t9n-4e7cbe81.js +97 -0
- package/dist/cjs/t9n-4e7cbe81.js.map +1 -0
- package/dist/cjs/th-30915208.js +67 -0
- package/dist/cjs/th-30915208.js.map +1 -0
- package/dist/cjs/throttle-2e81317f.js +77 -0
- package/dist/cjs/throttle-2e81317f.js.map +1 -0
- package/dist/cjs/tr-eff2efcd.js +68 -0
- package/dist/cjs/tr-eff2efcd.js.map +1 -0
- package/dist/cjs/uk-e95ced38.js +106 -0
- package/dist/cjs/uk-e95ced38.js.map +1 -0
- package/dist/cjs/utils-c4acf595.js +307 -0
- package/dist/cjs/utils-c4acf595.js.map +1 -0
- package/dist/cjs/utils-dd487502.js +218 -0
- package/dist/cjs/utils-dd487502.js.map +1 -0
- package/dist/cjs/vi-831e7882.js +72 -0
- package/dist/cjs/vi-831e7882.js.map +1 -0
- package/dist/cjs/zh-cn-1b762902.js +96 -0
- package/dist/cjs/zh-cn-1b762902.js.map +1 -0
- package/dist/cjs/zh-hk-9d309ca8.js +73 -0
- package/dist/cjs/zh-hk-9d309ca8.js.map +1 -0
- package/dist/cjs/zh-tw-97530399.js +94 -0
- package/dist/cjs/zh-tw-97530399.js.map +1 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +7 -7
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.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.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.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.css +6 -6
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -6
- package/dist/collection/components/block/block.e2e.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.css +6 -6
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +6 -6
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_en.json +1 -1
- package/dist/collection/components/card/card.css +198 -41
- package/dist/collection/components/card/card.e2e.js +11 -23
- package/dist/collection/components/card/card.e2e.js.map +1 -1
- package/dist/collection/components/card/card.js +248 -56
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/resources.js +18 -5
- package/dist/collection/components/card/resources.js.map +1 -1
- package/dist/collection/components/card-group/card-group.css +72 -0
- package/dist/collection/components/card-group/card-group.e2e.js +373 -0
- package/dist/collection/components/card-group/card-group.e2e.js.map +1 -0
- package/dist/collection/components/card-group/card-group.js +340 -0
- package/dist/collection/components/card-group/card-group.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.css +6 -6
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +7 -7
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +6 -6
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.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.css +6 -6
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.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.css +6 -6
- package/dist/collection/components/combobox-item/combobox-item.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +7 -7
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.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.css +5 -5
- package/dist/collection/components/fab/fab.e2e.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.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +6 -6
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.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/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +7 -7
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.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.css +7 -7
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +7 -7
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.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.css +6 -6
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.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.css +6 -6
- package/dist/collection/components/list-item/list-item.e2e.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/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.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.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +6 -6
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +7 -7
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +6 -6
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +6 -6
- package/dist/collection/components/notice/notice.e2e.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.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -6
- package/dist/collection/components/pagination/pagination.e2e.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.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.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.css +6 -6
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +6 -6
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +6 -6
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +6 -6
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +6 -6
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +7 -7
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +6 -6
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +7 -7
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +6 -6
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +6 -6
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +6 -6
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +5 -2
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -6
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.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.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +6 -6
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.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.css +7 -7
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +7 -7
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +6 -6
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.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/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/action.js.map +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion-item.js.map +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.d.ts +11 -0
- package/dist/components/calcite-card-group.js +190 -0
- package/dist/components/calcite-card-group.js.map +1 -0
- package/dist/components/calcite-card.js +140 -35
- package/dist/components/calcite-card.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.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 -2
- package/dist/components/calcite-color-picker.js.map +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js.map +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- 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-item.js.map +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu-item.js.map +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-notice.js.map +1 -1
- 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 +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.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 +1 -1
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-slider.js.map +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +3 -3
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month-header.js.map +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/handle.js.map +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +2 -2
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +2 -2
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/radio-button.js.map +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +2 -2
- package/dist/components/table-header.js.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-697ea656.js +102 -0
- package/dist/esm/ExpandToggle-697ea656.js.map +1 -0
- package/dist/esm/FloatingArrow-cdebdd2b.js +47 -0
- package/dist/esm/FloatingArrow-cdebdd2b.js.map +1 -0
- package/dist/esm/Heading-0c38a46e.js +19 -0
- package/dist/esm/Heading-0c38a46e.js.map +1 -0
- package/dist/esm/Validation-c583422e.js +16 -0
- package/dist/esm/Validation-c583422e.js.map +1 -0
- package/dist/esm/app-globals-fd8d3e7e.js +59 -0
- package/dist/esm/app-globals-fd8d3e7e.js.map +1 -0
- package/dist/esm/ar-0b3b657d.js +104 -0
- package/dist/esm/ar-0b3b657d.js.map +1 -0
- package/dist/esm/array-dec824ba.js +12 -0
- package/dist/esm/array-dec824ba.js.map +1 -0
- package/dist/esm/bg-1a33230f.js +82 -0
- package/dist/esm/bg-1a33230f.js.map +1 -0
- package/dist/esm/browser-2fb34cb9.js +18 -0
- package/dist/esm/browser-2fb34cb9.js.map +1 -0
- package/dist/esm/bs-4aecfd7d.js +51 -0
- package/dist/esm/bs-4aecfd7d.js.map +1 -0
- package/dist/esm/ca-e62251f0.js +71 -0
- package/dist/esm/ca-e62251f0.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-alert.entry.js.map +1 -1
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +17 -17
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card-group.entry.js +165 -0
- package/dist/esm/calcite-card-group.entry.js.map +1 -0
- package/dist/esm/calcite-card.entry.js +130 -36
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +24 -24
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +16 -16
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +18 -18
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-66cd36ac.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-66cd36ac.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +18 -18
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +16 -16
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +15 -15
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +18 -18
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +13 -13
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -15
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +20 -20
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-7d691e96.js +27 -0
- package/dist/esm/component-7d691e96.js.map +1 -0
- package/dist/esm/conditionalSlot-1a7c2bee.js +57 -0
- package/dist/esm/conditionalSlot-1a7c2bee.js.map +1 -0
- package/dist/esm/cs-9896d722.js +147 -0
- package/dist/esm/cs-9896d722.js.map +1 -0
- package/dist/esm/da-aa9931d4.js +66 -0
- package/dist/esm/da-aa9931d4.js.map +1 -0
- package/dist/esm/de-814e39c9.js +91 -0
- package/dist/esm/de-814e39c9.js.map +1 -0
- package/dist/esm/de-at-0e3b707d.js +90 -0
- package/dist/esm/de-at-0e3b707d.js.map +1 -0
- package/dist/esm/de-ch-dfce2cf3.js +90 -0
- package/dist/esm/de-ch-dfce2cf3.js.map +1 -0
- package/dist/esm/debounce-7cc46610.js +489 -0
- package/dist/esm/debounce-7cc46610.js.map +1 -0
- package/dist/esm/dom-630bf0a4.js +1053 -0
- package/dist/esm/dom-630bf0a4.js.map +1 -0
- package/dist/esm/el-7b4ac217.js +66 -0
- package/dist/esm/el-7b4ac217.js.map +1 -0
- package/dist/esm/en-au-df0bbdd4.js +66 -0
- package/dist/esm/en-au-df0bbdd4.js.map +1 -0
- package/dist/esm/en-ca-b1b04165.js +65 -0
- package/dist/esm/en-ca-b1b04165.js.map +1 -0
- package/dist/esm/en-gb-a9ed06b3.js +69 -0
- package/dist/esm/en-gb-a9ed06b3.js.map +1 -0
- package/dist/esm/es-fbeecba7.js +66 -0
- package/dist/esm/es-fbeecba7.js.map +1 -0
- package/dist/esm/es-mx-5b9a176e.js +65 -0
- package/dist/esm/es-mx-5b9a176e.js.map +1 -0
- package/dist/esm/et-df284e97.js +92 -0
- package/dist/esm/et-df284e97.js.map +1 -0
- package/dist/esm/fi-7a08ce04.js +115 -0
- package/dist/esm/fi-7a08ce04.js.map +1 -0
- package/dist/esm/filter-cdac147a.js +760 -0
- package/dist/esm/filter-cdac147a.js.map +1 -0
- package/dist/esm/floating-ui-ebef9115.js +1973 -0
- package/dist/esm/floating-ui-ebef9115.js.map +1 -0
- package/dist/esm/focusTrapComponent-2982b026.js +1015 -0
- package/dist/esm/focusTrapComponent-2982b026.js.map +1 -0
- package/dist/esm/form-8cd4653c.js +324 -0
- package/dist/esm/form-8cd4653c.js.map +1 -0
- package/dist/esm/fr-228ddf7d.js +68 -0
- package/dist/esm/fr-228ddf7d.js.map +1 -0
- package/dist/esm/fr-ch-8441e705.js +66 -0
- package/dist/esm/fr-ch-8441e705.js.map +1 -0
- package/dist/esm/guid-973b76a4.js +21 -0
- package/dist/esm/guid-973b76a4.js.map +1 -0
- package/dist/esm/he-941a3f90.js +105 -0
- package/dist/esm/he-941a3f90.js.map +1 -0
- package/dist/esm/hi-9e373c28.js +65 -0
- package/dist/esm/hi-9e373c28.js.map +1 -0
- package/dist/esm/hr-c99f6c0e.js +80 -0
- package/dist/esm/hr-c99f6c0e.js.map +1 -0
- package/dist/esm/hu-e4f649c6.js +88 -0
- package/dist/esm/hu-e4f649c6.js.map +1 -0
- package/dist/esm/id-2ac2fae4.js +66 -0
- package/dist/esm/id-2ac2fae4.js.map +1 -0
- package/dist/esm/index-3c327221.js +2628 -0
- package/dist/esm/index-3c327221.js.map +1 -0
- package/dist/esm/index-4e64d70c.js +206 -0
- package/dist/esm/index-4e64d70c.js.map +1 -0
- package/dist/esm/index-f0884549.js +73 -0
- package/dist/esm/index-f0884549.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-b8008436.js +55 -0
- package/dist/esm/input-b8008436.js.map +1 -0
- package/dist/esm/interactive-2bae662a.js +146 -0
- package/dist/esm/interactive-2bae662a.js.map +1 -0
- package/dist/esm/it-ch-c2a38712.js +66 -0
- package/dist/esm/it-ch-c2a38712.js.map +1 -0
- package/dist/esm/it-d4f50cca.js +66 -0
- package/dist/esm/it-d4f50cca.js.map +1 -0
- package/dist/esm/ja-1020cbd3.js +72 -0
- package/dist/esm/ja-1020cbd3.js.map +1 -0
- package/dist/esm/key-560f8f62.js +13 -0
- package/dist/esm/key-560f8f62.js.map +1 -0
- package/dist/esm/ko-d95fd5f4.js +72 -0
- package/dist/esm/ko-d95fd5f4.js.map +1 -0
- package/dist/esm/label-77a7c7bd.js +176 -0
- package/dist/esm/label-77a7c7bd.js.map +1 -0
- package/dist/esm/loadable-089336ed.js +86 -0
- package/dist/esm/loadable-089336ed.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-a007d3ec.js +563 -0
- package/dist/esm/locale-a007d3ec.js.map +1 -0
- package/dist/esm/lt-ceef5111.js +97 -0
- package/dist/esm/lt-ceef5111.js.map +1 -0
- package/dist/esm/lv-f8022cca.js +66 -0
- package/dist/esm/lv-f8022cca.js.map +1 -0
- package/dist/esm/math-dc76277a.js +51 -0
- package/dist/esm/math-dc76277a.js.map +1 -0
- package/dist/esm/mk-3b6fd92e.js +66 -0
- package/dist/esm/mk-3b6fd92e.js.map +1 -0
- package/dist/esm/nb-60eb40aa.js +67 -0
- package/dist/esm/nb-60eb40aa.js.map +1 -0
- package/dist/esm/nl-9f8f5ed4.js +67 -0
- package/dist/esm/nl-9f8f5ed4.js.map +1 -0
- package/dist/esm/observers-d504e072.js +48 -0
- package/dist/esm/observers-d504e072.js.map +1 -0
- package/dist/esm/openCloseComponent-17f499cb.js +87 -0
- package/dist/esm/openCloseComponent-17f499cb.js.map +1 -0
- package/dist/esm/pl-8532734f.js +114 -0
- package/dist/esm/pl-8532734f.js.map +1 -0
- package/dist/esm/pt-33874ad3.js +67 -0
- package/dist/esm/pt-33874ad3.js.map +1 -0
- package/dist/esm/pt-br-52a76958.js +65 -0
- package/dist/esm/pt-br-52a76958.js.map +1 -0
- package/dist/esm/resources-036894ce.js +23 -0
- package/dist/esm/resources-036894ce.js.map +1 -0
- package/dist/esm/resources-43c387af.js +387 -0
- package/dist/esm/resources-43c387af.js.map +1 -0
- package/dist/esm/resources-51fe0a00.js +19 -0
- package/dist/esm/resources-51fe0a00.js.map +1 -0
- package/dist/esm/resources-740a4e7f.js +17 -0
- package/dist/esm/resources-740a4e7f.js.map +1 -0
- package/dist/esm/resources-79d67665.js +21 -0
- package/dist/esm/resources-79d67665.js.map +1 -0
- package/dist/esm/resources-88a6db22.js +45 -0
- package/dist/esm/resources-88a6db22.js.map +1 -0
- package/dist/esm/resources-bffc4b38.js +25 -0
- package/dist/esm/resources-bffc4b38.js.map +1 -0
- package/dist/esm/ro-01cb1fed.js +66 -0
- package/dist/esm/ro-01cb1fed.js.map +1 -0
- package/dist/esm/ru-c7ca4f76.js +126 -0
- package/dist/esm/ru-c7ca4f76.js.map +1 -0
- package/dist/esm/sk-50dd682b.js +148 -0
- package/dist/esm/sk-50dd682b.js.map +1 -0
- package/dist/esm/sl-0aa44a7f.js +168 -0
- package/dist/esm/sl-0aa44a7f.js.map +1 -0
- package/dist/esm/sortableComponent-e158beb1.js +2740 -0
- package/dist/esm/sortableComponent-e158beb1.js.map +1 -0
- package/dist/esm/sr-9aeee356.js +101 -0
- package/dist/esm/sr-9aeee356.js.map +1 -0
- package/dist/esm/sv-8d497e83.js +71 -0
- package/dist/esm/sv-8d497e83.js.map +1 -0
- package/dist/esm/t9n-0afa2ea5.js +92 -0
- package/dist/esm/t9n-0afa2ea5.js.map +1 -0
- package/dist/esm/th-f51d3d4d.js +65 -0
- package/dist/esm/th-f51d3d4d.js.map +1 -0
- package/dist/esm/throttle-947facbf.js +75 -0
- package/dist/esm/throttle-947facbf.js.map +1 -0
- package/dist/esm/tr-9d0b5918.js +66 -0
- package/dist/esm/tr-9d0b5918.js.map +1 -0
- package/dist/esm/uk-bcfef133.js +104 -0
- package/dist/esm/uk-bcfef133.js.map +1 -0
- package/dist/esm/utils-6caeabd4.js +289 -0
- package/dist/esm/utils-6caeabd4.js.map +1 -0
- package/dist/esm/utils-f2cbf371.js +200 -0
- package/dist/esm/utils-f2cbf371.js.map +1 -0
- package/dist/esm/vi-7b559bbe.js +70 -0
- package/dist/esm/vi-7b559bbe.js.map +1 -0
- package/dist/esm/zh-cn-84755df4.js +94 -0
- package/dist/esm/zh-cn-84755df4.js.map +1 -0
- package/dist/esm/zh-hk-106e4222.js +71 -0
- package/dist/esm/zh-hk-106e4222.js.map +1 -0
- package/dist/esm/zh-tw-8d8fb963.js +92 -0
- package/dist/esm/zh-tw-8d8fb963.js.map +1 -0
- package/dist/extras/docs-json.json +423 -19
- package/dist/extras/translations-json.json +1 -1
- 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/stencil.config.js +2 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/card/card.d.ts +48 -19
- package/dist/types/components/card/resources.d.ts +17 -4
- package/dist/types/components/card-group/card-group.d.ts +46 -0
- package/dist/types/components/tile/tile.d.ts +2 -0
- package/dist/types/components.d.ts +114 -1
- package/dist/types/preact.d.ts +6 -1
- package/hydrate/index.js +363 -100
- package/package.json +2 -2
- package/dist/calcite/p-0140bf06.js +0 -7
- package/dist/calcite/p-05129466.entry.js +0 -7
- package/dist/calcite/p-05129466.entry.js.map +0 -1
- package/dist/calcite/p-090ea3a3.js +0 -7
- package/dist/calcite/p-0a3f1f3c.js +0 -7
- package/dist/calcite/p-0a547058.entry.js +0 -7
- package/dist/calcite/p-0a547058.entry.js.map +0 -1
- package/dist/calcite/p-0b748594.entry.js +0 -7
- package/dist/calcite/p-0e40f56b.js +0 -7
- package/dist/calcite/p-0eadaa4b.entry.js +0 -7
- package/dist/calcite/p-0eadaa4b.entry.js.map +0 -1
- package/dist/calcite/p-0ebc1b80.js +0 -7
- package/dist/calcite/p-11a670d5.js +0 -7
- package/dist/calcite/p-155842f0.js +0 -7
- package/dist/calcite/p-18d58723.js +0 -7
- package/dist/calcite/p-18de250b.js +0 -7
- package/dist/calcite/p-197bde3e.entry.js +0 -7
- package/dist/calcite/p-197bde3e.entry.js.map +0 -1
- package/dist/calcite/p-1a871d95.js +0 -7
- package/dist/calcite/p-1f3a1793.js +0 -7
- package/dist/calcite/p-20052cbd.entry.js +0 -7
- package/dist/calcite/p-20052cbd.entry.js.map +0 -1
- package/dist/calcite/p-2174c79f.js +0 -7
- package/dist/calcite/p-218926aa.js +0 -7
- package/dist/calcite/p-25660a11.js +0 -7
- package/dist/calcite/p-2916c9f9.entry.js +0 -7
- package/dist/calcite/p-2916c9f9.entry.js.map +0 -1
- package/dist/calcite/p-2a46c8f3.js +0 -7
- package/dist/calcite/p-2b489cd9.entry.js +0 -7
- package/dist/calcite/p-2b5cd3fa.entry.js +0 -7
- package/dist/calcite/p-2d2e0315.js +0 -7
- package/dist/calcite/p-2eb03310.js +0 -7
- package/dist/calcite/p-2fa863b2.js +0 -7
- package/dist/calcite/p-300962bc.js +0 -7
- package/dist/calcite/p-313a89f7.entry.js +0 -7
- package/dist/calcite/p-313a89f7.entry.js.map +0 -1
- package/dist/calcite/p-32f9f099.entry.js +0 -7
- package/dist/calcite/p-33552bb9.entry.js +0 -7
- package/dist/calcite/p-33552bb9.entry.js.map +0 -1
- package/dist/calcite/p-33c74a44.entry.js +0 -7
- package/dist/calcite/p-33c74a44.entry.js.map +0 -1
- package/dist/calcite/p-33d8c8f0.entry.js +0 -7
- package/dist/calcite/p-33d8c8f0.entry.js.map +0 -1
- package/dist/calcite/p-346ca4fd.js +0 -7
- package/dist/calcite/p-35a0460f.entry.js +0 -7
- package/dist/calcite/p-35a0460f.entry.js.map +0 -1
- package/dist/calcite/p-39f0f1e3.js +0 -7
- package/dist/calcite/p-3aacf1f2.entry.js +0 -7
- package/dist/calcite/p-3b399cee.entry.js +0 -7
- package/dist/calcite/p-3cfee9f6.entry.js +0 -7
- package/dist/calcite/p-3ef30c84.js +0 -11
- package/dist/calcite/p-3fea5652.js +0 -7
- package/dist/calcite/p-415e8b2f.entry.js +0 -7
- package/dist/calcite/p-49af9f12.js +0 -12
- package/dist/calcite/p-4bfe1d4e.entry.js +0 -7
- package/dist/calcite/p-4bfe1d4e.entry.js.map +0 -1
- package/dist/calcite/p-4c6f0913.entry.js +0 -7
- package/dist/calcite/p-4c6f0913.entry.js.map +0 -1
- package/dist/calcite/p-4d11389b.js +0 -7
- package/dist/calcite/p-500a3e5a.js +0 -7
- package/dist/calcite/p-50916b2a.js +0 -7
- package/dist/calcite/p-55b0c2f8.js +0 -7
- package/dist/calcite/p-569193d4.entry.js +0 -7
- package/dist/calcite/p-569193d4.entry.js.map +0 -1
- package/dist/calcite/p-57cde6a5.js +0 -7
- package/dist/calcite/p-5a2baa09.entry.js +0 -7
- package/dist/calcite/p-5bfa60ce.js +0 -7
- package/dist/calcite/p-5dbdbe4c.js +0 -7
- package/dist/calcite/p-5e9a8365.js +0 -7
- package/dist/calcite/p-607274e6.entry.js +0 -7
- package/dist/calcite/p-607274e6.entry.js.map +0 -1
- package/dist/calcite/p-6149e10f.js +0 -7
- package/dist/calcite/p-61c33373.js +0 -7
- package/dist/calcite/p-64ea4249.js +0 -7
- package/dist/calcite/p-68676e90.entry.js +0 -7
- package/dist/calcite/p-69072be4.entry.js +0 -7
- package/dist/calcite/p-69072be4.entry.js.map +0 -1
- package/dist/calcite/p-6a96ed0d.entry.js +0 -7
- package/dist/calcite/p-6a96ed0d.entry.js.map +0 -1
- package/dist/calcite/p-6ee4ecd3.entry.js +0 -7
- package/dist/calcite/p-703ccda0.js +0 -7
- package/dist/calcite/p-70570a66.js +0 -7
- package/dist/calcite/p-73c01c81.entry.js +0 -7
- package/dist/calcite/p-73c01c81.entry.js.map +0 -1
- package/dist/calcite/p-73cb419f.js +0 -7
- package/dist/calcite/p-75055c57.entry.js +0 -7
- package/dist/calcite/p-75055c57.entry.js.map +0 -1
- package/dist/calcite/p-75c46bed.js +0 -7
- package/dist/calcite/p-76964917.entry.js +0 -7
- package/dist/calcite/p-76964917.entry.js.map +0 -1
- package/dist/calcite/p-7915892c.entry.js +0 -7
- package/dist/calcite/p-7f18d1d7.entry.js +0 -7
- package/dist/calcite/p-7f18d1d7.entry.js.map +0 -1
- package/dist/calcite/p-7fac16ae.js +0 -7
- package/dist/calcite/p-83bac18a.entry.js +0 -7
- package/dist/calcite/p-83bac18a.entry.js.map +0 -1
- package/dist/calcite/p-84f1718e.entry.js +0 -7
- package/dist/calcite/p-84f1718e.entry.js.map +0 -1
- package/dist/calcite/p-88d56a3d.js +0 -7
- package/dist/calcite/p-88ff1c18.entry.js +0 -7
- package/dist/calcite/p-88ff1c18.entry.js.map +0 -1
- package/dist/calcite/p-8aa5ebbc.js +0 -7
- package/dist/calcite/p-8dffa3d8.js +0 -7
- package/dist/calcite/p-8fd31a3a.js +0 -7
- package/dist/calcite/p-919282f7.js +0 -7
- package/dist/calcite/p-91a256e8.entry.js +0 -7
- package/dist/calcite/p-91a256e8.entry.js.map +0 -1
- package/dist/calcite/p-931ddab0.entry.js +0 -7
- package/dist/calcite/p-93360d6a.entry.js +0 -7
- package/dist/calcite/p-93d2b7f2.entry.js +0 -7
- package/dist/calcite/p-93d2b7f2.entry.js.map +0 -1
- package/dist/calcite/p-95896059.js +0 -7
- package/dist/calcite/p-95c03159.entry.js +0 -7
- package/dist/calcite/p-960cacc4.entry.js +0 -7
- package/dist/calcite/p-96dbe795.js +0 -7
- package/dist/calcite/p-9835ce5c.js +0 -7
- package/dist/calcite/p-98930097.entry.js +0 -7
- package/dist/calcite/p-9ba7c5c2.js +0 -7
- package/dist/calcite/p-9bb36dfb.js +0 -7
- package/dist/calcite/p-9c499a47.js +0 -7
- package/dist/calcite/p-9e29450d.js +0 -7
- package/dist/calcite/p-9e3216cd.js +0 -7
- package/dist/calcite/p-a037aac7.js +0 -7
- package/dist/calcite/p-a3e6b31e.js +0 -7
- package/dist/calcite/p-a3ed6af6.js +0 -7
- package/dist/calcite/p-a3f4d333.entry.js +0 -7
- package/dist/calcite/p-a3f4d333.entry.js.map +0 -1
- package/dist/calcite/p-a4c77a97.entry.js +0 -7
- package/dist/calcite/p-a4c77a97.entry.js.map +0 -1
- package/dist/calcite/p-a5ec7c0b.js +0 -13
- package/dist/calcite/p-a660207a.entry.js +0 -7
- package/dist/calcite/p-a853991f.js +0 -7
- package/dist/calcite/p-a8966896.entry.js +0 -7
- package/dist/calcite/p-aa3e2e48.entry.js +0 -7
- package/dist/calcite/p-aa3e2e48.entry.js.map +0 -1
- package/dist/calcite/p-aa6952d6.js +0 -7
- package/dist/calcite/p-ab717545.entry.js +0 -7
- package/dist/calcite/p-acd98ee1.entry.js +0 -7
- package/dist/calcite/p-acd98ee1.entry.js.map +0 -1
- package/dist/calcite/p-afcc94cb.js +0 -7
- package/dist/calcite/p-b275246e.js +0 -7
- package/dist/calcite/p-b33269fd.entry.js +0 -7
- package/dist/calcite/p-b36cd77a.entry.js +0 -7
- package/dist/calcite/p-b36cd77a.entry.js.map +0 -1
- package/dist/calcite/p-b3b720de.js +0 -7
- package/dist/calcite/p-b3def89d.entry.js +0 -7
- package/dist/calcite/p-b577f530.entry.js +0 -7
- package/dist/calcite/p-b577f530.entry.js.map +0 -1
- package/dist/calcite/p-b644fc7d.entry.js +0 -7
- package/dist/calcite/p-b9dacb70.entry.js +0 -7
- package/dist/calcite/p-b9dacb70.entry.js.map +0 -1
- package/dist/calcite/p-c0558aa0.entry.js +0 -7
- package/dist/calcite/p-c29da598.js +0 -7
- package/dist/calcite/p-c42f5bab.js +0 -7
- package/dist/calcite/p-c51d1630.js +0 -7
- package/dist/calcite/p-c66f7e71.entry.js +0 -7
- package/dist/calcite/p-c66f7e71.entry.js.map +0 -1
- package/dist/calcite/p-c6bc1ea6.js +0 -7
- package/dist/calcite/p-c6d7a9c6.js +0 -7
- package/dist/calcite/p-c7964aeb.js +0 -7
- package/dist/calcite/p-c7a3e230.js +0 -7
- package/dist/calcite/p-ca0fe424.js +0 -7
- package/dist/calcite/p-ccc52832.js +0 -7
- package/dist/calcite/p-ce5aec60.entry.js +0 -7
- package/dist/calcite/p-ce5aec60.entry.js.map +0 -1
- package/dist/calcite/p-d5cbf422.js +0 -7
- package/dist/calcite/p-d89bb0a0.js +0 -7
- package/dist/calcite/p-da641132.js +0 -7
- package/dist/calcite/p-db68bb8b.entry.js +0 -7
- package/dist/calcite/p-db68bb8b.entry.js.map +0 -1
- package/dist/calcite/p-dc1407c6.entry.js +0 -7
- package/dist/calcite/p-dc661724.js +0 -7
- package/dist/calcite/p-dc848774.entry.js +0 -7
- package/dist/calcite/p-dc848774.entry.js.map +0 -1
- package/dist/calcite/p-ddc1e0c8.js +0 -7
- package/dist/calcite/p-df206d95.entry.js +0 -7
- package/dist/calcite/p-df206d95.entry.js.map +0 -1
- package/dist/calcite/p-e145b647.entry.js +0 -7
- package/dist/calcite/p-e2253525.js +0 -7
- package/dist/calcite/p-e4ce2855.js +0 -7
- package/dist/calcite/p-e5273796.entry.js +0 -7
- package/dist/calcite/p-e5273796.entry.js.map +0 -1
- package/dist/calcite/p-e538ca60.js +0 -8
- package/dist/calcite/p-e57f4f16.js +0 -7
- package/dist/calcite/p-e6a045a9.entry.js +0 -7
- package/dist/calcite/p-e6a045a9.entry.js.map +0 -1
- package/dist/calcite/p-e702d7ff.js +0 -7
- package/dist/calcite/p-e8b1fed4.js +0 -7
- package/dist/calcite/p-e90bd66d.js +0 -7
- package/dist/calcite/p-e96bcdd5.entry.js +0 -7
- package/dist/calcite/p-e9f9c64f.js +0 -7
- package/dist/calcite/p-eb326819.js +0 -7
- package/dist/calcite/p-ec2311cb.entry.js +0 -7
- package/dist/calcite/p-ec2311cb.entry.js.map +0 -1
- package/dist/calcite/p-ecf74d67.js +0 -7
- package/dist/calcite/p-eff98f62.entry.js +0 -7
- package/dist/calcite/p-f5d99561.entry.js +0 -7
- package/dist/calcite/p-f6cdf87d.js +0 -7
- package/dist/calcite/p-f728da23.js +0 -7
- package/dist/calcite/p-f736c7e7.entry.js +0 -7
- package/dist/calcite/p-f97042b9.js +0 -7
- package/dist/calcite/p-fa6d7a1b.js +0 -7
- package/dist/calcite/p-fe3402ab.entry.js +0 -7
- package/dist/calcite/p-fe3402ab.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-84a0b2eb.js +0 -110
- package/dist/cjs/ExpandToggle-84a0b2eb.js.map +0 -1
- package/dist/cjs/FloatingArrow-8945f43d.js +0 -49
- package/dist/cjs/FloatingArrow-8945f43d.js.map +0 -1
- package/dist/cjs/Heading-45be2853.js +0 -22
- package/dist/cjs/Heading-45be2853.js.map +0 -1
- package/dist/cjs/Validation-ed099780.js +0 -18
- package/dist/cjs/Validation-ed099780.js.map +0 -1
- package/dist/cjs/app-globals-d45b6275.js +0 -61
- package/dist/cjs/app-globals-d45b6275.js.map +0 -1
- package/dist/cjs/ar-2a2ceac1.js +0 -106
- package/dist/cjs/ar-2a2ceac1.js.map +0 -1
- package/dist/cjs/array-735e1afa.js +0 -14
- package/dist/cjs/array-735e1afa.js.map +0 -1
- package/dist/cjs/bg-48c8e6a7.js +0 -84
- package/dist/cjs/bg-48c8e6a7.js.map +0 -1
- package/dist/cjs/browser-25149201.js +0 -20
- package/dist/cjs/browser-25149201.js.map +0 -1
- package/dist/cjs/bs-cdcfe2b5.js +0 -53
- package/dist/cjs/bs-cdcfe2b5.js.map +0 -1
- package/dist/cjs/ca-a6d2d57e.js +0 -73
- package/dist/cjs/ca-a6d2d57e.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c4d7c730.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c4d7c730.js.map +0 -1
- package/dist/cjs/component-46b77e08.js +0 -30
- package/dist/cjs/component-46b77e08.js.map +0 -1
- package/dist/cjs/conditionalSlot-fc2218a5.js +0 -60
- package/dist/cjs/conditionalSlot-fc2218a5.js.map +0 -1
- package/dist/cjs/cs-18f7bc30.js +0 -149
- package/dist/cjs/cs-18f7bc30.js.map +0 -1
- package/dist/cjs/da-2a766927.js +0 -68
- package/dist/cjs/da-2a766927.js.map +0 -1
- package/dist/cjs/de-7c25526b.js +0 -93
- package/dist/cjs/de-7c25526b.js.map +0 -1
- package/dist/cjs/de-at-a9cd463b.js +0 -92
- package/dist/cjs/de-at-a9cd463b.js.map +0 -1
- package/dist/cjs/de-ch-80fb3676.js +0 -92
- package/dist/cjs/de-ch-80fb3676.js.map +0 -1
- package/dist/cjs/debounce-b255f55a.js +0 -498
- package/dist/cjs/debounce-b255f55a.js.map +0 -1
- package/dist/cjs/dom-5dded79d.js +0 -1084
- package/dist/cjs/dom-5dded79d.js.map +0 -1
- package/dist/cjs/el-a35ab9fc.js +0 -68
- package/dist/cjs/el-a35ab9fc.js.map +0 -1
- package/dist/cjs/en-au-ca8118a4.js +0 -68
- package/dist/cjs/en-au-ca8118a4.js.map +0 -1
- package/dist/cjs/en-ca-bfec7c5c.js +0 -67
- package/dist/cjs/en-ca-bfec7c5c.js.map +0 -1
- package/dist/cjs/en-gb-1cee97c7.js +0 -71
- package/dist/cjs/en-gb-1cee97c7.js.map +0 -1
- package/dist/cjs/es-bd6e5ee6.js +0 -68
- package/dist/cjs/es-bd6e5ee6.js.map +0 -1
- package/dist/cjs/es-mx-42c3671e.js +0 -67
- package/dist/cjs/es-mx-42c3671e.js.map +0 -1
- package/dist/cjs/et-c6fdfdc8.js +0 -94
- package/dist/cjs/et-c6fdfdc8.js.map +0 -1
- package/dist/cjs/fi-0c7a5cca.js +0 -117
- package/dist/cjs/fi-0c7a5cca.js.map +0 -1
- package/dist/cjs/filter-0d09e8d2.js +0 -762
- package/dist/cjs/filter-0d09e8d2.js.map +0 -1
- package/dist/cjs/floating-ui-38bc3ae2.js +0 -1981
- package/dist/cjs/floating-ui-38bc3ae2.js.map +0 -1
- package/dist/cjs/focusTrapComponent-8d272297.js +0 -1020
- package/dist/cjs/focusTrapComponent-8d272297.js.map +0 -1
- package/dist/cjs/form-b7333efa.js +0 -333
- package/dist/cjs/form-b7333efa.js.map +0 -1
- package/dist/cjs/fr-8b6b904d.js +0 -70
- package/dist/cjs/fr-8b6b904d.js.map +0 -1
- package/dist/cjs/fr-ch-edb98614.js +0 -68
- package/dist/cjs/fr-ch-edb98614.js.map +0 -1
- package/dist/cjs/guid-8f9d0c26.js +0 -23
- package/dist/cjs/guid-8f9d0c26.js.map +0 -1
- package/dist/cjs/he-2c39525f.js +0 -107
- package/dist/cjs/he-2c39525f.js.map +0 -1
- package/dist/cjs/hi-daff5139.js +0 -67
- package/dist/cjs/hi-daff5139.js.map +0 -1
- package/dist/cjs/hr-4521f733.js +0 -82
- package/dist/cjs/hr-4521f733.js.map +0 -1
- package/dist/cjs/hu-a2a0d9a5.js +0 -90
- package/dist/cjs/hu-a2a0d9a5.js.map +0 -1
- package/dist/cjs/id-266d44bf.js +0 -68
- package/dist/cjs/id-266d44bf.js.map +0 -1
- package/dist/cjs/index-6a81bfbe.js +0 -208
- package/dist/cjs/index-6a81bfbe.js.map +0 -1
- package/dist/cjs/index-7a8a83c9.js +0 -75
- package/dist/cjs/index-7a8a83c9.js.map +0 -1
- package/dist/cjs/index-9eb4be21.js +0 -2659
- package/dist/cjs/index-9eb4be21.js.map +0 -1
- package/dist/cjs/input-405addd6.js +0 -57
- package/dist/cjs/input-405addd6.js.map +0 -1
- package/dist/cjs/interactive-5133329f.js +0 -151
- package/dist/cjs/interactive-5133329f.js.map +0 -1
- package/dist/cjs/it-453aaf9f.js +0 -68
- package/dist/cjs/it-453aaf9f.js.map +0 -1
- package/dist/cjs/it-ch-7556d1e6.js +0 -68
- package/dist/cjs/it-ch-7556d1e6.js.map +0 -1
- package/dist/cjs/ja-79f732bd.js +0 -74
- package/dist/cjs/ja-79f732bd.js.map +0 -1
- package/dist/cjs/key-ce0685cd.js +0 -16
- package/dist/cjs/key-ce0685cd.js.map +0 -1
- package/dist/cjs/ko-bc5fa005.js +0 -74
- package/dist/cjs/ko-bc5fa005.js.map +0 -1
- package/dist/cjs/label-412f66da.js +0 -183
- package/dist/cjs/label-412f66da.js.map +0 -1
- package/dist/cjs/loadable-3b038c73.js +0 -91
- package/dist/cjs/loadable-3b038c73.js.map +0 -1
- package/dist/cjs/locale-bdbe6686.js +0 -576
- package/dist/cjs/locale-bdbe6686.js.map +0 -1
- package/dist/cjs/lt-18c0261d.js +0 -99
- package/dist/cjs/lt-18c0261d.js.map +0 -1
- package/dist/cjs/lv-122fb09f.js +0 -68
- package/dist/cjs/lv-122fb09f.js.map +0 -1
- package/dist/cjs/math-270c1ad5.js +0 -57
- package/dist/cjs/math-270c1ad5.js.map +0 -1
- package/dist/cjs/mk-2958c935.js +0 -68
- package/dist/cjs/mk-2958c935.js.map +0 -1
- package/dist/cjs/nb-c659803d.js +0 -69
- package/dist/cjs/nb-c659803d.js.map +0 -1
- package/dist/cjs/nl-7c3d17d2.js +0 -69
- package/dist/cjs/nl-7c3d17d2.js.map +0 -1
- package/dist/cjs/observers-996731db.js +0 -50
- package/dist/cjs/observers-996731db.js.map +0 -1
- package/dist/cjs/openCloseComponent-95f4c3e6.js +0 -89
- package/dist/cjs/openCloseComponent-95f4c3e6.js.map +0 -1
- package/dist/cjs/pl-46b71c1c.js +0 -116
- package/dist/cjs/pl-46b71c1c.js.map +0 -1
- package/dist/cjs/pt-0fc681d7.js +0 -69
- package/dist/cjs/pt-0fc681d7.js.map +0 -1
- package/dist/cjs/pt-br-b2f4e0b9.js +0 -67
- package/dist/cjs/pt-br-b2f4e0b9.js.map +0 -1
- package/dist/cjs/resources-15074db9.js +0 -29
- package/dist/cjs/resources-15074db9.js.map +0 -1
- package/dist/cjs/resources-5254d19b.js +0 -26
- package/dist/cjs/resources-5254d19b.js.map +0 -1
- package/dist/cjs/resources-7aaf2508.js +0 -26
- package/dist/cjs/resources-7aaf2508.js.map +0 -1
- package/dist/cjs/resources-869df0dc.js +0 -49
- package/dist/cjs/resources-869df0dc.js.map +0 -1
- package/dist/cjs/resources-a444cb48.js +0 -414
- package/dist/cjs/resources-a444cb48.js.map +0 -1
- package/dist/cjs/resources-aaec7a52.js +0 -23
- package/dist/cjs/resources-aaec7a52.js.map +0 -1
- package/dist/cjs/resources-c1e534ce.js +0 -17
- package/dist/cjs/resources-c1e534ce.js.map +0 -1
- package/dist/cjs/ro-1e0253be.js +0 -68
- package/dist/cjs/ro-1e0253be.js.map +0 -1
- package/dist/cjs/ru-1a1dc536.js +0 -128
- package/dist/cjs/ru-1a1dc536.js.map +0 -1
- package/dist/cjs/sk-7f9f6847.js +0 -150
- package/dist/cjs/sk-7f9f6847.js.map +0 -1
- package/dist/cjs/sl-ae8070f4.js +0 -170
- package/dist/cjs/sl-ae8070f4.js.map +0 -1
- package/dist/cjs/sortableComponent-4b2e0b5b.js +0 -2744
- package/dist/cjs/sortableComponent-4b2e0b5b.js.map +0 -1
- package/dist/cjs/sr-eca4734e.js +0 -103
- package/dist/cjs/sr-eca4734e.js.map +0 -1
- package/dist/cjs/sv-1d941af1.js +0 -73
- package/dist/cjs/sv-1d941af1.js.map +0 -1
- package/dist/cjs/t9n-8aa449a5.js +0 -97
- package/dist/cjs/t9n-8aa449a5.js.map +0 -1
- package/dist/cjs/th-959387d1.js +0 -67
- package/dist/cjs/th-959387d1.js.map +0 -1
- package/dist/cjs/throttle-8d98123b.js +0 -77
- package/dist/cjs/throttle-8d98123b.js.map +0 -1
- package/dist/cjs/tr-f6d7b8b7.js +0 -68
- package/dist/cjs/tr-f6d7b8b7.js.map +0 -1
- package/dist/cjs/uk-d16cbf53.js +0 -106
- package/dist/cjs/uk-d16cbf53.js.map +0 -1
- package/dist/cjs/utils-42530b56.js +0 -307
- package/dist/cjs/utils-42530b56.js.map +0 -1
- package/dist/cjs/utils-f83343dd.js +0 -218
- package/dist/cjs/utils-f83343dd.js.map +0 -1
- package/dist/cjs/vi-3981bb26.js +0 -72
- package/dist/cjs/vi-3981bb26.js.map +0 -1
- package/dist/cjs/zh-cn-ca0b0fce.js +0 -96
- package/dist/cjs/zh-cn-ca0b0fce.js.map +0 -1
- package/dist/cjs/zh-hk-eb8edffc.js +0 -73
- package/dist/cjs/zh-hk-eb8edffc.js.map +0 -1
- package/dist/cjs/zh-tw-94d9f8e8.js +0 -94
- package/dist/cjs/zh-tw-94d9f8e8.js.map +0 -1
- package/dist/esm/ExpandToggle-fd40ae04.js +0 -102
- package/dist/esm/ExpandToggle-fd40ae04.js.map +0 -1
- package/dist/esm/FloatingArrow-c2cd33f7.js +0 -47
- package/dist/esm/FloatingArrow-c2cd33f7.js.map +0 -1
- package/dist/esm/Heading-e99052fc.js +0 -19
- package/dist/esm/Heading-e99052fc.js.map +0 -1
- package/dist/esm/Validation-6b2e3fc4.js +0 -16
- package/dist/esm/Validation-6b2e3fc4.js.map +0 -1
- package/dist/esm/app-globals-395b0227.js +0 -59
- package/dist/esm/app-globals-395b0227.js.map +0 -1
- package/dist/esm/ar-a54caf03.js +0 -104
- package/dist/esm/ar-a54caf03.js.map +0 -1
- package/dist/esm/array-993301c8.js +0 -12
- package/dist/esm/array-993301c8.js.map +0 -1
- package/dist/esm/bg-708a9d6a.js +0 -82
- package/dist/esm/bg-708a9d6a.js.map +0 -1
- package/dist/esm/browser-db4949c2.js +0 -18
- package/dist/esm/browser-db4949c2.js.map +0 -1
- package/dist/esm/bs-cde2b747.js +0 -51
- package/dist/esm/bs-cde2b747.js.map +0 -1
- package/dist/esm/ca-6eb8dff3.js +0 -71
- package/dist/esm/ca-6eb8dff3.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1dce7c8f.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1dce7c8f.js.map +0 -1
- package/dist/esm/component-c4baf79b.js +0 -27
- package/dist/esm/component-c4baf79b.js.map +0 -1
- package/dist/esm/conditionalSlot-ef7885f1.js +0 -57
- package/dist/esm/conditionalSlot-ef7885f1.js.map +0 -1
- package/dist/esm/cs-3613a379.js +0 -147
- package/dist/esm/cs-3613a379.js.map +0 -1
- package/dist/esm/da-e8892725.js +0 -66
- package/dist/esm/da-e8892725.js.map +0 -1
- package/dist/esm/de-867feacc.js +0 -91
- package/dist/esm/de-867feacc.js.map +0 -1
- package/dist/esm/de-at-ca1c2336.js +0 -90
- package/dist/esm/de-at-ca1c2336.js.map +0 -1
- package/dist/esm/de-ch-34d8eec2.js +0 -90
- package/dist/esm/de-ch-34d8eec2.js.map +0 -1
- package/dist/esm/debounce-0b31276b.js +0 -489
- package/dist/esm/debounce-0b31276b.js.map +0 -1
- package/dist/esm/dom-9e517451.js +0 -1053
- package/dist/esm/dom-9e517451.js.map +0 -1
- package/dist/esm/el-7c5a6610.js +0 -66
- package/dist/esm/el-7c5a6610.js.map +0 -1
- package/dist/esm/en-au-71e63cc7.js +0 -66
- package/dist/esm/en-au-71e63cc7.js.map +0 -1
- package/dist/esm/en-ca-d2c89703.js +0 -65
- package/dist/esm/en-ca-d2c89703.js.map +0 -1
- package/dist/esm/en-gb-4ba6e73e.js +0 -69
- package/dist/esm/en-gb-4ba6e73e.js.map +0 -1
- package/dist/esm/es-e3e3a8c8.js +0 -66
- package/dist/esm/es-e3e3a8c8.js.map +0 -1
- package/dist/esm/es-mx-e7dcea8c.js +0 -65
- package/dist/esm/es-mx-e7dcea8c.js.map +0 -1
- package/dist/esm/et-3083fba0.js +0 -92
- package/dist/esm/et-3083fba0.js.map +0 -1
- package/dist/esm/fi-7983f2c5.js +0 -115
- package/dist/esm/fi-7983f2c5.js.map +0 -1
- package/dist/esm/filter-47f32bc8.js +0 -760
- package/dist/esm/filter-47f32bc8.js.map +0 -1
- package/dist/esm/floating-ui-49531ede.js +0 -1973
- package/dist/esm/floating-ui-49531ede.js.map +0 -1
- package/dist/esm/focusTrapComponent-d18087a3.js +0 -1015
- package/dist/esm/focusTrapComponent-d18087a3.js.map +0 -1
- package/dist/esm/form-7f0e5f75.js +0 -324
- package/dist/esm/form-7f0e5f75.js.map +0 -1
- package/dist/esm/fr-afcd85a1.js +0 -68
- package/dist/esm/fr-afcd85a1.js.map +0 -1
- package/dist/esm/fr-ch-8edc3040.js +0 -66
- package/dist/esm/fr-ch-8edc3040.js.map +0 -1
- package/dist/esm/guid-74f55eb2.js +0 -21
- package/dist/esm/guid-74f55eb2.js.map +0 -1
- package/dist/esm/he-0daa3e02.js +0 -105
- package/dist/esm/he-0daa3e02.js.map +0 -1
- package/dist/esm/hi-a2c7e941.js +0 -65
- package/dist/esm/hi-a2c7e941.js.map +0 -1
- package/dist/esm/hr-38b859ea.js +0 -80
- package/dist/esm/hr-38b859ea.js.map +0 -1
- package/dist/esm/hu-ed848559.js +0 -88
- package/dist/esm/hu-ed848559.js.map +0 -1
- package/dist/esm/id-efd0b61b.js +0 -66
- package/dist/esm/id-efd0b61b.js.map +0 -1
- package/dist/esm/index-161d4d7f.js +0 -206
- package/dist/esm/index-161d4d7f.js.map +0 -1
- package/dist/esm/index-489f296a.js +0 -73
- package/dist/esm/index-489f296a.js.map +0 -1
- package/dist/esm/index-c56fb913.js +0 -2624
- package/dist/esm/index-c56fb913.js.map +0 -1
- package/dist/esm/input-a074145f.js +0 -55
- package/dist/esm/input-a074145f.js.map +0 -1
- package/dist/esm/interactive-4556fcbc.js +0 -146
- package/dist/esm/interactive-4556fcbc.js.map +0 -1
- package/dist/esm/it-ch-579e4092.js +0 -66
- package/dist/esm/it-ch-579e4092.js.map +0 -1
- package/dist/esm/it-de215475.js +0 -66
- package/dist/esm/it-de215475.js.map +0 -1
- package/dist/esm/ja-e6b396ed.js +0 -72
- package/dist/esm/ja-e6b396ed.js.map +0 -1
- package/dist/esm/key-a23554bd.js +0 -13
- package/dist/esm/key-a23554bd.js.map +0 -1
- package/dist/esm/ko-38c2b69a.js +0 -72
- package/dist/esm/ko-38c2b69a.js.map +0 -1
- package/dist/esm/label-c2d7fe19.js +0 -176
- package/dist/esm/label-c2d7fe19.js.map +0 -1
- package/dist/esm/loadable-a7b8be50.js +0 -86
- package/dist/esm/loadable-a7b8be50.js.map +0 -1
- package/dist/esm/locale-427acee7.js +0 -563
- package/dist/esm/locale-427acee7.js.map +0 -1
- package/dist/esm/lt-0d08523d.js +0 -97
- package/dist/esm/lt-0d08523d.js.map +0 -1
- package/dist/esm/lv-d481cbcc.js +0 -66
- package/dist/esm/lv-d481cbcc.js.map +0 -1
- package/dist/esm/math-1385480c.js +0 -51
- package/dist/esm/math-1385480c.js.map +0 -1
- package/dist/esm/mk-21fca8a5.js +0 -66
- package/dist/esm/mk-21fca8a5.js.map +0 -1
- package/dist/esm/nb-82df6596.js +0 -67
- package/dist/esm/nb-82df6596.js.map +0 -1
- package/dist/esm/nl-905dc63d.js +0 -67
- package/dist/esm/nl-905dc63d.js.map +0 -1
- package/dist/esm/observers-275f4103.js +0 -48
- package/dist/esm/observers-275f4103.js.map +0 -1
- package/dist/esm/openCloseComponent-66879bf1.js +0 -87
- package/dist/esm/openCloseComponent-66879bf1.js.map +0 -1
- package/dist/esm/pl-d043193c.js +0 -114
- package/dist/esm/pl-d043193c.js.map +0 -1
- package/dist/esm/pt-5036b8e8.js +0 -67
- package/dist/esm/pt-5036b8e8.js.map +0 -1
- package/dist/esm/pt-br-78d16794.js +0 -65
- package/dist/esm/pt-br-78d16794.js.map +0 -1
- package/dist/esm/resources-4a820e1c.js +0 -17
- package/dist/esm/resources-4a820e1c.js.map +0 -1
- package/dist/esm/resources-5061ec09.js +0 -19
- package/dist/esm/resources-5061ec09.js.map +0 -1
- package/dist/esm/resources-62c5001a.js +0 -387
- package/dist/esm/resources-62c5001a.js.map +0 -1
- package/dist/esm/resources-6abf62a1.js +0 -45
- package/dist/esm/resources-6abf62a1.js.map +0 -1
- package/dist/esm/resources-b2548cfe.js +0 -25
- package/dist/esm/resources-b2548cfe.js.map +0 -1
- package/dist/esm/resources-db2382ce.js +0 -21
- package/dist/esm/resources-db2382ce.js.map +0 -1
- package/dist/esm/resources-e5452481.js +0 -23
- package/dist/esm/resources-e5452481.js.map +0 -1
- package/dist/esm/ro-c5b95727.js +0 -66
- package/dist/esm/ro-c5b95727.js.map +0 -1
- package/dist/esm/ru-8deb5332.js +0 -126
- package/dist/esm/ru-8deb5332.js.map +0 -1
- package/dist/esm/sk-fc6c2934.js +0 -148
- package/dist/esm/sk-fc6c2934.js.map +0 -1
- package/dist/esm/sl-d8a65c5f.js +0 -168
- package/dist/esm/sl-d8a65c5f.js.map +0 -1
- package/dist/esm/sortableComponent-faf4daa0.js +0 -2740
- package/dist/esm/sortableComponent-faf4daa0.js.map +0 -1
- package/dist/esm/sr-e4ccd759.js +0 -101
- package/dist/esm/sr-e4ccd759.js.map +0 -1
- package/dist/esm/sv-c2da225d.js +0 -71
- package/dist/esm/sv-c2da225d.js.map +0 -1
- package/dist/esm/t9n-c90df025.js +0 -92
- package/dist/esm/t9n-c90df025.js.map +0 -1
- package/dist/esm/th-5e967b98.js +0 -65
- package/dist/esm/th-5e967b98.js.map +0 -1
- package/dist/esm/throttle-53183d9e.js +0 -75
- package/dist/esm/throttle-53183d9e.js.map +0 -1
- package/dist/esm/tr-7f0c2cc2.js +0 -66
- package/dist/esm/tr-7f0c2cc2.js.map +0 -1
- package/dist/esm/uk-a7582dea.js +0 -104
- package/dist/esm/uk-a7582dea.js.map +0 -1
- package/dist/esm/utils-4df58b92.js +0 -289
- package/dist/esm/utils-4df58b92.js.map +0 -1
- package/dist/esm/utils-4f216f56.js +0 -200
- package/dist/esm/utils-4f216f56.js.map +0 -1
- package/dist/esm/vi-d633cf12.js +0 -70
- package/dist/esm/vi-d633cf12.js.map +0 -1
- package/dist/esm/zh-cn-912de23b.js +0 -94
- package/dist/esm/zh-cn-912de23b.js.map +0 -1
- package/dist/esm/zh-hk-28e0f0e2.js +0 -71
- package/dist/esm/zh-hk-28e0f0e2.js.map +0 -1
- package/dist/esm/zh-tw-ccee886b.js +0 -92
- package/dist/esm/zh-tw-ccee886b.js.map +0 -1
- /package/dist/calcite/{p-c6d7a9c6.js.map → p-0061ff99.js.map} +0 -0
- /package/dist/calcite/{p-e57f4f16.js.map → p-0491fea7.js.map} +0 -0
- /package/dist/calcite/{p-f97042b9.js.map → p-052205e6.js.map} +0 -0
- /package/dist/calcite/{p-7915892c.entry.js.map → p-0537c304.entry.js.map} +0 -0
- /package/dist/calcite/{p-9c499a47.js.map → p-05f44b1e.js.map} +0 -0
- /package/dist/calcite/{p-a853991f.js.map → p-068098c8.js.map} +0 -0
- /package/dist/calcite/{p-6ee4ecd3.entry.js.map → p-083a002a.entry.js.map} +0 -0
- /package/dist/calcite/{p-e9f9c64f.js.map → p-0b738ad4.js.map} +0 -0
- /package/dist/calcite/{p-e96bcdd5.entry.js.map → p-0b76add0.entry.js.map} +0 -0
- /package/dist/calcite/{p-3ef30c84.js.map → p-0f2558c6.js.map} +0 -0
- /package/dist/calcite/{p-2d2e0315.js.map → p-110e5bc8.js.map} +0 -0
- /package/dist/calcite/{p-aa6952d6.js.map → p-11b1571e.js.map} +0 -0
- /package/dist/calcite/{p-70570a66.js.map → p-11c25b0e.js.map} +0 -0
- /package/dist/calcite/{p-fa6d7a1b.js.map → p-1204cf5a.js.map} +0 -0
- /package/dist/calcite/{p-dc1407c6.entry.js.map → p-14025fa8.entry.js.map} +0 -0
- /package/dist/calcite/{p-c0558aa0.entry.js.map → p-1446bf35.entry.js.map} +0 -0
- /package/dist/calcite/{p-1a871d95.js.map → p-15f3a8e1.js.map} +0 -0
- /package/dist/calcite/{p-f736c7e7.entry.js.map → p-16a34f84.entry.js.map} +0 -0
- /package/dist/calcite/{p-8aa5ebbc.js.map → p-17b3ec05.js.map} +0 -0
- /package/dist/calcite/{p-a8966896.entry.js.map → p-1a913088.entry.js.map} +0 -0
- /package/dist/calcite/{p-0b748594.entry.js.map → p-1cf7a670.entry.js.map} +0 -0
- /package/dist/calcite/{p-f728da23.js.map → p-1dc9a386.js.map} +0 -0
- /package/dist/calcite/{p-ab717545.entry.js.map → p-1f475d47.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ba7c5c2.js.map → p-20e035bf.js.map} +0 -0
- /package/dist/calcite/{p-49af9f12.js.map → p-224218c9.js.map} +0 -0
- /package/dist/calcite/{p-18d58723.js.map → p-238c0889.js.map} +0 -0
- /package/dist/calcite/{p-39f0f1e3.js.map → p-2453b380.js.map} +0 -0
- /package/dist/calcite/{p-ccc52832.js.map → p-24e53aae.js.map} +0 -0
- /package/dist/calcite/{p-b3def89d.entry.js.map → p-2602094a.entry.js.map} +0 -0
- /package/dist/calcite/{p-c6bc1ea6.js.map → p-2939f2e9.js.map} +0 -0
- /package/dist/calcite/{p-11a670d5.js.map → p-33ac757f.js.map} +0 -0
- /package/dist/calcite/{p-2b489cd9.entry.js.map → p-33dc3536.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bfa60ce.js.map → p-34623328.js.map} +0 -0
- /package/dist/calcite/{p-218926aa.js.map → p-36e9d514.js.map} +0 -0
- /package/dist/calcite/{p-32f9f099.entry.js.map → p-3db893b2.entry.js.map} +0 -0
- /package/dist/calcite/{p-50916b2a.js.map → p-3ee71bf4.js.map} +0 -0
- /package/dist/calcite/{p-a3ed6af6.js.map → p-3f844a5a.js.map} +0 -0
- /package/dist/calcite/{p-300962bc.js.map → p-4020d6a6.js.map} +0 -0
- /package/dist/calcite/{p-eff98f62.entry.js.map → p-40a12053.entry.js.map} +0 -0
- /package/dist/calcite/{p-8fd31a3a.js.map → p-458bdc33.js.map} +0 -0
- /package/dist/calcite/{p-61c33373.js.map → p-4933044b.js.map} +0 -0
- /package/dist/calcite/{p-e702d7ff.js.map → p-573201c9.js.map} +0 -0
- /package/dist/calcite/{p-a5ec7c0b.js.map → p-59e7feff.js.map} +0 -0
- /package/dist/calcite/{p-3aacf1f2.entry.js.map → p-5ae3e072.entry.js.map} +0 -0
- /package/dist/calcite/{p-0ebc1b80.js.map → p-5af672dd.js.map} +0 -0
- /package/dist/calcite/{p-d89bb0a0.js.map → p-5bb06c91.js.map} +0 -0
- /package/dist/calcite/{p-960cacc4.entry.js.map → p-5bec48a8.entry.js.map} +0 -0
- /package/dist/calcite/{p-88d56a3d.js.map → p-5d42de91.js.map} +0 -0
- /package/dist/calcite/{p-ddc1e0c8.js.map → p-5e42b2a2.js.map} +0 -0
- /package/dist/calcite/{p-a660207a.entry.js.map → p-6014723f.entry.js.map} +0 -0
- /package/dist/calcite/{p-da641132.js.map → p-603943ce.js.map} +0 -0
- /package/dist/calcite/{p-919282f7.js.map → p-621f4806.js.map} +0 -0
- /package/dist/calcite/{p-6149e10f.js.map → p-675402ed.js.map} +0 -0
- /package/dist/calcite/{p-b33269fd.entry.js.map → p-698a02b2.entry.js.map} +0 -0
- /package/dist/calcite/{p-4d11389b.js.map → p-6a1ea4a6.js.map} +0 -0
- /package/dist/calcite/{p-0140bf06.js.map → p-6e79eb68.js.map} +0 -0
- /package/dist/calcite/{p-c7a3e230.js.map → p-6eb7c82b.js.map} +0 -0
- /package/dist/calcite/{p-5a2baa09.entry.js.map → p-7213009f.entry.js.map} +0 -0
- /package/dist/calcite/{p-f5d99561.entry.js.map → p-74b9b77d.entry.js.map} +0 -0
- /package/dist/calcite/{p-c29da598.js.map → p-783d0e6a.js.map} +0 -0
- /package/dist/calcite/{p-98930097.entry.js.map → p-7a67d946.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b5cd3fa.entry.js.map → p-7bce3af3.entry.js.map} +0 -0
- /package/dist/calcite/{p-0a3f1f3c.js.map → p-7cc4bcb2.js.map} +0 -0
- /package/dist/calcite/{p-e538ca60.js.map → p-819bde10.js.map} +0 -0
- /package/dist/calcite/{p-25660a11.js.map → p-826740f4.js.map} +0 -0
- /package/dist/calcite/{p-ca0fe424.js.map → p-826eb9ad.js.map} +0 -0
- /package/dist/calcite/{p-e4ce2855.js.map → p-8617edb6.js.map} +0 -0
- /package/dist/calcite/{p-5dbdbe4c.js.map → p-866151cc.js.map} +0 -0
- /package/dist/calcite/{p-9e3216cd.js.map → p-86bd01e0.js.map} +0 -0
- /package/dist/calcite/{p-e145b647.entry.js.map → p-86fa0665.entry.js.map} +0 -0
- /package/dist/calcite/{p-c51d1630.js.map → p-8946d3c8.js.map} +0 -0
- /package/dist/calcite/{p-9835ce5c.js.map → p-8bcc99c2.js.map} +0 -0
- /package/dist/calcite/{p-d5cbf422.js.map → p-8dad8cc3.js.map} +0 -0
- /package/dist/calcite/{p-5e9a8365.js.map → p-8e5cab2f.js.map} +0 -0
- /package/dist/calcite/{p-3fea5652.js.map → p-920f47ed.js.map} +0 -0
- /package/dist/calcite/{p-e90bd66d.js.map → p-94e6d97e.js.map} +0 -0
- /package/dist/calcite/{p-95896059.js.map → p-952d10a6.js.map} +0 -0
- /package/dist/calcite/{p-7fac16ae.js.map → p-95da7cdd.js.map} +0 -0
- /package/dist/calcite/{p-b644fc7d.entry.js.map → p-9621fe6f.entry.js.map} +0 -0
- /package/dist/calcite/{p-e2253525.js.map → p-979c3d5d.js.map} +0 -0
- /package/dist/calcite/{p-64ea4249.js.map → p-9a8b5ee6.js.map} +0 -0
- /package/dist/calcite/{p-55b0c2f8.js.map → p-9d70d331.js.map} +0 -0
- /package/dist/calcite/{p-93360d6a.entry.js.map → p-a05cc06b.entry.js.map} +0 -0
- /package/dist/calcite/{p-0e40f56b.js.map → p-a1fc27c5.js.map} +0 -0
- /package/dist/calcite/{p-f6cdf87d.js.map → p-a5baec64.js.map} +0 -0
- /package/dist/calcite/{p-9e29450d.js.map → p-a665fd8c.js.map} +0 -0
- /package/dist/calcite/{p-3cfee9f6.entry.js.map → p-a71f8554.entry.js.map} +0 -0
- /package/dist/calcite/{p-18de250b.js.map → p-ac175cd6.js.map} +0 -0
- /package/dist/calcite/{p-500a3e5a.js.map → p-af9dc83a.js.map} +0 -0
- /package/dist/calcite/{p-703ccda0.js.map → p-afacbd83.js.map} +0 -0
- /package/dist/calcite/{p-ecf74d67.js.map → p-b3699100.js.map} +0 -0
- /package/dist/calcite/{p-346ca4fd.js.map → p-b47fea72.js.map} +0 -0
- /package/dist/calcite/{p-75c46bed.js.map → p-b4de9424.js.map} +0 -0
- /package/dist/calcite/{p-57cde6a5.js.map → p-b5a7ba7b.js.map} +0 -0
- /package/dist/calcite/{p-090ea3a3.js.map → p-b5d774a4.js.map} +0 -0
- /package/dist/calcite/{p-2fa863b2.js.map → p-b6fd49e7.js.map} +0 -0
- /package/dist/calcite/{p-9bb36dfb.js.map → p-bdc14ccb.js.map} +0 -0
- /package/dist/calcite/{p-95c03159.entry.js.map → p-bf6a6593.entry.js.map} +0 -0
- /package/dist/calcite/{p-dc661724.js.map → p-c4e7bfd1.js.map} +0 -0
- /package/dist/calcite/{p-afcc94cb.js.map → p-cde1bd33.js.map} +0 -0
- /package/dist/calcite/{p-2174c79f.js.map → p-ce4a4660.js.map} +0 -0
- /package/dist/calcite/{p-c42f5bab.js.map → p-ceaa476b.js.map} +0 -0
- /package/dist/calcite/{p-e8b1fed4.js.map → p-d324544e.js.map} +0 -0
- /package/dist/calcite/{p-68676e90.entry.js.map → p-d74b464b.entry.js.map} +0 -0
- /package/dist/calcite/{p-931ddab0.entry.js.map → p-db28e4bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-2eb03310.js.map → p-dcfcb77f.js.map} +0 -0
- /package/dist/calcite/{p-b3b720de.js.map → p-dda0abea.js.map} +0 -0
- /package/dist/calcite/{p-3b399cee.entry.js.map → p-dfb47122.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a46c8f3.js.map → p-e0417a47.js.map} +0 -0
- /package/dist/calcite/{p-a037aac7.js.map → p-e1d57fa2.js.map} +0 -0
- /package/dist/calcite/{p-b275246e.js.map → p-e217c70c.js.map} +0 -0
- /package/dist/calcite/{p-eb326819.js.map → p-e3b2f3f3.js.map} +0 -0
- /package/dist/calcite/{p-1f3a1793.js.map → p-e54e5b79.js.map} +0 -0
- /package/dist/calcite/{p-73cb419f.js.map → p-e6ca70b9.js.map} +0 -0
- /package/dist/calcite/{p-a3e6b31e.js.map → p-e7dba443.js.map} +0 -0
- /package/dist/calcite/{p-96dbe795.js.map → p-e7e8f7da.js.map} +0 -0
- /package/dist/calcite/{p-c7964aeb.js.map → p-f843db92.js.map} +0 -0
- /package/dist/calcite/{p-8dffa3d8.js.map → p-f908db38.js.map} +0 -0
- /package/dist/calcite/{p-155842f0.js.map → p-f9606957.js.map} +0 -0
- /package/dist/calcite/{p-415e8b2f.entry.js.map → p-faf71871.entry.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","containerContent","hasProgress","hide","primary","secondary","tertiary","SLOTS","logo","user","progress","navigationAction","contentStart","contentEnd","contentCenter","navSecondary","navTertiary","ICONS","hamburger","navigationCss","CalciteNavigation","this","actionClickHandler","calciteNavigationActionSelect","emit","handleUserSlotChange","event","isPrimaryLevel","userSlotHasElements","slotChangeHasAssignedElement","handleLogoSlotChange","logoSlotHasElements","handleContentStartSlotChange","primaryContentStartSlotHasElements","handleContentEndSlotChange","primaryContentEndSlotHasElements","handleContentCenterSlotChange","primaryContentCenterSlotHasElements","handleSecondarySlotChange","secondarySlotHasElements","handleTertiarySlotChange","tertiarySlotHasElements","handleMenuActionSlotChange","navigationActionSlotHasElements","handleProgressSlotChange","progressSlotHasElement","setFocus","componentFocusable","navigationActionEl","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","el","slot","renderMenuAction","h","name","onSlotchange","icon","onClick","text","label","ref","render","primaryLevelHasElements","slotName","Host","class","Fragment","heading","description","anchor","image","standalone","navigationLogoCss","CalciteNavigationLogo","href","focus","renderIcon","flipRtl","iconFlipRtl","scale","thumbnail","rel","target","alt","src","key","textContainer","fullName","username","button","navigationUserCss","CalciteNavigationUser","userId","textDisabled"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n text={this.label}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n color: inherit;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** A description for the component, which displays below the `heading`.*/\n @Prop() description: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n render(): VNode {\n const { heading, description, thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {(heading || description) && (\n <div class={CSS.container}>\n {heading && (\n <span\n aria-label={this.heading}\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n >\n {heading}\n </span>\n )}\n {description && (\n <span aria-label={this.description} class={CSS.description} key={CSS.description}>\n {description}\n </span>\n )}\n </div>\n )}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n font-sans\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as e,H as o,g as a}from"./p-819bde10.js";import{c as n,d as s}from"./p-603943ce.js";import{e as r,b as l,f as c,w as d}from"./p-224218c9.js";import{d as h,a as m,c as p,u as b}from"./p-0f2558c6.js";import{s as u,a as f,c as g}from"./p-110e5bc8.js";import{c as x}from"./p-e54e5b79.js";import{o as v}from"./p-573201c9.js";import{c as k,d as z}from"./p-bdc14ccb.js";import{s as w,c as y,d as C,u as j}from"./p-a5baec64.js";import{g as $,c as M}from"./p-af9dc83a.js";import"./p-b5a7ba7b.js";import"./p-7cc4bcb2.js";import"./p-dcfcb77f.js";const O={modal:"modal",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",container:"container",containerOpen:"container--open",content:"content",contentNoFooter:"content--no-footer",contentBottom:"content-bottom",contentTop:"content-top",slottedInShell:"slotted-in-shell",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"};const B={close:"x"};const F={content:"content",contentBottom:"content-bottom",contentTop:"content-top",header:"header",back:"back",secondary:"secondary",primary:"primary"};const D=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";let T=0;let L="";const S=class{constructor(e){t(this,e);this.calciteModalBeforeClose=i(this,"calciteModalBeforeClose",6);this.calciteModalClose=i(this,"calciteModalClose",6);this.calciteModalBeforeOpen=i(this,"calciteModalBeforeOpen",6);this.calciteModalOpen=i(this,"calciteModalOpen",6);this.ignoreOpenChange=false;this.mutationObserver=x("mutation",(()=>this.handleMutationObserver()));this.cssVarObserver=x("mutation",(()=>{this.updateSizeCssVars()}));this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.openEnd=()=>{this.setFocus();this.el.removeEventListener("calciteModalOpen",this.openEnd)};this.handleCloseClick=()=>{this.open=false};this.handleOutsideClose=()=>{if(this.outsideCloseDisabled){return}this.open=false};this.closeModal=async()=>{if(this.beforeClose){try{await this.beforeClose(this.el)}catch(t){requestAnimationFrame((()=>{this.ignoreOpenChange=true;this.open=true;this.ignoreOpenChange=false}));return}}T--;this.opened=false;this.removeOverflowHiddenClass()};this.handleMutationObserver=()=>{this.updateFooterVisibility();this.updateFocusTrapElements()};this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[F.back,F.primary,F.secondary])};this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")};this.contentTopSlotChangeHandler=t=>{this.hasContentTop=l(t)};this.contentBottomSlotChangeHandler=t=>{this.hasContentBottom=l(t)};this.open=false;this.opened=false;this.beforeClose=undefined;this.closeButtonDisabled=false;this.focusTrapDisabled=false;this.outsideCloseDisabled=false;this.docked=undefined;this.escapeDisabled=false;this.scale="m";this.widthScale="m";this.fullscreen=undefined;this.kind=undefined;this.messages=undefined;this.messageOverrides=undefined;this.slottedInShell=undefined;this.cssWidth=undefined;this.cssHeight=undefined;this.hasFooter=true;this.hasContentTop=false;this.hasContentBottom=false;this.effectiveLocale=undefined;this.defaultMessages=undefined}handleFocusTrapDisabled(t){if(!this.open){return}t?h(this):m(this)}onMessagesChange(){}async componentWillLoad(){await w(this);u(this);if(this.open){this.openModal()}}componentDidLoad(){f(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]});this.updateSizeCssVars();this.updateFooterVisibility();n(this);k(this);y(this);p(this)}disconnectedCallback(){this.removeOverflowHiddenClass();this.mutationObserver?.disconnect();this.cssVarObserver?.disconnect();s(this);h(this);z(this);C(this);this.slottedInShell=false}render(){return e(o,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[O.container]:true,[O.containerOpen]:this.opened,[O.slottedInShell]:this.slottedInShell}},e("calcite-scrim",{class:O.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[O.modal]:true},ref:this.setTransitionEl},e("div",{class:O.header},this.renderCloseButton(),e("header",{class:O.title},e("slot",{name:O.header}))),this.renderContentTop(),e("div",{class:{[O.content]:true,[O.contentNoFooter]:!this.hasFooter},ref:t=>this.modalContent=t},e("slot",{name:F.content})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:O.footer,key:"footer"},e("span",{class:O.back},e("slot",{name:F.back})),e("span",{class:O.secondary},e("slot",{name:F.secondary})),e("span",{class:O.primary},e("slot",{name:F.primary}))):null}renderContentTop(){return e("div",{class:O.contentTop,hidden:!this.hasContentTop},e("slot",{name:F.contentTop,onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:O.contentBottom,hidden:!this.hasContentBottom},e("slot",{name:F.contentBottom,onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return!this.closeButtonDisabled?e("button",{"aria-label":this.messages.close,class:O.close,key:"button",onClick:this.handleCloseClick,title:this.messages.close,ref:t=>this.closeButtonEl=t},e("calcite-icon",{icon:B.close,scale:$(this.scale)})):null}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight)){return e("style",null,`.${O.container} {\n ${this.docked&&this.cssWidth?`align-items: center !important;`:""}\n }\n .${O.modal} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?`border-radius: var(--calcite-border-radius) !important;`:""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${O.container} {\n ${this.docked?`align-items: flex-end !important;`:""}\n }\n .${O.modal} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${!this.docked?`block-size: 100% !important;`:""}\n ${!this.docked?`border-radius: 0 !important;`:""}\n ${this.docked?`border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`:""}\n }\n }\n `)}}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(t){if(this.open&&!this.escapeDisabled&&t.key==="Escape"&&!t.defaultPrevented){this.open=false;t.preventDefault()}}async setFocus(){await g(this);c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(t=0,i=0){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:t,left:i,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=i}}}onBeforeOpen(){this.transitionEl.classList.add(O.openingActive);this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O.openingIdle,O.openingActive);this.calciteModalOpen.emit();m(this)}onBeforeClose(){this.transitionEl.classList.add(O.closingActive);this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(O.closingIdle,O.closingActive);this.calciteModalClose.emit();h(this)}toggleModal(t){if(this.ignoreOpenChange){return}if(t){this.openModal()}else{this.closeModal()}}handleOpenedChange(t){const i=t?O.openingIdle:O.closingIdle;this.transitionEl.classList.add(i);v(this)}async openModal(){await M(this.el);this.el.addEventListener("calciteModalOpen",this.openEnd);this.opened=true;const t=r(this.el,F.header);const i=r(this.el,F.content);this.titleId=d(t);this.contentId=d(i);if(!this.slottedInShell){if(T===0){L=document.documentElement.style.overflow}T++;document.documentElement.style.setProperty("overflow","hidden")}}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",L)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};S.style=D;export{S as calcite_modal};
|
|
7
|
+
//# sourceMappingURL=p-baa6b5dd.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","modal","title","header","footer","scrim","back","close","secondary","primary","container","containerOpen","content","contentNoFooter","contentBottom","contentTop","slottedInShell","openingIdle","openingActive","closingIdle","closingActive","ICONS","SLOTS","modalCss","totalOpenModals","initialDocumentOverflowStyle","Modal","this","ignoreOpenChange","mutationObserver","createObserver","handleMutationObserver","cssVarObserver","updateSizeCssVars","openTransitionProp","setTransitionEl","el","transitionEl","openEnd","setFocus","removeEventListener","handleCloseClick","open","handleOutsideClose","outsideCloseDisabled","closeModal","async","beforeClose","_error","requestAnimationFrame","opened","removeOverflowHiddenClass","updateFooterVisibility","updateFocusTrapElements","hasFooter","getSlotted","cssWidth","getComputedStyle","getPropertyValue","cssHeight","contentTopSlotChangeHandler","event","hasContentTop","slotChangeHasAssignedElement","contentBottomSlotChangeHandler","hasContentBottom","handleFocusTrapDisabled","focusTrapDisabled","deactivateFocusTrap","activateFocusTrap","onMessagesChange","componentWillLoad","setUpMessages","setUpLoadableComponent","openModal","componentDidLoad","setComponentLoaded","connectedCallback","observe","childList","subtree","attributeFilter","connectConditionalSlotComponent","connectLocalized","connectMessages","connectFocusTrap","disconnectedCallback","disconnect","disconnectConditionalSlotComponent","disconnectLocalized","disconnectMessages","render","h","Host","contentId","titleId","role","class","onClick","renderStyle","ref","renderCloseButton","name","renderContentTop","modalContent","renderContentBottom","renderFooter","key","hidden","onSlotchange","closeButtonDisabled","messages","closeButtonEl","icon","scale","getIconScale","fullscreen","docked","effectiveLocaleChange","updateMessages","effectiveLocale","handleEscape","escapeDisabled","defaultPrevented","preventDefault","componentFocusable","focusFirstTabbable","scrollContent","top","left","scrollTo","behavior","scrollTop","scrollLeft","onBeforeOpen","classList","add","calciteModalBeforeOpen","emit","onOpen","remove","calciteModalOpen","onBeforeClose","calciteModalBeforeClose","onClose","calciteModalClose","toggleModal","value","handleOpenedChange","idleClass","onToggleOpenCloseComponent","componentOnReady","addEventListener","titleEl","contentEl","ensureId","document","documentElement","style","overflow","setProperty"],"sources":["src/components/modal/resources.ts","src/components/modal/modal.scss?tag=calcite-modal&encapsulation=shadow","src/components/modal/modal.tsx"],"sourcesContent":["export const CSS = {\n modal: \"modal\",\n title: \"title\",\n header: \"header\",\n footer: \"footer\",\n scrim: \"scrim\",\n back: \"back\",\n close: \"close\",\n secondary: \"secondary\",\n primary: \"primary\",\n container: \"container\",\n containerOpen: \"container--open\",\n content: \"content\",\n contentNoFooter: \"content--no-footer\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n slottedInShell: \"slotted-in-shell\",\n\n // these classes help apply the animation in phases to only set transform on open/close\n // this helps avoid a positioning issue for any floating-ui-owning children\n openingIdle: \"modal--opening-idle\",\n openingActive: \"modal--opening-active\",\n closingIdle: \"modal--closing-idle\",\n closingActive: \"modal--closing-active\",\n};\n\nexport const DURATIONS = {\n slow: 14000,\n medium: 10000,\n fast: 6000,\n test: 300 / 1000,\n};\n\nexport const ICONS = {\n close: \"x\",\n};\n\nexport const SLOTS = {\n content: \"content\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n header: \"header\",\n back: \"back\",\n secondary: \"secondary\",\n primary: \"primary\",\n};\n","@import \"~@esri/calcite-design-tokens/dist/scss/core\";\n\n/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-modal-content-background: Specifies the background color of content placed in the component's `\"content\"` slot.\n * @prop --calcite-modal-content-padding: Specifies the padding of the component's `\"content\"` slot.\n * @prop --calcite-modal-scrim-background: Specifies the background color of the component's scrim.\n * @prop --calcite-modal-width: Specifies the width of the component, using `px`, `em`, `rem`, `vw`, or `%`. Will never exceed the width of the viewport. Will not apply if `fullscreen` if set.\n * @prop --calcite-modal-height: Specifies the height of the component, using `px`, `em`, `rem`, `vh`, or `%`. Will never exceed the height of the viewport. Will not apply if `fullscreen` if set.\n *\n */\n\n:host {\n --calcite-modal-scrim-background: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n:host {\n @apply absolute flex inset-0 opacity-0 z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n // the modal should always use a dark scrim, regardless of light / dark mode - matches value in global.scss\n --calcite-modal-scrim-background-internal: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n.content-top[hidden],\n.content-bottom[hidden] {\n @apply hidden;\n}\n\n.container {\n @apply text-color-2\n fixed\n inset-0\n flex\n items-center\n justify-center\n overflow-y-hidden\n opacity-0\n z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n}\n\n:host([scale=\"s\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.3\");\n --calcite-modal-padding-large-internal: theme(\"spacing.4\");\n --calcite-modal-title-text-internal: theme(\"fontSize.1h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.n1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.4\");\n --calcite-modal-padding-large-internal: theme(\"spacing.5\");\n --calcite-modal-title-text-internal: theme(\"fontSize.2h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.0\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.5\");\n --calcite-modal-padding-large-internal: theme(\"spacing.6\");\n --calcite-modal-title-text-internal: theme(\"fontSize.3h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.1\");\n}\n\n.scrim {\n --calcite-scrim-background: var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));\n @apply fixed inset-0 flex overflow-y-hidden;\n}\n\n.modal {\n @apply shadow-2-sm\n bg-foreground-1\n pointer-events-none\n float-none\n m-6\n box-border\n flex\n w-full\n flex-col\n overflow-hidden\n rounded\n opacity-0\n z-modal;\n -webkit-overflow-scrolling: touch;\n visibility: hidden;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n\n --calcite-modal-hidden-position: translate3d(0, 20px, 0);\n --calcite-modal-shown-position: translate3d(0, 0, 0);\n\n &--opening {\n &-idle {\n transform: var(--calcite-modal-hidden-position);\n }\n &-active {\n transform: var(--calcite-modal-shown-position);\n }\n }\n\n &--closing {\n &-idle {\n transform: var(--calcite-modal-shown-position);\n }\n &-active {\n transform: var(--calcite-modal-hidden-position);\n }\n }\n}\n\n:host([opened]) {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n}\n\n.container--open {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n .modal {\n @apply pointer-events-auto visible opacity-100;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear,\n opacity var(--calcite-internal-animation-timing-slow) $easing-function,\n max-inline-size var(--calcite-internal-animation-timing-slow) $easing-function,\n max-block-size var(--calcite-internal-animation-timing-slow) $easing-function;\n transition-delay: 0ms;\n }\n}\n\n/**\n * Header\n */\n.header {\n @apply bg-foreground-1\n border-color-3\n flex\n min-w-0\n max-w-full\n rounded-t\n border-0\n border-b\n border-solid\n z-header;\n flex: 0 0 auto;\n}\n\n.close {\n @apply text-color-3\n transition-default\n focus-base\n order-2\n m-0\n cursor-pointer\n appearance-none\n border-none\n bg-transparent;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-internal);\n flex: 0 0 auto;\n calcite-icon {\n @apply pointer-events-none;\n vertical-align: -2px;\n }\n &:focus {\n @apply focus-inset;\n }\n &:hover,\n &:focus,\n &:active {\n @apply bg-foreground-2 text-color-1;\n }\n}\n\n.title {\n @apply order-1 flex min-w-0 items-center;\n flex: 1 1 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n@include slotted(\"header\", \"*\") {\n @apply text-color-1 m-0 font-normal;\n font-size: var(--calcite-modal-title-text-internal);\n}\n\n/**\n * Content area\n */\n.content {\n @apply relative box-border block h-full overflow-auto p-0;\n background-color: var(--calcite-modal-content-background, theme(\"colors.background.foreground.1\"));\n max-block-size: 100%;\n padding: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));\n}\n\n.content-top,\n.content-bottom {\n @apply bg-foreground-1 border-color-3 border-solid border-0 z-header flex;\n flex: 0 0 auto;\n padding: var(--calcite-modal-padding-internal);\n}\n\n.content-top {\n @apply min-w-0 max-w-full border-b;\n}\n\n.content-bottom {\n @apply mt-auto box-border w-full justify-between border-t;\n}\n\n.content-top:not(.header ~ .content-top) {\n @apply rounded-t;\n}\n\n.content-bottom:not(.content-bottom ~ .footer),\n.content--no-footer {\n @apply rounded-b;\n}\n\n@include slotted(\"content\", \"*\") {\n font-size: var(--calcite-modal-context-text-internal);\n}\n\n/**\n * Footer\n */\n.footer {\n @apply bg-foreground-1\n border-color-3\n mt-auto\n box-border\n flex\n w-full\n justify-between\n rounded-b\n border-0\n border-t\n border-solid\n z-header;\n flex: 0 0 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n.footer--hide-back .back,\n.footer--hide-secondary .secondary {\n @apply hidden;\n}\n\n.back {\n @apply block;\n margin-inline-end: auto;\n}\n\n.secondary {\n @apply mx-1 block;\n}\n\nslot[name=\"primary\"] {\n @apply block;\n}\n\n/**\n * Sizes\n */\n@mixin modal-size($size, $width) {\n :host([width-scale=\"#{$size}\"]) .modal {\n @apply max-h-full max-w-full;\n inline-size: var(--calcite-modal-width, $width);\n block-size: var(--calcite-modal-height, auto);\n }\n\n @media screen and (max-width: $width + 2 * $baseline) {\n :host([width-scale=\"#{$size}\"]) {\n .modal {\n @apply m-0 h-full max-h-full w-full max-w-full;\n }\n .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n }\n :host([width-scale=\"#{$size}\"][docked]) .container {\n align-items: flex-end;\n }\n }\n}\n\n:host([width=\"small\"]) .modal {\n @apply w-auto;\n}\n\n@include modal-size(\"s\", 32rem);\n@include modal-size(\"m\", 48rem);\n@include modal-size(\"l\", 94rem);\n\n/**\n * Fullscreen\n */\n:host([fullscreen]) {\n .modal {\n @apply m-0 max-h-full max-w-full h-full w-full rounded-none;\n --calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);\n --calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);\n }\n .content {\n @apply max-h-full;\n flex: 1 1 auto;\n }\n}\n\n:host([opened][fullscreen]) {\n .header,\n .footer,\n .content-top,\n .content-bottom {\n border-radius: 0;\n }\n}\n\n/**\n * Docked\n */\n:host([docked]) {\n .modal {\n block-size: var(--calcite-modal-height, auto);\n }\n .content {\n @apply h-auto;\n flex: 1 1 auto;\n }\n}\n\n/**\n * Kinds\n */\n:host([kind=\"brand\"]) .modal {\n @apply border-color-brand;\n}\n\n:host([kind=\"danger\"]) .modal {\n @apply border-color-danger;\n}\n\n:host([kind=\"info\"]) .modal {\n @apply border-color-info;\n}\n\n:host([kind=\"success\"]) .modal {\n @apply border-color-success;\n}\n\n:host([kind=\"warning\"]) .modal {\n @apply border-color-warning;\n}\n\n:host([kind=\"brand\"]),\n:host([kind=\"danger\"]),\n:host([kind=\"info\"]),\n:host([kind=\"success\"]),\n:host([kind=\"warning\"]) {\n .modal {\n @apply border-0 border-t-4 border-solid;\n }\n .header,\n .content-top {\n @apply rounded rounded-b-none;\n }\n}\n\n/**\n * Tablet\n */\n@media screen and (max-width: $viewport-medium) {\n @include slotted(\"header\", \"content-top\", \"*\") {\n @apply text-1;\n }\n .footer,\n .content-bottom {\n @apply sticky bottom-0;\n }\n}\n\n/**\n * Mobile\n */\n@media screen and (max-width: $viewport-small) {\n .footer,\n .content-bottom {\n @apply flex-col;\n }\n .back,\n .secondary {\n @apply m-0 mb-1;\n }\n}\n\n/**\n * Conditional styles for when Modal is slotted in Shell\n */\n\n.container.slotted-in-shell {\n position: absolute;\n pointer-events: auto;\n calcite-scrim {\n position: absolute;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n ensureId,\n focusFirstTabbable,\n getSlotted,\n slotChangeHasAssignedElement,\n} from \"../../utils/dom\";\nimport {\n activateFocusTrap,\n connectFocusTrap,\n deactivateFocusTrap,\n FocusTrap,\n FocusTrapComponent,\n updateFocusTrapElements,\n} from \"../../utils/focusTrapComponent\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { Kind, Scale } from \"../interfaces\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { ModalMessages } from \"./assets/modal/t9n\";\n\nimport { componentOnReady, getIconScale } from \"../../utils/component\";\n\nlet totalOpenModals: number = 0;\nlet initialDocumentOverflowStyle: string = \"\";\n\n/**\n * @slot header - A slot for adding header text.\n * @slot content - A slot for adding the component's content.\n * @slot content-top - A slot for adding content to the component's sticky header, where content remains at the top of the component when scrolling up and down.\n * @slot content-bottom - A slot for adding content to the component's sticky footer, where content remains at the bottom of the component when scrolling up and down.\n * @slot primary - A slot for adding a primary button.\n * @slot secondary - A slot for adding a secondary button.\n * @slot back - A slot for adding a back button.\n */\n\n@Component({\n tag: \"calcite-modal\",\n styleUrl: \"modal.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Modal\n implements\n ConditionalSlotComponent,\n OpenCloseComponent,\n FocusTrapComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) opened = false;\n\n /** Passes a function to run before the component closes. */\n @Prop() beforeClose: (el: HTMLCalciteModalElement) => Promise<void>;\n\n /** When `true`, disables the component's close button. */\n @Prop({ reflect: true }) closeButtonDisabled = false;\n\n /**\n * When `true`, prevents focus trapping.\n */\n @Prop({ reflect: true }) focusTrapDisabled = false;\n\n @Watch(\"focusTrapDisabled\")\n handleFocusTrapDisabled(focusTrapDisabled: boolean): void {\n if (!this.open) {\n return;\n }\n\n focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);\n }\n\n /** When `true`, disables the closing of the component when clicked outside. */\n @Prop({ reflect: true }) outsideCloseDisabled = false;\n\n /** When `true`, prevents the component from expanding to the entire screen on mobile devices. */\n @Prop({ reflect: true }) docked: boolean;\n\n /** When `true`, disables the default close on escape behavior. */\n @Prop({ reflect: true }) escapeDisabled = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) widthScale: Scale = \"m\";\n\n /** Sets the component to always be fullscreen. Overrides `widthScale` and `--calcite-modal-width` / `--calcite-modal-height`. */\n @Prop({ reflect: true }) fullscreen: boolean;\n\n /** Specifies the kind of the component, which will apply to top border. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\", Kind>;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ModalMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ModalMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * This internal property, managed by a containing calcite-shell, is used\n * to inform the component if special configuration or styles are needed\n *\n * @internal\n */\n @Prop({ mutable: true }) slottedInShell: boolean;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n // when modal initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n this.openModal();\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.cssVarObserver?.observe(this.el, { attributeFilter: [\"style\"] });\n this.updateSizeCssVars();\n this.updateFooterVisibility();\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n connectFocusTrap(this);\n }\n\n disconnectedCallback(): void {\n this.removeOverflowHiddenClass();\n this.mutationObserver?.disconnect();\n this.cssVarObserver?.disconnect();\n disconnectConditionalSlotComponent(this);\n deactivateFocusTrap(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n return (\n <Host\n aria-describedby={this.contentId}\n aria-labelledby={this.titleId}\n aria-modal=\"true\"\n role=\"dialog\"\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerOpen]: this.opened,\n [CSS.slottedInShell]: this.slottedInShell,\n }}\n >\n <calcite-scrim class={CSS.scrim} onClick={this.handleOutsideClose} />\n {this.renderStyle()}\n <div\n class={{\n [CSS.modal]: true,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n <div class={CSS.header}>\n {this.renderCloseButton()}\n <header class={CSS.title}>\n <slot name={CSS.header} />\n </header>\n </div>\n {this.renderContentTop()}\n <div\n class={{\n [CSS.content]: true,\n [CSS.contentNoFooter]: !this.hasFooter,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.modalContent = el)}\n >\n <slot name={SLOTS.content} />\n </div>\n {this.renderContentBottom()}\n {this.renderFooter()}\n </div>\n </div>\n </Host>\n );\n }\n\n renderFooter(): VNode {\n return this.hasFooter ? (\n <div class={CSS.footer} key=\"footer\">\n <span class={CSS.back}>\n <slot name={SLOTS.back} />\n </span>\n <span class={CSS.secondary}>\n <slot name={SLOTS.secondary} />\n </span>\n <span class={CSS.primary}>\n <slot name={SLOTS.primary} />\n </span>\n </div>\n ) : null;\n }\n\n renderContentTop(): VNode {\n return (\n <div class={CSS.contentTop} hidden={!this.hasContentTop}>\n <slot name={SLOTS.contentTop} onSlotchange={this.contentTopSlotChangeHandler} />\n </div>\n );\n }\n\n renderContentBottom(): VNode {\n return (\n <div class={CSS.contentBottom} hidden={!this.hasContentBottom}>\n <slot name={SLOTS.contentBottom} onSlotchange={this.contentBottomSlotChangeHandler} />\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return !this.closeButtonDisabled ? (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n key=\"button\"\n onClick={this.handleCloseClick}\n title={this.messages.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n renderStyle(): VNode {\n if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {\n return (\n <style>\n {`.${CSS.container} {\n ${this.docked && this.cssWidth ? `align-items: center !important;` : \"\"}\n }\n .${CSS.modal} {\n block-size: ${this.cssHeight ? this.cssHeight : \"auto\"} !important;\n ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : \"\"}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${CSS.container} {\n ${this.docked ? `align-items: flex-end !important;` : \"\"}\n }\n .${CSS.modal} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${!this.docked ? `block-size: 100% !important;` : \"\"}\n ${!this.docked ? `border-radius: 0 !important;` : \"\"}\n ${\n this.docked\n ? `border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`\n : \"\"\n }\n }\n }\n `}\n </style>\n );\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n ignoreOpenChange = false;\n\n @Element() el: HTMLCalciteModalElement;\n\n modalContent: HTMLDivElement;\n\n initialOverflowCSS: string;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () =>\n this.handleMutationObserver(),\n );\n\n private cssVarObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.updateSizeCssVars();\n });\n\n titleId: string;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n focusTrap: FocusTrap;\n\n closeButtonEl: HTMLButtonElement;\n\n contentId: string;\n\n @State() cssWidth: string | number;\n\n @State() cssHeight: string | number;\n\n @State() hasFooter = true;\n\n @State() hasContentTop = false;\n\n @State() hasContentBottom = false;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ModalMessages;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\", { target: \"window\" })\n handleEscape(event: KeyboardEvent): void {\n if (this.open && !this.escapeDisabled && event.key === \"Escape\" && !event.defaultPrevented) {\n this.open = false;\n event.preventDefault();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteModalBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteModalClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteModalBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteModalOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's \"close\" button (the first focusable item).\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n /**\n * Updates the element(s) that are used within the focus-trap of the component.\n */\n @Method()\n async updateFocusTrapElements(): Promise<void> {\n updateFocusTrapElements(this);\n }\n\n /**\n * Sets the scroll top of the component's content.\n *\n * @param top\n * @param left\n */\n @Method()\n async scrollContent(top = 0, left = 0): Promise<void> {\n if (this.modalContent) {\n if (this.modalContent.scrollTo) {\n this.modalContent.scrollTo({ top, left, behavior: \"smooth\" });\n } else {\n this.modalContent.scrollTop = top;\n this.modalContent.scrollLeft = left;\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.transitionEl.classList.add(CSS.openingActive);\n this.calciteModalBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);\n this.calciteModalOpen.emit();\n activateFocusTrap(this);\n }\n\n onBeforeClose(): void {\n this.transitionEl.classList.add(CSS.closingActive);\n this.calciteModalBeforeClose.emit();\n }\n\n onClose(): void {\n this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);\n this.calciteModalClose.emit();\n deactivateFocusTrap(this);\n }\n\n @Watch(\"open\")\n toggleModal(value: boolean): void {\n if (this.ignoreOpenChange) {\n return;\n }\n\n if (value) {\n this.openModal();\n } else {\n this.closeModal();\n }\n }\n\n @Watch(\"opened\")\n handleOpenedChange(value: boolean): void {\n const idleClass = value ? CSS.openingIdle : CSS.closingIdle;\n this.transitionEl.classList.add(idleClass);\n onToggleOpenCloseComponent(this);\n }\n\n private openEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calciteModalOpen\", this.openEnd);\n };\n\n private handleCloseClick = () => {\n this.open = false;\n };\n\n private async openModal(): Promise<void> {\n await componentOnReady(this.el);\n this.el.addEventListener(\"calciteModalOpen\", this.openEnd);\n this.opened = true;\n const titleEl = getSlotted(this.el, SLOTS.header);\n const contentEl = getSlotted(this.el, SLOTS.content);\n\n this.titleId = ensureId(titleEl);\n this.contentId = ensureId(contentEl);\n\n if (!this.slottedInShell) {\n if (totalOpenModals === 0) {\n initialDocumentOverflowStyle = document.documentElement.style.overflow;\n }\n\n totalOpenModals++;\n // use an inline style instead of a utility class to avoid global class declarations.\n document.documentElement.style.setProperty(\"overflow\", \"hidden\");\n }\n }\n\n private handleOutsideClose = (): void => {\n if (this.outsideCloseDisabled) {\n return;\n }\n\n this.open = false;\n };\n\n closeModal = async (): Promise<void> => {\n if (this.beforeClose) {\n try {\n await this.beforeClose(this.el);\n } catch (_error) {\n // close prevented\n requestAnimationFrame(() => {\n this.ignoreOpenChange = true;\n this.open = true;\n this.ignoreOpenChange = false;\n });\n return;\n }\n }\n\n totalOpenModals--;\n this.opened = false;\n this.removeOverflowHiddenClass();\n };\n\n private removeOverflowHiddenClass(): void {\n document.documentElement.style.setProperty(\"overflow\", initialDocumentOverflowStyle);\n }\n\n private handleMutationObserver = (): void => {\n this.updateFooterVisibility();\n this.updateFocusTrapElements();\n };\n\n private updateFooterVisibility = (): void => {\n this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);\n };\n\n private updateSizeCssVars = (): void => {\n this.cssWidth = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-width\");\n this.cssHeight = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-height\");\n };\n\n private contentTopSlotChangeHandler = (event: Event): void => {\n this.hasContentTop = slotChangeHasAssignedElement(event);\n };\n\n private contentBottomSlotChangeHandler = (event: Event): void => {\n this.hasContentBottom = slotChangeHasAssignedElement(event);\n };\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
import{h as e,r as t,c as i,H as s,e as o,g as r}from"./p-819bde10.js";import{s as n,l as a}from"./p-224218c9.js";import{c as l}from"./p-e54e5b79.js";import{g as c}from"./p-b5a7ba7b.js";import{c as h,d as p,n as d}from"./p-bdc14ccb.js";import{c as m,s as u,d as b,u as g}from"./p-a5baec64.js";import{c as f,u as v,d as y,I as z}from"./p-94e6d97e.js";import{s as x,a as w,c as k}from"./p-110e5bc8.js";import"./p-7cc4bcb2.js";import"./p-dcfcb77f.js";import"./p-e7e8f7da.js";const I={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"};const C=({disabled:t,active:i,complete:s,error:o,key:r})=>e("svg",{class:{[I.stepBar]:true},key:r},e("rect",{class:{[I.stepBarActive]:i,[I.stepBarComplete]:s,[I.stepBarDisabled]:t,[I.stepBarError]:o,[I.stepBarInActive]:true},width:"100%",x:"0",y:"0"}));const S={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"};const A=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';const E=class{constructor(e){t(this,e);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.enabledItems=[];this.itemMap=new Map;this.items=[];this.mutationObserver=l("mutation",(()=>this.updateItems()));this.multipleViewMode=false;this.guid=`calcite-stepper-action-${c()}`;this.resizeObserver=l("resize",(e=>this.elWidth=e[0].contentRect.width));this.handleActionClick=e=>{const t=this.currentActivePosition;const i=e.target;if(i.getAttribute("data-position")==="start"){this.prevStep()}else{this.nextStep()}if(typeof this.currentActivePosition==="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled){this.calciteStepperItemChange.emit()}};this.setContainerEl=e=>{this.containerEl=e};this.handleDefaultSlotChange=e=>{const t=n(e).filter((e=>e?.tagName==="CALCITE-STEPPER-ITEM"));this.items=t;const i=Array(t.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i;this.containerEl.style.gridTemplateColumns=i;this.setStepperItemNumberingSystem()};this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.messages=undefined;this.numberingSystem=undefined;this.selectedItem=null;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.currentActivePosition=undefined;this.elWidth=undefined}handleItemPropChange(){this.updateItems()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true});this.updateItems();m(this);h(this)}async componentWillLoad(){await u(this)}componentDidLoad(){this.resizeObserver?.observe(this.containerEl);if(typeof this.currentActivePosition!=="number"){const e=this.getFirstEnabledStepperPosition();if(e===0){this.currentActivePosition=e}this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){this.resizeObserver?.disconnect();b(this);p(this);this.mutationObserver?.disconnect()}render(){return e(s,{"aria-label":this.messages.label,role:"region"},e("div",{class:{container:true,[S.singleView]:this.layout==="horizontal-single"},ref:this.setContainerEl},this.layout==="horizontal-single"&&e("div",{class:{[S.stepBarContainer]:true}},this.items.map(((t,i)=>e(C,{active:i===this.currentActivePosition,complete:t.complete&&i!==this.currentActivePosition&&!t.error,disabled:t.disabled&&i!==this.currentActivePosition,error:t.error&&i!==this.currentActivePosition,key:i})))),this.layout==="horizontal-single"&&e("div",{class:{[S.actionContainer]:true}},this.renderAction("start"),this.renderAction("end")),e("slot",{onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(e){const t=e.detail.item;const i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":a(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":a(this.enabledItems,i,"previous");break;case"Home":a(this.enabledItems,i,"first");break;case"End":a(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){const t=e.target;const{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i});this.enabledItems=this.filterItems();e.stopPropagation()}updateItem(e){const{position:t}=e.detail;if(typeof t==="number"){this.currentActivePosition=t;this.selectedItem=e.target}this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");if(typeof e!=="number"){return}this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}async goToStep(e){const t=e-1;if(this.currentActivePosition!==t){this.updateStep(t)}}async startStep(){const e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return}this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}effectiveLocaleChange(){g(this,this.effectiveLocale)}handlePositionChange(){o((()=>{this.determineActiveStepper()}))}handleElWidthChange(){o((()=>{this.determineActiveStepper()}))}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((e=>{e.icon=this.icon;e.numbered=this.numbered;e.layout=this.layout;e.scale=this.scale}))}determineActiveStepper(){const e=this.items.length;if(!this.elWidth||!e||this.layout!=="horizontal-single"||e===1){return}const t=this.currentActivePosition||0;if(this.layout==="horizontal-single"){this.multipleViewMode=false;this.items.forEach(((e,i)=>{e.hidden=i!==t}))}}getEnabledStepIndex(e,t="next"){const{items:i,currentActivePosition:s}=this;let o=e;while(i[o]?.disabled&&this.layout!=="horizontal-single"){o=o+(t==="previous"?-1:1)}return o!==s&&o<i.length&&o>=0?o:null}updateStep(e){this.currentActivePosition=e;this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}renderAction(t){const i=t==="start";const s=i?"chevron-left":"chevron-right";const{currentActivePosition:o,multipleViewMode:r,layout:n}=this;const a=this.items.length;const l=`${this.guid}-${i?"start":"end"}`;return n==="horizontal-single"&&!r?e("calcite-action",{alignment:"center",appearance:"transparent",class:{[S.actionIcon]:true},compact:true,"data-position":t,disabled:o===0&&i||o===a-1&&!i,icon:s,iconFlipRtl:true,id:l,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep}):null}getFirstEnabledStepperPosition(){const e=this.items.findIndex((e=>!e.disabled));if(e>-1){return e}return 0}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"],elWidth:["handleElWidthChange"]}}};E.style=A;const j={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"};const L=":host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(e){t(this,e);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",6);this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el){switch(e.key){case" ":case"Enter":this.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=e=>{if(this.disabled||this.layout==="horizontal"&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))){return}this.emitUserRequestedItem()};this.emitUserRequestedItem=()=>{this.emitRequestedItem();if(!this.disabled){const e=this.itemPosition;this.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=()=>{if(!this.disabled){const e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}};this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.heading=undefined;this.description=undefined;this.iconFlipRtl=false;this.numberingSystem=undefined;this.icon=false;this.layout=undefined;this.messages=undefined;this.numbered=false;this.scale="m";this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}selectedHandler(){if(this.selected){this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){d.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:false};g(this,this.effectiveLocale)}connectedCallback(){f(this);h(this);m(this)}async componentWillLoad(){x(this);this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}await u(this)}componentDidLoad(){w(this)}componentDidRender(){v(this)}disconnectedCallback(){y(this);p(this);b(this)}render(){return e(s,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},e(z,{disabled:this.disabled},e("div",{class:j.container},this.complete&&e("span",{"aria-live":"polite",class:j.visuallyHidden},this.messages.complete),e("div",{class:j.stepperItemHeader,tabIndex:this.layout==="horizontal"&&!this.disabled?0:null,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?e("div",{class:j.stepperItemNumber},this.renderNumbers(),"."):null,e("div",{class:j.stepperItemHeaderText},e("span",{class:j.stepperItemHeading},this.heading),e("span",{class:j.stepperItemDescription},this.description))),e("div",{class:j.stepperItemContent},e("slot",null)))))}updateActiveItemOnChange(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}}async setFocus(){await k(this);(this.layout==="vertical"?this.el:this.headerEl)?.focus()}renderIcon(){let t="circle";if(this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)){t="circleF"}else if(this.error){t="exclamationMarkCircleF"}else if(this.complete){t="checkCircleF"}return e("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:false};return d.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};P.style=L;export{E as calcite_stepper,P as calcite_stepper_item};
|
|
7
|
+
//# sourceMappingURL=p-bb1f73f1.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","stepBar","stepBarActive","stepBarComplete","stepBarDisabled","stepBarError","stepBarInActive","StepBar","disabled","active","complete","error","key","h","class","width","x","y","actionIcon","actionIconStart","actionIconEnd","actionContainer","stepBarContainer","singleView","stepperCss","Stepper","this","enabledItems","itemMap","Map","items","mutationObserver","createObserver","updateItems","multipleViewMode","guid","resizeObserver","entries","elWidth","contentRect","handleActionClick","event","currentActivePosition","target","getAttribute","prevStep","nextStep","calciteStepperItemChange","emit","setContainerEl","el","containerEl","handleDefaultSlotChange","slotChangeGetAssignedElements","filter","tagName","spacing","Array","length","fill","join","style","gridTemplateAreas","gridTemplateColumns","setStepperItemNumberingSystem","handleItemPropChange","numberingSystemChange","onMessagesChange","connectedCallback","observe","childList","connectMessages","connectLocalized","componentWillLoad","setUpMessages","componentDidLoad","enabledStepIndex","getFirstEnabledStepperPosition","calciteInternalStepperItemChange","position","disconnectedCallback","disconnect","disconnectMessages","disconnectLocalized","render","Host","messages","label","role","container","layout","ref","map","item","index","renderAction","onSlotchange","calciteInternalStepperItemKeyEvent","detail","itemToFocus","focusElementInGroup","stopPropagation","registerItem","content","set","filterItems","updateItem","selectedItem","handleUserRequestedStepperItemSelect","getEnabledStepIndex","updateStep","goToStep","step","startStep","endStep","effectiveLocaleChange","updateMessages","effectiveLocale","handlePositionChange","readTask","determineActiveStepper","handleElWidthChange","querySelectorAll","forEach","icon","numbered","scale","totalItems","activePosition","hidden","startIndex","direction","newIndex","numberingSystem","isPositionStart","path","id","alignment","appearance","compact","iconFlipRtl","onClick","text","previousStep","findIndex","stepperItemContent","stepperItemDescription","stepperItemHeader","stepperItemHeading","stepperItemHeaderText","stepperItemNumber","visuallyHidden","stepperItemCss","StepperItem","keyDownHandler","emitUserRequestedItem","preventDefault","handleItemClick","composedPath","some","classList","contains","emitRequestedItem","itemPosition","calciteInternalUserRequestedStepperItemSelect","calciteInternalStepperItemSelect","selectedHandler","selected","disabledWatcher","registerStepperItem","effectiveLocaleWatcher","locale","numberStringFormatter","numberFormatOptions","useGrouping","connectInteractive","setUpLoadableComponent","parentStepperEl","parentElement","getItemPosition","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectInteractive","onKeyDown","tabIndex","InteractiveContainer","headerEl","renderIcon","renderNumbers","heading","description","updateActiveItemOnChange","includes","selectedPosition","determineSelectedItem","setFocus","componentFocusable","focus","flipRtl","calciteInternalStepperItemRegister","from","indexOf","numberFormatter","format"],"sources":["src/components/stepper/functional/step-bar.tsx","src/components/stepper/resources.ts","src/components/stepper/stepper.scss?tag=calcite-stepper&encapsulation=shadow","src/components/stepper/stepper.tsx","src/components/stepper-item/resources.ts","src/components/stepper-item/stepper-item.scss?tag=calcite-stepper-item&encapsulation=shadow","src/components/stepper-item/stepper-item.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\ninterface StepBarProps {\n active: boolean;\n complete: boolean;\n error: boolean;\n disabled: boolean;\n key: number;\n}\n\nexport const CSS = {\n stepBar: \"step-bar\",\n stepBarActive: \"step-bar--active\",\n stepBarComplete: \"step-bar--complete\",\n stepBarDisabled: \"step-bar--disabled\",\n stepBarError: \"step-bar--error\",\n stepBarInActive: \"step-bar--inactive\",\n};\n\nexport const StepBar: FunctionalComponent<StepBarProps> = ({\n disabled,\n active,\n complete,\n error,\n key,\n}) => (\n <svg\n class={{\n [CSS.stepBar]: true,\n }}\n key={key}\n >\n <rect\n class={{\n [CSS.stepBarActive]: active,\n [CSS.stepBarComplete]: complete,\n [CSS.stepBarDisabled]: disabled,\n [CSS.stepBarError]: error,\n [CSS.stepBarInActive]: true,\n }}\n width=\"100%\"\n x=\"0\"\n y=\"0\"\n />\n </svg>\n);\n","export const CSS = {\n actionIcon: \"action-icon\",\n actionIconStart: \"action-icon--start\",\n actionIconEnd: \"action-icon--end\",\n actionContainer: \"action-container\",\n stepBarContainer: \"step-bar-container\",\n singleView: \"single-view\",\n};\n",":host([scale=\"s\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.11\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n --calcite-internal-step-bar-gap: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.13\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-internal-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-internal-stepper-action-block-size: theme(\"spacing.16\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n --calcite-internal-step-bar-gap: theme(\"spacing.3\");\n}\n\n:host {\n @apply flex;\n}\n\n.container {\n @apply relative\n flex\n w-full\n min-w-fit\n flex-row\n flex-wrap\n items-stretch\n justify-between;\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply flex-auto flex-col;\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n .container {\n display: grid;\n // grid-templates-columns are dynamically generated\n // grid-templates-rows are dynamically generated\n grid-template-areas:\n \"items\"\n \"content\";\n gap: theme(\"spacing.2\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"][scale=\"s\"]),\n:host([layout=\"horizontal-single\"][scale=\"s\"]) {\n .container {\n gap: theme(\"spacing.1\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"][scale=\"l\"]),\n:host([layout=\"horizontal-single\"][scale=\"l\"]) {\n .container {\n gap: theme(\"spacing.3\") var(--calcite-internal-stepper-item-spacing-unit-s);\n }\n}\n\n:host([layout=\"horizontal\"]) .container.single-view {\n @apply flex grid-cols-none;\n}\n\n.action-icon {\n @apply flex relative grow-0;\n block-size: var(--calcite-internal-stepper-action-block-size);\n inline-size: var(--calcite-internal-stepper-action-inline-size);\n}\n\n.action-container {\n @apply absolute flex justify-between;\n padding-block: 0.25rem;\n inline-size: 100%;\n}\n\n@mixin stepBar {\n .step-bar {\n @apply flex;\n block-size: 100%;\n inline-size: 100%;\n }\n\n .step-bar-container {\n @apply flex absolute justify-between items-start;\n block-size: 0.125rem;\n inline-size: 100%;\n gap: var(--calcite-internal-step-bar-gap, 0.5rem);\n }\n\n .step-bar--inactive {\n fill: var(--calcite-color-border-3, #dfdfdf);\n fill-opacity: 1;\n block-size: 100%;\n }\n\n .step-bar--active {\n fill: var(--calcite-color-brand);\n }\n\n .step-bar--complete {\n fill: var(--calcite-color-brand);\n fill-opacity: 0.5;\n }\n\n .step-bar--error {\n fill: var(--calcite-color-status-danger);\n }\n\n .step-bar--disabled {\n opacity: 0.5;\n }\n}\n\n@include stepBar();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n readTask,\n} from \"@stencil/core\";\nimport { focusElementInGroup, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport { Position, Scale } from \"../interfaces\";\nimport {\n StepperItemChangeEventDetail,\n StepperItemKeyEventDetail,\n StepperLayout,\n} from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { StepBar } from \"./functional/step-bar\";\nimport { CSS } from \"./resources\";\nimport { guid } from \"../../utils/guid\";\n\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperMessages } from \"./assets/stepper/t9n\";\n\n/**\n * @slot - A slot for adding `calcite-stepper-item` elements.\n */\n@Component({\n tag: \"calcite-stepper\",\n styleUrl: \"stepper.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Stepper implements LocalizedComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays a status icon in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) icon = false;\n\n /** Defines the layout of the component. */\n @Prop({ reflect: true }) layout: StepperLayout = \"horizontal\";\n\n /** When `true`, displays the step number in the `calcite-stepper-item` heading. */\n @Prop({ reflect: true }) numbered = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"icon\")\n @Watch(\"layout\")\n @Watch(\"numbered\")\n @Watch(\"scale\")\n handleItemPropChange(): void {\n this.updateItems();\n }\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: StepperMessages;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop({ reflect: true }) numberingSystem?: NumberingSystem;\n\n @Watch(\"numberingSystem\")\n numberingSystemChange(): void {\n this.setStepperItemNumberingSystem();\n }\n\n /**\n * Specifies the component's selected item.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItem: HTMLCalciteStepperItemElement = null;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<StepperMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n */\n @Event({ cancelable: false }) calciteStepperItemChange: EventEmitter<void>;\n\n /**\n * Fires when the active `calcite-stepper-item` changes.\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemChange: EventEmitter<StepperItemChangeEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true });\n this.updateItems();\n connectMessages(this);\n connectLocalized(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n this.resizeObserver?.observe(this.containerEl);\n // if no stepper items are set as active, default to the first one\n if (typeof this.currentActivePosition !== \"number\") {\n const enabledStepIndex = this.getFirstEnabledStepperPosition();\n\n if (enabledStepIndex === 0) {\n this.currentActivePosition = enabledStepIndex;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position: enabledStepIndex,\n });\n }\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n disconnectMessages(this);\n disconnectLocalized(this);\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n return (\n <Host aria-label={this.messages.label} role=\"region\">\n <div\n class={{ container: true, [CSS.singleView]: this.layout === \"horizontal-single\" }}\n ref={this.setContainerEl}\n >\n {this.layout === \"horizontal-single\" && (\n <div class={{ [CSS.stepBarContainer]: true }}>\n {this.items.map((item, index) => (\n <StepBar\n active={index === this.currentActivePosition}\n complete={item.complete && index !== this.currentActivePosition && !item.error}\n disabled={item.disabled && index !== this.currentActivePosition}\n error={item.error && index !== this.currentActivePosition}\n key={index}\n />\n ))}\n </div>\n )}\n {this.layout === \"horizontal-single\" && (\n <div class={{ [CSS.actionContainer]: true }}>\n {this.renderAction(\"start\")}\n {this.renderAction(\"end\")}\n </div>\n )}\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemKeyEvent\")\n calciteInternalStepperItemKeyEvent(event: CustomEvent<StepperItemKeyEventDetail>): void {\n const item = event.detail.item;\n const itemToFocus = event.target as HTMLCalciteStepperItemElement;\n\n switch (item.key) {\n case \"ArrowDown\":\n case \"ArrowRight\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"next\");\n break;\n case \"ArrowUp\":\n case \"ArrowLeft\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"first\");\n break;\n case \"End\":\n focusElementInGroup(this.enabledItems, itemToFocus, \"last\");\n break;\n }\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemRegister\")\n registerItem(event: CustomEvent): void {\n const item = event.target as HTMLCalciteStepperItemElement;\n const { content, position } = event.detail;\n\n this.itemMap.set(item, { position, content });\n this.enabledItems = this.filterItems();\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalStepperItemSelect\")\n updateItem(event: CustomEvent): void {\n const { position } = event.detail;\n if (typeof position === \"number\") {\n this.currentActivePosition = position;\n this.selectedItem = event.target as HTMLCalciteStepperItemElement;\n }\n\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n @Listen(\"calciteInternalUserRequestedStepperItemSelect\")\n handleUserRequestedStepperItemSelect(): void {\n this.calciteStepperItemChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Set the next `calcite-stepper-item` as active. */\n @Method()\n async nextStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition + 1, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the previous `calcite-stepper-item` as active. */\n @Method()\n async prevStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.currentActivePosition - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /**\n * Set a specified `calcite-stepper-item` as active.\n *\n * @param step\n */\n @Method()\n async goToStep(step: number): Promise<void> {\n const position = step - 1;\n\n if (this.currentActivePosition !== position) {\n this.updateStep(position);\n }\n }\n\n /** Set the first `calcite-stepper-item` as active. */\n @Method()\n async startStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(0, \"next\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n /** Set the last `calcite-stepper-item` as active. */\n @Method()\n async endStep(): Promise<void> {\n const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, \"previous\");\n\n if (typeof enabledStepIndex !== \"number\") {\n return;\n }\n\n this.updateStep(enabledStepIndex);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperElement;\n\n @State() defaultMessages: StepperMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() currentActivePosition: number;\n\n @Watch(\"currentActivePosition\")\n handlePositionChange(): void {\n readTask((): void => {\n this.determineActiveStepper();\n });\n }\n\n @State() elWidth: number;\n\n @Watch(\"elWidth\")\n handleElWidthChange(): void {\n readTask((): void => {\n this.determineActiveStepper();\n });\n }\n\n private enabledItems: HTMLCalciteStepperItemElement[] = [];\n\n private itemMap = new Map<HTMLCalciteStepperItemElement, { position: number; content: Node[] }>();\n\n private items: HTMLCalciteStepperItemElement[] = [];\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n /** Specifies if the user is viewing one `stepper-item` at a time when the page width is less than sum of min-width of each item. */\n private multipleViewMode = false;\n\n private guid = `calcite-stepper-action-${guid()}`;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private resizeObserver = createObserver(\n \"resize\",\n (entries) => (this.elWidth = entries[0].contentRect.width),\n );\n\n private updateItems(): void {\n this.el.querySelectorAll(\"calcite-stepper-item\").forEach((item) => {\n item.icon = this.icon;\n item.numbered = this.numbered;\n item.layout = this.layout;\n item.scale = this.scale;\n });\n }\n\n private determineActiveStepper(): void {\n const totalItems = this.items.length;\n if (!this.elWidth || !totalItems || this.layout !== \"horizontal-single\" || totalItems === 1) {\n return;\n }\n const activePosition = this.currentActivePosition || 0;\n\n if (this.layout === \"horizontal-single\") {\n this.multipleViewMode = false;\n this.items.forEach((item: HTMLCalciteStepperItemElement, index) => {\n item.hidden = index !== activePosition;\n });\n }\n }\n\n private getEnabledStepIndex(\n startIndex: number,\n direction: \"next\" | \"previous\" = \"next\",\n ): number | null {\n const { items, currentActivePosition } = this;\n\n let newIndex = startIndex;\n\n while (items[newIndex]?.disabled && this.layout !== \"horizontal-single\") {\n newIndex = newIndex + (direction === \"previous\" ? -1 : 1);\n }\n\n return newIndex !== currentActivePosition && newIndex < items.length && newIndex >= 0\n ? newIndex\n : null;\n }\n\n private updateStep(position: number): void {\n this.currentActivePosition = position;\n this.calciteInternalStepperItemChange.emit({\n position,\n });\n }\n\n private filterItems(): HTMLCalciteStepperItemElement[] {\n return this.items.filter((item) => !item.disabled);\n }\n\n private setStepperItemNumberingSystem(): void {\n this.items.forEach((item: HTMLCalciteStepperItemElement) => {\n item.numberingSystem = this.numberingSystem;\n });\n }\n\n private renderAction(position: Position): VNode {\n const isPositionStart = position === \"start\";\n const path = isPositionStart ? \"chevron-left\" : \"chevron-right\";\n const { currentActivePosition, multipleViewMode, layout } = this;\n const totalItems = this.items.length;\n const id = `${this.guid}-${isPositionStart ? \"start\" : \"end\"}`;\n\n return layout === \"horizontal-single\" && !multipleViewMode ? (\n <calcite-action\n alignment=\"center\"\n appearance=\"transparent\"\n class={{\n [CSS.actionIcon]: true,\n }}\n compact={true}\n data-position={position}\n disabled={\n (currentActivePosition === 0 && isPositionStart) ||\n (currentActivePosition === totalItems - 1 && !isPositionStart)\n }\n icon={path}\n iconFlipRtl={true}\n id={id}\n onClick={this.handleActionClick}\n scale={this.scale}\n text={isPositionStart ? this.messages.previousStep : this.messages.nextStep}\n />\n ) : null;\n }\n\n private handleActionClick = (event: MouseEvent): void => {\n const currentActivePosition = this.currentActivePosition;\n const target = event.target as HTMLCalciteActionElement;\n if (target.getAttribute(\"data-position\") === \"start\") {\n this.prevStep();\n } else {\n this.nextStep();\n }\n\n if (\n typeof this.currentActivePosition === \"number\" &&\n currentActivePosition !== this.currentActivePosition &&\n !this.items[this.currentActivePosition].disabled\n ) {\n this.calciteStepperItemChange.emit();\n }\n };\n\n private getFirstEnabledStepperPosition(): number {\n const enabledStepIndex = this.items.findIndex((item) => !item.disabled);\n\n if (enabledStepIndex > -1) {\n return enabledStepIndex;\n }\n return 0;\n }\n\n private setContainerEl = (el: HTMLDivElement): void => {\n this.containerEl = el;\n };\n\n handleDefaultSlotChange = (event: Event): void => {\n const items = slotChangeGetAssignedElements(event).filter(\n (el) => el?.tagName === \"CALCITE-STEPPER-ITEM\",\n );\n this.items = items as HTMLCalciteStepperItemElement[];\n const spacing = Array(items.length).fill(\"1fr\").join(\" \");\n this.containerEl.style.gridTemplateAreas = spacing;\n this.containerEl.style.gridTemplateColumns = spacing;\n this.setStepperItemNumberingSystem();\n };\n}\n","export const CSS = {\n container: \"container\",\n stepperItemContent: \"stepper-item-content\",\n stepperItemDescription: \"stepper-item-description\",\n stepperItemHeader: \"stepper-item-header\",\n stepperItemHeading: \"stepper-item-heading\",\n stepperItemHeaderText: \"stepper-item-header-text\",\n stepperItemNumber: \"stepper-item-number\",\n visuallyHidden: \"visually-hidden\",\n};\n",":host([scale=\"s\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.8\");\n @apply text-n1h;\n margin-inline-end: theme(\"margin.1\");\n .stepper-item-description {\n @apply text-n2h;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.4\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.5\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.10\");\n @apply text-0h;\n margin-inline-end: theme(\"margin.2\");\n .stepper-item-description {\n @apply text-n1h;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-stepper-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-stepper-item-spacing-unit-m: theme(\"spacing.5\");\n --calcite-stepper-item-spacing-unit-l: theme(\"spacing.6\");\n --calcite-internal-stepper-action-inline-size: theme(\"spacing.12\");\n @apply text-1h;\n margin-inline-end: theme(\"margin.3\");\n .stepper-item-description {\n @apply text-0h;\n }\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n flex-col\n self-start;\n margin-block-end: var(--calcite-stepper-item-spacing-unit-s);\n}\n\n:host .container {\n @apply text-color-3\n border-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n flex-col\n border-0\n border-t-2\n border-solid\n no-underline\n outline-none\n duration-150\n ease-in-out;\n}\n\n// focus styles\n:host {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-outset;\n}\n\n// .stepper-item-header / content\n:host .stepper-item-header {\n @apply flex cursor-pointer items-start;\n}\n\n:host .stepper-item-content,\n:host .stepper-item-header {\n @apply duration-150 ease-in-out;\n padding-block: var(--calcite-stepper-item-spacing-unit-l);\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n}\n\n:host .stepper-item-header * {\n @apply inline-flex\n items-center\n duration-150\n ease-in-out;\n}\n\n:host .stepper-item-content {\n @apply text-n2-wrap\n hidden\n w-full\n flex-col;\n}\n\n// stepper item icon\n:host .stepper-item-icon {\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n @apply text-color-3\n opacity-disabled\n mt-px\n inline-flex\n h-3\n flex-shrink-0\n self-start\n duration-150\n ease-in-out;\n}\n\n// stepper item title\n:host .stepper-item-header-text {\n @apply flex-col;\n text-align: initial;\n margin-inline-end: auto;\n}\n\n:host .stepper-item-heading,\n:host .stepper-item-description {\n @apply flex w-full;\n}\n:host .stepper-item-heading {\n @apply text-color-2 mb-1 font-medium;\n}\n:host .stepper-item-description {\n @apply text-color-3;\n}\n\n:host .stepper-item-number {\n @apply text-color-3\n font-medium\n duration-150\n ease-in-out;\n margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n}\n\n@include disabled();\n\n:host([complete]) .container {\n // todo dark mode\n border-color: rgba($h-bb-060, 0.5);\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n:host([error]) .container {\n @apply border-t-color-danger;\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host(:hover:not([disabled]):not([selected])) .container,\n:host(:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-brand;\n\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n}\n\n:host([error]:hover:not([disabled]):not([selected])) .container,\n:host([error]:focus:not([disabled]):not([selected])) .container {\n @apply border-t-color-danger-hover;\n}\n\n:host([selected]) .container {\n border-block-start-color: theme(\"backgroundColor.brand\");\n & .stepper-item-heading {\n @apply text-color-1;\n }\n & .stepper-item-description {\n @apply text-color-2;\n }\n & .stepper-item-number {\n color: theme(\"backgroundColor.brand\");\n }\n\n & .stepper-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n }\n}\n\n:host([selected]) .container {\n & .stepper-item-content {\n @apply flex;\n }\n}\n\n:host([layout=\"vertical\"]) .container {\n @apply border-color-3\n mx-0\n mt-0\n flex-auto\n border-t-0\n border-solid\n py-0;\n border-inline-start-width: theme(\"borderWidth.2\");\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-l);\n\n & .stepper-item-icon {\n @apply order-3 mt-px mb-0;\n padding-inline-start: var(--calcite-stepper-item-spacing-unit-s);\n margin-inline-start: theme(\"margin.auto\");\n }\n & .stepper-item-header {\n padding-inline-end: theme(\"padding.0\");\n }\n & .stepper-item-content {\n @apply p-0;\n }\n}\n\n:host([layout=\"vertical\"][complete]) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][complete]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][complete]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-brand;\n}\n:host([layout=\"vertical\"][error]) .container {\n @apply border-color-danger;\n}\n:host([layout=\"vertical\"][selected]) .container {\n @apply border-color-brand;\n\n & .stepper-item-content:not(:empty) {\n margin-block-end: var(--calcite-stepper-item-spacing-unit-l);\n }\n}\n:host([layout=\"vertical\"]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"]:focus:not([disabled]):not([selected])) .container {\n border-color: rgba($h-bb-060, 0.5);\n}\n:host([layout=\"vertical\"][error]:hover:not([disabled]):not([selected])) .container,\n:host([layout=\"vertical\"][error]:focus:not([disabled]):not([selected])) .container {\n @apply border-color-danger-hover;\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n display: contents;\n\n .container {\n display: contents;\n }\n\n .stepper-item-header {\n @apply border-color-3\n border-0\n border-solid\n border-t-2\n focus-base;\n grid-row: items;\n\n &:focus {\n @apply focus-outset;\n }\n }\n\n .stepper-item-content {\n @apply cursor-auto duration-150 ease-in-out;\n padding-block: 0;\n padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);\n text-align: start;\n }\n}\n\n:host([layout=\"horizontal\"][disabled]),\n:host([layout=\"horizontal-single\"][disabled]) {\n .stepper-item-header {\n @extend %disabled-host-only;\n }\n}\n\n:host([layout=\"horizontal-single\"]) {\n .stepper-item-header {\n grid-area: 1 / 1 / 1 / -1;\n }\n}\n\n:host([layout=\"horizontal\"]),\n:host([layout=\"horizontal-single\"]) {\n .stepper-item-content {\n grid-area: 2 / 1 / 2 / -1;\n }\n}\n\n:host([layout=\"horizontal\"][complete]),\n:host([layout=\"horizontal-single\"][complete]) {\n .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n }\n}\n:host([layout=\"horizontal\"][complete]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"][complete]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][complete]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][complete]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n @apply border-color-brand;\n }\n}\n:host([layout=\"horizontal\"][error]),\n:host([layout=\"horizontal-single\"][error]) {\n .stepper-item-header {\n @apply border-color-danger;\n }\n}\n:host([layout=\"horizontal\"][selected]),\n:host([layout=\"horizontal-single\"][selected]) {\n .stepper-item-header {\n @apply border-color-brand;\n }\n}\n:host([layout=\"horizontal\"]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n border-color: rgba($h-bb-060, 0.5);\n }\n}\n:host([layout=\"horizontal\"][error]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal\"][error]:focus:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][error]:hover:not([disabled]):not([selected])),\n:host([layout=\"horizontal-single\"][error]:focus:not([disabled]):not([selected])) {\n .stepper-item-header {\n @apply border-color-danger-hover;\n }\n}\n\n@media (forced-colors: active) {\n :host .container {\n outline-width: 0;\n outline-offset: 0;\n }\n\n :host(:focus),\n :host(:focus-visible) {\n outline-color: canvasText;\n }\n\n :host([selected]) .container {\n border-block-start-color: highlight;\n & .stepper-item-number {\n color: highlight;\n }\n & .stepper-item-icon {\n color: highlight;\n }\n }\n\n :host([layout=\"vertical\"][selected]) .container {\n border-color: highlight;\n }\n}\n\n:host([layout=\"horizontal-single\"]) .stepper-item-header {\n @apply border-none box-border\n me-0;\n inline-size: 100%;\n padding-inline: calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem);\n}\n\n:host([layout=\"horizontal-single\"][error]) .container {\n & .stepper-item-number {\n color: theme(\"backgroundColor.danger\");\n }\n & .stepper-item-icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.danger\");\n }\n}\n\n:host([layout=\"horizontal-single\"][error][selected]),\n:host([layout=\"horizontal-single\"][complete][selected]) .container {\n @apply text-color-3;\n & .stepper-item-heading {\n @apply text-color-2;\n }\n}\n\n:host([layout=\"horizontal-single\"][complete][selected]) .container {\n & .stepper-item-icon {\n @apply opacity-disabled;\n }\n & .stepper-item-number {\n @apply text-color-3;\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n StepperItemChangeEventDetail,\n StepperItemEventDetail,\n StepperItemKeyEventDetail,\n StepperLayout,\n} from \"../stepper/interfaces\";\nimport {\n numberStringFormatter,\n LocalizedComponent,\n disconnectLocalized,\n connectLocalized,\n NumberingSystem,\n} from \"../../utils/locale\";\nimport {\n setUpLoadableComponent,\n setComponentLoaded,\n LoadableComponent,\n componentFocusable,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { StepperItemMessages } from \"./assets/stepper-item/t9n\";\n\n/**\n * @slot - A slot for adding custom content.\n */\n@Component({\n tag: \"calcite-stepper-item\",\n styleUrl: \"stepper-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class StepperItem\n implements InteractiveComponent, LocalizedComponent, LoadableComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n @Watch(\"selected\")\n selectedHandler(): void {\n if (this.selected) {\n this.emitRequestedItem();\n }\n }\n\n /** When `true`, the step has been completed. */\n @Prop({ reflect: true }) complete = false;\n\n /** When `true`, the component contains an error that requires resolution from the user. */\n @Prop({ reflect: true }) error = false;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The component header text. */\n @Prop() heading: string;\n\n /** A description for the component. Displays below the header text. */\n @Prop() description: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * @internal\n */\n @Prop() numberingSystem: NumberingSystem;\n\n // watch for removal of disabled to register step\n @Watch(\"disabled\")\n disabledWatcher(): void {\n this.registerStepperItem();\n }\n\n /**\n * When `true`, displays a status icon in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() icon = false;\n\n /**\n * Specifies the layout of the `calcite-stepper-item` inherited from parent `calcite-stepper`, defaults to `horizontal`.\n *\n * @internal\n */\n @Prop({ reflect: true }) layout: StepperLayout;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: StepperItemMessages;\n\n /**\n * When `true`, displays the step number in the `calcite-stepper-item` heading inherited from parent `calcite-stepper`.\n *\n * @internal\n */\n @Prop() numbered = false;\n\n /**\n * Specifies the size of the component inherited from the `calcite-stepper`, defaults to `m`.\n *\n * @internal\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<StepperItemMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Internal State/Props\n //\n //--------------------------------------------------------------------------\n\n @State() defaultMessages: StepperItemMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleWatcher(locale: string): void {\n numberStringFormatter.numberFormatOptions = {\n locale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n updateMessages(this, this.effectiveLocale);\n }\n\n headerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemKeyEvent: EventEmitter<StepperItemKeyEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemSelect: EventEmitter<StepperItemEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalUserRequestedStepperItemSelect: EventEmitter<StepperItemChangeEventDetail>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalStepperItemRegister: EventEmitter<StepperItemEventDetail>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.parentStepperEl = this.el.parentElement as HTMLCalciteStepperElement;\n this.itemPosition = this.getItemPosition();\n this.registerStepperItem();\n\n if (this.selected) {\n this.emitRequestedItem();\n }\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n render(): VNode {\n return (\n <Host\n aria-current={this.selected ? \"step\" : \"false\"}\n onClick={this.handleItemClick}\n onKeyDown={this.keyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n {this.complete && (\n <span aria-live=\"polite\" class={CSS.visuallyHidden}>\n {this.messages.complete}\n </span>\n )}\n <div\n class={CSS.stepperItemHeader}\n tabIndex={\n /* additional tab index logic needed because of display: contents */\n this.layout === \"horizontal\" && !this.disabled ? 0 : null\n }\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.headerEl = el)}\n >\n {this.icon ? this.renderIcon() : null}\n {this.numbered ? (\n <div class={CSS.stepperItemNumber}>{this.renderNumbers()}.</div>\n ) : null}\n <div class={CSS.stepperItemHeaderText}>\n <span class={CSS.stepperItemHeading}>{this.heading}</span>\n <span class={CSS.stepperItemDescription}>{this.description}</span>\n </div>\n </div>\n <div class={CSS.stepperItemContent}>\n <slot />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalStepperItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent<StepperItemChangeEventDetail>): void {\n if (\n event.target === this.parentStepperEl ||\n event.composedPath().includes(this.parentStepperEl)\n ) {\n this.selectedPosition = event.detail.position;\n this.determineSelectedItem();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n (this.layout === \"vertical\" ? this.el : this.headerEl)?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteStepperItemElement;\n\n /** position within parent */\n private itemPosition: number;\n\n /** the latest requested item position*/\n private selectedPosition: number;\n\n /** the parent stepper component */\n private parentStepperEl: HTMLCalciteStepperElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!this.disabled && event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitUserRequestedItem();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"ArrowLeft\":\n case \"ArrowRight\":\n case \"Home\":\n case \"End\":\n this.calciteInternalStepperItemKeyEvent.emit({ item: event });\n event.preventDefault();\n break;\n }\n }\n };\n\n private renderIcon(): VNode {\n let path = \"circle\";\n\n if (this.selected && (this.layout !== \"horizontal-single\" || (!this.error && !this.complete))) {\n path = \"circleF\";\n } else if (this.error) {\n path = \"exclamationMarkCircleF\";\n } else if (this.complete) {\n path = \"checkCircleF\";\n }\n\n return (\n <calcite-icon class=\"stepper-item-icon\" flipRtl={this.iconFlipRtl} icon={path} scale=\"s\" />\n );\n }\n\n private determineSelectedItem(): void {\n this.selected = !this.disabled && this.itemPosition === this.selectedPosition;\n }\n\n private registerStepperItem(): void {\n this.calciteInternalStepperItemRegister.emit({\n position: this.itemPosition,\n });\n }\n\n private handleItemClick = (event: MouseEvent): void => {\n if (\n this.disabled ||\n (this.layout === \"horizontal\" &&\n event\n .composedPath()\n .some((el) => (el as HTMLElement).classList?.contains(\"stepper-item-content\")))\n ) {\n return;\n }\n\n this.emitUserRequestedItem();\n };\n\n private emitUserRequestedItem = (): void => {\n this.emitRequestedItem();\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalUserRequestedStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private emitRequestedItem = (): void => {\n if (!this.disabled) {\n const position = this.itemPosition;\n\n this.calciteInternalStepperItemSelect.emit({\n position,\n });\n }\n };\n\n private getItemPosition(): number {\n return Array.from(this.parentStepperEl?.querySelectorAll(\"calcite-stepper-item\")).indexOf(\n this.el,\n );\n }\n\n renderNumbers(): string {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: false,\n };\n return numberStringFormatter.numberFormatter.format(this.itemPosition + 1);\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
import{c as t,a as n}from"./p-224218c9.js";import{n as e}from"./p-dcfcb77f.js";import{c as s}from"./p-e54e5b79.js";const r=new RegExp(`\\${"."}(0+)?$`);const i=new RegExp("0+$");class o{constructor(t){if(t instanceof o){return t}const[n,e]=b(t).split(".").concat("");this.value=BigInt(n+e.padEnd(o.DECIMALS,"0").slice(0,o.DECIMALS))+BigInt(o.ROUNDED&&e[o.DECIMALS]>="5");this.isNegative=t.charAt(0)==="-"}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(o.DECIMALS+1,"0");const n=t.slice(0,-o.DECIMALS);const e=t.slice(-o.DECIMALS).replace(i,"");return{integers:n,decimals:e}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();const s=t.numberFormatter.formatToParts(BigInt(n));this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign});if(e.length){s.push({type:"decimal",value:t.decimal});e.split("").forEach((t=>s.push({type:"fraction",value:t})))}return s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();const s=`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}`;const r=e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:"";return`${s}${r}`}add(t){return o.fromBigInt(this.value+new o(t).value)}subtract(t){return o.fromBigInt(this.value-new o(t).value)}multiply(t){return o._divRound(this.value*new o(t).value,o.SHIFT)}divide(t){return o._divRound(this.value*o.SHIFT,new o(t).value)}}o.DECIMALS=100;o.ROUNDED=true;o.SHIFT=BigInt("1"+"0".repeat(o.DECIMALS));o._divRound=(t,n)=>o.fromBigInt(t/n+(o.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0)));o.fromBigInt=t=>Object.assign(Object.create(o.prototype),{value:t,isNegative:t<BigInt(0)});function c(t){return!(!t||isNaN(Number(t)))}function u(t){if(!t||!d(t)){return""}return p(t,(t=>{let n=false;const s=t.split("").filter(((t,s)=>{if(t.match(/\./g)&&!n){n=true;return true}if(t.match(/\-/g)&&s===0){return true}return e.includes(t)})).join("");return c(s)?new o(s).toString():""}))}const a=/^([-0])0+(?=\d)/;const h=/(?!^\.)\.$/;const f=/(?!^-)-/g;const l=/^-\b0\b\.?0*$/;const g=/0*$/;const $=t=>p(t,(t=>{const n=t.replace(f,"").replace(h,"").replace(a,"$1");return c(n)?l.test(n)?n:m(n):t}));function m(t){const n=t.split(".")[1];const e=new o(t).toString();const[s,r]=e.split(".");return n&&r!==n?`${s}.${n}`:e}function p(t,n){if(!t){return t}const e=t.toLowerCase().indexOf("e")+1;if(!e){return n(t)}return t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>e===1?n(t.replace(/\./g,"")):n(t))).join("e").replace(/^e/,"1e")}function b(t){const n=t.split(/[eE]/);if(n.length===1){return t}const e=+t;if(Number.isSafeInteger(e)){return`${e}`}const s=t.charAt(0)==="-";const i=+n[1];const o=n[0].split(".");const c=(s?o[0].substring(1):o[0])||"";const u=o[1]||"";const h=(t,n)=>{const e=Math.abs(n)-t.length;const s=e>0?`${"0".repeat(e)}${t}`:t;const r=`${s.slice(0,n)}${"."}${s.slice(n)}`;return r};const f=(t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;const s=`${e.slice(0,n)}${"."}${e.slice(n)}`;return s};const l=i>0?`${c}${f(u,i)}`:`${h(c,i)}${u}`;return`${s?"-":""}${l.charAt(0)==="."?"0":""}${l.replace(r,"").replace(a,"")}`}function d(t){return e.some((n=>t.includes(n)))}function w(t,n,e){const s=n.split(".")[1];if(s){const r=s.match(g)[0];if(r&&e.delocalize(t).length!==n.length&&s.indexOf("e")===-1){const n=e.decimal;t=!t.includes(n)?`${t}${n}`:t;return t.padEnd(t.length+r.length,e.localize("0"))}}return t}const I="en";const v=["ar","bg","bs","ca","cs","da","de","el",I,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];const B=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",I,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];const E=["arab","arabext","latn"];const N=t=>E.includes(t);const j=(new Intl.NumberFormat).resolvedOptions().numberingSystem;const x=j==="arab"||!N(j)?"latn":j;const R=t=>N(t)?t:x;function S(t,n="cldr"){const e=n==="cldr"?B:v;if(!t){return I}if(e.includes(t)){return t}t=t.toLowerCase();if(t==="nb"){return"no"}if(n==="t9n"&&t==="pt"){return"pt-BR"}if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`));if(!e.includes(t)){t=t.split("-")[0]}}if(t==="zh"){return"zh-CN"}if(!e.includes(t)){console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`);return I}return t}const k=new Set;function z(t){O(t);if(k.size===0){T?.observe(document.documentElement,{attributes:true,attributeFilter:["lang"],subtree:true})}k.add(t)}function O(t){t.effectiveLocale=y(t)}function C(t){k.delete(t);if(k.size===0){T.disconnect()}}const T=s("mutation",(e=>{e.forEach((e=>{const s=e.target;k.forEach((e=>{const r=!n(s,e.el);if(r){return}const i=t(e.el,"[lang]");if(!i){e.effectiveLocale=I;return}const o=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&o===""?I:o}))}))}));function y(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||I}class H{constructor(){this.delocalize=t=>this._numberFormatOptions?p(t,(t=>t.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t;this.localize=t=>this._numberFormatOptions?p(t,(t=>c(t.trim())?new o(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){t.locale=S(t?.locale);t.numberingSystem=R(t?.numberingSystem);if(!this._numberFormatOptions&&t.locale===I&&t.numberingSystem===x&&Object.keys(t).length===2||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t)){return}this._numberFormatOptions=t;this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions);this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:false,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n])));const e=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=e.find((t=>t.type==="group")).value;this._group=this._actualGroup.trim().length===0||this._actualGroup==" "?" ":this._actualGroup;this._decimal=e.find((t=>t.type==="decimal")).value;this._minusSign=e.find((t=>t.type==="minusSign")).value;this._getDigitIndex=t=>n.get(t)}}const A=new H;let F;let M;function P(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}function G(t,n){t=S(t);if(!F){F=new Map}if(M!==t){F.clear();M=t}const e=P(n);const s=F.get(e);if(s){return s}const r=new Intl.DateTimeFormat(t,n);F.set(e,r);return r}export{o as B,H as N,w as a,R as b,z as c,C as d,G as e,S as g,c as i,A as n,u as p,$ as s};
|
|
7
|
+
//# sourceMappingURL=p-bdc14ccb.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as o}from"./p-819bde10.js";import{c as n,d as s}from"./p-603943ce.js";import{h as a,e as c}from"./p-224218c9.js";import{s as l,a as r,c as d}from"./p-110e5bc8.js";import{c as h,d as g}from"./p-bdc14ccb.js";import{c as p,d as m,s as f,u}from"./p-a5baec64.js";import{K as b}from"./p-1204cf5a.js";import{o as v}from"./p-573201c9.js";import{g as k}from"./p-af9dc83a.js";import"./p-e54e5b79.js";import"./p-b5a7ba7b.js";import"./p-7cc4bcb2.js";import"./p-dcfcb77f.js";const x={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};const w={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};const z=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";const y=class{constructor(i){t(this,i);this.calciteNoticeBeforeClose=e(this,"calciteNoticeBeforeClose",6);this.calciteNoticeBeforeOpen=e(this,"calciteNoticeBeforeOpen",6);this.calciteNoticeClose=e(this,"calciteNoticeClose",6);this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6);this.setTransitionEl=t=>{this.transitionEl=t};this.close=()=>{this.open=false};this.openTransitionProp="opacity";this.open=false;this.kind="brand";this.closable=false;this.icon=undefined;this.iconFlipRtl=false;this.scale="m";this.width="auto";this.messages=undefined;this.messageOverrides=undefined;this.effectiveLocale=undefined;this.defaultMessages=undefined}openHandler(){v(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=a(b,this.icon,this.kind)}connectedCallback(){n(this);h(this);p(this)}disconnectedCallback(){s(this);g(this);m(this)}async componentWillLoad(){l(this);this.requestedIcon=a(b,this.icon,this.kind);await f(this);if(this.open){v(this)}}componentDidLoad(){r(this)}render(){const{el:t}=this;const e=i("button",{"aria-label":this.messages.close,class:w.close,onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:k(this.scale)}));const o=c(t,x.actionsEnd);return i("div",{class:w.container,ref:this.setTransitionEl},this.requestedIcon?i("div",{class:w.icon},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:k(this.scale)})):null,i("div",{class:w.content},i("slot",{name:x.title}),i("slot",{name:x.message}),i("slot",{name:x.link})),o?i("div",{class:w.actionsEnd},i("slot",{name:x.actionsEnd})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(!this.closeButton&&!t){return}if(t){return t.setFocus()}else if(this.closeButton){this.closeButton.focus()}}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){u(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=z;export{y as calcite_notice};
|
|
7
|
+
//# sourceMappingURL=p-beb22c39.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SLOTS","title","message","link","actionsEnd","CSS","close","container","content","icon","noticeCss","Notice","this","setTransitionEl","el","transitionEl","open","openTransitionProp","openHandler","onToggleOpenCloseComponent","onMessagesChange","updateRequestedIcon","requestedIcon","setRequestedIcon","KindIcons","kind","connectedCallback","connectConditionalSlotComponent","connectLocalized","connectMessages","disconnectedCallback","disconnectConditionalSlotComponent","disconnectLocalized","disconnectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","render","closeButton","h","messages","class","onClick","ref","scale","getIconScale","hasActionEnd","getSlotted","flipRtl","iconFlipRtl","name","closable","setFocus","componentFocusable","noticeLinkEl","querySelector","focus","onBeforeClose","calciteNoticeBeforeClose","emit","onBeforeOpen","calciteNoticeBeforeOpen","onClose","calciteNoticeClose","onOpen","calciteNoticeOpen","effectiveLocaleChange","updateMessages","effectiveLocale"],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: NoticeMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"mappings":";;;;;4eAAO,MAAMA,EAAQ,CACnBC,MAAO,QACPC,QAAS,UACTC,KAAM,OACNC,WAAY,eAGP,MAAMC,EAAM,CACjBD,WAAY,cACZE,MAAO,eACPC,UAAW,YACXC,QAAS,iBACTC,KAAM,eCZR,MAAMC,EAAY,qmM,MC2DLC,EAAM,M,yQA4MTC,KAAAC,gBAAmBC,IACzBF,KAAKG,aAAeD,CAAE,EAQhBF,KAAAN,MAAQ,KACdM,KAAKI,KAAO,KAAK,EA0BnBJ,KAAAK,mBAAqB,U,UAjO0B,M,UAW3C,Q,cAGgC,M,qCAQG,M,WAGC,I,WAGA,O,sHAzBxC,WAAAC,GACEC,EAA2BP,K,CAyC7B,gBAAAQ,G,CAMA,mBAAAC,GACET,KAAKU,cAAgBC,EAAiBC,EAAWZ,KAAKH,KAAMG,KAAKa,K,CASnE,iBAAAC,GACEC,EAAgCf,MAChCgB,EAAiBhB,MACjBiB,EAAgBjB,K,CAGlB,oBAAAkB,GACEC,EAAmCnB,MACnCoB,EAAoBpB,MACpBqB,EAAmBrB,K,CAGrB,uBAAMsB,GACJC,EAAuBvB,MACvBA,KAAKU,cAAgBC,EAAiBC,EAAWZ,KAAKH,KAAMG,KAAKa,YAC3DW,EAAcxB,MACpB,GAAIA,KAAKI,KAAM,CACbG,EAA2BP,K,EAI/B,gBAAAyB,GACEC,EAAmB1B,K,CAGrB,MAAA2B,GACE,MAAMzB,GAAEA,GAAOF,KACf,MAAM4B,EACJC,EAAA,uBACc7B,KAAK8B,SAASpC,MAC1BqC,MAAOtC,EAAIC,MACXsC,QAAShC,KAAKN,MAEduC,IAAM/B,GAAQF,KAAK4B,YAAc1B,GAEjC2B,EAAA,gBAAchC,KAAK,IAAIqC,MAAOC,EAAanC,KAAKkC,UAIpD,MAAME,EAAeC,EAAWnC,EAAId,EAAMI,YAE1C,OACEqC,EAAA,OACEE,MAAOtC,EAAIE,UAEXsC,IAAKjC,KAAKC,iBAETD,KAAKU,cACJmB,EAAA,OAAKE,MAAOtC,EAAII,MACdgC,EAAA,gBACES,QAAStC,KAAKuC,YACd1C,KAAMG,KAAKU,cACXwB,MAAOC,EAAanC,KAAKkC,UAG3B,KACJL,EAAA,OAAKE,MAAOtC,EAAIG,SACdiC,EAAA,QAAMW,KAAMpD,EAAMC,QAClBwC,EAAA,QAAMW,KAAMpD,EAAME,UAClBuC,EAAA,QAAMW,KAAMpD,EAAMG,QAEnB6C,EACCP,EAAA,OAAKE,MAAOtC,EAAID,YACdqC,EAAA,QAAMW,KAAMpD,EAAMI,cAElB,KACHQ,KAAKyC,SAAWb,EAAc,K,CA+BrC,cAAMc,SACEC,EAAmB3C,MAEzB,MAAM4C,EAAe5C,KAAKE,GAAG2C,cAAc,gBAE3C,IAAK7C,KAAK4B,cAAgBgB,EAAc,CACtC,M,CAEF,GAAIA,EAAc,CAChB,OAAOA,EAAaF,U,MACf,GAAI1C,KAAK4B,YAAa,CAC3B5B,KAAK4B,YAAYkB,O,EAIrB,aAAAC,GACE/C,KAAKgD,yBAAyBC,M,CAGhC,YAAAC,GACElD,KAAKmD,wBAAwBF,M,CAG/B,OAAAG,GACEpD,KAAKqD,mBAAmBJ,M,CAG1B,MAAAK,GACEtD,KAAKuD,kBAAkBN,M,CAiCzB,qBAAAO,GACEC,EAAezD,KAAMA,KAAK0D,gB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,H as i,g as n}from"./p-819bde10.js";import{c as o,d as a}from"./p-b5d774a4.js";import{u as c,I as h}from"./p-94e6d97e.js";import{e as r,c as l,d}from"./p-bdc14ccb.js";import{u,c as m,d as p,s as f}from"./p-a5baec64.js";import{c as b,s as g,a as C}from"./p-110e5bc8.js";import{c as T,d as y,a as D,H as I}from"./p-8bcc99c2.js";import"./p-224218c9.js";import"./p-b5a7ba7b.js";import"./p-7cc4bcb2.js";import"./p-af9dc83a.js";import"./p-e7e8f7da.js";import"./p-dcfcb77f.js";import"./p-e54e5b79.js";const j=60;const v=["CET","CST6CDT","EET","EST","EST5EDT","Factory","HST","MET","MST","MST7MDT","PST8PDT","UTC","WET"];function Z(t){const e="−";const s="-";return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace(e,s)}function w(t,e){const s=L(t,"en-US",e).replace("GMT","");if(s===""){return 0}return Number(Z(s))*j}function x(){const t=new Date;return t.getTimezoneOffset()*-1}function E(){const t=new Intl.DateTimeFormat;return t.resolvedOptions().timeZone}let S;async function M(t,e,s,i){const n=i.getTime();const o=Intl.supportedValuesOf("timeZone");if(s==="offset"){if(!S){S=Promise.all([import("./p-952d10a6.js"),import("./p-15f3a8e1.js")])}return S.then((async([{groupTimeZones:s},{DateEngine:i}])=>{const o=await s({dateEngine:new i,groupDateRange:1,startDate:new Date(n).toISOString()});const a=new Intl.ListFormat(t,{style:"long",type:"conjunction"});o.forEach((t=>{const e=[];let s=0;t.tzs.forEach(((t,i)=>{if(v.includes(t)){s++}e[i]=s}));t.tzs=t.tzs.filter((t=>!v.includes(t)));t.labelTzIndices=t.labelTzIndices.map((t=>t-e[t])).filter((e=>e>=0&&e<t.tzs.length))}));return o.map((({labelTzIndices:s,tzs:i})=>{const o=i[0];const c=Z(L(o,t,n));const h=w(o,n);const r=s.map((t=>{const s=i[t];const n=e[s];return n||s.split("/").pop()}));const l=k(e,c,a.format(r));return{label:l,value:h,filterValue:i.map((t=>P(t)))}})).filter((t=>!!t)).sort(((t,e)=>t.value-e.value))}))}return o.map((t=>{const e=P(t);const s=t;return{label:e,value:s,filterValue:t}})).filter((t=>!!t)).sort()}function P(t){return t.replace(/_/g," ")}function k(t,e,s){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",s)}function L(t,e,s=Date.now()){const i=r(e,{timeZone:t,timeZoneName:"shortOffset"});const n=i.formatToParts(s);return n.find((({type:t})=>t==="timeZoneName")).value}const O=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const z=class{constructor(s){t(this,s);this.calciteInputTimeZoneBeforeClose=e(this,"calciteInputTimeZoneBeforeClose",6);this.calciteInputTimeZoneBeforeOpen=e(this,"calciteInputTimeZoneBeforeOpen",6);this.calciteInputTimeZoneChange=e(this,"calciteInputTimeZoneChange",6);this.calciteInputTimeZoneClose=e(this,"calciteInputTimeZoneClose",6);this.calciteInputTimeZoneOpen=e(this,"calciteInputTimeZoneOpen",6);this.setComboboxRef=t=>{this.comboboxEl=t};this.onComboboxBeforeClose=t=>{t.stopPropagation();this.calciteInputTimeZoneBeforeClose.emit()};this.onComboboxBeforeOpen=t=>{t.stopPropagation();this.calciteInputTimeZoneBeforeOpen.emit()};this.onComboboxChange=t=>{t.stopPropagation();const e=t.target;const s=this.findTimeZoneItem(e.selectedItems[0].getAttribute("data-value"));const i=`${s.value}`;if(this.value===i){return}this.value=i;this.selectedTimeZoneItem=s;this.calciteInputTimeZoneChange.emit()};this.onComboboxClose=t=>{t.stopPropagation();this.open=false;this.calciteInputTimeZoneClose.emit()};this.onComboboxOpen=t=>{this.open=true;t.stopPropagation();this.calciteInputTimeZoneOpen.emit()};this.disabled=false;this.form=undefined;this.maxItems=0;this.messages=undefined;this.messageOverrides=undefined;this.mode="offset";this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.open=false;this.overlayPositioning="absolute";this.referenceDate=undefined;this.required=false;this.scale="m";this.status="idle";this.value=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}onMessagesChange(){}handleTimeZoneItemPropsChange(){this.updateTimeZoneItemsAndSelection()}handleValueChange(t,e){const s=this.findTimeZoneItem(t);if(!s){this.value=e;return}this.selectedTimeZoneItem=s}async setFocus(){await b(this);await this.comboboxEl.setFocus()}effectiveLocaleWatcher(){u(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}findTimeZoneItem(t){const e=t;return this.timeZoneItems.find((({value:t})=>t==e))}async updateTimeZoneItemsAndSelection(){this.timeZoneItems=await this.createTimeZoneItems();const t=this.mode==="offset"?x():E();const e=this.value??t;this.selectedTimeZoneItem=this.findTimeZoneItem(e);if(!this.selectedTimeZoneItem){this.selectedTimeZoneItem=this.findTimeZoneItem(t)}}async createTimeZoneItems(){if(!this.effectiveLocale||!this.messages){return[]}return M(this.effectiveLocale,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()))}connectedCallback(){T(this);o(this);l(this);m(this)}disconnectedCallback(){y(this);a(this);d(this);p(this)}async componentWillLoad(){g(this);await f(this);await this.updateTimeZoneItemsAndSelection();const t=`${this.selectedTimeZoneItem.value}`;D(this,t);this.value=t}componentDidLoad(){C(this)}componentDidRender(){c(this)}render(){return s(i,null,s(h,{disabled:this.disabled},s("calcite-combobox",{clearDisabled:true,disabled:this.disabled,label:this.messages.chooseTimeZone,lang:this.effectiveLocale,maxItems:this.maxItems,onCalciteComboboxBeforeClose:this.onComboboxBeforeClose,onCalciteComboboxBeforeOpen:this.onComboboxBeforeOpen,onCalciteComboboxChange:this.onComboboxChange,onCalciteComboboxClose:this.onComboboxClose,onCalciteComboboxOpen:this.onComboboxOpen,open:this.open,overlayPositioning:this.overlayPositioning,scale:this.scale,selectionMode:"single-persist",status:this.status,"validation-icon":this.validationIcon,"validation-message":this.validationMessage,ref:this.setComboboxRef},this.timeZoneItems.map((t=>{const e=this.selectedTimeZoneItem===t;const{label:i,value:n}=t;return s("calcite-combobox-item",{"data-value":n,key:i,selected:e,textLabel:i,value:`${t.filterValue}`})}))),s(I,{component:this})))}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],messages:["handleTimeZoneItemPropsChange"],mode:["handleTimeZoneItemPropsChange"],referenceDate:["handleTimeZoneItemPropsChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};z.style=O;export{z as calcite_input_time_zone};
|
|
7
|
+
//# sourceMappingURL=p-bf6a6593.entry.js.map
|