@esri/calcite-components 2.6.0-next.0 → 2.6.0-next.2
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/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0263cc85.entry.js +7 -0
- package/dist/calcite/p-031e3c35.entry.js +7 -0
- package/dist/calcite/p-031e3c35.entry.js.map +1 -0
- package/dist/calcite/p-044bf4ab.entry.js +7 -0
- package/dist/calcite/p-055d41f9.entry.js +7 -0
- package/dist/calcite/p-05cd5e85.js +7 -0
- package/dist/calcite/p-0646f72c.js +7 -0
- package/dist/calcite/p-082e250a.js +7 -0
- package/dist/calcite/p-09387ee2.js +7 -0
- package/dist/calcite/p-094f0daa.js +7 -0
- package/dist/calcite/p-0ae1d432.entry.js +7 -0
- package/dist/calcite/p-0cbc636b.entry.js +7 -0
- package/dist/calcite/p-0d12ac40.entry.js +7 -0
- package/dist/calcite/p-0d57d83b.js +7 -0
- package/dist/calcite/p-1110024f.entry.js +7 -0
- package/dist/calcite/p-1110024f.entry.js.map +1 -0
- package/dist/calcite/p-11bf4aed.entry.js +7 -0
- package/dist/calcite/p-13153b06.entry.js +7 -0
- package/dist/calcite/p-13153b06.entry.js.map +1 -0
- package/dist/calcite/p-1515f181.js +11 -0
- package/dist/calcite/p-17c1a51b.js +7 -0
- package/dist/calcite/p-17c8d372.entry.js +7 -0
- package/dist/calcite/p-17c8d372.entry.js.map +1 -0
- package/dist/calcite/p-188a7274.js +7 -0
- package/dist/calcite/p-1d16dd64.js +7 -0
- package/dist/calcite/p-1d429cc5.js +7 -0
- package/dist/calcite/p-1e650845.entry.js +7 -0
- package/dist/calcite/p-1f809d27.entry.js +7 -0
- package/dist/calcite/p-1f809d27.entry.js.map +1 -0
- package/dist/calcite/p-1ffd8b68.js +7 -0
- package/dist/calcite/p-2448987f.js +7 -0
- package/dist/calcite/p-24f06808.js +7 -0
- package/dist/calcite/p-282b9e09.js +7 -0
- package/dist/calcite/p-2a45d8ac.js +7 -0
- package/dist/calcite/p-2d787492.js +7 -0
- package/dist/calcite/p-2e747223.entry.js +7 -0
- package/dist/calcite/p-2e747223.entry.js.map +1 -0
- package/dist/calcite/p-30f27ae2.entry.js +7 -0
- package/dist/calcite/p-30f27ae2.entry.js.map +1 -0
- package/dist/calcite/p-311413fb.entry.js +7 -0
- package/dist/calcite/p-311413fb.entry.js.map +1 -0
- package/dist/calcite/p-315e1cb3.entry.js +7 -0
- package/dist/calcite/p-315e1cb3.entry.js.map +1 -0
- package/dist/calcite/p-329f2c82.js +7 -0
- package/dist/calcite/p-33ab3dc7.js +7 -0
- package/dist/calcite/p-33e6c081.entry.js +7 -0
- package/dist/calcite/p-3694230a.entry.js +7 -0
- package/dist/calcite/p-3694230a.entry.js.map +1 -0
- package/dist/calcite/p-378507d3.js +7 -0
- package/dist/calcite/p-38142fab.js +7 -0
- package/dist/calcite/p-3b7f927d.js +7 -0
- package/dist/calcite/p-3ba64fdd.js +7 -0
- package/dist/calcite/p-3c2fd6e7.entry.js +7 -0
- package/dist/calcite/p-3c2fd6e7.entry.js.map +1 -0
- package/dist/calcite/p-3c60a6b1.entry.js +7 -0
- package/dist/calcite/p-3e92a6e4.js +7 -0
- package/dist/calcite/p-403c1170.entry.js +7 -0
- package/dist/calcite/p-40a35031.js +7 -0
- package/dist/calcite/p-41cbf900.entry.js +7 -0
- package/dist/calcite/p-41cbf900.entry.js.map +1 -0
- package/dist/calcite/p-41eb2cc4.entry.js +7 -0
- package/dist/calcite/p-42a34e09.js +7 -0
- package/dist/calcite/p-431b42f1.js +7 -0
- package/dist/calcite/p-43c7faa1.js +7 -0
- package/dist/calcite/p-4880529d.js +7 -0
- package/dist/calcite/p-4a194ced.js +7 -0
- package/dist/calcite/p-4b460393.entry.js +7 -0
- package/dist/calcite/p-4d035661.js +7 -0
- package/dist/calcite/p-4e65b06e.js +7 -0
- package/dist/calcite/p-4eec7607.js +7 -0
- package/dist/calcite/p-5385df1b.js +7 -0
- package/dist/calcite/p-542b3dcd.entry.js +7 -0
- package/dist/calcite/p-55e8541b.entry.js +7 -0
- package/dist/calcite/p-55e8541b.entry.js.map +1 -0
- package/dist/calcite/p-5c553da2.js +7 -0
- package/dist/calcite/p-5c7632ec.js +7 -0
- package/dist/calcite/p-5c86551c.entry.js +7 -0
- package/dist/calcite/p-5c9166af.entry.js +7 -0
- package/dist/calcite/p-5c9166af.entry.js.map +1 -0
- package/dist/calcite/p-5d5d5f83.js +7 -0
- package/dist/calcite/p-604cb185.js +7 -0
- package/dist/calcite/p-61549382.entry.js +7 -0
- package/dist/calcite/p-61ec7902.js +7 -0
- package/dist/calcite/p-62f1ac64.js +7 -0
- package/dist/calcite/p-65ec787c.js +7 -0
- package/dist/calcite/p-67b5d162.entry.js +7 -0
- package/dist/calcite/p-6ae1000d.entry.js +7 -0
- package/dist/calcite/p-6ae1000d.entry.js.map +1 -0
- package/dist/calcite/p-6dcf5d06.entry.js +7 -0
- package/dist/calcite/p-6dcf5d06.entry.js.map +1 -0
- package/dist/calcite/p-70a77e30.js +7 -0
- package/dist/calcite/p-70d83fad.entry.js +7 -0
- package/dist/calcite/p-70d83fad.entry.js.map +1 -0
- package/dist/calcite/p-74a39fed.entry.js +7 -0
- package/dist/calcite/p-75a52371.js +7 -0
- package/dist/calcite/p-77b97148.js +7 -0
- package/dist/calcite/p-7b412f55.js +7 -0
- package/dist/calcite/p-7e4d12e2.entry.js +7 -0
- package/dist/calcite/p-7e4d12e2.entry.js.map +1 -0
- package/dist/calcite/p-7fcaf8da.js +7 -0
- package/dist/calcite/p-8039d206.entry.js +7 -0
- package/dist/calcite/p-8039d206.entry.js.map +1 -0
- package/dist/calcite/p-816a2393.js +7 -0
- package/dist/calcite/p-8234e328.js +7 -0
- package/dist/calcite/p-8272e3a7.entry.js +7 -0
- package/dist/calcite/p-8272e3a7.entry.js.map +1 -0
- package/dist/calcite/p-85be4f39.entry.js +7 -0
- package/dist/calcite/p-85be4f39.entry.js.map +1 -0
- package/dist/calcite/p-867e447e.js +7 -0
- package/dist/calcite/p-8779fb98.js +7 -0
- package/dist/calcite/p-88e85d64.entry.js +7 -0
- package/dist/calcite/p-8a3a7496.js +7 -0
- package/dist/calcite/p-8a7e13cc.js +7 -0
- package/dist/calcite/p-8b65636b.entry.js +7 -0
- package/dist/calcite/p-8b65636b.entry.js.map +1 -0
- package/dist/calcite/p-8c896d3b.js +7 -0
- package/dist/calcite/p-90cfffaf.entry.js +7 -0
- package/dist/calcite/p-90cfffaf.entry.js.map +1 -0
- package/dist/calcite/p-952755d5.js +7 -0
- package/dist/calcite/p-95fdefa9.js +7 -0
- package/dist/calcite/p-96040101.js +7 -0
- package/dist/calcite/p-99bbb6eb.js +7 -0
- package/dist/calcite/p-9a1dea3c.entry.js +7 -0
- package/dist/calcite/p-9a1dea3c.entry.js.map +1 -0
- package/dist/calcite/p-9c44b85f.js +7 -0
- package/dist/calcite/p-9de38c62.js +7 -0
- package/dist/calcite/p-9ea0ecdc.entry.js +7 -0
- package/dist/calcite/p-9ea52484.js +7 -0
- package/dist/calcite/p-9f7175c3.entry.js +7 -0
- package/dist/calcite/p-9f7175c3.entry.js.map +1 -0
- package/dist/calcite/p-a2d21863.entry.js +7 -0
- package/dist/calcite/p-a4a42539.entry.js +7 -0
- package/dist/calcite/p-a4a42539.entry.js.map +1 -0
- package/dist/calcite/p-a534e089.js +7 -0
- package/dist/calcite/p-a6243d9a.js +12 -0
- package/dist/calcite/p-a6a01135.entry.js +7 -0
- package/dist/calcite/p-a83dc143.entry.js +7 -0
- package/dist/calcite/p-a9588274.js +7 -0
- package/dist/calcite/p-abbb0fef.js +7 -0
- package/dist/calcite/p-ac3905c7.entry.js +7 -0
- package/dist/calcite/p-ac3905c7.entry.js.map +1 -0
- package/dist/calcite/p-b008f8b1.js +7 -0
- package/dist/calcite/p-b04fd81d.js +7 -0
- package/dist/calcite/p-b0528b4b.js +7 -0
- package/dist/calcite/p-b1eebfd4.entry.js +7 -0
- package/dist/calcite/p-b1eebfd4.entry.js.map +1 -0
- package/dist/calcite/p-b315861a.js +7 -0
- package/dist/calcite/p-b65a1deb.entry.js +7 -0
- package/dist/calcite/p-b65a1deb.entry.js.map +1 -0
- package/dist/calcite/p-b7930fa1.entry.js +7 -0
- package/dist/calcite/p-b7930fa1.entry.js.map +1 -0
- package/dist/calcite/p-bb2d18c7.js +7 -0
- package/dist/calcite/p-bbcbc447.js +7 -0
- package/dist/calcite/p-bd337fda.js +7 -0
- package/dist/calcite/p-be623834.entry.js +7 -0
- package/dist/calcite/p-c0dbd1d6.entry.js +7 -0
- package/dist/calcite/p-c0dbd1d6.entry.js.map +1 -0
- package/dist/calcite/p-c1fd275d.js +7 -0
- package/dist/calcite/p-c35042d2.js +7 -0
- package/dist/calcite/p-c4425c57.entry.js +7 -0
- package/dist/calcite/p-c5234a25.js +7 -0
- package/dist/calcite/p-c786245f.entry.js +7 -0
- package/dist/calcite/p-c995ac63.js +7 -0
- package/dist/calcite/p-ca5cbe1c.entry.js +7 -0
- package/dist/calcite/p-ca5cbe1c.entry.js.map +1 -0
- package/dist/calcite/p-d2d97ba1.js +7 -0
- package/dist/calcite/p-d3eec7ba.js +7 -0
- package/dist/calcite/p-d60a88f2.js +7 -0
- package/dist/calcite/p-d87f074f.js +7 -0
- package/dist/calcite/p-d94ac5ad.entry.js +7 -0
- package/dist/calcite/p-d94ac5ad.entry.js.map +1 -0
- package/dist/calcite/p-da276851.js +7 -0
- package/dist/calcite/p-db1036f9.js +7 -0
- package/dist/calcite/p-dca6be82.js +7 -0
- package/dist/calcite/p-dd93f4f0.entry.js +7 -0
- package/dist/calcite/p-dd93f4f0.entry.js.map +1 -0
- package/dist/calcite/p-ddc7240b.entry.js +7 -0
- package/dist/calcite/p-de5e48db.entry.js +7 -0
- package/dist/calcite/p-de5e48db.entry.js.map +1 -0
- package/dist/calcite/p-df956619.entry.js +7 -0
- package/dist/calcite/p-df956619.entry.js.map +1 -0
- package/dist/calcite/p-e4831ef9.entry.js +7 -0
- package/dist/calcite/p-e4831ef9.entry.js.map +1 -0
- package/dist/calcite/p-e5e6159c.js +7 -0
- package/dist/calcite/p-e6c1f4e0.js +7 -0
- package/dist/calcite/p-e6eb8238.entry.js +7 -0
- package/dist/calcite/p-e6eb8238.entry.js.map +1 -0
- package/dist/calcite/p-e74d2119.entry.js +7 -0
- package/dist/calcite/p-e74d2119.entry.js.map +1 -0
- package/dist/calcite/p-e8d1b8ea.entry.js +7 -0
- package/dist/calcite/p-e8d1b8ea.entry.js.map +1 -0
- package/dist/calcite/p-e91b94c5.entry.js +7 -0
- package/dist/calcite/p-ea1f6afc.js +7 -0
- package/dist/calcite/p-ef763c60.js +7 -0
- package/dist/calcite/p-f2b68499.entry.js +7 -0
- package/dist/calcite/p-f315c5f7.js +7 -0
- package/dist/calcite/p-f36a0721.js +13 -0
- package/dist/calcite/p-f5f4d657.entry.js +7 -0
- package/dist/calcite/p-f8b23e6b.entry.js +7 -0
- package/dist/calcite/p-f8b23e6b.entry.js.map +1 -0
- package/dist/calcite/p-f8f9cef3.js +8 -0
- package/dist/calcite/p-f97a4e17.entry.js +7 -0
- package/dist/calcite/p-ff8fc6a4.js +7 -0
- package/dist/calcite-preset.js +4 -4
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-1b35868f.js +110 -0
- package/dist/cjs/ExpandToggle-1b35868f.js.map +1 -0
- package/dist/cjs/FloatingArrow-614769b6.js +49 -0
- package/dist/cjs/FloatingArrow-614769b6.js.map +1 -0
- package/dist/cjs/Heading-1731df2f.js +22 -0
- package/dist/cjs/Heading-1731df2f.js.map +1 -0
- package/dist/cjs/Validation-f73b00ec.js +18 -0
- package/dist/cjs/Validation-f73b00ec.js.map +1 -0
- package/dist/cjs/app-globals-a5254d14.js +61 -0
- package/dist/cjs/app-globals-a5254d14.js.map +1 -0
- package/dist/cjs/ar-33bed8d4.js +106 -0
- package/dist/cjs/ar-33bed8d4.js.map +1 -0
- package/dist/cjs/array-6a095f9e.js +14 -0
- package/dist/cjs/array-6a095f9e.js.map +1 -0
- package/dist/cjs/bg-0b98be49.js +84 -0
- package/dist/cjs/bg-0b98be49.js.map +1 -0
- package/dist/cjs/browser-a87a7503.js +20 -0
- package/dist/cjs/browser-a87a7503.js.map +1 -0
- package/dist/cjs/bs-0d882b02.js +53 -0
- package/dist/cjs/bs-0d882b02.js.map +1 -0
- package/dist/cjs/ca-cc120fbb.js +73 -0
- package/dist/cjs/ca-cc120fbb.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.cjs.entry.js +10 -10
- 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-7f81f41e.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-7f81f41e.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 +7 -7
- package/dist/cjs/calcite-tile-group.cjs.entry.js.map +1 -1
- 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-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 +4 -4
- package/dist/cjs/component-345ce377.js +30 -0
- package/dist/cjs/component-345ce377.js.map +1 -0
- package/dist/cjs/conditionalSlot-d852aa6a.js +60 -0
- package/dist/cjs/conditionalSlot-d852aa6a.js.map +1 -0
- package/dist/cjs/cs-e47ea27e.js +149 -0
- package/dist/cjs/cs-e47ea27e.js.map +1 -0
- package/dist/cjs/da-961855dc.js +68 -0
- package/dist/cjs/da-961855dc.js.map +1 -0
- package/dist/cjs/de-876c17d4.js +93 -0
- package/dist/cjs/de-876c17d4.js.map +1 -0
- package/dist/cjs/de-at-e3db7c00.js +92 -0
- package/dist/cjs/de-at-e3db7c00.js.map +1 -0
- package/dist/cjs/de-ch-ecabca7c.js +92 -0
- package/dist/cjs/de-ch-ecabca7c.js.map +1 -0
- package/dist/cjs/debounce-4121ac1b.js +498 -0
- package/dist/cjs/debounce-4121ac1b.js.map +1 -0
- package/dist/cjs/dom-d9bb586f.js +1084 -0
- package/dist/cjs/dom-d9bb586f.js.map +1 -0
- package/dist/cjs/el-97590b39.js +68 -0
- package/dist/cjs/el-97590b39.js.map +1 -0
- package/dist/cjs/en-au-0c5c3789.js +68 -0
- package/dist/cjs/en-au-0c5c3789.js.map +1 -0
- package/dist/cjs/en-ca-30970d7b.js +67 -0
- package/dist/cjs/en-ca-30970d7b.js.map +1 -0
- package/dist/cjs/en-gb-cabfdd7f.js +71 -0
- package/dist/cjs/en-gb-cabfdd7f.js.map +1 -0
- package/dist/cjs/es-bdceea89.js +68 -0
- package/dist/cjs/es-bdceea89.js.map +1 -0
- package/dist/cjs/es-mx-a198ba2c.js +67 -0
- package/dist/cjs/es-mx-a198ba2c.js.map +1 -0
- package/dist/cjs/et-934ed91a.js +94 -0
- package/dist/cjs/et-934ed91a.js.map +1 -0
- package/dist/cjs/fi-f4296e4a.js +117 -0
- package/dist/cjs/fi-f4296e4a.js.map +1 -0
- package/dist/cjs/filter-71e45186.js +762 -0
- package/dist/cjs/filter-71e45186.js.map +1 -0
- package/dist/cjs/floating-ui-1cc99e38.js +1981 -0
- package/dist/cjs/floating-ui-1cc99e38.js.map +1 -0
- package/dist/cjs/focusTrapComponent-65a305b5.js +1020 -0
- package/dist/cjs/focusTrapComponent-65a305b5.js.map +1 -0
- package/dist/cjs/form-355098c5.js +333 -0
- package/dist/cjs/form-355098c5.js.map +1 -0
- package/dist/cjs/fr-10b4f365.js +70 -0
- package/dist/cjs/fr-10b4f365.js.map +1 -0
- package/dist/cjs/fr-ch-07399489.js +68 -0
- package/dist/cjs/fr-ch-07399489.js.map +1 -0
- package/dist/cjs/guid-9c2fec92.js +23 -0
- package/dist/cjs/guid-9c2fec92.js.map +1 -0
- package/dist/cjs/he-b25b21a1.js +107 -0
- package/dist/cjs/he-b25b21a1.js.map +1 -0
- package/dist/cjs/hi-d99870c8.js +67 -0
- package/dist/cjs/hi-d99870c8.js.map +1 -0
- package/dist/cjs/hr-89d8747e.js +82 -0
- package/dist/cjs/hr-89d8747e.js.map +1 -0
- package/dist/cjs/hu-51213117.js +90 -0
- package/dist/cjs/hu-51213117.js.map +1 -0
- package/dist/cjs/id-921db549.js +68 -0
- package/dist/cjs/id-921db549.js.map +1 -0
- package/dist/cjs/index-dcff1af2.js +208 -0
- package/dist/cjs/index-dcff1af2.js.map +1 -0
- package/dist/cjs/index-e56de92a.js +2659 -0
- package/dist/cjs/index-e56de92a.js.map +1 -0
- package/dist/cjs/index-ed3fb783.js +75 -0
- package/dist/cjs/index-ed3fb783.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-7d12cca5.js +57 -0
- package/dist/cjs/input-7d12cca5.js.map +1 -0
- package/dist/cjs/interactive-3018c552.js +151 -0
- package/dist/cjs/interactive-3018c552.js.map +1 -0
- package/dist/cjs/it-7a3e7842.js +68 -0
- package/dist/cjs/it-7a3e7842.js.map +1 -0
- package/dist/cjs/it-ch-3bbd2535.js +68 -0
- package/dist/cjs/it-ch-3bbd2535.js.map +1 -0
- package/dist/cjs/ja-5e377c0e.js +74 -0
- package/dist/cjs/ja-5e377c0e.js.map +1 -0
- package/dist/cjs/key-adda46e1.js +16 -0
- package/dist/cjs/key-adda46e1.js.map +1 -0
- package/dist/cjs/ko-a60fc350.js +74 -0
- package/dist/cjs/ko-a60fc350.js.map +1 -0
- package/dist/cjs/label-5c83505d.js +183 -0
- package/dist/cjs/label-5c83505d.js.map +1 -0
- package/dist/cjs/loadable-57b4dc68.js +91 -0
- package/dist/cjs/loadable-57b4dc68.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-9a159194.js +576 -0
- package/dist/cjs/locale-9a159194.js.map +1 -0
- package/dist/cjs/lt-251cd871.js +99 -0
- package/dist/cjs/lt-251cd871.js.map +1 -0
- package/dist/cjs/lv-633cc9d1.js +68 -0
- package/dist/cjs/lv-633cc9d1.js.map +1 -0
- package/dist/cjs/math-08bc3824.js +57 -0
- package/dist/cjs/math-08bc3824.js.map +1 -0
- package/dist/cjs/mk-2f1cd16a.js +68 -0
- package/dist/cjs/mk-2f1cd16a.js.map +1 -0
- package/dist/cjs/nb-97271820.js +69 -0
- package/dist/cjs/nb-97271820.js.map +1 -0
- package/dist/cjs/nl-47a70d9f.js +69 -0
- package/dist/cjs/nl-47a70d9f.js.map +1 -0
- package/dist/cjs/observers-8e7b2955.js +50 -0
- package/dist/cjs/observers-8e7b2955.js.map +1 -0
- package/dist/cjs/openCloseComponent-29bd12f7.js +89 -0
- package/dist/cjs/openCloseComponent-29bd12f7.js.map +1 -0
- package/dist/cjs/pl-e6b82e3d.js +116 -0
- package/dist/cjs/pl-e6b82e3d.js.map +1 -0
- package/dist/cjs/pt-50828a43.js +69 -0
- package/dist/cjs/pt-50828a43.js.map +1 -0
- package/dist/cjs/pt-br-819a57fa.js +67 -0
- package/dist/cjs/pt-br-819a57fa.js.map +1 -0
- package/dist/cjs/resources-33b664b8.js +49 -0
- package/dist/cjs/resources-33b664b8.js.map +1 -0
- package/dist/cjs/resources-42df3571.js +23 -0
- package/dist/cjs/resources-42df3571.js.map +1 -0
- package/dist/cjs/resources-464caf7c.js +414 -0
- package/dist/cjs/resources-464caf7c.js.map +1 -0
- package/dist/cjs/resources-6fc01532.js +26 -0
- package/dist/cjs/resources-6fc01532.js.map +1 -0
- package/dist/cjs/resources-816ce1f2.js +17 -0
- package/dist/cjs/resources-816ce1f2.js.map +1 -0
- package/dist/cjs/resources-b1fa7e15.js +29 -0
- package/dist/cjs/resources-b1fa7e15.js.map +1 -0
- package/dist/cjs/resources-d2cc790f.js +26 -0
- package/dist/cjs/resources-d2cc790f.js.map +1 -0
- package/dist/cjs/ro-defc1941.js +68 -0
- package/dist/cjs/ro-defc1941.js.map +1 -0
- package/dist/cjs/ru-6ff2df81.js +128 -0
- package/dist/cjs/ru-6ff2df81.js.map +1 -0
- package/dist/cjs/sk-e078e4cc.js +150 -0
- package/dist/cjs/sk-e078e4cc.js.map +1 -0
- package/dist/cjs/sl-2a1f5dae.js +170 -0
- package/dist/cjs/sl-2a1f5dae.js.map +1 -0
- package/dist/cjs/sortableComponent-b7a0d706.js +2744 -0
- package/dist/cjs/sortableComponent-b7a0d706.js.map +1 -0
- package/dist/cjs/sr-7fa51f34.js +103 -0
- package/dist/cjs/sr-7fa51f34.js.map +1 -0
- package/dist/cjs/sv-08a9490a.js +73 -0
- package/dist/cjs/sv-08a9490a.js.map +1 -0
- package/dist/cjs/t9n-9719c097.js +97 -0
- package/dist/cjs/t9n-9719c097.js.map +1 -0
- package/dist/cjs/th-06305199.js +67 -0
- package/dist/cjs/th-06305199.js.map +1 -0
- package/dist/cjs/throttle-5b372446.js +77 -0
- package/dist/cjs/throttle-5b372446.js.map +1 -0
- package/dist/cjs/tr-dc5e9f72.js +68 -0
- package/dist/cjs/tr-dc5e9f72.js.map +1 -0
- package/dist/cjs/uk-f3190bfc.js +106 -0
- package/dist/cjs/uk-f3190bfc.js.map +1 -0
- package/dist/cjs/utils-5488eff4.js +307 -0
- package/dist/cjs/utils-5488eff4.js.map +1 -0
- package/dist/cjs/utils-ef21c8b9.js +218 -0
- package/dist/cjs/utils-ef21c8b9.js.map +1 -0
- package/dist/cjs/vi-46058df5.js +72 -0
- package/dist/cjs/vi-46058df5.js.map +1 -0
- package/dist/cjs/zh-cn-0f0d4702.js +96 -0
- package/dist/cjs/zh-cn-0f0d4702.js.map +1 -0
- package/dist/cjs/zh-hk-d3bb7e26.js +73 -0
- package/dist/cjs/zh-hk-d3bb7e26.js.map +1 -0
- package/dist/cjs/zh-tw-1c375910.js +94 -0
- package/dist/cjs/zh-tw-1c375910.js.map +1 -0
- package/dist/collection/collection-manifest.json +5 -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/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.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 +7 -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 +1 -1
- package/dist/collection/components/tile-group/resources.js +2 -2
- package/dist/collection/components/tile-group/resources.js.map +1 -1
- package/dist/collection/components/tile-group/tile-group.css +14 -13
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +10 -6
- package/dist/collection/components/tile-group/tile-group.js.map +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.js +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 +4 -4
- package/dist/components/calcite-tile-group.js.map +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-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-ca36ac0b.js +102 -0
- package/dist/esm/ExpandToggle-ca36ac0b.js.map +1 -0
- package/dist/esm/FloatingArrow-be9125d5.js +47 -0
- package/dist/esm/FloatingArrow-be9125d5.js.map +1 -0
- package/dist/esm/Heading-271f9554.js +19 -0
- package/dist/esm/Heading-271f9554.js.map +1 -0
- package/dist/esm/Validation-682c039c.js +16 -0
- package/dist/esm/Validation-682c039c.js.map +1 -0
- package/dist/esm/app-globals-5fd4cbca.js +59 -0
- package/dist/esm/app-globals-5fd4cbca.js.map +1 -0
- package/dist/esm/ar-05f44fb6.js +104 -0
- package/dist/esm/ar-05f44fb6.js.map +1 -0
- package/dist/esm/array-aad26ff8.js +12 -0
- package/dist/esm/array-aad26ff8.js.map +1 -0
- package/dist/esm/bg-ce467c09.js +82 -0
- package/dist/esm/bg-ce467c09.js.map +1 -0
- package/dist/esm/browser-56053627.js +18 -0
- package/dist/esm/browser-56053627.js.map +1 -0
- package/dist/esm/bs-0b49ad01.js +51 -0
- package/dist/esm/bs-0b49ad01.js.map +1 -0
- package/dist/esm/ca-3bf100d5.js +71 -0
- package/dist/esm/ca-3bf100d5.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.entry.js +10 -10
- 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-dca8e447.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-dca8e447.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 +7 -7
- package/dist/esm/calcite-tile-group.entry.js.map +1 -1
- 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-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 +5 -5
- package/dist/esm/component-b768e079.js +27 -0
- package/dist/esm/component-b768e079.js.map +1 -0
- package/dist/esm/conditionalSlot-4f07b76c.js +57 -0
- package/dist/esm/conditionalSlot-4f07b76c.js.map +1 -0
- package/dist/esm/cs-fac4382a.js +147 -0
- package/dist/esm/cs-fac4382a.js.map +1 -0
- package/dist/esm/da-f1c1f03c.js +66 -0
- package/dist/esm/da-f1c1f03c.js.map +1 -0
- package/dist/esm/de-at-1b0f07f3.js +90 -0
- package/dist/esm/de-at-1b0f07f3.js.map +1 -0
- package/dist/esm/de-ch-3c075eb4.js +90 -0
- package/dist/esm/de-ch-3c075eb4.js.map +1 -0
- package/dist/esm/de-f0e48f92.js +91 -0
- package/dist/esm/de-f0e48f92.js.map +1 -0
- package/dist/esm/debounce-0d0a2a7c.js +489 -0
- package/dist/esm/debounce-0d0a2a7c.js.map +1 -0
- package/dist/esm/dom-d6e09464.js +1053 -0
- package/dist/esm/dom-d6e09464.js.map +1 -0
- package/dist/esm/el-f5c66763.js +66 -0
- package/dist/esm/el-f5c66763.js.map +1 -0
- package/dist/esm/en-au-13e6836d.js +66 -0
- package/dist/esm/en-au-13e6836d.js.map +1 -0
- package/dist/esm/en-ca-ae3d1e7a.js +65 -0
- package/dist/esm/en-ca-ae3d1e7a.js.map +1 -0
- package/dist/esm/en-gb-bc46d242.js +69 -0
- package/dist/esm/en-gb-bc46d242.js.map +1 -0
- package/dist/esm/es-60223d4e.js +66 -0
- package/dist/esm/es-60223d4e.js.map +1 -0
- package/dist/esm/es-mx-671a7c80.js +65 -0
- package/dist/esm/es-mx-671a7c80.js.map +1 -0
- package/dist/esm/et-fba0ae8f.js +92 -0
- package/dist/esm/et-fba0ae8f.js.map +1 -0
- package/dist/esm/fi-628b2da5.js +115 -0
- package/dist/esm/fi-628b2da5.js.map +1 -0
- package/dist/esm/filter-65adeb13.js +760 -0
- package/dist/esm/filter-65adeb13.js.map +1 -0
- package/dist/esm/floating-ui-7999d8ba.js +1973 -0
- package/dist/esm/floating-ui-7999d8ba.js.map +1 -0
- package/dist/esm/focusTrapComponent-d126069d.js +1015 -0
- package/dist/esm/focusTrapComponent-d126069d.js.map +1 -0
- package/dist/esm/form-c2e9e056.js +324 -0
- package/dist/esm/form-c2e9e056.js.map +1 -0
- package/dist/esm/fr-ch-d710330a.js +66 -0
- package/dist/esm/fr-ch-d710330a.js.map +1 -0
- package/dist/esm/fr-e251436d.js +68 -0
- package/dist/esm/fr-e251436d.js.map +1 -0
- package/dist/esm/guid-9350154a.js +21 -0
- package/dist/esm/guid-9350154a.js.map +1 -0
- package/dist/esm/he-d5cdb561.js +105 -0
- package/dist/esm/he-d5cdb561.js.map +1 -0
- package/dist/esm/hi-cf86dc6a.js +65 -0
- package/dist/esm/hi-cf86dc6a.js.map +1 -0
- package/dist/esm/hr-3e871950.js +80 -0
- package/dist/esm/hr-3e871950.js.map +1 -0
- package/dist/esm/hu-bc2a59ea.js +88 -0
- package/dist/esm/hu-bc2a59ea.js.map +1 -0
- package/dist/esm/id-455d267e.js +66 -0
- package/dist/esm/id-455d267e.js.map +1 -0
- package/dist/esm/index-3e7121b8.js +2624 -0
- package/dist/esm/index-3e7121b8.js.map +1 -0
- package/dist/esm/index-48f7b22f.js +206 -0
- package/dist/esm/index-48f7b22f.js.map +1 -0
- package/dist/esm/index-a0ff4656.js +73 -0
- package/dist/esm/index-a0ff4656.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-9aa55a22.js +55 -0
- package/dist/esm/input-9aa55a22.js.map +1 -0
- package/dist/esm/interactive-3375f66b.js +146 -0
- package/dist/esm/interactive-3375f66b.js.map +1 -0
- package/dist/esm/it-b1651fc7.js +66 -0
- package/dist/esm/it-b1651fc7.js.map +1 -0
- package/dist/esm/it-ch-b8d55ab8.js +66 -0
- package/dist/esm/it-ch-b8d55ab8.js.map +1 -0
- package/dist/esm/ja-cdde02ea.js +72 -0
- package/dist/esm/ja-cdde02ea.js.map +1 -0
- package/dist/esm/key-e898928b.js +13 -0
- package/dist/esm/key-e898928b.js.map +1 -0
- package/dist/esm/ko-c98ef95a.js +72 -0
- package/dist/esm/ko-c98ef95a.js.map +1 -0
- package/dist/esm/label-11e5295b.js +176 -0
- package/dist/esm/label-11e5295b.js.map +1 -0
- package/dist/esm/loadable-7564f9ac.js +86 -0
- package/dist/esm/loadable-7564f9ac.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-1701fb29.js +563 -0
- package/dist/esm/locale-1701fb29.js.map +1 -0
- package/dist/esm/lt-a356e1ec.js +97 -0
- package/dist/esm/lt-a356e1ec.js.map +1 -0
- package/dist/esm/lv-9549c0e0.js +66 -0
- package/dist/esm/lv-9549c0e0.js.map +1 -0
- package/dist/esm/math-3b331e22.js +51 -0
- package/dist/esm/math-3b331e22.js.map +1 -0
- package/dist/esm/mk-88c64b07.js +66 -0
- package/dist/esm/mk-88c64b07.js.map +1 -0
- package/dist/esm/nb-0dda1397.js +67 -0
- package/dist/esm/nb-0dda1397.js.map +1 -0
- package/dist/esm/nl-aeade4ae.js +67 -0
- package/dist/esm/nl-aeade4ae.js.map +1 -0
- package/dist/esm/observers-a3439eac.js +48 -0
- package/dist/esm/observers-a3439eac.js.map +1 -0
- package/dist/esm/openCloseComponent-ac1c35ef.js +87 -0
- package/dist/esm/openCloseComponent-ac1c35ef.js.map +1 -0
- package/dist/esm/pl-f5cfac66.js +114 -0
- package/dist/esm/pl-f5cfac66.js.map +1 -0
- package/dist/esm/pt-901986b6.js +67 -0
- package/dist/esm/pt-901986b6.js.map +1 -0
- package/dist/esm/pt-br-9d10ca85.js +65 -0
- package/dist/esm/pt-br-9d10ca85.js.map +1 -0
- package/dist/esm/resources-22f0b356.js +45 -0
- package/dist/esm/resources-22f0b356.js.map +1 -0
- package/dist/esm/resources-23874c5a.js +21 -0
- package/dist/esm/resources-23874c5a.js.map +1 -0
- package/dist/esm/resources-302d5cc2.js +25 -0
- package/dist/esm/resources-302d5cc2.js.map +1 -0
- package/dist/esm/resources-410dc89c.js +23 -0
- package/dist/esm/resources-410dc89c.js.map +1 -0
- package/dist/esm/resources-44ae700a.js +19 -0
- package/dist/esm/resources-44ae700a.js.map +1 -0
- package/dist/esm/resources-69f28d46.js +387 -0
- package/dist/esm/resources-69f28d46.js.map +1 -0
- package/dist/esm/resources-d3313bbf.js +17 -0
- package/dist/esm/resources-d3313bbf.js.map +1 -0
- package/dist/esm/ro-005f6ff0.js +66 -0
- package/dist/esm/ro-005f6ff0.js.map +1 -0
- package/dist/esm/ru-79d84619.js +126 -0
- package/dist/esm/ru-79d84619.js.map +1 -0
- package/dist/esm/sk-ed88c3cb.js +148 -0
- package/dist/esm/sk-ed88c3cb.js.map +1 -0
- package/dist/esm/sl-df60b5fa.js +168 -0
- package/dist/esm/sl-df60b5fa.js.map +1 -0
- package/dist/esm/sortableComponent-1d36c405.js +2740 -0
- package/dist/esm/sortableComponent-1d36c405.js.map +1 -0
- package/dist/esm/sr-364d2705.js +101 -0
- package/dist/esm/sr-364d2705.js.map +1 -0
- package/dist/esm/sv-8336ef12.js +71 -0
- package/dist/esm/sv-8336ef12.js.map +1 -0
- package/dist/esm/t9n-5616bc0e.js +92 -0
- package/dist/esm/t9n-5616bc0e.js.map +1 -0
- package/dist/esm/th-6508d67c.js +65 -0
- package/dist/esm/th-6508d67c.js.map +1 -0
- package/dist/esm/throttle-aa1ad77c.js +75 -0
- package/dist/esm/throttle-aa1ad77c.js.map +1 -0
- package/dist/esm/tr-6bdd5733.js +66 -0
- package/dist/esm/tr-6bdd5733.js.map +1 -0
- package/dist/esm/uk-47e3de13.js +104 -0
- package/dist/esm/uk-47e3de13.js.map +1 -0
- package/dist/esm/utils-25e53ff3.js +289 -0
- package/dist/esm/utils-25e53ff3.js.map +1 -0
- package/dist/esm/utils-4a45c4f2.js +200 -0
- package/dist/esm/utils-4a45c4f2.js.map +1 -0
- package/dist/esm/vi-d87dbce4.js +70 -0
- package/dist/esm/vi-d87dbce4.js.map +1 -0
- package/dist/esm/zh-cn-a3303126.js +94 -0
- package/dist/esm/zh-cn-a3303126.js.map +1 -0
- package/dist/esm/zh-hk-9ae19789.js +71 -0
- package/dist/esm/zh-hk-9ae19789.js.map +1 -0
- package/dist/esm/zh-tw-8024c190.js +92 -0
- package/dist/esm/zh-tw-8024c190.js.map +1 -0
- package/dist/extras/docs-json.json +9 -10
- 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/tile-group/resources.d.ts +1 -1
- package/dist/types/components/tile-group/tile-group.d.ts +2 -3
- package/dist/types/components.d.ts +2 -4
- package/hydrate/index.js +49 -49
- package/package.json +2 -2
- package/dist/calcite/p-01269567.entry.js +0 -7
- package/dist/calcite/p-01269567.entry.js.map +0 -1
- package/dist/calcite/p-03ace575.js +0 -7
- package/dist/calcite/p-04d8cec5.entry.js +0 -7
- package/dist/calcite/p-04d8cec5.entry.js.map +0 -1
- package/dist/calcite/p-07209a52.entry.js +0 -7
- package/dist/calcite/p-07209a52.entry.js.map +0 -1
- package/dist/calcite/p-082fe7fd.js +0 -7
- package/dist/calcite/p-0c244b93.js +0 -7
- package/dist/calcite/p-0d685e7b.entry.js +0 -7
- package/dist/calcite/p-0d685e7b.entry.js.map +0 -1
- package/dist/calcite/p-0fb71182.js +0 -7
- package/dist/calcite/p-1014a37f.js +0 -7
- package/dist/calcite/p-12a7f5f7.js +0 -7
- package/dist/calcite/p-12f20a88.js +0 -7
- package/dist/calcite/p-1334c335.js +0 -7
- package/dist/calcite/p-134c3f99.entry.js +0 -7
- package/dist/calcite/p-13672b47.js +0 -7
- package/dist/calcite/p-149dfb81.js +0 -7
- package/dist/calcite/p-14d3e28e.entry.js +0 -7
- package/dist/calcite/p-14d3e28e.entry.js.map +0 -1
- package/dist/calcite/p-18ea01a3.js +0 -7
- package/dist/calcite/p-1a3f03ac.js +0 -7
- package/dist/calcite/p-1e6f79e9.js +0 -7
- package/dist/calcite/p-220e2163.entry.js +0 -7
- package/dist/calcite/p-220e2163.entry.js.map +0 -1
- package/dist/calcite/p-22ac0b6d.entry.js +0 -7
- package/dist/calcite/p-22ac0b6d.entry.js.map +0 -1
- package/dist/calcite/p-22ae1d01.js +0 -7
- package/dist/calcite/p-249b4136.entry.js +0 -7
- package/dist/calcite/p-24bf0ac6.js +0 -7
- package/dist/calcite/p-24ff98f7.js +0 -7
- package/dist/calcite/p-2535e52c.js +0 -7
- package/dist/calcite/p-25683e8e.js +0 -7
- package/dist/calcite/p-27bb4a1e.entry.js +0 -7
- package/dist/calcite/p-27bb4a1e.entry.js.map +0 -1
- package/dist/calcite/p-28b41b5e.entry.js +0 -7
- package/dist/calcite/p-28b41b5e.entry.js.map +0 -1
- package/dist/calcite/p-297c6cc8.entry.js +0 -7
- package/dist/calcite/p-297c6cc8.entry.js.map +0 -1
- package/dist/calcite/p-29865f6a.js +0 -7
- package/dist/calcite/p-2a2386c1.entry.js +0 -7
- package/dist/calcite/p-2a2386c1.entry.js.map +0 -1
- package/dist/calcite/p-2af1807e.entry.js +0 -7
- package/dist/calcite/p-2e426bde.js +0 -7
- package/dist/calcite/p-2f29b82b.js +0 -7
- package/dist/calcite/p-2f49566e.js +0 -7
- package/dist/calcite/p-2f86f13c.entry.js +0 -7
- package/dist/calcite/p-3084a4eb.js +0 -12
- package/dist/calcite/p-30eba86a.js +0 -7
- package/dist/calcite/p-34a82cf5.js +0 -7
- package/dist/calcite/p-358eb5ce.js +0 -7
- package/dist/calcite/p-35a9fd22.js +0 -7
- package/dist/calcite/p-3634dd05.entry.js +0 -7
- package/dist/calcite/p-3634dd05.entry.js.map +0 -1
- package/dist/calcite/p-366f1b6f.entry.js +0 -7
- package/dist/calcite/p-3976bae3.js +0 -7
- package/dist/calcite/p-3ce88b03.js +0 -7
- package/dist/calcite/p-3e522c56.js +0 -7
- package/dist/calcite/p-41210047.js +0 -7
- package/dist/calcite/p-415ca6b6.entry.js +0 -7
- package/dist/calcite/p-41f5f3f7.entry.js +0 -7
- package/dist/calcite/p-41f5f3f7.entry.js.map +0 -1
- package/dist/calcite/p-428cfa69.js +0 -7
- package/dist/calcite/p-45430719.js +0 -7
- package/dist/calcite/p-464b927a.entry.js +0 -7
- package/dist/calcite/p-464b927a.entry.js.map +0 -1
- package/dist/calcite/p-4687da0d.entry.js +0 -7
- package/dist/calcite/p-4687da0d.entry.js.map +0 -1
- package/dist/calcite/p-469d448c.js +0 -7
- package/dist/calcite/p-487b9975.js +0 -7
- package/dist/calcite/p-4c7ea022.js +0 -7
- package/dist/calcite/p-4f6aa77e.js +0 -7
- package/dist/calcite/p-531b5d19.js +0 -11
- package/dist/calcite/p-589e461d.js +0 -7
- package/dist/calcite/p-59f92c59.js +0 -7
- package/dist/calcite/p-5a15c611.js +0 -7
- package/dist/calcite/p-5a85ea32.js +0 -7
- package/dist/calcite/p-5bff03ca.js +0 -7
- package/dist/calcite/p-5c5a441b.js +0 -7
- package/dist/calcite/p-5dbde633.js +0 -7
- package/dist/calcite/p-5f6efc33.js +0 -7
- package/dist/calcite/p-5ff288ec.entry.js +0 -7
- package/dist/calcite/p-5ff288ec.entry.js.map +0 -1
- package/dist/calcite/p-60577886.entry.js +0 -7
- package/dist/calcite/p-60602682.js +0 -13
- package/dist/calcite/p-61fd76af.entry.js +0 -7
- package/dist/calcite/p-61fd76af.entry.js.map +0 -1
- package/dist/calcite/p-6299b085.entry.js +0 -7
- package/dist/calcite/p-6344dbe5.js +0 -7
- package/dist/calcite/p-63aa5774.js +0 -7
- package/dist/calcite/p-64711667.entry.js +0 -7
- package/dist/calcite/p-6b27f87b.entry.js +0 -7
- package/dist/calcite/p-6b27f87b.entry.js.map +0 -1
- package/dist/calcite/p-6b5d6986.js +0 -7
- package/dist/calcite/p-6c3bc239.js +0 -7
- package/dist/calcite/p-6d6f290d.js +0 -7
- package/dist/calcite/p-6ddec4cc.entry.js +0 -7
- package/dist/calcite/p-70c5e4e5.js +0 -7
- package/dist/calcite/p-72cd1370.js +0 -7
- package/dist/calcite/p-74c221c7.entry.js +0 -7
- package/dist/calcite/p-74c221c7.entry.js.map +0 -1
- package/dist/calcite/p-78094112.js +0 -7
- package/dist/calcite/p-7a3ac80d.js +0 -7
- package/dist/calcite/p-7b25969e.js +0 -7
- package/dist/calcite/p-7c4d1ae1.js +0 -7
- package/dist/calcite/p-7d863ab0.entry.js +0 -7
- package/dist/calcite/p-7d863ab0.entry.js.map +0 -1
- package/dist/calcite/p-7faaedd0.js +0 -7
- package/dist/calcite/p-8297ec11.js +0 -7
- package/dist/calcite/p-8395decb.entry.js +0 -7
- package/dist/calcite/p-8395decb.entry.js.map +0 -1
- package/dist/calcite/p-83a3a97d.entry.js +0 -7
- package/dist/calcite/p-83a3a97d.entry.js.map +0 -1
- package/dist/calcite/p-87323a3c.js +0 -7
- package/dist/calcite/p-87b97aea.js +0 -7
- package/dist/calcite/p-8c588c96.entry.js +0 -7
- package/dist/calcite/p-8c623ae9.js +0 -7
- package/dist/calcite/p-8ddc00d7.js +0 -7
- package/dist/calcite/p-8e11bc58.js +0 -8
- package/dist/calcite/p-8f71258a.entry.js +0 -7
- package/dist/calcite/p-90a1f2d2.entry.js +0 -7
- package/dist/calcite/p-90a1f2d2.entry.js.map +0 -1
- package/dist/calcite/p-90d3be3f.js +0 -7
- package/dist/calcite/p-936703f0.entry.js +0 -7
- package/dist/calcite/p-936703f0.entry.js.map +0 -1
- package/dist/calcite/p-96589414.entry.js +0 -7
- package/dist/calcite/p-9819c208.entry.js +0 -7
- package/dist/calcite/p-98ce9956.entry.js +0 -7
- package/dist/calcite/p-98ce9956.entry.js.map +0 -1
- package/dist/calcite/p-9a507d85.js +0 -7
- package/dist/calcite/p-9b6ddb39.entry.js +0 -7
- package/dist/calcite/p-9ce02ede.entry.js +0 -7
- package/dist/calcite/p-9ce02ede.entry.js.map +0 -1
- package/dist/calcite/p-9e839c85.entry.js +0 -7
- package/dist/calcite/p-9e839c85.entry.js.map +0 -1
- package/dist/calcite/p-a0c0db20.entry.js +0 -7
- package/dist/calcite/p-a30674ce.entry.js +0 -7
- package/dist/calcite/p-a30674ce.entry.js.map +0 -1
- package/dist/calcite/p-a523e517.entry.js +0 -7
- package/dist/calcite/p-a523e517.entry.js.map +0 -1
- package/dist/calcite/p-a832c98b.entry.js +0 -7
- package/dist/calcite/p-a832c98b.entry.js.map +0 -1
- package/dist/calcite/p-a8f93174.entry.js +0 -7
- package/dist/calcite/p-a8f93174.entry.js.map +0 -1
- package/dist/calcite/p-a9a37422.entry.js +0 -7
- package/dist/calcite/p-a9bf1312.entry.js +0 -7
- package/dist/calcite/p-ac388728.entry.js +0 -7
- package/dist/calcite/p-ac5a06b1.entry.js +0 -7
- package/dist/calcite/p-ac66f445.js +0 -7
- package/dist/calcite/p-aef88aff.entry.js +0 -7
- package/dist/calcite/p-aef88aff.entry.js.map +0 -1
- package/dist/calcite/p-afa857c8.js +0 -7
- package/dist/calcite/p-aff67927.js +0 -7
- package/dist/calcite/p-b11602ad.entry.js +0 -7
- package/dist/calcite/p-b1b5779c.entry.js +0 -7
- package/dist/calcite/p-b2d8d3c8.entry.js +0 -7
- package/dist/calcite/p-b2d8d3c8.entry.js.map +0 -1
- package/dist/calcite/p-bae4c522.js +0 -7
- package/dist/calcite/p-bc1f4a76.js +0 -7
- package/dist/calcite/p-bf6306ed.entry.js +0 -7
- package/dist/calcite/p-c0a94a02.js +0 -7
- package/dist/calcite/p-c0bf1a02.js +0 -7
- package/dist/calcite/p-c24020c9.entry.js +0 -7
- package/dist/calcite/p-c24020c9.entry.js.map +0 -1
- package/dist/calcite/p-c4004697.entry.js +0 -7
- package/dist/calcite/p-c5ca933d.entry.js +0 -7
- package/dist/calcite/p-c5ca933d.entry.js.map +0 -1
- package/dist/calcite/p-c928c40c.js +0 -7
- package/dist/calcite/p-ca1515f3.entry.js +0 -7
- package/dist/calcite/p-ca1515f3.entry.js.map +0 -1
- package/dist/calcite/p-cad9ddd3.js +0 -7
- package/dist/calcite/p-cf02cdd3.entry.js +0 -7
- package/dist/calcite/p-cf93e72c.entry.js +0 -7
- package/dist/calcite/p-d0912ffb.entry.js +0 -7
- package/dist/calcite/p-d0912ffb.entry.js.map +0 -1
- package/dist/calcite/p-d170845d.js +0 -7
- package/dist/calcite/p-d3fb7072.js +0 -7
- package/dist/calcite/p-d682da1b.js +0 -7
- package/dist/calcite/p-d6852cd1.js +0 -7
- package/dist/calcite/p-d951e620.entry.js +0 -7
- package/dist/calcite/p-d96b6b05.js +0 -7
- package/dist/calcite/p-dad9098d.js +0 -7
- package/dist/calcite/p-dd7917c5.entry.js +0 -7
- package/dist/calcite/p-dd7917c5.entry.js.map +0 -1
- package/dist/calcite/p-e0004a28.entry.js +0 -7
- package/dist/calcite/p-e039d968.js +0 -7
- package/dist/calcite/p-e1bd46e5.js +0 -7
- package/dist/calcite/p-e1d160f2.js +0 -7
- package/dist/calcite/p-e1f15ae5.entry.js +0 -7
- package/dist/calcite/p-e1f15ae5.entry.js.map +0 -1
- package/dist/calcite/p-e6905977.entry.js +0 -7
- package/dist/calcite/p-e6905977.entry.js.map +0 -1
- package/dist/calcite/p-e713e3c9.entry.js +0 -7
- package/dist/calcite/p-e88af81a.js +0 -7
- package/dist/calcite/p-e8f2f7bf.js +0 -7
- package/dist/calcite/p-ea4f946d.entry.js +0 -7
- package/dist/calcite/p-f198a00c.entry.js +0 -7
- package/dist/calcite/p-f198a00c.entry.js.map +0 -1
- package/dist/calcite/p-f799d124.js +0 -7
- package/dist/calcite/p-faa5f8c6.js +0 -7
- package/dist/calcite/p-fe49b2cf.entry.js +0 -7
- package/dist/calcite/p-ff76e70b.js +0 -7
- package/dist/cjs/ExpandToggle-4dbd23c2.js +0 -110
- package/dist/cjs/ExpandToggle-4dbd23c2.js.map +0 -1
- package/dist/cjs/FloatingArrow-86835ce1.js +0 -49
- package/dist/cjs/FloatingArrow-86835ce1.js.map +0 -1
- package/dist/cjs/Heading-7388f825.js +0 -22
- package/dist/cjs/Heading-7388f825.js.map +0 -1
- package/dist/cjs/Validation-d7988c9f.js +0 -18
- package/dist/cjs/Validation-d7988c9f.js.map +0 -1
- package/dist/cjs/app-globals-070bcac2.js +0 -61
- package/dist/cjs/app-globals-070bcac2.js.map +0 -1
- package/dist/cjs/ar-03542338.js +0 -106
- package/dist/cjs/ar-03542338.js.map +0 -1
- package/dist/cjs/array-1c561efe.js +0 -14
- package/dist/cjs/array-1c561efe.js.map +0 -1
- package/dist/cjs/bg-d53a2e5e.js +0 -84
- package/dist/cjs/bg-d53a2e5e.js.map +0 -1
- package/dist/cjs/browser-a50bf444.js +0 -20
- package/dist/cjs/browser-a50bf444.js.map +0 -1
- package/dist/cjs/bs-5b144a3d.js +0 -53
- package/dist/cjs/bs-5b144a3d.js.map +0 -1
- package/dist/cjs/ca-c4c9ddbe.js +0 -73
- package/dist/cjs/ca-c4c9ddbe.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-5c7b2bf4.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-5c7b2bf4.js.map +0 -1
- package/dist/cjs/component-a5305408.js +0 -30
- package/dist/cjs/component-a5305408.js.map +0 -1
- package/dist/cjs/conditionalSlot-6f34e081.js +0 -60
- package/dist/cjs/conditionalSlot-6f34e081.js.map +0 -1
- package/dist/cjs/cs-f4db76b0.js +0 -149
- package/dist/cjs/cs-f4db76b0.js.map +0 -1
- package/dist/cjs/da-9c6d29aa.js +0 -68
- package/dist/cjs/da-9c6d29aa.js.map +0 -1
- package/dist/cjs/de-a58b92b6.js +0 -93
- package/dist/cjs/de-a58b92b6.js.map +0 -1
- package/dist/cjs/de-at-643037cb.js +0 -92
- package/dist/cjs/de-at-643037cb.js.map +0 -1
- package/dist/cjs/de-ch-a4caad50.js +0 -92
- package/dist/cjs/de-ch-a4caad50.js.map +0 -1
- package/dist/cjs/debounce-a8acdf4b.js +0 -498
- package/dist/cjs/debounce-a8acdf4b.js.map +0 -1
- package/dist/cjs/dom-0a074671.js +0 -1084
- package/dist/cjs/dom-0a074671.js.map +0 -1
- package/dist/cjs/el-9e6ec4bf.js +0 -68
- package/dist/cjs/el-9e6ec4bf.js.map +0 -1
- package/dist/cjs/en-au-b465338c.js +0 -68
- package/dist/cjs/en-au-b465338c.js.map +0 -1
- package/dist/cjs/en-ca-11dd99a5.js +0 -67
- package/dist/cjs/en-ca-11dd99a5.js.map +0 -1
- package/dist/cjs/en-gb-19fd4817.js +0 -71
- package/dist/cjs/en-gb-19fd4817.js.map +0 -1
- package/dist/cjs/es-caf2db3d.js +0 -68
- package/dist/cjs/es-caf2db3d.js.map +0 -1
- package/dist/cjs/es-mx-e7bdb131.js +0 -67
- package/dist/cjs/es-mx-e7bdb131.js.map +0 -1
- package/dist/cjs/et-902b8f3d.js +0 -94
- package/dist/cjs/et-902b8f3d.js.map +0 -1
- package/dist/cjs/fi-9bce72ed.js +0 -117
- package/dist/cjs/fi-9bce72ed.js.map +0 -1
- package/dist/cjs/filter-4aaf5788.js +0 -762
- package/dist/cjs/filter-4aaf5788.js.map +0 -1
- package/dist/cjs/floating-ui-5d586254.js +0 -1981
- package/dist/cjs/floating-ui-5d586254.js.map +0 -1
- package/dist/cjs/focusTrapComponent-21d36eb1.js +0 -1020
- package/dist/cjs/focusTrapComponent-21d36eb1.js.map +0 -1
- package/dist/cjs/form-4f5eaf52.js +0 -333
- package/dist/cjs/form-4f5eaf52.js.map +0 -1
- package/dist/cjs/fr-81ba0d76.js +0 -70
- package/dist/cjs/fr-81ba0d76.js.map +0 -1
- package/dist/cjs/fr-ch-7bd5e37a.js +0 -68
- package/dist/cjs/fr-ch-7bd5e37a.js.map +0 -1
- package/dist/cjs/guid-3fcabc4c.js +0 -23
- package/dist/cjs/guid-3fcabc4c.js.map +0 -1
- package/dist/cjs/he-ac2713fc.js +0 -107
- package/dist/cjs/he-ac2713fc.js.map +0 -1
- package/dist/cjs/hi-d11cc600.js +0 -67
- package/dist/cjs/hi-d11cc600.js.map +0 -1
- package/dist/cjs/hr-8bce1f14.js +0 -82
- package/dist/cjs/hr-8bce1f14.js.map +0 -1
- package/dist/cjs/hu-ab641a51.js +0 -90
- package/dist/cjs/hu-ab641a51.js.map +0 -1
- package/dist/cjs/id-bf131cd9.js +0 -68
- package/dist/cjs/id-bf131cd9.js.map +0 -1
- package/dist/cjs/index-365d743d.js +0 -208
- package/dist/cjs/index-365d743d.js.map +0 -1
- package/dist/cjs/index-51ee30a2.js +0 -75
- package/dist/cjs/index-51ee30a2.js.map +0 -1
- package/dist/cjs/index-c03ace08.js +0 -2659
- package/dist/cjs/index-c03ace08.js.map +0 -1
- package/dist/cjs/input-d3ca2373.js +0 -57
- package/dist/cjs/input-d3ca2373.js.map +0 -1
- package/dist/cjs/interactive-347324e6.js +0 -151
- package/dist/cjs/interactive-347324e6.js.map +0 -1
- package/dist/cjs/it-083686c6.js +0 -68
- package/dist/cjs/it-083686c6.js.map +0 -1
- package/dist/cjs/it-ch-22c8f329.js +0 -68
- package/dist/cjs/it-ch-22c8f329.js.map +0 -1
- package/dist/cjs/ja-4251661e.js +0 -74
- package/dist/cjs/ja-4251661e.js.map +0 -1
- package/dist/cjs/key-98de85a0.js +0 -16
- package/dist/cjs/key-98de85a0.js.map +0 -1
- package/dist/cjs/ko-0e4b939f.js +0 -74
- package/dist/cjs/ko-0e4b939f.js.map +0 -1
- package/dist/cjs/label-e3bd8cea.js +0 -183
- package/dist/cjs/label-e3bd8cea.js.map +0 -1
- package/dist/cjs/loadable-1f3b5059.js +0 -91
- package/dist/cjs/loadable-1f3b5059.js.map +0 -1
- package/dist/cjs/locale-13ecbc55.js +0 -576
- package/dist/cjs/locale-13ecbc55.js.map +0 -1
- package/dist/cjs/lt-982e0762.js +0 -99
- package/dist/cjs/lt-982e0762.js.map +0 -1
- package/dist/cjs/lv-61130b19.js +0 -68
- package/dist/cjs/lv-61130b19.js.map +0 -1
- package/dist/cjs/math-450bb81e.js +0 -57
- package/dist/cjs/math-450bb81e.js.map +0 -1
- package/dist/cjs/mk-1c7cd9fe.js +0 -68
- package/dist/cjs/mk-1c7cd9fe.js.map +0 -1
- package/dist/cjs/nb-ad966afc.js +0 -69
- package/dist/cjs/nb-ad966afc.js.map +0 -1
- package/dist/cjs/nl-65995781.js +0 -69
- package/dist/cjs/nl-65995781.js.map +0 -1
- package/dist/cjs/observers-00c378d0.js +0 -50
- package/dist/cjs/observers-00c378d0.js.map +0 -1
- package/dist/cjs/openCloseComponent-3b31db3a.js +0 -89
- package/dist/cjs/openCloseComponent-3b31db3a.js.map +0 -1
- package/dist/cjs/pl-949839a5.js +0 -116
- package/dist/cjs/pl-949839a5.js.map +0 -1
- package/dist/cjs/pt-061d6c73.js +0 -69
- package/dist/cjs/pt-061d6c73.js.map +0 -1
- package/dist/cjs/pt-br-68384f39.js +0 -67
- package/dist/cjs/pt-br-68384f39.js.map +0 -1
- package/dist/cjs/resources-07f679fe.js +0 -26
- package/dist/cjs/resources-07f679fe.js.map +0 -1
- package/dist/cjs/resources-7b49027c.js +0 -17
- package/dist/cjs/resources-7b49027c.js.map +0 -1
- package/dist/cjs/resources-8b0d01d5.js +0 -23
- package/dist/cjs/resources-8b0d01d5.js.map +0 -1
- package/dist/cjs/resources-8da07087.js +0 -26
- package/dist/cjs/resources-8da07087.js.map +0 -1
- package/dist/cjs/resources-d9b8b245.js +0 -29
- package/dist/cjs/resources-d9b8b245.js.map +0 -1
- package/dist/cjs/resources-e20930a1.js +0 -414
- package/dist/cjs/resources-e20930a1.js.map +0 -1
- package/dist/cjs/resources-ee47f97e.js +0 -49
- package/dist/cjs/resources-ee47f97e.js.map +0 -1
- package/dist/cjs/ro-68cb4fea.js +0 -68
- package/dist/cjs/ro-68cb4fea.js.map +0 -1
- package/dist/cjs/ru-eda7818b.js +0 -128
- package/dist/cjs/ru-eda7818b.js.map +0 -1
- package/dist/cjs/sk-861566da.js +0 -150
- package/dist/cjs/sk-861566da.js.map +0 -1
- package/dist/cjs/sl-929a7791.js +0 -170
- package/dist/cjs/sl-929a7791.js.map +0 -1
- package/dist/cjs/sortableComponent-1483177a.js +0 -2744
- package/dist/cjs/sortableComponent-1483177a.js.map +0 -1
- package/dist/cjs/sr-f9dedef0.js +0 -103
- package/dist/cjs/sr-f9dedef0.js.map +0 -1
- package/dist/cjs/sv-19c08a2e.js +0 -73
- package/dist/cjs/sv-19c08a2e.js.map +0 -1
- package/dist/cjs/t9n-feca7cac.js +0 -97
- package/dist/cjs/t9n-feca7cac.js.map +0 -1
- package/dist/cjs/th-bf40f2cf.js +0 -67
- package/dist/cjs/th-bf40f2cf.js.map +0 -1
- package/dist/cjs/throttle-8d98f3b6.js +0 -77
- package/dist/cjs/throttle-8d98f3b6.js.map +0 -1
- package/dist/cjs/tr-3ae0ec20.js +0 -68
- package/dist/cjs/tr-3ae0ec20.js.map +0 -1
- package/dist/cjs/uk-aeb91de1.js +0 -106
- package/dist/cjs/uk-aeb91de1.js.map +0 -1
- package/dist/cjs/utils-0e0039a9.js +0 -307
- package/dist/cjs/utils-0e0039a9.js.map +0 -1
- package/dist/cjs/utils-6838d870.js +0 -218
- package/dist/cjs/utils-6838d870.js.map +0 -1
- package/dist/cjs/vi-bcaf5099.js +0 -72
- package/dist/cjs/vi-bcaf5099.js.map +0 -1
- package/dist/cjs/zh-cn-1b9612b8.js +0 -96
- package/dist/cjs/zh-cn-1b9612b8.js.map +0 -1
- package/dist/cjs/zh-hk-8d29cc15.js +0 -73
- package/dist/cjs/zh-hk-8d29cc15.js.map +0 -1
- package/dist/cjs/zh-tw-83f2c66d.js +0 -94
- package/dist/cjs/zh-tw-83f2c66d.js.map +0 -1
- package/dist/collection/components/tile-group/interfaces.js +0 -2
- package/dist/collection/components/tile-group/interfaces.js.map +0 -1
- package/dist/esm/ExpandToggle-6c7ea20c.js +0 -102
- package/dist/esm/ExpandToggle-6c7ea20c.js.map +0 -1
- package/dist/esm/FloatingArrow-7170ca24.js +0 -47
- package/dist/esm/FloatingArrow-7170ca24.js.map +0 -1
- package/dist/esm/Heading-c8c0b106.js +0 -19
- package/dist/esm/Heading-c8c0b106.js.map +0 -1
- package/dist/esm/Validation-a5e6d015.js +0 -16
- package/dist/esm/Validation-a5e6d015.js.map +0 -1
- package/dist/esm/app-globals-696eb4de.js +0 -59
- package/dist/esm/app-globals-696eb4de.js.map +0 -1
- package/dist/esm/ar-7ff91b4c.js +0 -104
- package/dist/esm/ar-7ff91b4c.js.map +0 -1
- package/dist/esm/array-51560195.js +0 -12
- package/dist/esm/array-51560195.js.map +0 -1
- package/dist/esm/bg-6c36dd43.js +0 -82
- package/dist/esm/bg-6c36dd43.js.map +0 -1
- package/dist/esm/browser-0a99d35d.js +0 -18
- package/dist/esm/browser-0a99d35d.js.map +0 -1
- package/dist/esm/bs-5fa5d2c8.js +0 -51
- package/dist/esm/bs-5fa5d2c8.js.map +0 -1
- package/dist/esm/ca-be632109.js +0 -71
- package/dist/esm/ca-be632109.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9b30c3c2.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-9b30c3c2.js.map +0 -1
- package/dist/esm/component-7d6e3d7c.js +0 -27
- package/dist/esm/component-7d6e3d7c.js.map +0 -1
- package/dist/esm/conditionalSlot-718cf360.js +0 -57
- package/dist/esm/conditionalSlot-718cf360.js.map +0 -1
- package/dist/esm/cs-b539ccd9.js +0 -147
- package/dist/esm/cs-b539ccd9.js.map +0 -1
- package/dist/esm/da-995821b2.js +0 -66
- package/dist/esm/da-995821b2.js.map +0 -1
- package/dist/esm/de-at-4ab6246d.js +0 -90
- package/dist/esm/de-at-4ab6246d.js.map +0 -1
- package/dist/esm/de-ch-4f09d3d6.js +0 -90
- package/dist/esm/de-ch-4f09d3d6.js.map +0 -1
- package/dist/esm/de-ec8205b7.js +0 -91
- package/dist/esm/de-ec8205b7.js.map +0 -1
- package/dist/esm/debounce-9027a1d6.js +0 -489
- package/dist/esm/debounce-9027a1d6.js.map +0 -1
- package/dist/esm/dom-02631e54.js +0 -1053
- package/dist/esm/dom-02631e54.js.map +0 -1
- package/dist/esm/el-5665b5bf.js +0 -66
- package/dist/esm/el-5665b5bf.js.map +0 -1
- package/dist/esm/en-au-c97e0f50.js +0 -66
- package/dist/esm/en-au-c97e0f50.js.map +0 -1
- package/dist/esm/en-ca-9b82032f.js +0 -65
- package/dist/esm/en-ca-9b82032f.js.map +0 -1
- package/dist/esm/en-gb-0c2e1fc9.js +0 -69
- package/dist/esm/en-gb-0c2e1fc9.js.map +0 -1
- package/dist/esm/es-8a787cb8.js +0 -66
- package/dist/esm/es-8a787cb8.js.map +0 -1
- package/dist/esm/es-mx-156531ee.js +0 -65
- package/dist/esm/es-mx-156531ee.js.map +0 -1
- package/dist/esm/et-470cab77.js +0 -92
- package/dist/esm/et-470cab77.js.map +0 -1
- package/dist/esm/fi-c0f1b1e2.js +0 -115
- package/dist/esm/fi-c0f1b1e2.js.map +0 -1
- package/dist/esm/filter-2f22a500.js +0 -760
- package/dist/esm/filter-2f22a500.js.map +0 -1
- package/dist/esm/floating-ui-75200c10.js +0 -1973
- package/dist/esm/floating-ui-75200c10.js.map +0 -1
- package/dist/esm/focusTrapComponent-f9006659.js +0 -1015
- package/dist/esm/focusTrapComponent-f9006659.js.map +0 -1
- package/dist/esm/form-b97666c1.js +0 -324
- package/dist/esm/form-b97666c1.js.map +0 -1
- package/dist/esm/fr-892f41cb.js +0 -68
- package/dist/esm/fr-892f41cb.js.map +0 -1
- package/dist/esm/fr-ch-65ffb06b.js +0 -66
- package/dist/esm/fr-ch-65ffb06b.js.map +0 -1
- package/dist/esm/guid-369e2a0e.js +0 -21
- package/dist/esm/guid-369e2a0e.js.map +0 -1
- package/dist/esm/he-21b3d5ed.js +0 -105
- package/dist/esm/he-21b3d5ed.js.map +0 -1
- package/dist/esm/hi-959d3d9f.js +0 -65
- package/dist/esm/hi-959d3d9f.js.map +0 -1
- package/dist/esm/hr-7796d6d4.js +0 -80
- package/dist/esm/hr-7796d6d4.js.map +0 -1
- package/dist/esm/hu-0785f6bd.js +0 -88
- package/dist/esm/hu-0785f6bd.js.map +0 -1
- package/dist/esm/id-ee539b66.js +0 -66
- package/dist/esm/id-ee539b66.js.map +0 -1
- package/dist/esm/index-3ec2d5f9.js +0 -2624
- package/dist/esm/index-3ec2d5f9.js.map +0 -1
- package/dist/esm/index-581693bc.js +0 -73
- package/dist/esm/index-581693bc.js.map +0 -1
- package/dist/esm/index-a2ba13e9.js +0 -206
- package/dist/esm/index-a2ba13e9.js.map +0 -1
- package/dist/esm/input-5570c50b.js +0 -55
- package/dist/esm/input-5570c50b.js.map +0 -1
- package/dist/esm/interactive-5bad1c5a.js +0 -146
- package/dist/esm/interactive-5bad1c5a.js.map +0 -1
- package/dist/esm/it-ch-e5842e8f.js +0 -66
- package/dist/esm/it-ch-e5842e8f.js.map +0 -1
- package/dist/esm/it-feec1b8f.js +0 -66
- package/dist/esm/it-feec1b8f.js.map +0 -1
- package/dist/esm/ja-305e42f3.js +0 -72
- package/dist/esm/ja-305e42f3.js.map +0 -1
- package/dist/esm/key-577398f3.js +0 -13
- package/dist/esm/key-577398f3.js.map +0 -1
- package/dist/esm/ko-1357901a.js +0 -72
- package/dist/esm/ko-1357901a.js.map +0 -1
- package/dist/esm/label-9780faf3.js +0 -176
- package/dist/esm/label-9780faf3.js.map +0 -1
- package/dist/esm/loadable-17115263.js +0 -86
- package/dist/esm/loadable-17115263.js.map +0 -1
- package/dist/esm/locale-80de65f8.js +0 -563
- package/dist/esm/locale-80de65f8.js.map +0 -1
- package/dist/esm/lt-903168a9.js +0 -97
- package/dist/esm/lt-903168a9.js.map +0 -1
- package/dist/esm/lv-ed348197.js +0 -66
- package/dist/esm/lv-ed348197.js.map +0 -1
- package/dist/esm/math-31fe3092.js +0 -51
- package/dist/esm/math-31fe3092.js.map +0 -1
- package/dist/esm/mk-e8d5385a.js +0 -66
- package/dist/esm/mk-e8d5385a.js.map +0 -1
- package/dist/esm/nb-f36562cb.js +0 -67
- package/dist/esm/nb-f36562cb.js.map +0 -1
- package/dist/esm/nl-1c3a8193.js +0 -67
- package/dist/esm/nl-1c3a8193.js.map +0 -1
- package/dist/esm/observers-a3a17cf6.js +0 -48
- package/dist/esm/observers-a3a17cf6.js.map +0 -1
- package/dist/esm/openCloseComponent-b89259dc.js +0 -87
- package/dist/esm/openCloseComponent-b89259dc.js.map +0 -1
- package/dist/esm/pl-d3a4390a.js +0 -114
- package/dist/esm/pl-d3a4390a.js.map +0 -1
- package/dist/esm/pt-br-fd84a7c3.js +0 -65
- package/dist/esm/pt-br-fd84a7c3.js.map +0 -1
- package/dist/esm/pt-d9b84217.js +0 -67
- package/dist/esm/pt-d9b84217.js.map +0 -1
- package/dist/esm/resources-5e653fe8.js +0 -23
- package/dist/esm/resources-5e653fe8.js.map +0 -1
- package/dist/esm/resources-710c14ab.js +0 -45
- package/dist/esm/resources-710c14ab.js.map +0 -1
- package/dist/esm/resources-afed96d6.js +0 -17
- package/dist/esm/resources-afed96d6.js.map +0 -1
- package/dist/esm/resources-cd21f4ff.js +0 -387
- package/dist/esm/resources-cd21f4ff.js.map +0 -1
- package/dist/esm/resources-cdcc0207.js +0 -25
- package/dist/esm/resources-cdcc0207.js.map +0 -1
- package/dist/esm/resources-d108e329.js +0 -19
- package/dist/esm/resources-d108e329.js.map +0 -1
- package/dist/esm/resources-e7c215b4.js +0 -21
- package/dist/esm/resources-e7c215b4.js.map +0 -1
- package/dist/esm/ro-139caf9f.js +0 -66
- package/dist/esm/ro-139caf9f.js.map +0 -1
- package/dist/esm/ru-4ec637b5.js +0 -126
- package/dist/esm/ru-4ec637b5.js.map +0 -1
- package/dist/esm/sk-943e3561.js +0 -148
- package/dist/esm/sk-943e3561.js.map +0 -1
- package/dist/esm/sl-85cb97d2.js +0 -168
- package/dist/esm/sl-85cb97d2.js.map +0 -1
- package/dist/esm/sortableComponent-e8eaaa20.js +0 -2740
- package/dist/esm/sortableComponent-e8eaaa20.js.map +0 -1
- package/dist/esm/sr-86d94f54.js +0 -101
- package/dist/esm/sr-86d94f54.js.map +0 -1
- package/dist/esm/sv-e96ac28b.js +0 -71
- package/dist/esm/sv-e96ac28b.js.map +0 -1
- package/dist/esm/t9n-6ee149f0.js +0 -92
- package/dist/esm/t9n-6ee149f0.js.map +0 -1
- package/dist/esm/th-dd123fd5.js +0 -65
- package/dist/esm/th-dd123fd5.js.map +0 -1
- package/dist/esm/throttle-22c32ad0.js +0 -75
- package/dist/esm/throttle-22c32ad0.js.map +0 -1
- package/dist/esm/tr-becddaec.js +0 -66
- package/dist/esm/tr-becddaec.js.map +0 -1
- package/dist/esm/uk-ae499fb2.js +0 -104
- package/dist/esm/uk-ae499fb2.js.map +0 -1
- package/dist/esm/utils-7d30e104.js +0 -289
- package/dist/esm/utils-7d30e104.js.map +0 -1
- package/dist/esm/utils-c6f881d7.js +0 -200
- package/dist/esm/utils-c6f881d7.js.map +0 -1
- package/dist/esm/vi-75f9389e.js +0 -70
- package/dist/esm/vi-75f9389e.js.map +0 -1
- package/dist/esm/zh-cn-8001e1c7.js +0 -94
- package/dist/esm/zh-cn-8001e1c7.js.map +0 -1
- package/dist/esm/zh-hk-a3d3fc0a.js +0 -71
- package/dist/esm/zh-hk-a3d3fc0a.js.map +0 -1
- package/dist/esm/zh-tw-b20b2d87.js +0 -92
- package/dist/esm/zh-tw-b20b2d87.js.map +0 -1
- package/dist/types/components/tile-group/interfaces.d.ts +0 -1
- /package/dist/calcite/{p-134c3f99.entry.js.map → p-0263cc85.entry.js.map} +0 -0
- /package/dist/calcite/{p-e713e3c9.entry.js.map → p-044bf4ab.entry.js.map} +0 -0
- /package/dist/calcite/{p-d951e620.entry.js.map → p-055d41f9.entry.js.map} +0 -0
- /package/dist/calcite/{p-3e522c56.js.map → p-05cd5e85.js.map} +0 -0
- /package/dist/calcite/{p-ac66f445.js.map → p-0646f72c.js.map} +0 -0
- /package/dist/calcite/{p-d6852cd1.js.map → p-082e250a.js.map} +0 -0
- /package/dist/calcite/{p-1e6f79e9.js.map → p-09387ee2.js.map} +0 -0
- /package/dist/calcite/{p-0c244b93.js.map → p-094f0daa.js.map} +0 -0
- /package/dist/calcite/{p-b1b5779c.entry.js.map → p-0ae1d432.entry.js.map} +0 -0
- /package/dist/calcite/{p-ac388728.entry.js.map → p-0cbc636b.entry.js.map} +0 -0
- /package/dist/calcite/{p-96589414.entry.js.map → p-0d12ac40.entry.js.map} +0 -0
- /package/dist/calcite/{p-2f49566e.js.map → p-0d57d83b.js.map} +0 -0
- /package/dist/calcite/{p-cf02cdd3.entry.js.map → p-11bf4aed.entry.js.map} +0 -0
- /package/dist/calcite/{p-531b5d19.js.map → p-1515f181.js.map} +0 -0
- /package/dist/calcite/{p-589e461d.js.map → p-17c1a51b.js.map} +0 -0
- /package/dist/calcite/{p-e1bd46e5.js.map → p-188a7274.js.map} +0 -0
- /package/dist/calcite/{p-d682da1b.js.map → p-1d16dd64.js.map} +0 -0
- /package/dist/calcite/{p-f799d124.js.map → p-1d429cc5.js.map} +0 -0
- /package/dist/calcite/{p-8c588c96.entry.js.map → p-1e650845.entry.js.map} +0 -0
- /package/dist/calcite/{p-63aa5774.js.map → p-1ffd8b68.js.map} +0 -0
- /package/dist/calcite/{p-e1d160f2.js.map → p-2448987f.js.map} +0 -0
- /package/dist/calcite/{p-4f6aa77e.js.map → p-24f06808.js.map} +0 -0
- /package/dist/calcite/{p-e88af81a.js.map → p-282b9e09.js.map} +0 -0
- /package/dist/calcite/{p-12a7f5f7.js.map → p-2a45d8ac.js.map} +0 -0
- /package/dist/calcite/{p-29865f6a.js.map → p-2d787492.js.map} +0 -0
- /package/dist/calcite/{p-24ff98f7.js.map → p-329f2c82.js.map} +0 -0
- /package/dist/calcite/{p-90d3be3f.js.map → p-33ab3dc7.js.map} +0 -0
- /package/dist/calcite/{p-a9a37422.entry.js.map → p-33e6c081.entry.js.map} +0 -0
- /package/dist/calcite/{p-45430719.js.map → p-378507d3.js.map} +0 -0
- /package/dist/calcite/{p-78094112.js.map → p-38142fab.js.map} +0 -0
- /package/dist/calcite/{p-25683e8e.js.map → p-3b7f927d.js.map} +0 -0
- /package/dist/calcite/{p-5c5a441b.js.map → p-3ba64fdd.js.map} +0 -0
- /package/dist/calcite/{p-6ddec4cc.entry.js.map → p-3c60a6b1.entry.js.map} +0 -0
- /package/dist/calcite/{p-3ce88b03.js.map → p-3e92a6e4.js.map} +0 -0
- /package/dist/calcite/{p-a0c0db20.entry.js.map → p-403c1170.entry.js.map} +0 -0
- /package/dist/calcite/{p-87323a3c.js.map → p-40a35031.js.map} +0 -0
- /package/dist/calcite/{p-ac5a06b1.entry.js.map → p-41eb2cc4.entry.js.map} +0 -0
- /package/dist/calcite/{p-18ea01a3.js.map → p-42a34e09.js.map} +0 -0
- /package/dist/calcite/{p-7b25969e.js.map → p-431b42f1.js.map} +0 -0
- /package/dist/calcite/{p-72cd1370.js.map → p-43c7faa1.js.map} +0 -0
- /package/dist/calcite/{p-03ace575.js.map → p-4880529d.js.map} +0 -0
- /package/dist/calcite/{p-70c5e4e5.js.map → p-4a194ced.js.map} +0 -0
- /package/dist/calcite/{p-60577886.entry.js.map → p-4b460393.entry.js.map} +0 -0
- /package/dist/calcite/{p-bc1f4a76.js.map → p-4d035661.js.map} +0 -0
- /package/dist/calcite/{p-dad9098d.js.map → p-4e65b06e.js.map} +0 -0
- /package/dist/calcite/{p-e039d968.js.map → p-4eec7607.js.map} +0 -0
- /package/dist/calcite/{p-30eba86a.js.map → p-5385df1b.js.map} +0 -0
- /package/dist/calcite/{p-415ca6b6.entry.js.map → p-542b3dcd.entry.js.map} +0 -0
- /package/dist/calcite/{p-d96b6b05.js.map → p-5c553da2.js.map} +0 -0
- /package/dist/calcite/{p-5a85ea32.js.map → p-5c7632ec.js.map} +0 -0
- /package/dist/calcite/{p-bf6306ed.entry.js.map → p-5c86551c.entry.js.map} +0 -0
- /package/dist/calcite/{p-41210047.js.map → p-5d5d5f83.js.map} +0 -0
- /package/dist/calcite/{p-c0a94a02.js.map → p-604cb185.js.map} +0 -0
- /package/dist/calcite/{p-6299b085.entry.js.map → p-61549382.entry.js.map} +0 -0
- /package/dist/calcite/{p-1014a37f.js.map → p-61ec7902.js.map} +0 -0
- /package/dist/calcite/{p-8c623ae9.js.map → p-62f1ac64.js.map} +0 -0
- /package/dist/calcite/{p-e8f2f7bf.js.map → p-65ec787c.js.map} +0 -0
- /package/dist/calcite/{p-ea4f946d.entry.js.map → p-67b5d162.entry.js.map} +0 -0
- /package/dist/calcite/{p-bae4c522.js.map → p-70a77e30.js.map} +0 -0
- /package/dist/calcite/{p-9b6ddb39.entry.js.map → p-74a39fed.entry.js.map} +0 -0
- /package/dist/calcite/{p-149dfb81.js.map → p-75a52371.js.map} +0 -0
- /package/dist/calcite/{p-12f20a88.js.map → p-77b97148.js.map} +0 -0
- /package/dist/calcite/{p-c0bf1a02.js.map → p-7b412f55.js.map} +0 -0
- /package/dist/calcite/{p-87b97aea.js.map → p-7fcaf8da.js.map} +0 -0
- /package/dist/calcite/{p-487b9975.js.map → p-816a2393.js.map} +0 -0
- /package/dist/calcite/{p-aff67927.js.map → p-8234e328.js.map} +0 -0
- /package/dist/calcite/{p-59f92c59.js.map → p-867e447e.js.map} +0 -0
- /package/dist/calcite/{p-5bff03ca.js.map → p-8779fb98.js.map} +0 -0
- /package/dist/calcite/{p-b11602ad.entry.js.map → p-88e85d64.entry.js.map} +0 -0
- /package/dist/calcite/{p-d3fb7072.js.map → p-8a3a7496.js.map} +0 -0
- /package/dist/calcite/{p-24bf0ac6.js.map → p-8a7e13cc.js.map} +0 -0
- /package/dist/calcite/{p-1a3f03ac.js.map → p-8c896d3b.js.map} +0 -0
- /package/dist/calcite/{p-22ae1d01.js.map → p-952755d5.js.map} +0 -0
- /package/dist/calcite/{p-6b5d6986.js.map → p-95fdefa9.js.map} +0 -0
- /package/dist/calcite/{p-7faaedd0.js.map → p-96040101.js.map} +0 -0
- /package/dist/calcite/{p-2f29b82b.js.map → p-99bbb6eb.js.map} +0 -0
- /package/dist/calcite/{p-2e426bde.js.map → p-9c44b85f.js.map} +0 -0
- /package/dist/calcite/{p-3976bae3.js.map → p-9de38c62.js.map} +0 -0
- /package/dist/calcite/{p-2f86f13c.entry.js.map → p-9ea0ecdc.entry.js.map} +0 -0
- /package/dist/calcite/{p-5f6efc33.js.map → p-9ea52484.js.map} +0 -0
- /package/dist/calcite/{p-9819c208.entry.js.map → p-a2d21863.entry.js.map} +0 -0
- /package/dist/calcite/{p-35a9fd22.js.map → p-a534e089.js.map} +0 -0
- /package/dist/calcite/{p-3084a4eb.js.map → p-a6243d9a.js.map} +0 -0
- /package/dist/calcite/{p-fe49b2cf.entry.js.map → p-a6a01135.entry.js.map} +0 -0
- /package/dist/calcite/{p-249b4136.entry.js.map → p-a83dc143.entry.js.map} +0 -0
- /package/dist/calcite/{p-1334c335.js.map → p-a9588274.js.map} +0 -0
- /package/dist/calcite/{p-8ddc00d7.js.map → p-abbb0fef.js.map} +0 -0
- /package/dist/calcite/{p-34a82cf5.js.map → p-b008f8b1.js.map} +0 -0
- /package/dist/calcite/{p-4c7ea022.js.map → p-b04fd81d.js.map} +0 -0
- /package/dist/calcite/{p-5dbde633.js.map → p-b0528b4b.js.map} +0 -0
- /package/dist/calcite/{p-6c3bc239.js.map → p-b315861a.js.map} +0 -0
- /package/dist/calcite/{p-c928c40c.js.map → p-bb2d18c7.js.map} +0 -0
- /package/dist/calcite/{p-7c4d1ae1.js.map → p-bbcbc447.js.map} +0 -0
- /package/dist/calcite/{p-358eb5ce.js.map → p-bd337fda.js.map} +0 -0
- /package/dist/calcite/{p-366f1b6f.entry.js.map → p-be623834.entry.js.map} +0 -0
- /package/dist/calcite/{p-6d6f290d.js.map → p-c1fd275d.js.map} +0 -0
- /package/dist/calcite/{p-7a3ac80d.js.map → p-c35042d2.js.map} +0 -0
- /package/dist/calcite/{p-c4004697.entry.js.map → p-c4425c57.entry.js.map} +0 -0
- /package/dist/calcite/{p-6344dbe5.js.map → p-c5234a25.js.map} +0 -0
- /package/dist/calcite/{p-e0004a28.entry.js.map → p-c786245f.entry.js.map} +0 -0
- /package/dist/calcite/{p-428cfa69.js.map → p-c995ac63.js.map} +0 -0
- /package/dist/calcite/{p-ff76e70b.js.map → p-d2d97ba1.js.map} +0 -0
- /package/dist/calcite/{p-9a507d85.js.map → p-d3eec7ba.js.map} +0 -0
- /package/dist/calcite/{p-13672b47.js.map → p-d60a88f2.js.map} +0 -0
- /package/dist/calcite/{p-faa5f8c6.js.map → p-d87f074f.js.map} +0 -0
- /package/dist/calcite/{p-469d448c.js.map → p-da276851.js.map} +0 -0
- /package/dist/calcite/{p-cad9ddd3.js.map → p-db1036f9.js.map} +0 -0
- /package/dist/calcite/{p-082fe7fd.js.map → p-dca6be82.js.map} +0 -0
- /package/dist/calcite/{p-64711667.entry.js.map → p-ddc7240b.entry.js.map} +0 -0
- /package/dist/calcite/{p-d170845d.js.map → p-e5e6159c.js.map} +0 -0
- /package/dist/calcite/{p-afa857c8.js.map → p-e6c1f4e0.js.map} +0 -0
- /package/dist/calcite/{p-2af1807e.entry.js.map → p-e91b94c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-0fb71182.js.map → p-ea1f6afc.js.map} +0 -0
- /package/dist/calcite/{p-8297ec11.js.map → p-ef763c60.js.map} +0 -0
- /package/dist/calcite/{p-a9bf1312.entry.js.map → p-f2b68499.entry.js.map} +0 -0
- /package/dist/calcite/{p-2535e52c.js.map → p-f315c5f7.js.map} +0 -0
- /package/dist/calcite/{p-60602682.js.map → p-f36a0721.js.map} +0 -0
- /package/dist/calcite/{p-cf93e72c.entry.js.map → p-f5f4d657.entry.js.map} +0 -0
- /package/dist/calcite/{p-8e11bc58.js.map → p-f8f9cef3.js.map} +0 -0
- /package/dist/calcite/{p-8f71258a.entry.js.map → p-f97a4e17.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a15c611.js.map → p-ff8fc6a4.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,f as t,h as i,H as n,g as o,c as s,F as r}from"./p-8e11bc58.js";import{s as a,l as c,d as l,g as h}from"./p-3084a4eb.js";import{s as d,a as u,c as f}from"./p-149dfb81.js";import{c as m,d as p}from"./p-5dbde633.js";import{u as v,c as b,s as g,d as y}from"./p-35a9fd22.js";import{C as x}from"./p-59f92c59.js";import"./p-e1d160f2.js";import"./p-5a15c611.js";import"./p-3ce88b03.js";const w=":host{display:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(t){e(this,t);this.menuItems=[];this.handleMenuSlotChange=e=>{this.menuItems=a(e);this.setMenuItemLayout(this.menuItems,this.layout)};this.label=undefined;this.layout="horizontal";this.messageOverrides=undefined;this.messages=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}handleGlobalAttributesChanged(){t(this);this.setMenuItemLayout(this.menuItems,this.layout)}handleLayoutChange(e){this.setMenuItemLayout(this.menuItems,e)}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){m(this);b(this)}async componentWillLoad(){d(this);await g(this)}componentDidLoad(){u(this)}disconnectedCallback(){p(this);y(this)}async setFocus(){await f(this);this.el.focus()}calciteInternalNavMenuItemKeyEvent(e){const t=e.target;const i=e.detail.children;const n=e.detail.event.key;e.stopPropagation();if(n==="ArrowDown"){if(t.layout==="vertical"){c(this.menuItems,t,"next",false)}else{if(e.detail.isSubmenuOpen){i[0].setFocus()}}}else if(n==="ArrowUp"){if(this.layout==="vertical"){c(this.menuItems,t,"previous",false)}else{if(e.detail.isSubmenuOpen){i[i.length-1].setFocus()}}}else if(n==="ArrowRight"){if(this.layout==="horizontal"){c(this.menuItems,t,"next",false)}else{if(e.detail.isSubmenuOpen){i[0].setFocus()}}}else if(n==="ArrowLeft"){if(this.layout==="horizontal"){c(this.menuItems,t,"previous",false)}else{if(e.detail.isSubmenuOpen){this.focusParentElement(e.target)}}}else if(n==="Escape"){this.focusParentElement(e.target)}e.preventDefault()}focusParentElement(e){const t=e.parentElement;if(t){l(t);t.open=false}}setMenuItemLayout(e,t){e.forEach((e=>{e.layout=t;if(this.getEffectiveRole()==="menubar"){e.isTopLevelItem=true;e.topLevelMenuLayout=this.layout}}))}getEffectiveRole(){return this.el.getAttribute("role")||"menubar"}render(){return i(n,null,i("ul",{"aria-label":this.label,role:this.getEffectiveRole()},i("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{role:["handleGlobalAttributesChanged"],layout:["handleLayoutChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=w;const z={container:"container",content:"content",dropdownVertical:"dropdown--vertical",dropdownMenuItems:"dropdown-menu-items",dropdownAction:"dropdown-action",layoutVertical:"layout--vertical",hoverHrefIcon:"hover-href-icon",icon:"icon",iconBreadcrumb:"icon--breadcrumb",iconDropdown:"icon--dropdown",iconEnd:"icon--end",iconStart:"icon--start",isParentVertical:"parent--vertical",itemContent:"item-content",open:"open",nested:"nested",textContainer:"text-container"};const C=':host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2)}.content:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2);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 )}.content:active{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand)}:host([active]) .content .icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host([layout=vertical]) .content{padding-inline:0.75rem}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:0.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:0.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-color-text-3)}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:0.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:0.5rem}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-color-foreground-1)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-color-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-color-text-1);border-inline-start:1px solid var(--calcite-color-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-color-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);inset-block-start:100%;z-index:var(--calcite-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}';const I=class{constructor(t){e(this,t);this.calciteInternalMenuItemKeyEvent=s(this,"calciteInternalMenuItemKeyEvent",7);this.calciteMenuItemSelect=s(this,"calciteMenuItemSelect",7);this.clickHandler=e=>{if(this.href&&e.target===this.dropdownActionEl||!this.href&&this.hasSubmenu){this.open=!this.open}this.selectMenuItem(e)};this.handleMenuItemSlotChange=e=>{this.submenuItems=a(e);this.submenuItems.forEach((e=>{if(!e.topLevelMenuLayout){e.topLevelMenuLayout=this.topLevelMenuLayout}}));this.hasSubmenu=this.submenuItems.length>0};this.keyDownHandler=async e=>{const{hasSubmenu:t,href:i,layout:n,open:o,submenuItems:s}=this;const r=e.key;const a=e.target===this.dropdownActionEl;if(r===" "||r==="Enter"){if(t&&(!i||i&&a)){this.open=!o}if(!(i&&a)&&r!=="Enter"){this.selectMenuItem(e)}if(r===" "||i&&a){e.preventDefault()}}else if(r==="Escape"){if(o){this.open=false;return}this.calciteInternalMenuItemKeyEvent.emit({event:e});e.preventDefault()}else if(r==="ArrowDown"||r==="ArrowUp"){e.preventDefault();if((a||!i)&&t&&!o&&n==="horizontal"){this.open=true;return}this.calciteInternalMenuItemKeyEvent.emit({event:e,children:s,isSubmenuOpen:o&&t})}else if(r==="ArrowLeft"){e.preventDefault();this.calciteInternalMenuItemKeyEvent.emit({event:e,children:s,isSubmenuOpen:true})}else if(r==="ArrowRight"){e.preventDefault();if((a||!i)&&t&&!o&&n==="vertical"){this.open=true;return}this.calciteInternalMenuItemKeyEvent.emit({event:e,children:s,isSubmenuOpen:o&&t})}};this.active=undefined;this.breadcrumb=undefined;this.href=undefined;this.iconEnd=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.isTopLevelItem=false;this.label=undefined;this.layout=undefined;this.messageOverrides=undefined;this.messages=undefined;this.open=false;this.rel=undefined;this.target=undefined;this.text=undefined;this.topLevelMenuLayout=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.hasSubmenu=false;this.submenuItems=undefined}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}async setFocus(){await f(this);this.anchorEl.focus()}handleClickOut(e){if(this.topLevelMenuLayout!=="vertical"&&this.hasSubmenu&&this.open&&!e.composedPath().includes(this.el)){this.open=false}}handleFocusOut(e){if(this.topLevelMenuLayout!=="vertical"&&!this.el.contains(e.relatedTarget)){this.open=false}}connectedCallback(){m(this);b(this)}async componentWillLoad(){d(this);await g(this)}componentDidLoad(){u(this)}disconnectedCallback(){p(this);y(this)}blurHandler(){this.isFocused=false}focusHandler(e){const t=e.target;this.isFocused=true;if(t.open&&!this.open){t.open=false}}selectMenuItem(e){if(e.target!==this.dropdownActionEl){this.calciteMenuItemSelect.emit()}}renderIconStart(){return i("calcite-icon",{class:`${z.icon} ${z.iconStart}`,flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,key:z.iconStart,scale:"s"})}renderIconEnd(){return i("calcite-icon",{class:`${z.icon} ${z.iconEnd}`,flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,key:z.iconEnd,scale:"s"})}renderBreadcrumbIcon(e){return i("calcite-icon",{class:`${z.icon} ${z.iconBreadcrumb}`,icon:e==="rtl"?"chevron-left":"chevron-right",key:z.iconBreadcrumb,scale:"s"})}renderDropdownIcon(e){const t=e==="rtl"?"chevron-left":"chevron-right";return i("calcite-icon",{class:`${z.icon} ${z.iconDropdown}`,icon:this.topLevelMenuLayout==="vertical"||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":t,key:z.iconDropdown,scale:"s"})}renderDropdownAction(e){const t=e==="rtl"?"chevron-left":"chevron-right";return i("calcite-action",{class:z.dropdownAction,icon:this.topLevelMenuLayout==="vertical"||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":t,key:z.dropdownAction,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,text:this.messages.open,ref:e=>this.dropdownActionEl=e})}renderSubmenuItems(e){return i("calcite-menu",{class:{[z.dropdownMenuItems]:true,[z.open]:this.open,[z.nested]:!this.isTopLevelItem,[x.rtl]:e==="rtl",[z.dropdownVertical]:this.topLevelMenuLayout==="vertical"},label:this.messages.submenu,layout:"vertical",role:"menu"},i("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderHrefIcon(e){return i("calcite-icon",{class:z.hoverHrefIcon,icon:e==="rtl"?"arrow-left":"arrow-right",key:z.hoverHrefIcon,scale:"s"})}renderItemContent(e){const t=this.href&&(this.topLevelMenuLayout==="vertical"||!this.isTopLevelItem);return i(r,null,this.iconStart&&this.renderIconStart(),i("div",{class:z.textContainer},i("span",null,this.text)),t&&this.renderHrefIcon(e),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(e):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(e):null)}render(){const e=h(this.el);return i(n,{onBlur:this.blurHandler,onFocus:this.focusHandler},i("li",{class:{[z.container]:true,[z.isParentVertical]:this.topLevelMenuLayout==="vertical"},role:"none"},i("div",{class:z.itemContent},i("a",{"aria-current":this.isFocused?"page":false,"aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{[z.layoutVertical]:this.layout==="vertical",[z.content]:true},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target,ref:e=>this.anchorEl=e},this.renderItemContent(e)),this.href&&this.hasSubmenu?this.renderDropdownAction(e):null),this.renderSubmenuItems(e)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};I.style=C;export{k as calcite_menu,I as calcite_menu_item};
|
|
7
|
-
//# sourceMappingURL=p-90a1f2d2.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["menuCss","CalciteMenu","this","menuItems","handleMenuSlotChange","event","slotChangeGetAssignedElements","setMenuItemLayout","layout","handleGlobalAttributesChanged","forceUpdate","handleLayoutChange","value","onMessagesChange","effectiveLocaleChange","updateMessages","effectiveLocale","connectedCallback","connectLocalized","connectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnectLocalized","disconnectMessages","setFocus","componentFocusable","el","focus","calciteInternalNavMenuItemKeyEvent","target","submenuItems","detail","children","key","stopPropagation","focusElementInGroup","isSubmenuOpen","length","focusParentElement","preventDefault","parentEl","parentElement","focusElement","open","items","forEach","item","getEffectiveRole","isTopLevelItem","topLevelMenuLayout","getAttribute","render","h","Host","label","role","onSlotchange","CSS","container","content","dropdownVertical","dropdownMenuItems","dropdownAction","layoutVertical","hoverHrefIcon","icon","iconBreadcrumb","iconDropdown","iconEnd","iconStart","isParentVertical","itemContent","nested","textContainer","menuItemCss","CalciteMenuItem","clickHandler","href","dropdownActionEl","hasSubmenu","selectMenuItem","handleMenuItemSlotChange","keyDownHandler","async","targetIsDropdown","calciteInternalMenuItemKeyEvent","emit","anchorEl","handleClickOut","composedPath","includes","handleFocusOut","contains","relatedTarget","blurHandler","isFocused","focusHandler","calciteMenuItemSelect","renderIconStart","class","flipRtl","iconFlipRtl","scale","renderIconEnd","renderBreadcrumbIcon","dir","renderDropdownIcon","dirChevron","renderDropdownAction","onClick","onKeyDown","text","messages","ref","renderSubmenuItems","CSS_UTILITY","rtl","submenu","name","renderHrefIcon","renderItemContent","hasHref","Fragment","breadcrumb","getElementDir","onBlur","onFocus","rel","tabIndex"],"sources":["src/components/menu/menu.scss?tag=calcite-menu&encapsulation=shadow","src/components/menu/menu.tsx","src/components/menu-item/resources.ts","src/components/menu-item/menu-item.scss?tag=calcite-menu-item&encapsulation=shadow","src/components/menu-item/menu-item.tsx"],"sourcesContent":[":host {\n @apply flex;\n}\n\nul {\n @apply inline-flex items-center h-full m-0 p-0;\n}\n\n:host([layout=\"vertical\"]) ul {\n @apply flex flex-col w-full;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n Method,\n VNode,\n forceUpdate,\n} from \"@stencil/core\";\nimport { focusElement, focusElementInGroup, slotChangeGetAssignedElements } 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 { MenuMessages } from \"./assets/menu/t9n\";\n\ntype Layout = \"horizontal\" | \"vertical\";\n\n@Component({\n tag: \"calcite-menu\",\n styleUrl: \"menu.scss\",\n shadow: {\n delegatesFocus: true,\n },\n assetsDirs: [\"assets\"],\n})\nexport class CalciteMenu implements LocalizedComponent, T9nComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"role\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n this.setMenuItemLayout(this.menuItems, this.layout);\n }\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Accessible name for the component.\n */\n @Prop() label!: string;\n\n /**\n * Specifies the layout of the component.\n */\n @Prop({ reflect: true }) layout: Layout = \"horizontal\";\n\n @Watch(\"layout\")\n handleLayoutChange(value: Layout): void {\n this.setMenuItemLayout(this.menuItems, value);\n }\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<MenuMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Made into a prop for testing purposes only.\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: MenuMessages;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMenuElement;\n\n @State() defaultMessages: MenuMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n menuItems: HTMLCalciteMenuItemElement[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\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 this.el.focus();\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalMenuItemKeyEvent\")\n calciteInternalNavMenuItemKeyEvent(event: CustomEvent): void {\n const target = event.target as HTMLCalciteMenuItemElement;\n const submenuItems = event.detail.children;\n const key = event.detail.event.key;\n event.stopPropagation();\n\n if (key === \"ArrowDown\") {\n if (target.layout === \"vertical\") {\n focusElementInGroup(this.menuItems, target, \"next\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[0].setFocus();\n }\n }\n } else if (key === \"ArrowUp\") {\n if (this.layout === \"vertical\") {\n focusElementInGroup(this.menuItems, target, \"previous\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[submenuItems.length - 1].setFocus();\n }\n }\n } else if (key === \"ArrowRight\") {\n if (this.layout === \"horizontal\") {\n focusElementInGroup(this.menuItems, target, \"next\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n submenuItems[0].setFocus();\n }\n }\n } else if (key === \"ArrowLeft\") {\n if (this.layout === \"horizontal\") {\n focusElementInGroup(this.menuItems, target, \"previous\", false);\n } else {\n if (event.detail.isSubmenuOpen) {\n this.focusParentElement(event.target as HTMLCalciteMenuItemElement);\n }\n }\n } else if (key === \"Escape\") {\n this.focusParentElement(event.target as HTMLCalciteMenuItemElement);\n }\n event.preventDefault();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n handleMenuSlotChange = (event: Event): void => {\n this.menuItems = slotChangeGetAssignedElements(event) as HTMLCalciteMenuItemElement[];\n this.setMenuItemLayout(this.menuItems, this.layout);\n };\n\n focusParentElement(el: HTMLCalciteMenuItemElement): void {\n const parentEl = el.parentElement as HTMLCalciteMenuItemElement;\n if (parentEl) {\n focusElement(parentEl);\n parentEl.open = false;\n }\n }\n\n setMenuItemLayout(items: HTMLCalciteMenuItemElement[], layout: Layout): void {\n items.forEach((item) => {\n item.layout = layout;\n if (this.getEffectiveRole() === \"menubar\") {\n item.isTopLevelItem = true;\n item.topLevelMenuLayout = this.layout;\n }\n });\n }\n\n private getEffectiveRole(): string {\n return this.el.getAttribute(\"role\") || \"menubar\";\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <ul aria-label={this.label} role={this.getEffectiveRole()}>\n <slot onSlotchange={this.handleMenuSlotChange} />\n </ul>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n content: \"content\",\n dropdownVertical: \"dropdown--vertical\",\n dropdownMenuItems: \"dropdown-menu-items\",\n dropdownAction: \"dropdown-action\",\n layoutVertical: \"layout--vertical\",\n hoverHrefIcon: \"hover-href-icon\",\n icon: \"icon\",\n iconBreadcrumb: \"icon--breadcrumb\",\n iconDropdown: \"icon--dropdown\",\n iconEnd: \"icon--end\",\n iconStart: \"icon--start\",\n isParentVertical: \"parent--vertical\",\n itemContent: \"item-content\",\n open: \"open\",\n nested: \"nested\",\n textContainer: \"text-container\",\n};\n",":host {\n @apply flex\n items-center\n relative\n box-border;\n flex-shrink: 0;\n & .container,\n & .item-content,\n & .content {\n min-block-size: theme(\"spacing.12\");\n }\n}\n\n:host([layout=\"vertical\"]) {\n @apply w-full;\n}\n\n:host(:not([layout=\"vertical\"])) {\n @apply h-full;\n}\n\n.container,\n.item-content {\n @apply flex flex-row w-full h-full items-stretch;\n}\n\n.content {\n @apply flex\n items-center\n relative\n justify-center\n cursor-pointer\n outline-none\n text-0\n text-color-2\n box-border\n bg-foreground-1\n px-4\n h-full\n w-full;\n text-decoration: none;\n border-block-end: theme(\"spacing[0.5]\") solid transparent;\n padding-block-start: theme(\"spacing[0.5]\");\n &:hover {\n @apply bg-foreground-2 text-color-2;\n }\n &:focus {\n @apply bg-foreground-2 text-color-2 focus-inset;\n }\n &:active {\n @apply bg-foreground-3 text-color-1;\n }\n & span {\n display: inline-flex;\n }\n &.layout--vertical {\n @apply flex w-full justify-start;\n padding-block: 1rem;\n border-block-end: 0;\n border-inline-end: theme(\"spacing.1\") solid transparent;\n }\n}\n\n:host([active]) .content {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n .icon {\n --calcite-ui-icon-color: var(--calcite-color-brand);\n }\n}\n:host([layout=\"vertical\"]) .content {\n @apply px-3;\n}\n\n.icon--start {\n @apply me-3;\n}\n\n.icon--end {\n @apply ms-3;\n}\n\n:host([layout=\"vertical\"]) .icon--end {\n @apply ms-auto ps-3;\n}\n\n.icon--dropdown {\n @apply ms-auto me-0 ps-2 relative;\n --calcite-ui-icon-color: var(--calcite-color-text-3);\n}\n\n:host([layout=\"vertical\"]) .icon--end ~ .icon--dropdown {\n @apply ms-3;\n}\n\n:host([layout=\"vertical\"]) .hover-href-icon {\n @apply ps-2;\n}\n:host([layout=\"vertical\"]) .hover-href-icon ~ .icon--end {\n @apply ms-2;\n}\n\n:host([layout=\"vertical\"]) .hover-href-icon ~ .icon--breadcrumb {\n @apply ms-3;\n}\n\n.icon--breadcrumb {\n @apply ps-2 me-0;\n --calcite-ui-icon-color: var(--calcite-color-text-3);\n}\n\n:host([layout=\"vertical\"]) .icon--breadcrumb {\n @apply ms-auto;\n}\n\n:host([layout=\"vertical\"]) .icon--breadcrumb ~ .icon--dropdown {\n @apply ms-2;\n}\n\n:host([layout=\"vertical\"]) .icon--end ~ .icon--breadcrumb {\n @apply ms-2;\n}\n\n:host([breadcrumb]) .content {\n @apply pe-3;\n}\n\ncalcite-action {\n @apply relative h-auto;\n border-inline-start: 1px solid var(--calcite-color-foreground-1);\n &:after {\n @apply block w-px absolute -start-px;\n content: \"\";\n inset-block: theme(\"spacing.3\");\n background-color: var(--calcite-color-border-3);\n }\n &:hover:after {\n @apply h-full;\n inset-block: 0;\n }\n}\n\n.content:focus ~ calcite-action,\n.content:hover ~ calcite-action {\n @apply text-color-1;\n border-inline-start: 1px solid var(--calcite-color-border-3);\n}\n\n.container:hover .dropdown-action {\n @apply bg-foreground-2;\n}\n\n.dropdown-menu-items {\n @apply absolute h-auto flex-col hidden overflow-visible min-w-full;\n border: 1px solid var(--calcite-color-border-3);\n background: var(--calcite-color-foreground-1);\n inset-block-start: 100%;\n z-index: theme(\"zIndex.dropdown\");\n &.open {\n @apply block;\n }\n &.nested {\n @apply absolute;\n inset-block-start: -1px;\n transform: translateX(calc(100% - 2px));\n }\n}\n\n.parent--vertical {\n @apply flex-col;\n}\n\n.dropdown--vertical.dropdown-menu-items {\n @apply relative rounded-none;\n box-shadow: none;\n inset-block-start: 0;\n transform: none;\n &:last-of-type {\n border-inline: 0;\n }\n}\n\n:host([layout=\"vertical\"]:last-of-type) .dropdown-menu-items {\n border-block-end: 0;\n}\n\n:host([slot=\"submenu-item\"]) .parent--vertical {\n @apply ps-6;\n}\n\n.dropdown-menu-items.nested.calcite--rtl {\n transform: translateX(calc(-100% + 2px));\n}\n\n.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl {\n transform: none;\n}\n\n.hover-href-icon {\n @apply ms-auto relative end-1 opacity-0;\n transition: all var(--calcite-internal-animation-timing-medium) ease-in-out;\n}\n\n.content:focus .hover-href-icon,\n.content:hover .hover-href-icon {\n @apply opacity-100 -end-1;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { FlipContext } from \"../interfaces\";\nimport { Direction, getElementDir, slotChangeGetAssignedElements } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS } from \"./resources\";\nimport { MenuItemCustomEvent } from \"./interfaces\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { MenuItemMessages } from \"./assets/menu-item/t9n\";\nimport { LocalizedComponent, connectLocalized, disconnectLocalized } from \"../../utils/locale\";\n\ntype Layout = \"horizontal\" | \"vertical\";\n\n/**\n * @slot submenu-item - A slot for adding `calcite-menu-item`s in a submenu.\n */\n@Component({\n tag: \"calcite-menu-item\",\n styleUrl: \"menu-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class CalciteMenuItem implements LoadableComponent, T9nComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** When `true`, the component displays a breadcrumb trail for use as a navigational aid. */\n @Prop({ reflect: true }) breadcrumb: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop() href: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /**\n * @internal\n */\n @Prop() isTopLevelItem = false;\n\n /** Accessible name for the component.*/\n @Prop() label!: string;\n\n /**\n * @internal\n */\n @Prop({ reflect: true }) layout: Layout;\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<MenuItemMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Made into a prop for testing purposes only.\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: MenuItemMessages;\n\n /** When `true`, the component will display any slotted `calcite-menu-item` in an open overflow menu.*/\n @Prop({ mutable: true, reflect: true }) open = false;\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 /**\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 the text to display.*/\n @Prop() text: string;\n\n /**\n * @internal\n */\n @Prop() topLevelMenuLayout: Layout;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMenuItemElement;\n\n @State() defaultMessages: MenuItemMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() hasSubmenu = false;\n\n @State() submenuItems: HTMLCalciteMenuItemElement[];\n\n anchorEl: HTMLAnchorElement;\n\n dropdownActionEl: HTMLCalciteActionElement;\n\n isFocused: boolean;\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.anchorEl.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /** @internal */\n @Event({ cancelable: true }) calciteInternalMenuItemKeyEvent: EventEmitter<MenuItemCustomEvent>;\n\n /** Emits when the component is selected.*/\n @Event() calciteMenuItemSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n @Listen(\"click\", { target: \"window\" })\n handleClickOut(event: Event): void {\n if (\n this.topLevelMenuLayout !== \"vertical\" &&\n this.hasSubmenu &&\n this.open &&\n !event.composedPath().includes(this.el)\n ) {\n this.open = false;\n }\n }\n\n @Listen(\"focusout\")\n handleFocusOut(event: FocusEvent): void {\n if (\n this.topLevelMenuLayout !== \"vertical\" &&\n !this.el.contains(event.relatedTarget as Element)\n ) {\n this.open = false;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private blurHandler(): void {\n this.isFocused = false;\n }\n\n private clickHandler = (event: MouseEvent): void => {\n if ((this.href && event.target === this.dropdownActionEl) || (!this.href && this.hasSubmenu)) {\n this.open = !this.open;\n }\n this.selectMenuItem(event);\n };\n\n private focusHandler(event: FocusEvent): void {\n const target = event.target as HTMLCalciteMenuItemElement;\n this.isFocused = true;\n if (target.open && !this.open) {\n target.open = false;\n }\n }\n\n private handleMenuItemSlotChange = (event: Event): void => {\n this.submenuItems = slotChangeGetAssignedElements(event) as HTMLCalciteMenuItemElement[];\n this.submenuItems.forEach((item) => {\n if (!item.topLevelMenuLayout) {\n item.topLevelMenuLayout = this.topLevelMenuLayout;\n }\n });\n this.hasSubmenu = this.submenuItems.length > 0;\n };\n\n private keyDownHandler = async (event: KeyboardEvent): Promise<void> => {\n const { hasSubmenu, href, layout, open, submenuItems } = this;\n const key = event.key;\n const targetIsDropdown = event.target === this.dropdownActionEl;\n if (key === \" \" || key === \"Enter\") {\n if (hasSubmenu && (!href || (href && targetIsDropdown))) {\n this.open = !open;\n }\n if (!(href && targetIsDropdown) && key !== \"Enter\") {\n this.selectMenuItem(event);\n }\n if (key === \" \" || (href && targetIsDropdown)) {\n event.preventDefault();\n }\n } else if (key === \"Escape\") {\n if (open) {\n this.open = false;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({ event });\n event.preventDefault();\n } else if (key === \"ArrowDown\" || key === \"ArrowUp\") {\n event.preventDefault();\n if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === \"horizontal\") {\n this.open = true;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: open && hasSubmenu,\n });\n } else if (key === \"ArrowLeft\") {\n event.preventDefault();\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: true,\n });\n } else if (key === \"ArrowRight\") {\n event.preventDefault();\n if ((targetIsDropdown || !href) && hasSubmenu && !open && layout === \"vertical\") {\n this.open = true;\n return;\n }\n this.calciteInternalMenuItemKeyEvent.emit({\n event,\n children: submenuItems,\n isSubmenuOpen: open && hasSubmenu,\n });\n }\n };\n\n private selectMenuItem(event: MouseEvent | KeyboardEvent): void {\n if (event.target !== this.dropdownActionEl) {\n this.calciteMenuItemSelect.emit();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderIconStart(): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconStart}`}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n key={CSS.iconStart}\n scale=\"s\"\n />\n );\n }\n\n renderIconEnd(): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconEnd}`}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n key={CSS.iconEnd}\n scale=\"s\"\n />\n );\n }\n\n renderBreadcrumbIcon(dir: Direction): VNode {\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconBreadcrumb}`}\n icon={dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\"}\n key={CSS.iconBreadcrumb}\n scale=\"s\"\n />\n );\n }\n\n renderDropdownIcon(dir: Direction): VNode {\n const dirChevron = dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\";\n return (\n <calcite-icon\n class={`${CSS.icon} ${CSS.iconDropdown}`}\n icon={\n this.topLevelMenuLayout === \"vertical\" || this.isTopLevelItem\n ? this.open\n ? \"chevron-up\"\n : \"chevron-down\"\n : dirChevron\n }\n key={CSS.iconDropdown}\n scale=\"s\"\n />\n );\n }\n\n renderDropdownAction(dir: Direction): VNode {\n const dirChevron = dir === \"rtl\" ? \"chevron-left\" : \"chevron-right\";\n return (\n <calcite-action\n class={CSS.dropdownAction}\n icon={\n this.topLevelMenuLayout === \"vertical\" || this.isTopLevelItem\n ? this.open\n ? \"chevron-up\"\n : \"chevron-down\"\n : dirChevron\n }\n key={CSS.dropdownAction}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n text={this.messages.open}\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.dropdownActionEl = el)}\n />\n );\n }\n\n renderSubmenuItems(dir: Direction): VNode {\n return (\n <calcite-menu\n class={{\n [CSS.dropdownMenuItems]: true,\n [CSS.open]: this.open,\n [CSS.nested]: !this.isTopLevelItem,\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n [CSS.dropdownVertical]: this.topLevelMenuLayout === \"vertical\",\n }}\n label={this.messages.submenu}\n layout=\"vertical\"\n role=\"menu\"\n >\n <slot name=\"submenu-item\" onSlotchange={this.handleMenuItemSlotChange} />\n </calcite-menu>\n );\n }\n\n renderHrefIcon(dir: Direction): VNode {\n return (\n <calcite-icon\n class={CSS.hoverHrefIcon}\n icon={dir === \"rtl\" ? \"arrow-left\" : \"arrow-right\"}\n key={CSS.hoverHrefIcon}\n scale=\"s\"\n />\n );\n }\n\n renderItemContent(dir: Direction): VNode {\n const hasHref = this.href && (this.topLevelMenuLayout === \"vertical\" || !this.isTopLevelItem);\n return (\n <Fragment>\n {this.iconStart && this.renderIconStart()}\n <div class={CSS.textContainer}>\n <span>{this.text}</span>\n </div>\n {hasHref && this.renderHrefIcon(dir)}\n {this.iconEnd && this.renderIconEnd()}\n {this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null}\n {!this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null}\n </Fragment>\n );\n }\n\n render() {\n const dir = getElementDir(this.el);\n return (\n <Host onBlur={this.blurHandler} onFocus={this.focusHandler}>\n <li\n class={{\n [CSS.container]: true,\n [CSS.isParentVertical]: this.topLevelMenuLayout === \"vertical\",\n }}\n role=\"none\"\n >\n <div class={CSS.itemContent}>\n <a\n aria-current={this.isFocused ? \"page\" : false}\n aria-expanded={this.open}\n aria-haspopup={this.hasSubmenu}\n aria-label={this.label}\n class={{ [CSS.layoutVertical]: this.layout === \"vertical\", [CSS.content]: true }}\n href={this.href}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\n rel={this.rel}\n role=\"menuitem\"\n tabIndex={this.isTopLevelItem ? 0 : -1}\n target={this.target}\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.anchorEl = el)}\n >\n {this.renderItemContent(dir)}\n </a>\n {this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null}\n </div>\n {this.renderSubmenuItems(dir)}\n </li>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;yYAAA,MAAMA,EAAU,0O,MCwCHC,EAAW,M,yBAsEtBC,KAAAC,UAA0C,GAgG1CD,KAAAE,qBAAwBC,IACtBH,KAA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K8E,aACdkC,UAAWhH,KAAKoF,eAChB6C,IAAKjI,KAAKiI,IACVxE,KAAK,WACLyE,SAAUlI,KAAKkD,eAAiB,GAAK,EACrCnB,OAAQ/B,KAAK+B,OAEboF,IAAMvF,GAAQ5B,KAAKyF,SAAW7D,GAE7B5B,KAAK0H,kBAAkBf,IAEzB3G,KAAK+E,MAAQ/E,KAAKiF,WAAajF,KAAK8G,qBAAqBH,GAAO,MAElE3G,KAAKoH,mBAAmBT,I"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as a}from"./p-2e426bde.js";import"./p-8e11bc58.js";import"./p-082fe7fd.js";import"./p-3084a4eb.js";import"./p-e1d160f2.js";import"./p-59f92c59.js";import"./p-12f20a88.js";import"./p-03ace575.js";import"./p-5a15c611.js";import"./p-aff67927.js";import"./p-7c4d1ae1.js";import"./p-149dfb81.js";import"./p-5dbde633.js";import"./p-3ce88b03.js";import"./p-531b5d19.js";import"./p-70c5e4e5.js";import"./p-35a9fd22.js";import"./p-e8f2f7bf.js";import"./p-34a82cf5.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function a(r){return r+"."}};a.locale(r,null,true);export default r;
|
|
7
|
-
//# sourceMappingURL=p-90d3be3f.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,g as a}from"./p-8e11bc58.js";import{c as n,u as o,d as s,I as c}from"./p-12f20a88.js";import{c as l,s as r,a as d}from"./p-149dfb81.js";import"./p-03ace575.js";const h={container:"container",dividerContainer:"divider-container",divider:"divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};const p=":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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-color-brand);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-color-status-danger);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-color-foreground-3);--calcite-split-button-divider:var(--calcite-color-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-color-inverse);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-text-1);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-border-1);--calcite-split-button-background:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .divider-container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const u=class{constructor(e){t(this,e);this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6);this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit();this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit();this.appearance="solid";this.kind="brand";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.dropdownLabel=undefined;this.loading=false;this.overlayPositioning="absolute";this.primaryIconEnd=undefined;this.primaryIconFlipRtl=undefined;this.primaryIconStart=undefined;this.primaryLabel=undefined;this.primaryText=undefined;this.scale="m";this.width="auto"}handleDisabledChange(t){if(!t){this.active=false}}activeHandler(){if(this.disabled){this.active=false}}async setFocus(){await l(this);this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){o(this)}disconnectedCallback(){s(this)}render(){const t=this.width==="auto"?"auto":"full";return e(c,{disabled:this.disabled},e("div",{class:h.container},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:t},this.primaryText),e("div",{class:h.dividerContainer},e("div",{class:h.divider})),e("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,"width-scale":this.scale},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",null))))}get dropdownIcon(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};u.style=p;export{u as calcite_split_button};
|
|
7
|
-
//# sourceMappingURL=p-936703f0.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CSS","container","dividerContainer","divider","widthAuto","widthHalf","widthFull","splitButtonCss","SplitButton","this","calciteSplitButtonPrimaryClickHandler","calciteSplitButtonPrimaryClick","emit","calciteSplitButtonSecondaryClickHandler","calciteSplitButtonSecondaryClick","handleDisabledChange","value","active","activeHandler","disabled","setFocus","componentFocusable","el","focus","connectedCallback","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","render","buttonWidth","width","h","InteractiveContainer","class","appearance","primaryIconEnd","primaryIconStart","iconFlipRtl","primaryIconFlipRtl","kind","label","primaryLabel","loading","onClick","scale","splitChild","type","primaryText","open","overlayPositioning","placement","dropdownIcon","dropdownLabel","slot","dropdownIconType"],"sources":["src/components/split-button/resources.ts","src/components/split-button/split-button.scss?tag=calcite-split-button&encapsulation=shadow","src/components/split-button/split-button.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n dividerContainer: \"divider-container\",\n divider: \"divider\",\n widthAuto: \"width-auto\",\n widthHalf: \"width-half\",\n widthFull: \"width-full\",\n};\n",":host {\n @apply inline-block;\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-2/4;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n:host {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-background: theme(\"colors.brand\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-background: theme(\"colors.danger\");\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-background: theme(\"colors.background.foreground.3\");\n --calcite-split-button-divider: theme(\"colors.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-background: var(--calcite-color-inverse);\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n }\n}\n\n:host([appearance=\"transparent\"]) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"colors.color.1\");\n --calcite-split-button-background: transparent;\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: theme(\"colors.background.foreground.1\");\n --calcite-split-button-background: transparent;\n }\n}\n\n:host([appearance=\"outline\"]) {\n --calcite-split-button-background: transparent;\n}\n\n:host([appearance=\"outline-fill\"]) {\n --calcite-split-button-background: theme(\"colors.background.foreground.1\");\n}\n\n:host([appearance=\"outline\"]),\n:host([appearance=\"outline-fill\"]) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger\");\n }\n &:host([kind=\"neutral\"]) {\n --calcite-split-button-divider: theme(\"borderColor.color.1\");\n --calcite-split-button-background: theme(\"borderColor.color.1\");\n }\n &:host([kind=\"inverse\"]) {\n --calcite-split-button-divider: var(--calcite-color-inverse);\n }\n}\n\n.container {\n @apply flex items-stretch;\n > calcite-dropdown > calcite-button {\n @apply h-full align-top;\n }\n}\n\n.divider-container {\n @apply transition-default flex w-px items-stretch;\n background-color: var(--calcite-split-button-background);\n}\n\n.divider {\n @apply my-1 inline-block w-px;\n background-color: var(--calcite-split-button-divider);\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n .divider-container {\n border-block: 1px solid var(--calcite-split-button-divider);\n }\n &:hover .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:hover),\n:host([appearance=\"outline\"]:hover) {\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n:host([appearance=\"outline-fill\"]:focus-within),\n:host([appearance=\"outline\"]:focus-within) {\n &:host([kind=\"brand\"]) {\n --calcite-split-button-divider: theme(\"colors.brand-press\");\n }\n &:host([kind=\"danger\"]) {\n --calcite-split-button-divider: theme(\"colors.danger-press\");\n }\n .divider-container {\n background-color: var(--calcite-split-button-divider);\n }\n}\n\n@include disabled() {\n .divider-container {\n @apply opacity-disabled;\n }\n\n calcite-dropdown > calcite-button {\n @apply pointer-events-none;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { DropdownIconType } from \"../button/interfaces\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown` content.\n */\n@Component({\n tag: \"calcite-split-button\",\n styleUrl: \"split-button.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class SplitButton implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n > = \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background, if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind> =\n \"brand\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.active = false;\n }\n }\n\n /**\n * When `true`, the component is active.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) active = false;\n\n @Watch(\"active\")\n activeHandler(): void {\n if (this.disabled) {\n this.active = false;\n }\n }\n\n /** Specifies the icon used for the dropdown menu. */\n @Prop({ reflect: true }) dropdownIconType: DropdownIconType = \"chevron\";\n\n /** Accessible name for the dropdown menu. */\n @Prop({ reflect: true }) dropdownLabel: string;\n\n /**\n When `true`, a busy indicator is displayed on the primary button.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n /** Specifies an icon to display at the end of the primary button. */\n @Prop({ reflect: true }) primaryIconEnd: string;\n\n /** Displays the `primaryIconStart` and/or `primaryIconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) primaryIconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the primary button. */\n @Prop({ reflect: true }) primaryIconStart: string;\n\n /** Accessible name for the primary button. */\n @Prop({ reflect: true }) primaryLabel: string;\n\n /** Text displayed in the primary button. */\n @Prop({ reflect: true }) primaryText: string;\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 * Fires when the primary button is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonPrimaryClick: EventEmitter<void>;\n\n /**\n * Fires when the dropdown menu is clicked.\n */\n @Event({ cancelable: false })\n calciteSplitButtonSecondaryClick: 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 this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSplitButtonElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n render(): VNode {\n const buttonWidth = this.width === \"auto\" ? \"auto\" : \"full\";\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <div class={CSS.container}>\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-end={this.primaryIconEnd ? this.primaryIconEnd : null}\n icon-start={this.primaryIconStart ? this.primaryIconStart : null}\n iconFlipRtl={this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null}\n kind={this.kind}\n label={this.primaryLabel}\n loading={this.loading}\n onClick={this.calciteSplitButtonPrimaryClickHandler}\n scale={this.scale}\n splitChild={\"primary\"}\n type=\"button\"\n width={buttonWidth}\n >\n {this.primaryText}\n </calcite-button>\n <div class={CSS.dividerContainer}>\n <div class={CSS.divider} />\n </div>\n <calcite-dropdown\n disabled={this.disabled}\n onClick={this.calciteSplitButtonSecondaryClickHandler}\n open={this.active}\n overlayPositioning={this.overlayPositioning}\n placement=\"bottom-end\"\n scale={this.scale}\n width-scale={this.scale}\n >\n <calcite-button\n appearance={this.appearance}\n disabled={this.disabled}\n icon-start={this.dropdownIcon}\n kind={this.kind}\n label={this.dropdownLabel}\n scale={this.scale}\n slot=\"trigger\"\n splitChild={\"secondary\"}\n type=\"button\"\n />\n <slot />\n </calcite-dropdown>\n </div>\n </InteractiveContainer>\n );\n }\n\n private calciteSplitButtonPrimaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonPrimaryClick.emit();\n\n private calciteSplitButtonSecondaryClickHandler = (): CustomEvent =>\n this.calciteSplitButtonSecondaryClick.emit();\n\n private get dropdownIcon(): string {\n return this.dropdownIconType === \"chevron\"\n ? \"chevronDown\"\n : this.dropdownIconType === \"caret\"\n ? \"caretDown\"\n : this.dropdownIconType === \"ellipsis\"\n ? \"ellipsis\"\n : \"handle-vertical\";\n }\n}\n"],"mappings":";;;;;4LAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,iBAAkB,oBAClBC,QAAS,UACTC,UAAW,aACXC,UAAW,aACXC,UAAW,cCNb,MAAMC,EAAiB,qvI,MCuCVC,EAAW,M,2LAmMdC,KAAAC,sCAAwC,IAC9CD,KAAKE,+BAA+BC,OAE9BH,KAAAI,wCAA0C,IAChDJ,KAAKK,iCAAiCF,O,gBA5LpC,Q,UAIF,Q,cAGkC,M,YAca,M,sBAUa,U,0CAQ3B,M,wBAU+B,W,kKAkB1B,I,WAGA,M,CA5DxC,oBAAAG,CAAqBC,GACnB,IAAKA,EA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AAKyC,MACZS,KAAK,UACLR,WAAY,YACZC,KAAK,WAEPf,EAAA,e,CAaV,gBAAYoB,GACV,OAAOhD,KAAKmD,mBAAqB,UAC7B,cACAnD,KAAKmD,mBAAqB,QACxB,YACAnD,KAAKmD,mBAAqB,WACxB,WACA,iB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-8e11bc58.js";import{q as n,i as r,y as a,t as l}from"./p-3084a4eb.js";import{c,b as h,a as f,r as d,F as u}from"./p-5f6efc33.js";import{g as p}from"./p-e1d160f2.js";import{o as m}from"./p-e8f2f7bf.js";import{F as w}from"./p-78094112.js";import"./p-59f92c59.js";import"./p-4c7ea022.js";const g={container:"container"};const v=300;const b=500;const y="aria-describedby";function x(t){const{referenceElement:i}=t;return(typeof i==="string"?n(t,{id:i}):i)||null}class E{constructor(){this.registeredElements=new WeakMap;this.registeredShadowRootCounts=new WeakMap;this.hoverOpenTimeout=null;this.hoverCloseTimeout=null;this.hoveredTooltip=null;this.clickedTooltip=null;this.activeTooltip=null;this.registeredElementCount=0;this.queryTooltip=t=>{const{registeredElements:i}=this;const e=t.find((t=>i.has(t)));return i.get(e)};this.keyDownHandler=t=>{if(t.key==="Escape"&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout();this.closeActiveTooltip();const e=x(i);if(e instanceof Element&&e.contains(t.target)){t.preventDefault()}}}};this.pointerMoveHandler=t=>{const i=t.composedPath();const{activeTooltip:e}=this;const s=e?.open&&i.includes(e);if(s){this.clearHoverTimeout();return}const o=this.queryTooltip(i);this.hoveredTooltip=o;if(this.isClosableClickedTooltip(o)){return}this.clickedTooltip=null;if(o){this.openHoveredTooltip(o)}else if(e){this.closeHoveredTooltip()}};this.pointerDownHandler=t=>{if(!r(t)){return}const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i;if(i?.closeOnClick){this.toggleTooltip(i,false);this.clearHoverTimeout()}};this.focusInHandler=t=>{this.queryFocusedTooltip(t,true)};this.focusOutHandler=t=>{this.queryFocusedTooltip(t,false)};this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{if(this.hoverOpenTimeout===null){return}this.clearHoverCloseTimeout();if(this.activeTooltip===this.hoveredTooltip){return}this.closeActiveTooltip();if(t!==this.hoveredTooltip){return}this.toggleTooltip(t,true)}),this.activeTooltip?0:v)};this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{if(this.hoverCloseTimeout===null){return}this.closeActiveTooltip()}),b)}}registerElement(t,i){this.registeredElementCount++;this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);if(e){this.registerShadowRoot(e)}if(this.registeredElementCount===1){this.addListeners()}}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);if(i){this.unregisterShadowRoot(i)}if(this.registeredElements.delete(t)){this.registeredElementCount--}if(this.registeredElementCount===0){this.removeListeners()}}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:true});t.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:true});t.removeEventListener("focusout",this.focusOutHandler,{capture:true})}addListeners(){window.addEventListener("keydown",this.keyDownHandler,{capture:true});window.addEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.addEventListener("pointerdown",this.pointerDownHandler,{capture:true});window.addEventListener("focusin",this.focusInHandler,{capture:true});window.addEventListener("focusout",this.focusOutHandler,{capture:true})}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler,{capture:true});window.removeEventListener("pointermove",this.pointerMoveHandler,{capture:true});window.removeEventListener("pointerdown",this.pointerDownHandler,{capture:true});window.removeEventListener("focusin",this.focusInHandler,{capture:true});window.removeEventListener("focusout",this.focusOutHandler,{capture:true})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout);this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout);this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout();this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;if(t?.open){this.toggleTooltip(t,false)}}toggleFocusedTooltip(t,i){this.closeActiveTooltip();if(i){this.clearHoverTimeout()}this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i;this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());if(!e||this.isClosableClickedTooltip(e)){return}this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this;const e=(i.get(t)??0)+1;if(e===1){this.addShadowListeners(t)}i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this;const e=i.get(t)-1;if(e===0){this.removeShadowListeners(t)}i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?a(t):null}}const k=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const H=new E;const T=class{constructor(e){t(this,e);this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6);this.calciteTooltipClose=i(this,"calciteTooltipClose",6);this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6);this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6);this.guid=`calcite-tooltip-${p()}`;this.hasLoaded=false;this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.setUpReferenceElement=(t=true)=>{this.removeReferences();this.effectiveReferenceElement=x(this.el);c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;if(t&&e&&!s){console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i})}this.addReferences()};this.getId=()=>this.el.id||this.guid;this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}const i=this.getId();if("setAttribute"in t){t.setAttribute(y,i)}H.registerElement(t,this.el)};this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t){return}if("removeAttribute"in t){t.removeAttribute(y)}H.unregisterElement(t)};this.closeOnClick=false;this.label=undefined;this.offsetDistance=h;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.referenceElement=undefined;this.effectiveReferenceElement=undefined;this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(true)}offsetSkiddingHandler(){this.reposition(true)}openHandler(){m(this);this.reposition(true)}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded);if(this.open){m(this)}c(this,this.effectiveReferenceElement,this.el)}async componentWillLoad(){if(this.open){m(this)}}componentDidLoad(){if(this.referenceElement&&!this.effectiveReferenceElement){this.setUpReferenceElement()}this.reposition(true);this.hasLoaded=true}disconnectedCallback(){this.removeReferences();f(this,this.effectiveReferenceElement,this.el)}async reposition(t=false){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:r,arrowEl:a}=this;return d(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:r,arrowEl:a,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this;const r=t&&o;const a=!r;return e(s,{"aria-hidden":l(a),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":a,id:this.getId(),role:"tooltip"},e("div",{class:{[u.animation]:true,[u.animationActive]:r},ref:this.setTransitionEl},e(w,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:g.container},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};T.style=k;export{T as calcite_tooltip};
|
|
7
|
-
//# sourceMappingURL=p-96589414.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as o,g as e}from"./p-8e11bc58.js";import{c as s,d as a}from"./p-25683e8e.js";import{c as i,s as c,a as n}from"./p-149dfb81.js";import{c as l,d as r}from"./p-5dbde633.js";import{u as d,c as p,d as h,s as u}from"./p-35a9fd22.js";import{S as g}from"./p-9a507d85.js";import{S as m,I as f,C as b}from"./p-4f6aa77e.js";import{b as x}from"./p-3084a4eb.js";import"./p-3ce88b03.js";import"./p-5a15c611.js";import"./p-e1d160f2.js";import"./p-59f92c59.js";const v=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3;--calcite-action-group-gap:1px;--calcite-action-group-padding:1px}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:var(--calcite-color-background);gap:var(--calcite-action-group-gap);padding:var(--calcite-action-group-gap);grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const y=class{constructor(o){t(this,o);this.setMenuOpen=t=>{this.menuOpen=!!t.target.open};this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=x(t)};this.expanded=false;this.label=undefined;this.layout="vertical";this.columns=undefined;this.menuOpen=false;this.overlayPositioning="absolute";this.scale=undefined;this.messages=undefined;this.messageOverrides=undefined;this.effectiveLocale="";this.defaultMessages=undefined;this.hasMenuActions=false}expandedHandler(){this.menuOpen=false}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await i(this);this.el.focus()}connectedCallback(){l(this);p(this);s(this)}disconnectedCallback(){r(this);h(this);a(this)}async componentWillLoad(){c(this);await u(this)}componentDidLoad(){n(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:s,layout:a,messages:i,overlayPositioning:c,hasMenuActions:n}=this;return o("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!n,label:i.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:c,placement:a==="horizontal"?"bottom-start":"leading-start",scale:s},o("calcite-action",{icon:f.menu,scale:s,slot:g.trigger,text:i.more,textEnabled:t}),o("slot",{name:m.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),o("slot",{name:m.menuTooltip,slot:g.tooltip}))}render(){return o("div",{"aria-label":this.label,class:b.container,role:"group"},o("slot",null),this.renderMenu())}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=v;export{y as calcite_action_group};
|
|
7
|
-
//# sourceMappingURL=p-9819c208.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as n,g as o}from"./p-8e11bc58.js";import{t as s,i as a,l as r,d as c}from"./p-3084a4eb.js";import{f as l,c as d,d as h,a as p,F as m,r as u}from"./p-5f6efc33.js";import{g as f}from"./p-e1d160f2.js";import{c as g,u as w,d as b,I as v}from"./p-12f20a88.js";import{i as k}from"./p-5a15c611.js";import{c as x,s as y,a as z}from"./p-149dfb81.js";import{c as D}from"./p-3ce88b03.js";import{o as I}from"./p-e8f2f7bf.js";import{g as C}from"./p-7c4d1ae1.js";import"./p-59f92c59.js";import"./p-4c7ea022.js";import"./p-03ace575.js";const E={dropdownTrigger:"trigger"};const H=":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:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(i){t(this,i);this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=e(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6);this.items=[];this.groups=[];this.mutationObserver=D("mutation",(()=>this.updateItems()));this.resizeObserver=D("resize",(t=>this.resizeObserverCallback(t)));this.openTransitionProp="opacity";this.guid=`calcite-dropdown-${f()}`;this.defaultAssignedElements=[];this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:true});this.updateItems()};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?l(e,t):null};this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:true});this.reposition(true)};this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]);this.updateSelectedItems();this.reposition(true);this.items.forEach((t=>t.scale=this.scale))};this.updateGroups=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e;this.updateItems()};this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;if(e===this.referenceEl){this.setDropdownWidth()}else if(e===this.scrollerEl){this.setMaxScrollerHeight()}}))};this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this;const i=t?.clientWidth;if(!i||!e){return}e.style.minWidth=`${i}px`};this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t){return}this.reposition(true);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"";this.reposition(true)};this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t);this.scrollerEl=t;this.transitionEl=t};this.setReferenceEl=t=>{this.referenceEl=t;d(this,this.referenceEl,this.floatingEl);this.resizeObserver.observe(t)};this.setFloatingEl=t=>{this.floatingEl=t;d(this,this.referenceEl,this.floatingEl)};this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl)){return}const{defaultPrevented:e,key:i}=t;if(e){return}if(this.open){if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&i==="Tab"){this.closeCalciteDropdown();t.preventDefault();return}}if(k(i)){this.openCalciteDropdown();t.preventDefault()}else if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])};this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem();this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)};this.openCalciteDropdown=()=>{this.open=!this.open;if(this.open){this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}};this.open=false;this.closeOnSelectDisabled=false;this.disabled=false;this.flipPlacements=undefined;this.maxItems=0;this.overlayPositioning="absolute";this.placement=h;this.selectedItems=[];this.type="click";this.widthScale=undefined;this.scale="m"}openHandler(){I(this);if(this.disabled){this.open=false;return}this.reposition(true)}handleDisabledChange(t){if(!t){this.open=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}async setFocus(){await x(this);this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition(true);if(this.open){this.openHandler();I(this)}g(this);this.updateItems();d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){y(this)}componentDidLoad(){z(this);this.reposition(true)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();b(this);p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(n,null,i(v,{disabled:this.disabled},i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":s(t),"aria-haspopup":"menu",name:E.dropdownTrigger,onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":s(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{["calcite-dropdown-content"]:true,[m.animation]:true,[m.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups})))))}async reposition(t=false){const{floatingEl:e,referenceEl:i,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return u(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},t)}closeCalciteDropdownOnClick(t){if(this.disabled||!a(t)||!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown();t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){if(t.composedPath().includes(this.el)){return}this.open=false}pointerEnterHandler(){if(this.disabled||this.type!=="hover"){return}this.openCalciteDropdown()}pointerLeaveHandler(){if(this.disabled||this.type!=="hover"){return}this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail;const i=e.target;const n=this.getTraversableItems();switch(e.key){case"Tab":this.open=false;this.updateTabIndexOfItems(i);break;case"ArrowDown":r(n,i,"next");break;case"ArrowUp":r(n,i,"previous");break;case"Home":r(n,i,"first");break;case"End":r(n,i,"last");break}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.closeOnSelectDisabled||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i=0;let n=0;let o;this.groups.forEach((e=>{if(t>0&&i<t){Array.from(e.children).forEach(((e,s)=>{if(s===0){if(isNaN(o)){o=e.offsetTop}n+=o}if(i<t){n+=e.offsetHeight;i+=1}}))}}));return e.length>t?n:0}closeCalciteDropdown(t=true){this.open=false;if(t){c(this.triggers[0])}}getFocusableElement(t){if(!t){return}c(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};P.style=H;const j={container:"container",containerLink:"container--link",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon-end",iconStart:"dropdown-item-icon-start",itemContent:"dropdown-item-content",link:"dropdown-link"};const O=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const A=class{constructor(i){t(this,i);this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))};this.mutationObserver=D("mutation",(()=>this.updateItems()));this.groupTitle=undefined;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:true})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[j.container]:true,[`${j.container}--${this.scale}`]:true}},e,t,i("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};A.style=O;const $=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;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 )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const S=class{constructor(i){t(this,i);this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6);this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6);this.disabled=false;this.href=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.label=undefined;this.rel=undefined;this.selected=false;this.target=undefined;this.selectionMode="single";this.scale="m"}async setFocus(){await x(this);this.el?.focus()}componentWillLoad(){y(this);this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}componentDidRender(){w(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a,scale:r}=this;const c=i("calcite-icon",{class:j.iconStart,flipRtl:a==="start"||a==="both",icon:this.iconStart,scale:C(this.scale)});const l=i("span",{class:j.itemContent},i("slot",null));const d=i("calcite-icon",{class:j.iconEnd,flipRtl:a==="end"||a==="both",icon:this.iconEnd,scale:C(this.scale)});const h=this.iconStart&&this.iconEnd?[c,l,d]:this.iconStart?[c,l]:this.iconEnd?[l,d]:l;const p=!t?h:i("a",{"aria-label":o,class:j.link,href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},h);const m=t?null:e==="single"?"menuitemradio":e==="multiple"?"menuitemcheckbox":"menuitem";const u=e!=="none"?s(this.selected):null;const{disabled:f}=this;return i(n,{"aria-checked":u,"aria-label":!t?o:"",role:m,tabIndex:f?-1:0},i(v,{disabled:f},i("div",{class:{[j.container]:true,[j.containerLink]:!!t,[`${j.container}--${r}`]:true,[j.containerMulti]:e==="multiple",[j.containerSingle]:e==="single",[j.containerNone]:e==="none"}},e!=="none"?i("calcite-icon",{class:j.icon,icon:e==="multiple"?"check":"bullet-point",scale:C(this.scale)}):null,p)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}}updateActiveItemOnChange(t){const e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}}determineActiveItem(){switch(this.selectionMode){case"multiple":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit();this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};S.style=$;export{P as calcite_dropdown,A as calcite_dropdown_group,S as calcite_dropdown_item};
|
|
7
|
-
//# sourceMappingURL=p-98ce9956.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SLOTS","dropdownTrigger","dropdownCss","Dropdown","this","items","groups","mutationObserver","createObserver","updateItems","resizeObserver","entries","resizeObserverCallback","openTransitionProp","guid","defaultAssignedElements","slotChangeHandler","event","target","assignedElements","flatten","setFilteredPlacements","el","flipPlacements","filteredFlipPlacements","filterComputedPlacements","updateTriggers","triggers","reposition","map","group","Array","from","querySelectorAll","reduce","previousValue","currentValue","updateSelectedItems","forEach","item","scale","updateGroups","filter","matches","entry","referenceEl","setDropdownWidth","scrollerEl","setMaxScrollerHeight","referenceElWidth","clientWidth","style","minWidth","maxScrollerHeight","getMaxScrollerHeight","maxHeight","setScrollerAndTransitionEl","observe","transitionEl","setReferenceEl","connectFloatingUI","floatingEl","setFloatingEl","keyDownHandler","composedPath","includes","defaultPrevented","key","open","closeCalciteDropdown","preventDefault","shiftKey","isActivationKey","openCalciteDropdown","focusOnFirstActiveOrFirstItem","getFocusableElement","getTraversableItems","find","selected","toggleOpenEnd","removeEventListener","addEventListener","defaultMenuPlacement","openHandler","onToggleOpenCloseComponent","disabled","handleDisabledChange","value","flipPlacementsHandler","maxItemsHandler","overlayPositioningHandler","placementHandler","handlePropsChange","setFocus","componentFocusable","focus","connectedCallback","childList","subtree","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnect","disconnectInteractive","disconnectFloatingUI","render","h","Host","InteractiveContainer","class","id","onClick","onKeyDown","ref","toAriaBoolean","name","onSlotchange","FloatingCSS","animation","animationActive","role","delayed","placement","overlayPositioning","type","closeCalciteDropdownOnClick","isPrimaryPointerButton","closeCalciteDropdownOnEvent","stopPropagation","closeCalciteDropdownOnOpenEvent","pointerEnterHandler","pointerLeaveHandler","hidden","calciteInternalDropdownItemKeyEvent","keyboardEvent","detail","traversableItems","updateTabIndexOfItems","focusElementInGroup","handleItemSelect","calciteDropdownSelect","emit","closeOnSelectDisabled","requestedDropdownGroup","selectionMode","onBeforeOpen","calciteDropdownBeforeOpen","onOpen","calciteDropdownOpen","onBeforeClose","calciteDropdownBeforeClose","onClose","calciteDropdownClose","selectedItems","maxItems","itemsToProcess","groupHeaderHeight","children","index","isNaN","offsetTop","offsetHeight","length","focusTrigger","focusElement","tabIndex","CSS","container","containerLink","containerMulti","containerSingle","containerNone","icon","iconEnd","iconStart","itemContent","link","dropdownGroupCss","DropdownGroup","groupPosition","getGroupPosition","groupTitle","dropdownSeparator","updateActiveItemOnChange","requestedDropdownItem","calciteInternalDropdownItemChange","prototype","indexOf","call","parentElement","dropdownItemCss","DropdownItem","initialize","href","label","iconFlipRtl","iconStartEl","flipRtl","getIconScale","contentNode","iconEndEl","slottedContent","contentEl","rel","childLink","itemRole","itemAria","emitRequestedItem","click","calciteInternalDropdownCloseRequest","parentEmittedChange","parentDropdownGroupEl","determineActiveItem","closest","calciteDropdownItemSelect","calciteInternalDropdownItemSelect"],"sources":["src/components/dropdown/resources.ts","src/components/dropdown/dropdown.scss?tag=calcite-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx","src/components/dropdown-item/resources.ts","src/components/dropdown-group/dropdown-group.scss?tag=calcite-dropdown-group&encapsulation=shadow","src/components/dropdown-group/dropdown-group.tsx","src/components/dropdown-item/dropdown-item.scss?tag=calcite-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["export const SLOTS = {\n dropdownTrigger: \"trigger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-dropdown-width: Specifies the width of the component's wrapper.\n */\n\n:host {\n @apply inline-block;\n}\n\n@include disabled();\n\n:host .calcite-dropdown-wrapper {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".calcite-dropdown-wrapper\");\n:host([open]) .calcite-dropdown-wrapper {\n @include floatingUIWrapperActive();\n}\n\n:host .calcite-dropdown-content {\n @apply bg-foreground-1\n w-auto\n overflow-y-auto\n overflow-x-hidden\n max-h-menu;\n inline-size: var(--calcite-dropdown-width);\n}\n.calcite-trigger-container {\n @apply relative flex flex-auto h-full;\n @include word-break;\n}\n\n@media (forced-colors: active) {\n /* use real border since box-shadow is removed in high contrast mode */\n :host([open]) .calcite-dropdown-wrapper {\n border: 1px solid canvasText;\n }\n}\n\n// width\n:host([width-scale=\"s\"]) {\n --calcite-dropdown-width: theme(\"spacing.48\");\n}\n:host([width-scale=\"m\"]) {\n --calcite-dropdown-width: theme(\"spacing.56\");\n}\n:host([width-scale=\"l\"]) {\n --calcite-dropdown-width: theme(\"spacing.64\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ItemKeyboardEvent } from \"./interfaces\";\n\nimport {\n focusElement,\n focusElementInGroup,\n isPrimaryPointerButton,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n MenuPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.\n * @slot trigger - A slot for the element that triggers the `calcite-dropdown`.\n */\n@Component({\n tag: \"calcite-dropdown\",\n styleUrl: \"dropdown.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Dropdown\n implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, displays and positions the component.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.reposition(true);\n }\n\n /**\n * When `true`, the component will remain open after a selection is made.\n *\n * If the `selectionMode` of the selected `calcite-dropdown-item`'s containing `calcite-dropdown-group` is `\"none\"`, the component will always close.\n *\n */\n @Prop({ reflect: true }) closeOnSelectDisabled = false;\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 @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scroller.\n * Value must be greater than `0`, and does not include `groupTitle`'s from `calcite-dropdown-group`.\n */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Determines where the component will be positioned relative to the container element.\n *\n * @default \"bottom-start\"\n */\n @Prop({ reflect: true }) placement: MenuPlacement = defaultMenuPlacement;\n\n @Watch(\"placement\")\n placementHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteDropdownItemElement[] = [];\n\n /**\n * Specifies the action to open the component from the container element.\n */\n @Prop({ reflect: true }) type: \"hover\" | \"click\" = \"click\";\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\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 this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.setFilteredPlacements();\n this.reposition(true);\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectInteractive(this);\n this.updateItems();\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.reposition(true);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n render(): VNode {\n const { open, guid } = this;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n class=\"calcite-trigger-container\"\n id={`${guid}-menubutton`}\n onClick={this.openCalciteDropdown}\n onKeyDown={this.keyDownHandler}\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.setReferenceEl}\n >\n <slot\n aria-controls={`${guid}-menu`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"menu\"\n name={SLOTS.dropdownTrigger}\n onSlotchange={this.updateTriggers}\n />\n </div>\n <div\n aria-hidden={toAriaBoolean(!open)}\n class=\"calcite-dropdown-wrapper\"\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.setFloatingEl}\n >\n <div\n aria-labelledby={`${guid}-menubutton`}\n class={{\n [\"calcite-dropdown-content\"]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n }}\n id={`${guid}-menu`}\n role=\"menu\"\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.setScrollerAndTransitionEl}\n >\n <slot onSlotchange={this.updateGroups} />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed,\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when a `calcite-dropdown-item`'s selection changes. */\n @Event({ cancelable: false }) calciteDropdownSelect: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownClose: 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 }) calciteDropdownBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownOpen: EventEmitter<void>;\n\n @Listen(\"pointerdown\", { target: \"window\" })\n closeCalciteDropdownOnClick(event: PointerEvent): void {\n if (\n this.disabled ||\n !isPrimaryPointerButton(event) ||\n !this.open ||\n event.composedPath().includes(this.el)\n ) {\n return;\n }\n\n this.closeCalciteDropdown(false);\n }\n\n @Listen(\"calciteInternalDropdownCloseRequest\")\n closeCalciteDropdownOnEvent(event: Event): void {\n this.closeCalciteDropdown();\n event.stopPropagation();\n }\n\n @Listen(\"calciteDropdownOpen\", { target: \"window\" })\n closeCalciteDropdownOnOpenEvent(event: Event): void {\n if (event.composedPath().includes(this.el)) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"pointerenter\")\n pointerEnterHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.openCalciteDropdown();\n }\n\n @Listen(\"pointerleave\")\n pointerLeaveHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.closeCalciteDropdown();\n }\n\n private getTraversableItems(): HTMLCalciteDropdownItemElement[] {\n return this.items.filter((item) => !item.disabled && !item.hidden);\n }\n\n @Listen(\"calciteInternalDropdownItemKeyEvent\")\n calciteInternalDropdownItemKeyEvent(event: CustomEvent<ItemKeyboardEvent>): void {\n const { keyboardEvent } = event.detail;\n const target = keyboardEvent.target as HTMLCalciteDropdownItemElement;\n const traversableItems = this.getTraversableItems();\n\n switch (keyboardEvent.key) {\n case \"Tab\":\n this.open = false;\n this.updateTabIndexOfItems(target);\n break;\n case \"ArrowDown\":\n focusElementInGroup(traversableItems, target, \"next\");\n break;\n case \"ArrowUp\":\n focusElementInGroup(traversableItems, target, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(traversableItems, target, \"first\");\n break;\n case \"End\":\n focusElementInGroup(traversableItems, target, \"last\");\n break;\n }\n\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n handleItemSelect(event: CustomEvent<RequestedItem>): void {\n this.updateSelectedItems();\n event.stopPropagation();\n this.calciteDropdownSelect.emit();\n if (\n !this.closeOnSelectDisabled ||\n event.detail.requestedDropdownGroup.selectionMode === \"none\"\n ) {\n this.closeCalciteDropdown();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownElement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n private items: HTMLCalciteDropdownItemElement[] = [];\n\n private groups: HTMLCalciteDropdownGroupElement[] = [];\n\n /** trigger elements */\n private triggers: HTMLElement[];\n\n floatingEl: HTMLDivElement;\n\n referenceEl: HTMLDivElement;\n\n private scrollerEl: HTMLDivElement;\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n resizeObserver = createObserver(\"resize\", (entries) => this.resizeObserverCallback(entries));\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n guid = `calcite-dropdown-${guid()}`;\n\n defaultAssignedElements: Element[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n slotChangeHandler = (event: Event): void => {\n this.defaultAssignedElements = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n });\n\n this.updateItems();\n };\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n updateTriggers = (event: Event): void => {\n this.triggers = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n }) as HTMLElement[];\n\n this.reposition(true);\n };\n\n updateItems = (): void => {\n this.items = this.groups\n .map((group) => Array.from(group?.querySelectorAll(\"calcite-dropdown-item\")))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n this.updateSelectedItems();\n\n this.reposition(true);\n\n this.items.forEach((item) => (item.scale = this.scale));\n };\n\n updateGroups = (event: Event): void => {\n const groups = (event.target as HTMLSlotElement)\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-dropdown-group\")) as HTMLCalciteDropdownGroupElement[];\n\n this.groups = groups;\n\n this.updateItems();\n };\n\n resizeObserverCallback = (entries: ResizeObserverEntry[]): void => {\n entries.forEach((entry) => {\n const { target } = entry;\n if (target === this.referenceEl) {\n this.setDropdownWidth();\n } else if (target === this.scrollerEl) {\n this.setMaxScrollerHeight();\n }\n });\n };\n\n setDropdownWidth = (): void => {\n const { referenceEl, scrollerEl } = this;\n const referenceElWidth = referenceEl?.clientWidth;\n\n if (!referenceElWidth || !scrollerEl) {\n return;\n }\n\n scrollerEl.style.minWidth = `${referenceElWidth}px`;\n };\n\n setMaxScrollerHeight = (): void => {\n const { scrollerEl } = this;\n if (!scrollerEl) {\n return;\n }\n\n this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n this.reposition(true);\n };\n\n setScrollerAndTransitionEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.scrollerEl = el;\n\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.calciteDropdownBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteDropdownOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteDropdownBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteDropdownClose.emit();\n }\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n this.resizeObserver.observe(el);\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!event.composedPath().includes(this.referenceEl)) {\n return;\n }\n\n const { defaultPrevented, key } = event;\n\n if (defaultPrevented) {\n return;\n }\n\n if (this.open) {\n if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n } else if (event.shiftKey && key === \"Tab\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n }\n }\n\n if (isActivationKey(key)) {\n this.openCalciteDropdown();\n event.preventDefault();\n } else if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n }\n };\n\n private updateSelectedItems(): void {\n this.selectedItems = this.items.filter((item) => item.selected);\n }\n\n private getMaxScrollerHeight(): number {\n const { maxItems, items } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n let groupHeaderHeight: number;\n\n this.groups.forEach((group) => {\n if (maxItems > 0 && itemsToProcess < maxItems) {\n Array.from(group.children).forEach((item: HTMLCalciteDropdownItemElement, index) => {\n if (index === 0) {\n if (isNaN(groupHeaderHeight)) {\n groupHeaderHeight = item.offsetTop;\n }\n\n maxScrollerHeight += groupHeaderHeight;\n }\n\n if (itemsToProcess < maxItems) {\n maxScrollerHeight += item.offsetHeight;\n itemsToProcess += 1;\n }\n });\n }\n });\n\n return items.length > maxItems ? maxScrollerHeight : 0;\n }\n\n private closeCalciteDropdown(focusTrigger = true) {\n this.open = false;\n\n if (focusTrigger) {\n focusElement(this.triggers[0]);\n }\n }\n\n private focusOnFirstActiveOrFirstItem = (): void => {\n this.getFocusableElement(\n this.getTraversableItems().find((item) => item.selected) || this.items[0],\n );\n };\n\n private getFocusableElement(item: HTMLCalciteDropdownItemElement): void {\n if (!item) {\n return;\n }\n\n focusElement(item);\n }\n\n private toggleOpenEnd = (): void => {\n this.focusOnFirstActiveOrFirstItem();\n this.el.removeEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n };\n\n private openCalciteDropdown = () => {\n this.open = !this.open;\n if (this.open) {\n this.el.addEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n }\n };\n\n private updateTabIndexOfItems(target: HTMLCalciteDropdownItemElement): void {\n this.items.forEach((item: HTMLCalciteDropdownItemElement) => {\n item.tabIndex = target !== item ? -1 : 0;\n });\n }\n}\n","export const CSS = {\n container: \"container\",\n containerLink: \"container--link\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\",\n icon: \"dropdown-item-icon\",\n iconEnd: \"dropdown-item-icon-end\",\n iconStart: \"dropdown-item-icon-start\",\n itemContent: \"dropdown-item-content\",\n link: \"dropdown-link\",\n};\n",":host {\n // we make the host relative, so items can consistently compute their offsetTop based on the group\n @apply block relative;\n}\n\n.container {\n text-align: start;\n}\n\n.container--s {\n @apply text-n2h;\n .dropdown-title {\n @apply p-2;\n }\n}\n\n.container--m {\n @apply text-n1h;\n .dropdown-title {\n @apply p-3;\n }\n}\n\n.container--l {\n @apply text-0h;\n .dropdown-title {\n @apply p-4;\n }\n}\n\n.dropdown-title {\n @apply border-color-3\n text-color-2\n -mb-px\n block\n cursor-default\n break-words\n border-0\n border-b\n border-solid\n font-bold;\n}\n\n.dropdown-separator {\n @apply block h-px;\n background-color: theme(\"borderColor.color.3\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS } from \"../dropdown-item/resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-item`s.\n */\n@Component({\n tag: \"calcite-dropdown-group\",\n styleUrl: \"dropdown-group.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class DropdownGroup {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies and displays a group title. */\n @Prop({ reflect: true }) groupTitle: string;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection, and\n *\n * `\"none\"` does not allow any selections.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> =\n \"single\";\n\n @Watch(\"selectionMode\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemChange: EventEmitter<RequestedItem>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.updateItems();\n this.mutationObserver?.observe(this.el, { childList: true });\n }\n\n componentWillLoad(): void {\n this.groupPosition = this.getGroupPosition();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n const groupTitle = this.groupTitle ? (\n <span aria-hidden=\"true\" class=\"dropdown-title\">\n {this.groupTitle}\n </span>\n ) : null;\n\n const dropdownSeparator =\n this.groupPosition > 0 ? <div class=\"dropdown-separator\" role=\"separator\" /> : null;\n\n return (\n <Host aria-label={this.groupTitle} role=\"group\">\n <div\n class={{\n [CSS.container]: true,\n [`${CSS.container}--${this.scale}`]: true,\n }}\n >\n {dropdownSeparator}\n {groupTitle}\n <slot />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n updateActiveItemOnChange(event: CustomEvent): void {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteInternalDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem,\n });\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownGroupElement;\n\n /** position of group within a dropdown */\n private groupPosition: number;\n\n /** the requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** the requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n private updateItems = (): void => {\n Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\")).forEach(\n (item) => (item.selectionMode = this.selectionMode),\n );\n };\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private getGroupPosition(): number {\n return Array.prototype.indexOf.call(\n this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"),\n this.el,\n );\n }\n}\n",".container--s {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l {\n @apply text-0h py-2.5;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n// none-selection mode\n.container--s.container--none-selection {\n padding-inline-start: theme(\"padding.1\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--m.container--none-selection {\n padding-inline-start: theme(\"padding.2\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--l.container--none-selection {\n padding-inline-start: theme(\"padding.3\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n@mixin itemStyling {\n @apply text-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n items-center;\n}\n\n.container {\n @include itemStyling;\n text-align: start;\n}\n\n.dropdown-item-content {\n @apply flex-auto py-0.5;\n padding-inline-end: theme(\"margin.auto\");\n padding-inline-start: theme(\"margin.1\");\n}\n\n//focus\n:host,\n.container--link a {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset outline-none;\n}\n\n// when used as link move styling anchor\n.container--link {\n @apply p-0;\n & a {\n @include itemStyling;\n }\n}\n\n.container--s .dropdown-link {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m .dropdown-link {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l .dropdown-link {\n @apply text-0h py-3;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n:host(:hover:not([disabled])),\n:host(:active:not([disabled])) {\n .container {\n @apply bg-foreground-2 text-color-1 no-underline;\n }\n\n .container--link .dropdown-link {\n @apply text-color-1;\n }\n}\n\n:host(:active:not([disabled])) .container {\n @apply bg-foreground-3;\n}\n\n:host(:focus) .container {\n @apply text-color-1 no-underline;\n}\n\n:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link {\n @apply text-color-1 font-medium;\n & calcite-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n// item icon\n.dropdown-item-icon {\n @apply absolute\n opacity-0\n duration-150\n ease-in-out;\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.1\");\n}\n\n.container--m .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.2\");\n}\n\n.container--l .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.3\");\n}\n\n:host(:hover:not([disabled])) .dropdown-item-icon {\n color: theme(\"borderColor.color.1\");\n @apply opacity-100;\n}\n\n:host([selected]) .dropdown-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n}\n\n// icon start & end\n.container--s {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.2\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.2\");\n }\n}\n\n.container--m {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.3\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.3\");\n }\n}\n\n.container--l {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.4\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { ItemKeyboardEvent } from \"../dropdown/interfaces\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { FlipContext, Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\n\n/**\n * @slot - A slot for adding text.\n */\n@Component({\n tag: \"calcite-dropdown-item\",\n styleUrl: \"dropdown-item.scss\",\n shadow: true,\n})\nexport class DropdownItem implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public 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 * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n *\n * Determines if the component will render as an anchor.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the relationship to the linked document defined in `href`. */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** Specifies the frame or window to open the linked document. */\n @Prop({ reflect: true }) target: string;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is selected. */\n @Event({ cancelable: false }) calciteDropdownItemSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemSelect: EventEmitter<RequestedItem>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalDropdownItemKeyEvent: EventEmitter<ItemKeyboardEvent>;\n\n /** @internal */\n @Event({ cancelable: false }) calciteInternalDropdownCloseRequest: EventEmitter<void>;\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.el?.focus();\n }\n\n /**\n * Specifies the selection mode inherited from `calcite-dropdown-group`, defaults to `single`:\n * - `multiple` allows any number of selected items,\n * - `single` allows only one selection (default),\n * - `none` doesn't allow for any selection.\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> = \"single\";\n\n /**\n * Specifies the size of the component inherited from `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n this.initialize();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.initialize();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const { href, selectionMode, label, iconFlipRtl, scale } = this;\n\n const iconStartEl = (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"start\" || iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n const contentNode = (\n <span class={CSS.itemContent}>\n <slot />\n </span>\n );\n const iconEndEl = (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"end\" || iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const slottedContent =\n this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, contentNode]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n\n const contentEl = !href ? (\n slottedContent\n ) : (\n <a\n aria-label={label}\n class={CSS.link}\n href={href}\n rel={this.rel}\n tabIndex={-1}\n target={this.target}\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.childLink = el)}\n >\n {slottedContent}\n </a>\n );\n\n const itemRole = href\n ? null\n : selectionMode === \"single\"\n ? \"menuitemradio\"\n : selectionMode === \"multiple\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n\n const itemAria = selectionMode !== \"none\" ? toAriaBoolean(this.selected) : null;\n const { disabled } = this;\n\n return (\n <Host\n aria-checked={itemAria}\n aria-label={!href ? label : \"\"}\n role={itemRole}\n tabIndex={disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={disabled}>\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerLink]: !!href,\n [`${CSS.container}--${scale}`]: true,\n [CSS.containerMulti]: selectionMode === \"multiple\",\n [CSS.containerSingle]: selectionMode === \"single\",\n [CSS.containerNone]: selectionMode === \"none\",\n }}\n >\n {selectionMode !== \"none\" ? (\n <calcite-icon\n class={CSS.icon}\n icon={selectionMode === \"multiple\" ? \"check\" : \"bullet-point\"}\n scale={getIconScale(this.scale)}\n />\n ) : null}\n {contentEl}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"click\") onClick(): void {\n this.emitRequestedItem();\n }\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n event.preventDefault();\n break;\n case \"Escape\":\n this.calciteInternalDropdownCloseRequest.emit();\n event.preventDefault();\n break;\n case \"Tab\":\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n event.preventDefault();\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n }\n }\n\n @Listen(\"calciteInternalDropdownItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownItemElement;\n\n /** id of containing group */\n private parentDropdownGroupEl: HTMLCalciteDropdownGroupElement;\n\n /** requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n /** if href is requested, track the rendered child link*/\n private childLink: HTMLAnchorElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private initialize(): void {\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.selected = false;\n }\n }\n\n private determineActiveItem(): void {\n switch (this.selectionMode) {\n case \"multiple\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = !this.selected;\n }\n break;\n\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = true;\n } else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.selected = false;\n }\n break;\n\n case \"none\":\n this.selected = false;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteDropdownItemSelect.emit();\n this.cal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B,CAEPxM,EAAMoH,iB,CA6BA,UAAAgE,GACNjM,KAAKoN,sBAAwBpN,KAAKkB,GAAGoM,QAAQ,0BAC7C,GAAItN,KAAKiJ,gBAAkB,OAAQ,CACjCjJ,KAAK0E,SAAW,K,EAIZ,mBAAA2I,GACN,OAAQrN,KAAKiJ,eACX,IAAK,WACH,GAAIjJ,KAAKkB,KAAOlB,KAAKyL,sBAAuB,CAC1CzL,KAAK0E,UAAY1E,KAAK0E,Q,CAExB,MAEF,IAAK,SACH,GAAI1E,KAAKkB,KAAOlB,KAAKyL,sBAAuB,CAC1CzL,KAAK0E,SAAW,I,MACX,GAAI1E,KAAKgJ,yBAA2BhJ,KAAKoN,sBAAuB,CACrEpN,KAAK0E,SAAW,K,CAElB,MAEF,IAAK,OACH1E,KAAK0E,SAAW,MAChB,M,CAIE,iBAAAsI,GACNhN,KAAKuN,0BAA0BzE,OAC/B9I,KAAKwN,kCAAkC1E,KAAK,CAC1C2C,sBAAuBzL,KAAKkB,GAC5B8H,uBAAwBhJ,KAAKoN,uB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
const t={menu:"menu",defaultTrigger:"default-trigger"};const e={tooltip:"tooltip",trigger:"trigger"};const a={menu:"ellipsis"};const s="data-active";export{t as C,a as I,e as S,s as a};
|
|
7
|
-
//# sourceMappingURL=p-9a507d85.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-8e11bc58.js";import{e as a}from"./p-3084a4eb.js";import{c as n,d as r,u as h,I as o}from"./p-12f20a88.js";import{c,d as l,g as d}from"./p-aff67927.js";import{s as p,a as b,c as u}from"./p-149dfb81.js";import{c as f,d as g}from"./p-5dbde633.js";import{c as m}from"./p-3ce88b03.js";import{c as y,s as w,d as k,u as C}from"./p-35a9fd22.js";import"./p-e1d160f2.js";import"./p-59f92c59.js";import"./p-03ace575.js";import"./p-7c4d1ae1.js";import"./p-5a15c611.js";const v={wrapper:"wrapper",confirmChangesButton:"confirm-changes-button",cancelEditingButton:"cancel-editing-button",inputWrapper:"input-wrapper",cancelEditingButtonWrapper:"cancel-editing-button-wrapper",enableEditingButton:"enable-editing-button",controlsWrapper:"controls-wrapper"};const j=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-color-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-color-foreground-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-color-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const E=class{constructor(s){t(this,s);this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",6);this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",6);this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",6);this.mutationObserver=m("mutation",(()=>this.mutationObserverCallback()));this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value;this.editingEnabled=true;this.inputElement?.setFocus();this.calciteInternalInlineEditableEnableEditingChange.emit()};this.disableEditing=()=>{this.editingEnabled=false};this.cancelEditing=()=>{if(this.inputElement){this.inputElement.value=this.valuePriorToEditing}this.disableEditing();this.enableEditingButton.setFocus();if(!this.editingEnabled&&!!this.shouldEmitCancel){this.calciteInlineEditableEditCancel.emit()}};this.escapeKeyHandler=async t=>{if(t.defaultPrevented){return}if(t.key==="Escape"){t.preventDefault();this.cancelEditing()}if(t.key==="Tab"&&this.shouldShowControls){if(!t.shiftKey&&t.target===this.inputElement){t.preventDefault();this.cancelEditingButton.setFocus()}if(!!t.shiftKey&&t.target===this.cancelEditingButton){t.preventDefault();this.inputElement?.setFocus()}}};this.cancelEditingHandler=async t=>{t.preventDefault();this.cancelEditing()};this.enableEditingHandler=async t=>{if(this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton){return}t.preventDefault();if(!this.editingEnabled){this.enableEditing()}};this.confirmChangesHandler=async t=>{t.preventDefault();this.calciteInlineEditableEditConfirm.emit();try{if(this.afterConfirm){this.loading=true;await this.afterConfirm();this.disableEditing();this.enableEditingButton.setFocus()}}catch(t){}finally{this.loading=false}};this.disabled=false;this.editingEnabled=false;this.loading=false;this.controls=false;this.scale=undefined;this.afterConfirm=undefined;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=undefined}disabledWatcher(t){if(this.inputElement){this.inputElement.disabled=t}}editingEnabledWatcher(t,i){if(this.inputElement){this.inputElement.editingEnabled=t}if(!t&&!!i){this.shouldEmitCancel=true}}onMessagesChange(){}connectedCallback(){n(this);c(this);f(this);y(this);this.mutationObserver?.observe(this.el,{childList:true});this.mutationObserverCallback()}async componentWillLoad(){p(this);await w(this)}componentDidLoad(){b(this)}disconnectedCallback(){r(this);l(this);g(this);k(this);this.mutationObserver?.disconnect()}componentDidRender(){h(this)}render(){return s(o,{disabled:this.disabled},s("div",{class:v.wrapper,onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},s("div",{class:v.inputWrapper},s("slot",null)),s("div",{class:v.controlsWrapper},s("calcite-button",{appearance:"transparent",class:v.enableEditingButton,disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button",ref:t=>this.enableEditingButton=t}),this.shouldShowControls&&[s("div",{class:v.cancelEditingButtonWrapper},s("calcite-button",{appearance:"transparent",class:v.cancelEditingButton,disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,scale:this.scale,type:"button",ref:t=>this.cancelEditingButton=t})),s("calcite-button",{appearance:"solid",class:v.confirmChangesButton,disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,scale:this.scale,type:"button",ref:t=>this.confirmEditingButton=t})])))}blurHandler(){if(!this.controls){this.disableEditing()}}effectiveLocaleChange(){C(this,this.effectiveLocale)}async setFocus(){await u(this);this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput();this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=a(this.el,{matches:"calcite-input"});this.inputElement=t;if(!t){return}this.inputElement.disabled=this.disabled;this.inputElement.label=this.inputElement.label||d(this)}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};E.style=j;export{E as calcite_inline_editable};
|
|
7
|
-
//# sourceMappingURL=p-9b6ddb39.entry.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as s,g as i}from"./p-8e11bc58.js";import{t as a}from"./p-3084a4eb.js";import{s as n,a as o,c as l}from"./p-149dfb81.js";import{c as r,d as c}from"./p-5dbde633.js";import{c as d,s as h,d as u,u as f}from"./p-35a9fd22.js";import{c as p,u as b,d as g}from"./p-12f20a88.js";import"./p-e1d160f2.js";import"./p-59f92c59.js";import"./p-5a15c611.js";import"./p-3ce88b03.js";import"./p-03ace575.js";const m={handle:"handle",handleSelected:"handle--selected"};const v={drag:"drag"};const x={itemLabel:"{itemLabel}",position:"{position}",total:"{total}"};const y=":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}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-color-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:not([disabled])) .handle:focus{color:var(--calcite-color-text-1);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(:not([disabled])) .handle--selected{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(s){e(this,s);this.calciteHandleChange=t(this,"calciteHandleChange",6);this.calciteHandleNudge=t(this,"calciteHandleNudge",6);this.calciteInternalAssistiveTextChange=t(this,"calciteInternalAssistiveTextChange",6);this.handleKeyDown=e=>{if(this.disabled){return}switch(e.key){case" ":this.selected=!this.selected;this.calciteHandleChange.emit();e.preventDefault();break;case"ArrowUp":if(!this.selected){return}e.preventDefault();this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected){return}e.preventDefault();this.calciteHandleNudge.emit({direction:"down"});break}};this.handleBlur=()=>{if(this.blurUnselectDisabled||this.disabled){return}if(this.selected){this.selected=false;this.calciteHandleChange.emit()}};this.selected=false;this.disabled=false;this.dragHandle=undefined;this.messages=undefined;this.setPosition=undefined;this.setSize=undefined;this.label=undefined;this.blurUnselectDisabled=false;this.messageOverrides=undefined;this.effectiveLocale=undefined;this.defaultMessages=undefined}handleAriaTextChange(){const e=this.getAriaText("live");if(e){this.calciteInternalAssistiveTextChange.emit({message:e})}}onMessagesChange(){}connectedCallback(){p(this);d(this);r(this)}async componentWillLoad(){n(this);await h(this)}componentDidLoad(){o(this)}componentDidRender(){b(this)}disconnectedCallback(){g(this);u(this);c(this)}effectiveLocaleChange(){f(this,this.effectiveLocale)}async setFocus(){await l(this);this.handleButton?.focus()}getTooltip(){const{label:e,messages:t}=this;if(!t){return""}if(!e){return t.dragHandleUntitled}return t.dragHandle.replace(x.itemLabel,e)}getAriaText(e){const{setPosition:t,setSize:s,label:i,messages:a,selected:n}=this;if(!a||!i||typeof s!=="number"||typeof t!=="number"){return null}const o=e==="label"?n?a.dragHandleChange:a.dragHandleIdle:n?a.dragHandleActive:a.dragHandleCommit;const l=o.replace(x.position,t.toString());const r=l.replace(x.itemLabel,i);return r.replace(x.total,s.toString())}render(){return s("span",{"aria-disabled":this.disabled?a(this.disabled):null,"aria-label":this.disabled?null:this.getAriaText("label"),"aria-pressed":this.disabled?null:a(this.selected),class:{[m.handle]:true,[m.handleSelected]:!this.disabled&&this.selected},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabIndex:this.disabled?null:0,title:this.getTooltip(),ref:e=>{this.handleButton=e}},s("calcite-icon",{icon:v.drag,scale:"s"}))}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{messages:["handleAriaTextChange"],label:["handleAriaTextChange"],selected:["handleAriaTextChange"],setPosition:["handleAriaTextChange"],setSize:["handleAriaTextChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=y;export{C as calcite_handle};
|
|
7
|
-
//# sourceMappingURL=p-9ce02ede.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CSS","handle","handleSelected","ICONS","drag","SUBSTITUTIONS","itemLabel","position","total","handleCss","Handle","this","handleKeyDown","event","disabled","key","selected","calciteHandleChange","emit","preventDefault","calciteHandleNudge","direction","handleBlur","blurUnselectDisabled","handleAriaTextChange","message","getAriaText","calciteInternalAssistiveTextChange","onMessagesChange","connectedCallback","connectInteractive","connectMessages","connectLocalized","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","disconnectMessages","disconnectLocalized","effectiveLocaleChange","updateMessages","effectiveLocale","setFocus","componentFocusable","handleButton","focus","getTooltip","label","messages","dragHandleUntitled","dragHandle","replace","type","setPosition","setSize","text","dragHandleChange","dragHandleIdle","dragHandleActive","dragHandleCommit","replacePosition","toString","replaceLabel","render","h","toAriaBoolean","class","onBlur","onKeyDown","role","tabIndex","title","ref","el","icon","scale"],"sources":["src/components/handle/resources.ts","src/components/handle/handle.scss?tag=calcite-handle&encapsulation=shadow","src/components/handle/handle.tsx"],"sourcesContent":["export const CSS = {\n handle: \"handle\",\n handleSelected: \"handle--selected\",\n};\n\nexport const ICONS = {\n drag: \"drag\",\n};\n\nexport const SUBSTITUTIONS = {\n itemLabel: \"{itemLabel}\",\n position: \"{position}\",\n total: \"{total}\",\n};\n",":host {\n @apply flex;\n}\n\n.handle {\n @apply focus-base\n flex\n items-center\n justify-center\n self-stretch\n border-none\n bg-transparent;\n color: theme(\"borderColor.color.input\");\n padding-block: theme(\"spacing.3\");\n padding-inline: theme(\"spacing.1\");\n line-height: 0;\n\n calcite-icon {\n color: inherit;\n }\n}\n\n:host(:not([disabled])) .handle {\n @apply cursor-move;\n &:hover {\n @apply bg-foreground-2 text-color-1;\n }\n &:focus {\n @apply text-color-1 focus-inset;\n }\n &--selected {\n @apply bg-foreground-3 text-color-1;\n }\n}\n\n@include disabled();\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 { toAriaBoolean } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { HandleMessages } from \"./assets/handle/t9n\";\nimport { HandleChange, HandleNudge } from \"./interfaces\";\nimport { CSS, ICONS, SUBSTITUTIONS } from \"./resources\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\n\n@Component({\n tag: \"calcite-handle\",\n styleUrl: \"handle.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Handle implements LoadableComponent, T9nComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ mutable: true, reflect: true }) selected = false;\n\n @Watch(\"messages\")\n @Watch(\"label\")\n @Watch(\"selected\")\n @Watch(\"setPosition\")\n @Watch(\"setSize\")\n handleAriaTextChange(): void {\n const message = this.getAriaText(\"live\");\n\n if (message) {\n this.calciteInternalAssistiveTextChange.emit({\n message,\n });\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 * Value for the button title attribute.\n */\n @Prop({ reflect: true }) dragHandle: string;\n\n /**\n * Made into a prop for testing purposes only.\n *\n * @internal\n */\n @Prop() messages: HandleMessages;\n\n /**\n *\n *\n * @internal\n */\n @Prop() setPosition: number;\n\n /**\n *\n *\n * @internal\n */\n @Prop() setSize: number;\n\n /**\n *\n *\n * @internal\n */\n @Prop() label: string;\n\n /**\n * When `true`, disables unselecting the component when blurred.\n *\n * @internal\n */\n @Prop() blurUnselectDisabled = false;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n @Prop() messageOverrides: Partial<HandleMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectMessages(this);\n connectLocalized(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectMessages(this);\n disconnectLocalized(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteHandleElement;\n\n handleButton: HTMLElement;\n\n @State() effectiveLocale: string;\n\n @State() defaultMessages: HandleMessages;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteHandleChange: EventEmitter<void>;\n\n /**\n * Fires when the handle is selected and the up or down arrow key is pressed.\n */\n @Event({ cancelable: false }) calciteHandleNudge: EventEmitter<HandleNudge>;\n\n /**\n * Fires when the assistive text has changed.\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAssistiveTextChange: EventEmitter<HandleChange>;\n\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.handleButton?.focus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private getTooltip(): string {\n const { label, messages } = this;\n\n if (!messages) {\n return \"\";\n }\n\n if (!label) {\n return messages.dragHandleUntitled;\n }\n\n return messages.dragHandle.replace(SUBSTITUTIONS.itemLabel, label);\n }\n\n getAriaText(type: \"label\" | \"live\"): string {\n const { setPosition, setSize, label, messages, selected } = this;\n\n if (!messages || !label || typeof setSize !== \"number\" || typeof setPosition !== \"number\") {\n return null;\n }\n\n const text =\n type === \"label\"\n ? selected\n ? messages.dragHandleChange\n : messages.dragHandleIdle\n : selected\n ? messages.dragHandleActive\n : messages.dragHandleCommit;\n\n const replacePosition = text.replace(SUBSTITUTIONS.position, setPosition.toString());\n const replaceLabel = replacePosition.replace(SUBSTITUTIONS.itemLabel, label);\n return replaceLabel.replace(SUBSTITUTIONS.total, setSize.toString());\n }\n\n handleKeyDown = (event: KeyboardEvent): void => {\n if (this.disabled) {\n return;\n }\n\n switch (event.key) {\n case \" \":\n this.selected = !this.selected;\n this.calciteHandleChange.emit();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n if (!this.selected) {\n return;\n }\n event.preventDefault();\n this.calciteHandleNudge.emit({ direction: \"up\" });\n break;\n case \"ArrowDown\":\n if (!this.selected) {\n return;\n }\n event.preventDefault();\n this.calciteHandleNudge.emit({ direction: \"down\" });\n break;\n }\n };\n\n handleBlur = (): void => {\n if (this.blurUnselectDisabled || this.disabled) {\n return;\n }\n\n if (this.selected) {\n this.selected = false;\n this.calciteHandleChange.emit();\n }\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486\n <span\n aria-disabled={this.disabled ? toAriaBoolean(this.disabled) : null}\n aria-label={this.disabled ? null : this.getAriaText(\"label\")}\n aria-pressed={this.disabled ? null : toAriaBoolean(this.selected)}\n class={{ [CSS.handle]: true, [CSS.handleSelected]: !this.disabled && this.selected }}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n role=\"button\"\n tabIndex={this.disabled ? null : 0}\n title={this.getTooltip()}\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): void => {\n this.handleButton = el;\n }}\n >\n <calcite-icon icon={ICONS.drag} scale=\"s\" />\n </span>\n );\n }\n}\n"],"mappings":";;;;;6ZAAO,MAAMA,EAAM,CACjBC,OAAQ,SACRC,eAAgB,oBAGX,MAAMC,EAAQ,CACnBC,KAAM,QAGD,MAAMC,EAAgB,CAC3BC,UAAW,cACXC,SAAU,aACVC,MAAO,WCZT,MAAMC,EAAY,84C,MC2CLC,EAAM,M,gOAkNjBC,KAAAC,cAAiBC,IACf,GAAIF,KAAKG,SAAU,CACjB,M,CAGF,OAAQD,EAAME,KACZ,IAAK,IACHJ,KAAKK,UAAYL,KAAKK,SACtBL,KAAKM,oBAAoBC,OACzBL,EAAMM,iBACN,MACF,IAAK,UACH,IAAKR,KAAKK,SAAU,CAClB,M,CAEFH,EAAMM,iBACNR,KAAKS,mBAAmBF,KAAK,CAAEG,UAAW,OAC1C,MACF,IAAK,YACH,IAAKV,KAAKK,SAAU,CAClB,M,CAEFH,EAAMM,iBACNR,KAAKS,mBAAmBF,KAAK,CAAEG,UAAW,SAC1C,M,EAINV,KAAAW,WAAa,KACX,GAAIX,KAAKY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AaX,QAAQnD,EAAcG,MAAOmD,EAAQO,W,CAgD3D,MAAAE,GACE,OAEEC,EAAA,wBACiB1D,KAAKG,SAAWwD,EAAc3D,KAAKG,UAAY,KAAI,aACtDH,KAAKG,SAAW,KAAOH,KAAKe,YAAY,SAAQ,eAC9Cf,KAAKG,SAAW,KAAOwD,EAAc3D,KAAKK,UACxDuD,MAAO,CAAE,CAACvE,EAAIC,QAAS,KAAM,CAACD,EAAIE,iBAAkBS,KAAKG,UAAYH,KAAKK,UAC1EwD,OAAQ7D,KAAKW,WACbmD,UAAW9D,KAAKC,cAChB8D,KAAK,SACLC,SAAUhE,KAAKG,SAAW,KAAO,EACjC8D,MAAOjE,KAAKwC,aAEZ0B,IAAMC,IACJnE,KAAKsC,aAAe6B,CAAE,GAGxBT,EAAA,gBAAcU,KAAM5E,EAAMC,KAAM4E,MAAM,M"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as e,g as i}from"./p-8e11bc58.js";import{c as s,u as a,d as o,I as l}from"./p-12f20a88.js";import"./p-03ace575.js";const c={tileGroup:"tile-group"};const r=":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{box-sizing:border-box;display:inline-block}:host .tile-group{display:grid;grid-auto-rows:minmax(auto, 1fr)}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}:host([scale=s]) .tile-group{grid-template-columns:repeat(auto-fit, minmax(100px, 1fr))}:host([scale=m]) .tile-group{grid-template-columns:repeat(auto-fit, minmax(140px, 1fr))}:host([scale=l]) .tile-group{grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))}:host([layout=vertical]) .tile-group{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const n=class{constructor(e){t(this,e);this.updateTiles=()=>{this.el.querySelectorAll("calcite-tile").forEach((t=>t.scale=this.scale))};this.disabled=false;this.layout="horizontal";this.scale="m"}scaleWatcher(){this.updateTiles()}connectedCallback(){s(this);this.updateTiles()}componentDidRender(){a(this)}disconnectedCallback(){o(this)}render(){return e(l,{disabled:this.disabled},e("div",{class:c.tileGroup},e("slot",{onSlotchange:this.updateTiles})))}get el(){return i(this)}static get watchers(){return{scale:["scaleWatcher"]}}};n.style=r;export{n as calcite_tile_group};
|
|
7
|
-
//# sourceMappingURL=p-9e839c85.entry.js.map
|