@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as slotChangeHasAssignedElement } from './dom-
|
|
8
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-3c327221.js';
|
|
7
|
+
import { b as slotChangeHasAssignedElement } from './dom-630bf0a4.js';
|
|
8
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-089336ed.js';
|
|
9
|
+
import './guid-973b76a4.js';
|
|
10
|
+
import './resources-bffc4b38.js';
|
|
11
11
|
|
|
12
12
|
const CSS$2 = {
|
|
13
13
|
container: "container",
|
|
@@ -167,7 +167,7 @@ const CSS$1 = {
|
|
|
167
167
|
icon: "icon",
|
|
168
168
|
};
|
|
169
169
|
|
|
170
|
-
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
170
|
+
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor: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 )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
171
171
|
|
|
172
172
|
const CalciteNavigationLogo = class {
|
|
173
173
|
constructor(hostRef) {
|
|
@@ -234,7 +234,7 @@ const CSS = {
|
|
|
234
234
|
button: "button",
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
237
|
+
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{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(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-ui-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
238
238
|
|
|
239
239
|
const CalciteNavigationUser = class {
|
|
240
240
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-navigation.calcite-navigation-logo.calcite-navigation-user.entry.js","mappings":";;;;;;;;;;;AAAO,MAAMA,KAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,mBAAmB;IACrC,YAAY,EAAE,eAAe;IAC7B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AE,gBAAgB;IAC/B,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACjB;;ACLD,MAAM,iBAAiB,GAAG,spDAAspD;;MCgBnqD,qBAAqB;;;;;;4BAiBQ,KAAK;;;;;;;;;;;IAmB7C,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;KACjB;;;;;;IAgBD,iBAAiB;QACf,sBAAsB,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,gBAAgB;QACd,kBAAkB,CAAC,IAAI,CAAC,CAAC;KAC1B;;;;;;IAQD,MAAM;QACJ,QACE,EAAC,IAAI,QACH,4BAAoB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,IAC/C,mCACa,IAAI,CAAC,QAAQ,EACxB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,aAChB,IAAI,CAAC,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACvB,EACD,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,YAAY,KACrD,WAAK,KAAK,EAAE,GAAG,CAAC,aAAa,IAC1B,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,EACA,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"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"],"version":3}
|
|
1
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,YAAY,KACrD,WAAK,KAAK,EAAE,GAAG,CAAC,aAAa,IAC1B,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,EACA,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"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"],"version":3}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
8
|
-
import { h as setRequestedIcon, e as getSlotted } from './dom-
|
|
9
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
10
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
11
|
-
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-
|
|
12
|
-
import { K as KindIcons } from './resources-
|
|
13
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-
|
|
14
|
-
import { g as getIconScale } from './component-
|
|
15
|
-
import './observers-
|
|
16
|
-
import './guid-
|
|
17
|
-
import './resources-
|
|
18
|
-
import './key-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3c327221.js';
|
|
7
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-1a7c2bee.js';
|
|
8
|
+
import { h as setRequestedIcon, e as getSlotted } from './dom-630bf0a4.js';
|
|
9
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-089336ed.js';
|
|
10
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-a007d3ec.js';
|
|
11
|
+
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-0afa2ea5.js';
|
|
12
|
+
import { K as KindIcons } from './resources-740a4e7f.js';
|
|
13
|
+
import { o as onToggleOpenCloseComponent } from './openCloseComponent-17f499cb.js';
|
|
14
|
+
import { g as getIconScale } from './component-7d691e96.js';
|
|
15
|
+
import './observers-d504e072.js';
|
|
16
|
+
import './guid-973b76a4.js';
|
|
17
|
+
import './resources-bffc4b38.js';
|
|
18
|
+
import './key-560f8f62.js';
|
|
19
19
|
|
|
20
20
|
const SLOTS = {
|
|
21
21
|
title: "title",
|
|
@@ -31,7 +31,7 @@ const CSS = {
|
|
|
31
31
|
icon: "notice-icon",
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const noticeCss = ":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
|
|
34
|
+
const noticeCss = ":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}";
|
|
35
35
|
|
|
36
36
|
const Notice = class {
|
|
37
37
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,qmMAAqmM;;MC2D1mM,MAAM;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC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C,WAAW,CAAC,KAAK,EAAE,CAAC;SAC1B;KACF;IAED,aAAa;QACX,IAAI,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAAC;KACtC;IAED,YAAY;QACV,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"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"],"version":3}
|
|
1
|
+
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,omMAAomM;;MC2DzmM,MAAM;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAyBF,uBAAkB,GAAG,SAAS,CAAC;oBAjOgB,KAAK;oBAWhD,OAAO;wBAGyB,KAAK;;2BAQF,KAAK;qBAGJ,GAAG;qBAGH,MAAM;;;;;;IAzB9C,WAAW;QACT,0BAA0B,CAAC,IAAI,CAAC,CAAC;KAClC;IAwCD,gBAAgB;;KAEf;IAID,mBAAmB;QACjB,IAAI,CAAC,aAAa,GAAG,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;KACxE;;;;;;IAQD,iBAAiB;QAC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I,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"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"],"version":3}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment, H as Host } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { d as focusElement } from './dom-
|
|
9
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
13
|
-
import { g as getIconScale } from './component-
|
|
14
|
-
import { V as Validation } from './Validation-
|
|
15
|
-
import './guid-
|
|
16
|
-
import './resources-
|
|
17
|
-
import './browser-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment, H as Host } from './index-3c327221.js';
|
|
7
|
+
import { c as createObserver } from './observers-d504e072.js';
|
|
8
|
+
import { d as focusElement } from './dom-630bf0a4.js';
|
|
9
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-8cd4653c.js';
|
|
10
|
+
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-2bae662a.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-77a7c7bd.js';
|
|
12
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-089336ed.js';
|
|
13
|
+
import { g as getIconScale } from './component-7d691e96.js';
|
|
14
|
+
import { V as Validation } from './Validation-c583422e.js';
|
|
15
|
+
import './guid-973b76a4.js';
|
|
16
|
+
import './resources-bffc4b38.js';
|
|
17
|
+
import './browser-2fb34cb9.js';
|
|
18
18
|
|
|
19
19
|
const optionCss = ":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";
|
|
20
20
|
|
|
@@ -123,7 +123,7 @@ const CSS = {
|
|
|
123
123
|
wrapper: "wrapper",
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
126
|
+
const selectCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select: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 )}.select:hover{background-color:var(--calcite-color-foreground-2)}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-inline-width:0px 1px}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);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 )}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::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}:host([hidden]){display:none}[hidden]{display:none}";
|
|
127
127
|
|
|
128
128
|
function isOption(optionOrGroup) {
|
|
129
129
|
return optionOrGroup.tagName === "CALCITE-OPTION";
|
|
@@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AAE,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,GAAI,CAClF,EACN;KACH;IAED,MAAM;QACJ,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAE1B,QACE,EAAC,IAAI,QACH,EAAC,oBAAoB,IAAC,QAAQ,EAAE,QAAQ,IACtC,WAAK,KAAK,EAAE,GAAG,CAAC,OAAO,IACrB,4BACc,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,IAAI,CAAC,0BAA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,eAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,IAClD,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/option/option.scss?tag=calcite-option&encapsulation=shadow","src/components/option/option.tsx","src/components/option-group/option-group.scss?tag=calcite-option-group&encapsulation=shadow","src/components/option-group/option-group.tsx","src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":[":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\nimport { createObserver } from \"../../utils/observers\";\n\n@Component({\n tag: \"calcite-option\",\n styleUrl: \"option.scss\",\n shadow: true,\n})\nexport class Option {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({\n reflect: true,\n })\n selected: boolean;\n\n /**\n * The component's value.\n */\n @Prop({ mutable: true })\n value: any;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n @Watch(\"selected\")\n @Watch(\"value\")\n protected handlePropChange(_newValue: any, _oldValue: any, propName: string): void {\n if (propName === \"label\" || propName === \"value\") {\n this.ensureTextContentDependentProps();\n }\n\n this.calciteInternalOptionChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Variables\n //\n //--------------------------------------------------------------------------\n\n @Element()\n private el: HTMLCalciteOptionElement;\n\n private internallySetLabel: string;\n\n private internallySetValue: any;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.ensureTextContentDependentProps();\n this.calciteInternalOptionChange.emit();\n });\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private ensureTextContentDependentProps(): void {\n const {\n el: { textContent },\n internallySetLabel,\n internallySetValue,\n label,\n value,\n } = this;\n\n if (!label || label === internallySetLabel) {\n this.label = textContent;\n this.internallySetLabel = textContent;\n }\n\n if (\n value == null /* intentional loose equals to handle both undefined & null */ ||\n value === internallySetValue\n ) {\n this.value = textContent;\n this.internallySetValue = textContent;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ensureTextContentDependentProps();\n this.mutationObserver?.observe(this.el, {\n attributeFilter: [\"label\", \"value\"],\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return <slot>{this.label}</slot>;\n }\n}\n",":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Event, EventEmitter, Fragment, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-option-group\",\n styleUrl: \"option-group.scss\",\n shadow: true,\n})\nexport class OptionGroup {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop()\n label!: string;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n protected handlePropChange(): void {\n this.calciteInternalOptionGroupChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionGroupChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Fragment>\n <div>{this.label}</div>\n <slot />\n </Fragment>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\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 VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\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 focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\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.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-option.calcite-option-group.calcite-select.entry.js","mappings":";;;;;;;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,yEAAyE;;MCQ9E,MAAM;;;;QA4DT,qBAAgB,GAAqB,cAAc,CAAC,UAAU,EAAE;YACtE,IAAI,CAAC,+BAA+B,EAAE,CAAC;YACvC,IAAI,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAC;SACzC,CAAC,CAAC;wBAlDQ,KAAK;;;;;IA0BN,gBAAgB,CAAC,SAAc,EAAE,SAAc,EAAE,QAAg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AA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,eAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,IAClD,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;","names":[],"sources":["src/components/option/option.scss?tag=calcite-option&encapsulation=shadow","src/components/option/option.tsx","src/components/option-group/option-group.scss?tag=calcite-option-group&encapsulation=shadow","src/components/option-group/option-group.tsx","src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":[":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\nimport { createObserver } from \"../../utils/observers\";\n\n@Component({\n tag: \"calcite-option\",\n styleUrl: \"option.scss\",\n shadow: true,\n})\nexport class Option {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({\n reflect: true,\n })\n selected: boolean;\n\n /**\n * The component's value.\n */\n @Prop({ mutable: true })\n value: any;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n @Watch(\"selected\")\n @Watch(\"value\")\n protected handlePropChange(_newValue: any, _oldValue: any, propName: string): void {\n if (propName === \"label\" || propName === \"value\") {\n this.ensureTextContentDependentProps();\n }\n\n this.calciteInternalOptionChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Variables\n //\n //--------------------------------------------------------------------------\n\n @Element()\n private el: HTMLCalciteOptionElement;\n\n private internallySetLabel: string;\n\n private internallySetValue: any;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.ensureTextContentDependentProps();\n this.calciteInternalOptionChange.emit();\n });\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private ensureTextContentDependentProps(): void {\n const {\n el: { textContent },\n internallySetLabel,\n internallySetValue,\n label,\n value,\n } = this;\n\n if (!label || label === internallySetLabel) {\n this.label = textContent;\n this.internallySetLabel = textContent;\n }\n\n if (\n value == null /* intentional loose equals to handle both undefined & null */ ||\n value === internallySetValue\n ) {\n this.value = textContent;\n this.internallySetValue = textContent;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ensureTextContentDependentProps();\n this.mutationObserver?.observe(this.el, {\n attributeFilter: [\"label\", \"value\"],\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return <slot>{this.label}</slot>;\n }\n}\n",":host {\n @apply block;\n}\n\n@include base-component();\n","import { Component, Event, EventEmitter, Fragment, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-option-group\",\n styleUrl: \"option-group.scss\",\n shadow: true,\n})\nexport class OptionGroup {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({\n reflect: true,\n })\n disabled = false;\n\n /**\n * Accessible name for the component.\n */\n @Prop()\n label!: string;\n\n @Watch(\"disabled\")\n @Watch(\"label\")\n protected handlePropChange(): void {\n this.calciteInternalOptionGroupChange.emit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n private calciteInternalOptionGroupChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Fragment>\n <div>{this.label}</div>\n <slot />\n </Fragment>\n );\n }\n}\n","export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\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 VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\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 focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\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.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage && this.status === \"invalid\" ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|