@esri/calcite-components 2.6.0-next.1 → 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-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-a2d21863.entry.js.map +1 -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-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-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-f97a4e17.entry.js.map +1 -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 +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-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/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 +6 -6
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +6 -6
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +6 -6
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -6
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +6 -6
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +6 -6
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +6 -6
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +6 -6
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +7 -7
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +6 -6
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +7 -7
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +6 -6
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +6 -6
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +6 -6
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -6
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +6 -6
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +7 -7
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +7 -7
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +6 -6
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/action.js.map +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion-item.js.map +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.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 +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 +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-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 +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/hydrate/index.js +46 -46
- package/package.json +2 -2
- package/dist/calcite/p-0140bf06.js +0 -7
- package/dist/calcite/p-05129466.entry.js +0 -7
- package/dist/calcite/p-05129466.entry.js.map +0 -1
- package/dist/calcite/p-090ea3a3.js +0 -7
- package/dist/calcite/p-0a3f1f3c.js +0 -7
- package/dist/calcite/p-0a547058.entry.js +0 -7
- package/dist/calcite/p-0a547058.entry.js.map +0 -1
- package/dist/calcite/p-0b748594.entry.js +0 -7
- package/dist/calcite/p-0e40f56b.js +0 -7
- package/dist/calcite/p-0eadaa4b.entry.js +0 -7
- package/dist/calcite/p-0eadaa4b.entry.js.map +0 -1
- package/dist/calcite/p-0ebc1b80.js +0 -7
- package/dist/calcite/p-11a670d5.js +0 -7
- package/dist/calcite/p-155842f0.js +0 -7
- package/dist/calcite/p-18d58723.js +0 -7
- package/dist/calcite/p-18de250b.js +0 -7
- package/dist/calcite/p-197bde3e.entry.js +0 -7
- package/dist/calcite/p-197bde3e.entry.js.map +0 -1
- package/dist/calcite/p-1a871d95.js +0 -7
- package/dist/calcite/p-1f3a1793.js +0 -7
- package/dist/calcite/p-20052cbd.entry.js +0 -7
- package/dist/calcite/p-20052cbd.entry.js.map +0 -1
- package/dist/calcite/p-2174c79f.js +0 -7
- package/dist/calcite/p-218926aa.js +0 -7
- package/dist/calcite/p-25660a11.js +0 -7
- package/dist/calcite/p-2916c9f9.entry.js +0 -7
- package/dist/calcite/p-2916c9f9.entry.js.map +0 -1
- package/dist/calcite/p-2a46c8f3.js +0 -7
- package/dist/calcite/p-2b489cd9.entry.js +0 -7
- package/dist/calcite/p-2b5cd3fa.entry.js +0 -7
- package/dist/calcite/p-2d2e0315.js +0 -7
- package/dist/calcite/p-2eb03310.js +0 -7
- package/dist/calcite/p-2fa863b2.js +0 -7
- package/dist/calcite/p-300962bc.js +0 -7
- package/dist/calcite/p-313a89f7.entry.js +0 -7
- package/dist/calcite/p-313a89f7.entry.js.map +0 -1
- package/dist/calcite/p-32f9f099.entry.js +0 -7
- package/dist/calcite/p-33552bb9.entry.js +0 -7
- package/dist/calcite/p-33552bb9.entry.js.map +0 -1
- package/dist/calcite/p-33c74a44.entry.js +0 -7
- package/dist/calcite/p-33c74a44.entry.js.map +0 -1
- package/dist/calcite/p-33d8c8f0.entry.js +0 -7
- package/dist/calcite/p-33d8c8f0.entry.js.map +0 -1
- package/dist/calcite/p-346ca4fd.js +0 -7
- package/dist/calcite/p-35a0460f.entry.js +0 -7
- package/dist/calcite/p-35a0460f.entry.js.map +0 -1
- package/dist/calcite/p-39f0f1e3.js +0 -7
- package/dist/calcite/p-3aacf1f2.entry.js +0 -7
- package/dist/calcite/p-3b399cee.entry.js +0 -7
- package/dist/calcite/p-3cfee9f6.entry.js +0 -7
- package/dist/calcite/p-3ef30c84.js +0 -11
- package/dist/calcite/p-3fea5652.js +0 -7
- package/dist/calcite/p-415e8b2f.entry.js +0 -7
- package/dist/calcite/p-49af9f12.js +0 -12
- package/dist/calcite/p-4bfe1d4e.entry.js +0 -7
- package/dist/calcite/p-4bfe1d4e.entry.js.map +0 -1
- package/dist/calcite/p-4c6f0913.entry.js +0 -7
- package/dist/calcite/p-4c6f0913.entry.js.map +0 -1
- package/dist/calcite/p-4d11389b.js +0 -7
- package/dist/calcite/p-500a3e5a.js +0 -7
- package/dist/calcite/p-50916b2a.js +0 -7
- package/dist/calcite/p-55b0c2f8.js +0 -7
- package/dist/calcite/p-569193d4.entry.js +0 -7
- package/dist/calcite/p-569193d4.entry.js.map +0 -1
- package/dist/calcite/p-57cde6a5.js +0 -7
- package/dist/calcite/p-5a2baa09.entry.js +0 -7
- package/dist/calcite/p-5a2baa09.entry.js.map +0 -1
- package/dist/calcite/p-5bfa60ce.js +0 -7
- package/dist/calcite/p-5dbdbe4c.js +0 -7
- package/dist/calcite/p-5e9a8365.js +0 -7
- package/dist/calcite/p-607274e6.entry.js +0 -7
- package/dist/calcite/p-607274e6.entry.js.map +0 -1
- package/dist/calcite/p-6149e10f.js +0 -7
- package/dist/calcite/p-61c33373.js +0 -7
- package/dist/calcite/p-64ea4249.js +0 -7
- package/dist/calcite/p-68676e90.entry.js +0 -7
- package/dist/calcite/p-69072be4.entry.js +0 -7
- package/dist/calcite/p-69072be4.entry.js.map +0 -1
- package/dist/calcite/p-6a96ed0d.entry.js +0 -7
- package/dist/calcite/p-6a96ed0d.entry.js.map +0 -1
- package/dist/calcite/p-6ee4ecd3.entry.js +0 -7
- package/dist/calcite/p-703ccda0.js +0 -7
- package/dist/calcite/p-70570a66.js +0 -7
- package/dist/calcite/p-73c01c81.entry.js +0 -7
- package/dist/calcite/p-73c01c81.entry.js.map +0 -1
- package/dist/calcite/p-73cb419f.js +0 -7
- package/dist/calcite/p-75055c57.entry.js +0 -7
- package/dist/calcite/p-75055c57.entry.js.map +0 -1
- package/dist/calcite/p-75c46bed.js +0 -7
- package/dist/calcite/p-76964917.entry.js +0 -7
- package/dist/calcite/p-76964917.entry.js.map +0 -1
- package/dist/calcite/p-7915892c.entry.js +0 -7
- package/dist/calcite/p-7f18d1d7.entry.js +0 -7
- package/dist/calcite/p-7f18d1d7.entry.js.map +0 -1
- package/dist/calcite/p-7fac16ae.js +0 -7
- package/dist/calcite/p-83bac18a.entry.js +0 -7
- package/dist/calcite/p-84f1718e.entry.js +0 -7
- package/dist/calcite/p-84f1718e.entry.js.map +0 -1
- package/dist/calcite/p-88d56a3d.js +0 -7
- package/dist/calcite/p-88ff1c18.entry.js +0 -7
- package/dist/calcite/p-88ff1c18.entry.js.map +0 -1
- package/dist/calcite/p-8aa5ebbc.js +0 -7
- package/dist/calcite/p-8dffa3d8.js +0 -7
- package/dist/calcite/p-8fd31a3a.js +0 -7
- package/dist/calcite/p-919282f7.js +0 -7
- package/dist/calcite/p-91a256e8.entry.js +0 -7
- package/dist/calcite/p-91a256e8.entry.js.map +0 -1
- package/dist/calcite/p-931ddab0.entry.js +0 -7
- package/dist/calcite/p-93360d6a.entry.js +0 -7
- package/dist/calcite/p-93d2b7f2.entry.js +0 -7
- package/dist/calcite/p-95896059.js +0 -7
- package/dist/calcite/p-95c03159.entry.js +0 -7
- package/dist/calcite/p-960cacc4.entry.js +0 -7
- package/dist/calcite/p-96dbe795.js +0 -7
- package/dist/calcite/p-9835ce5c.js +0 -7
- package/dist/calcite/p-98930097.entry.js +0 -7
- package/dist/calcite/p-9ba7c5c2.js +0 -7
- package/dist/calcite/p-9bb36dfb.js +0 -7
- package/dist/calcite/p-9c499a47.js +0 -7
- package/dist/calcite/p-9e29450d.js +0 -7
- package/dist/calcite/p-9e3216cd.js +0 -7
- package/dist/calcite/p-a037aac7.js +0 -7
- package/dist/calcite/p-a3e6b31e.js +0 -7
- package/dist/calcite/p-a3ed6af6.js +0 -7
- package/dist/calcite/p-a3f4d333.entry.js +0 -7
- package/dist/calcite/p-a3f4d333.entry.js.map +0 -1
- package/dist/calcite/p-a4c77a97.entry.js +0 -7
- package/dist/calcite/p-a5ec7c0b.js +0 -13
- package/dist/calcite/p-a660207a.entry.js +0 -7
- package/dist/calcite/p-a853991f.js +0 -7
- package/dist/calcite/p-a8966896.entry.js +0 -7
- package/dist/calcite/p-aa3e2e48.entry.js +0 -7
- package/dist/calcite/p-aa3e2e48.entry.js.map +0 -1
- package/dist/calcite/p-aa6952d6.js +0 -7
- package/dist/calcite/p-ab717545.entry.js +0 -7
- package/dist/calcite/p-acd98ee1.entry.js +0 -7
- package/dist/calcite/p-acd98ee1.entry.js.map +0 -1
- package/dist/calcite/p-afcc94cb.js +0 -7
- package/dist/calcite/p-b275246e.js +0 -7
- package/dist/calcite/p-b33269fd.entry.js +0 -7
- package/dist/calcite/p-b36cd77a.entry.js +0 -7
- package/dist/calcite/p-b36cd77a.entry.js.map +0 -1
- package/dist/calcite/p-b3b720de.js +0 -7
- package/dist/calcite/p-b3def89d.entry.js +0 -7
- package/dist/calcite/p-b577f530.entry.js +0 -7
- package/dist/calcite/p-b577f530.entry.js.map +0 -1
- package/dist/calcite/p-b644fc7d.entry.js +0 -7
- package/dist/calcite/p-b9dacb70.entry.js +0 -7
- package/dist/calcite/p-b9dacb70.entry.js.map +0 -1
- package/dist/calcite/p-c0558aa0.entry.js +0 -7
- package/dist/calcite/p-c29da598.js +0 -7
- package/dist/calcite/p-c42f5bab.js +0 -7
- package/dist/calcite/p-c51d1630.js +0 -7
- package/dist/calcite/p-c66f7e71.entry.js +0 -7
- package/dist/calcite/p-c66f7e71.entry.js.map +0 -1
- package/dist/calcite/p-c6bc1ea6.js +0 -7
- package/dist/calcite/p-c6d7a9c6.js +0 -7
- package/dist/calcite/p-c7964aeb.js +0 -7
- package/dist/calcite/p-c7a3e230.js +0 -7
- package/dist/calcite/p-ca0fe424.js +0 -7
- package/dist/calcite/p-ccc52832.js +0 -7
- package/dist/calcite/p-ce5aec60.entry.js +0 -7
- package/dist/calcite/p-ce5aec60.entry.js.map +0 -1
- package/dist/calcite/p-d5cbf422.js +0 -7
- package/dist/calcite/p-d89bb0a0.js +0 -7
- package/dist/calcite/p-da641132.js +0 -7
- package/dist/calcite/p-db68bb8b.entry.js +0 -7
- package/dist/calcite/p-db68bb8b.entry.js.map +0 -1
- package/dist/calcite/p-dc1407c6.entry.js +0 -7
- package/dist/calcite/p-dc661724.js +0 -7
- package/dist/calcite/p-dc848774.entry.js +0 -7
- package/dist/calcite/p-dc848774.entry.js.map +0 -1
- package/dist/calcite/p-ddc1e0c8.js +0 -7
- package/dist/calcite/p-df206d95.entry.js +0 -7
- package/dist/calcite/p-e145b647.entry.js +0 -7
- package/dist/calcite/p-e2253525.js +0 -7
- package/dist/calcite/p-e4ce2855.js +0 -7
- package/dist/calcite/p-e5273796.entry.js +0 -7
- package/dist/calcite/p-e5273796.entry.js.map +0 -1
- package/dist/calcite/p-e538ca60.js +0 -8
- package/dist/calcite/p-e57f4f16.js +0 -7
- package/dist/calcite/p-e6a045a9.entry.js +0 -7
- package/dist/calcite/p-e6a045a9.entry.js.map +0 -1
- package/dist/calcite/p-e702d7ff.js +0 -7
- package/dist/calcite/p-e8b1fed4.js +0 -7
- package/dist/calcite/p-e90bd66d.js +0 -7
- package/dist/calcite/p-e96bcdd5.entry.js +0 -7
- package/dist/calcite/p-e9f9c64f.js +0 -7
- package/dist/calcite/p-eb326819.js +0 -7
- package/dist/calcite/p-ec2311cb.entry.js +0 -7
- package/dist/calcite/p-ec2311cb.entry.js.map +0 -1
- package/dist/calcite/p-ecf74d67.js +0 -7
- package/dist/calcite/p-eff98f62.entry.js +0 -7
- package/dist/calcite/p-eff98f62.entry.js.map +0 -1
- package/dist/calcite/p-f5d99561.entry.js +0 -7
- package/dist/calcite/p-f6cdf87d.js +0 -7
- package/dist/calcite/p-f728da23.js +0 -7
- package/dist/calcite/p-f736c7e7.entry.js +0 -7
- package/dist/calcite/p-f97042b9.js +0 -7
- package/dist/calcite/p-fa6d7a1b.js +0 -7
- package/dist/calcite/p-fe3402ab.entry.js +0 -7
- package/dist/calcite/p-fe3402ab.entry.js.map +0 -1
- package/dist/cjs/ExpandToggle-84a0b2eb.js +0 -110
- package/dist/cjs/ExpandToggle-84a0b2eb.js.map +0 -1
- package/dist/cjs/FloatingArrow-8945f43d.js +0 -49
- package/dist/cjs/FloatingArrow-8945f43d.js.map +0 -1
- package/dist/cjs/Heading-45be2853.js +0 -22
- package/dist/cjs/Heading-45be2853.js.map +0 -1
- package/dist/cjs/Validation-ed099780.js +0 -18
- package/dist/cjs/Validation-ed099780.js.map +0 -1
- package/dist/cjs/app-globals-d45b6275.js +0 -61
- package/dist/cjs/app-globals-d45b6275.js.map +0 -1
- package/dist/cjs/ar-2a2ceac1.js +0 -106
- package/dist/cjs/ar-2a2ceac1.js.map +0 -1
- package/dist/cjs/array-735e1afa.js +0 -14
- package/dist/cjs/array-735e1afa.js.map +0 -1
- package/dist/cjs/bg-48c8e6a7.js +0 -84
- package/dist/cjs/bg-48c8e6a7.js.map +0 -1
- package/dist/cjs/browser-25149201.js +0 -20
- package/dist/cjs/browser-25149201.js.map +0 -1
- package/dist/cjs/bs-cdcfe2b5.js +0 -53
- package/dist/cjs/bs-cdcfe2b5.js.map +0 -1
- package/dist/cjs/ca-a6d2d57e.js +0 -73
- package/dist/cjs/ca-a6d2d57e.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c4d7c730.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-c4d7c730.js.map +0 -1
- package/dist/cjs/component-46b77e08.js +0 -30
- package/dist/cjs/component-46b77e08.js.map +0 -1
- package/dist/cjs/conditionalSlot-fc2218a5.js +0 -60
- package/dist/cjs/conditionalSlot-fc2218a5.js.map +0 -1
- package/dist/cjs/cs-18f7bc30.js +0 -149
- package/dist/cjs/cs-18f7bc30.js.map +0 -1
- package/dist/cjs/da-2a766927.js +0 -68
- package/dist/cjs/da-2a766927.js.map +0 -1
- package/dist/cjs/de-7c25526b.js +0 -93
- package/dist/cjs/de-7c25526b.js.map +0 -1
- package/dist/cjs/de-at-a9cd463b.js +0 -92
- package/dist/cjs/de-at-a9cd463b.js.map +0 -1
- package/dist/cjs/de-ch-80fb3676.js +0 -92
- package/dist/cjs/de-ch-80fb3676.js.map +0 -1
- package/dist/cjs/debounce-b255f55a.js +0 -498
- package/dist/cjs/debounce-b255f55a.js.map +0 -1
- package/dist/cjs/dom-5dded79d.js +0 -1084
- package/dist/cjs/dom-5dded79d.js.map +0 -1
- package/dist/cjs/el-a35ab9fc.js +0 -68
- package/dist/cjs/el-a35ab9fc.js.map +0 -1
- package/dist/cjs/en-au-ca8118a4.js +0 -68
- package/dist/cjs/en-au-ca8118a4.js.map +0 -1
- package/dist/cjs/en-ca-bfec7c5c.js +0 -67
- package/dist/cjs/en-ca-bfec7c5c.js.map +0 -1
- package/dist/cjs/en-gb-1cee97c7.js +0 -71
- package/dist/cjs/en-gb-1cee97c7.js.map +0 -1
- package/dist/cjs/es-bd6e5ee6.js +0 -68
- package/dist/cjs/es-bd6e5ee6.js.map +0 -1
- package/dist/cjs/es-mx-42c3671e.js +0 -67
- package/dist/cjs/es-mx-42c3671e.js.map +0 -1
- package/dist/cjs/et-c6fdfdc8.js +0 -94
- package/dist/cjs/et-c6fdfdc8.js.map +0 -1
- package/dist/cjs/fi-0c7a5cca.js +0 -117
- package/dist/cjs/fi-0c7a5cca.js.map +0 -1
- package/dist/cjs/filter-0d09e8d2.js +0 -762
- package/dist/cjs/filter-0d09e8d2.js.map +0 -1
- package/dist/cjs/floating-ui-38bc3ae2.js +0 -1981
- package/dist/cjs/floating-ui-38bc3ae2.js.map +0 -1
- package/dist/cjs/focusTrapComponent-8d272297.js +0 -1020
- package/dist/cjs/focusTrapComponent-8d272297.js.map +0 -1
- package/dist/cjs/form-b7333efa.js +0 -333
- package/dist/cjs/form-b7333efa.js.map +0 -1
- package/dist/cjs/fr-8b6b904d.js +0 -70
- package/dist/cjs/fr-8b6b904d.js.map +0 -1
- package/dist/cjs/fr-ch-edb98614.js +0 -68
- package/dist/cjs/fr-ch-edb98614.js.map +0 -1
- package/dist/cjs/guid-8f9d0c26.js +0 -23
- package/dist/cjs/guid-8f9d0c26.js.map +0 -1
- package/dist/cjs/he-2c39525f.js +0 -107
- package/dist/cjs/he-2c39525f.js.map +0 -1
- package/dist/cjs/hi-daff5139.js +0 -67
- package/dist/cjs/hi-daff5139.js.map +0 -1
- package/dist/cjs/hr-4521f733.js +0 -82
- package/dist/cjs/hr-4521f733.js.map +0 -1
- package/dist/cjs/hu-a2a0d9a5.js +0 -90
- package/dist/cjs/hu-a2a0d9a5.js.map +0 -1
- package/dist/cjs/id-266d44bf.js +0 -68
- package/dist/cjs/id-266d44bf.js.map +0 -1
- package/dist/cjs/index-6a81bfbe.js +0 -208
- package/dist/cjs/index-6a81bfbe.js.map +0 -1
- package/dist/cjs/index-7a8a83c9.js +0 -75
- package/dist/cjs/index-7a8a83c9.js.map +0 -1
- package/dist/cjs/index-9eb4be21.js +0 -2659
- package/dist/cjs/index-9eb4be21.js.map +0 -1
- package/dist/cjs/input-405addd6.js +0 -57
- package/dist/cjs/input-405addd6.js.map +0 -1
- package/dist/cjs/interactive-5133329f.js +0 -151
- package/dist/cjs/interactive-5133329f.js.map +0 -1
- package/dist/cjs/it-453aaf9f.js +0 -68
- package/dist/cjs/it-453aaf9f.js.map +0 -1
- package/dist/cjs/it-ch-7556d1e6.js +0 -68
- package/dist/cjs/it-ch-7556d1e6.js.map +0 -1
- package/dist/cjs/ja-79f732bd.js +0 -74
- package/dist/cjs/ja-79f732bd.js.map +0 -1
- package/dist/cjs/key-ce0685cd.js +0 -16
- package/dist/cjs/key-ce0685cd.js.map +0 -1
- package/dist/cjs/ko-bc5fa005.js +0 -74
- package/dist/cjs/ko-bc5fa005.js.map +0 -1
- package/dist/cjs/label-412f66da.js +0 -183
- package/dist/cjs/label-412f66da.js.map +0 -1
- package/dist/cjs/loadable-3b038c73.js +0 -91
- package/dist/cjs/loadable-3b038c73.js.map +0 -1
- package/dist/cjs/locale-bdbe6686.js +0 -576
- package/dist/cjs/locale-bdbe6686.js.map +0 -1
- package/dist/cjs/lt-18c0261d.js +0 -99
- package/dist/cjs/lt-18c0261d.js.map +0 -1
- package/dist/cjs/lv-122fb09f.js +0 -68
- package/dist/cjs/lv-122fb09f.js.map +0 -1
- package/dist/cjs/math-270c1ad5.js +0 -57
- package/dist/cjs/math-270c1ad5.js.map +0 -1
- package/dist/cjs/mk-2958c935.js +0 -68
- package/dist/cjs/mk-2958c935.js.map +0 -1
- package/dist/cjs/nb-c659803d.js +0 -69
- package/dist/cjs/nb-c659803d.js.map +0 -1
- package/dist/cjs/nl-7c3d17d2.js +0 -69
- package/dist/cjs/nl-7c3d17d2.js.map +0 -1
- package/dist/cjs/observers-996731db.js +0 -50
- package/dist/cjs/observers-996731db.js.map +0 -1
- package/dist/cjs/openCloseComponent-95f4c3e6.js +0 -89
- package/dist/cjs/openCloseComponent-95f4c3e6.js.map +0 -1
- package/dist/cjs/pl-46b71c1c.js +0 -116
- package/dist/cjs/pl-46b71c1c.js.map +0 -1
- package/dist/cjs/pt-0fc681d7.js +0 -69
- package/dist/cjs/pt-0fc681d7.js.map +0 -1
- package/dist/cjs/pt-br-b2f4e0b9.js +0 -67
- package/dist/cjs/pt-br-b2f4e0b9.js.map +0 -1
- package/dist/cjs/resources-15074db9.js +0 -29
- package/dist/cjs/resources-15074db9.js.map +0 -1
- package/dist/cjs/resources-5254d19b.js +0 -26
- package/dist/cjs/resources-5254d19b.js.map +0 -1
- package/dist/cjs/resources-7aaf2508.js +0 -26
- package/dist/cjs/resources-7aaf2508.js.map +0 -1
- package/dist/cjs/resources-869df0dc.js +0 -49
- package/dist/cjs/resources-869df0dc.js.map +0 -1
- package/dist/cjs/resources-a444cb48.js +0 -414
- package/dist/cjs/resources-a444cb48.js.map +0 -1
- package/dist/cjs/resources-aaec7a52.js +0 -23
- package/dist/cjs/resources-aaec7a52.js.map +0 -1
- package/dist/cjs/resources-c1e534ce.js +0 -17
- package/dist/cjs/resources-c1e534ce.js.map +0 -1
- package/dist/cjs/ro-1e0253be.js +0 -68
- package/dist/cjs/ro-1e0253be.js.map +0 -1
- package/dist/cjs/ru-1a1dc536.js +0 -128
- package/dist/cjs/ru-1a1dc536.js.map +0 -1
- package/dist/cjs/sk-7f9f6847.js +0 -150
- package/dist/cjs/sk-7f9f6847.js.map +0 -1
- package/dist/cjs/sl-ae8070f4.js +0 -170
- package/dist/cjs/sl-ae8070f4.js.map +0 -1
- package/dist/cjs/sortableComponent-4b2e0b5b.js +0 -2744
- package/dist/cjs/sortableComponent-4b2e0b5b.js.map +0 -1
- package/dist/cjs/sr-eca4734e.js +0 -103
- package/dist/cjs/sr-eca4734e.js.map +0 -1
- package/dist/cjs/sv-1d941af1.js +0 -73
- package/dist/cjs/sv-1d941af1.js.map +0 -1
- package/dist/cjs/t9n-8aa449a5.js +0 -97
- package/dist/cjs/t9n-8aa449a5.js.map +0 -1
- package/dist/cjs/th-959387d1.js +0 -67
- package/dist/cjs/th-959387d1.js.map +0 -1
- package/dist/cjs/throttle-8d98123b.js +0 -77
- package/dist/cjs/throttle-8d98123b.js.map +0 -1
- package/dist/cjs/tr-f6d7b8b7.js +0 -68
- package/dist/cjs/tr-f6d7b8b7.js.map +0 -1
- package/dist/cjs/uk-d16cbf53.js +0 -106
- package/dist/cjs/uk-d16cbf53.js.map +0 -1
- package/dist/cjs/utils-42530b56.js +0 -307
- package/dist/cjs/utils-42530b56.js.map +0 -1
- package/dist/cjs/utils-f83343dd.js +0 -218
- package/dist/cjs/utils-f83343dd.js.map +0 -1
- package/dist/cjs/vi-3981bb26.js +0 -72
- package/dist/cjs/vi-3981bb26.js.map +0 -1
- package/dist/cjs/zh-cn-ca0b0fce.js +0 -96
- package/dist/cjs/zh-cn-ca0b0fce.js.map +0 -1
- package/dist/cjs/zh-hk-eb8edffc.js +0 -73
- package/dist/cjs/zh-hk-eb8edffc.js.map +0 -1
- package/dist/cjs/zh-tw-94d9f8e8.js +0 -94
- package/dist/cjs/zh-tw-94d9f8e8.js.map +0 -1
- package/dist/esm/ExpandToggle-fd40ae04.js +0 -102
- package/dist/esm/ExpandToggle-fd40ae04.js.map +0 -1
- package/dist/esm/FloatingArrow-c2cd33f7.js +0 -47
- package/dist/esm/FloatingArrow-c2cd33f7.js.map +0 -1
- package/dist/esm/Heading-e99052fc.js +0 -19
- package/dist/esm/Heading-e99052fc.js.map +0 -1
- package/dist/esm/Validation-6b2e3fc4.js +0 -16
- package/dist/esm/Validation-6b2e3fc4.js.map +0 -1
- package/dist/esm/app-globals-395b0227.js +0 -59
- package/dist/esm/app-globals-395b0227.js.map +0 -1
- package/dist/esm/ar-a54caf03.js +0 -104
- package/dist/esm/ar-a54caf03.js.map +0 -1
- package/dist/esm/array-993301c8.js +0 -12
- package/dist/esm/array-993301c8.js.map +0 -1
- package/dist/esm/bg-708a9d6a.js +0 -82
- package/dist/esm/bg-708a9d6a.js.map +0 -1
- package/dist/esm/browser-db4949c2.js +0 -18
- package/dist/esm/browser-db4949c2.js.map +0 -1
- package/dist/esm/bs-cde2b747.js +0 -51
- package/dist/esm/bs-cde2b747.js.map +0 -1
- package/dist/esm/ca-6eb8dff3.js +0 -71
- package/dist/esm/ca-6eb8dff3.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1dce7c8f.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1dce7c8f.js.map +0 -1
- package/dist/esm/component-c4baf79b.js +0 -27
- package/dist/esm/component-c4baf79b.js.map +0 -1
- package/dist/esm/conditionalSlot-ef7885f1.js +0 -57
- package/dist/esm/conditionalSlot-ef7885f1.js.map +0 -1
- package/dist/esm/cs-3613a379.js +0 -147
- package/dist/esm/cs-3613a379.js.map +0 -1
- package/dist/esm/da-e8892725.js +0 -66
- package/dist/esm/da-e8892725.js.map +0 -1
- package/dist/esm/de-867feacc.js +0 -91
- package/dist/esm/de-867feacc.js.map +0 -1
- package/dist/esm/de-at-ca1c2336.js +0 -90
- package/dist/esm/de-at-ca1c2336.js.map +0 -1
- package/dist/esm/de-ch-34d8eec2.js +0 -90
- package/dist/esm/de-ch-34d8eec2.js.map +0 -1
- package/dist/esm/debounce-0b31276b.js +0 -489
- package/dist/esm/debounce-0b31276b.js.map +0 -1
- package/dist/esm/dom-9e517451.js +0 -1053
- package/dist/esm/dom-9e517451.js.map +0 -1
- package/dist/esm/el-7c5a6610.js +0 -66
- package/dist/esm/el-7c5a6610.js.map +0 -1
- package/dist/esm/en-au-71e63cc7.js +0 -66
- package/dist/esm/en-au-71e63cc7.js.map +0 -1
- package/dist/esm/en-ca-d2c89703.js +0 -65
- package/dist/esm/en-ca-d2c89703.js.map +0 -1
- package/dist/esm/en-gb-4ba6e73e.js +0 -69
- package/dist/esm/en-gb-4ba6e73e.js.map +0 -1
- package/dist/esm/es-e3e3a8c8.js +0 -66
- package/dist/esm/es-e3e3a8c8.js.map +0 -1
- package/dist/esm/es-mx-e7dcea8c.js +0 -65
- package/dist/esm/es-mx-e7dcea8c.js.map +0 -1
- package/dist/esm/et-3083fba0.js +0 -92
- package/dist/esm/et-3083fba0.js.map +0 -1
- package/dist/esm/fi-7983f2c5.js +0 -115
- package/dist/esm/fi-7983f2c5.js.map +0 -1
- package/dist/esm/filter-47f32bc8.js +0 -760
- package/dist/esm/filter-47f32bc8.js.map +0 -1
- package/dist/esm/floating-ui-49531ede.js +0 -1973
- package/dist/esm/floating-ui-49531ede.js.map +0 -1
- package/dist/esm/focusTrapComponent-d18087a3.js +0 -1015
- package/dist/esm/focusTrapComponent-d18087a3.js.map +0 -1
- package/dist/esm/form-7f0e5f75.js +0 -324
- package/dist/esm/form-7f0e5f75.js.map +0 -1
- package/dist/esm/fr-afcd85a1.js +0 -68
- package/dist/esm/fr-afcd85a1.js.map +0 -1
- package/dist/esm/fr-ch-8edc3040.js +0 -66
- package/dist/esm/fr-ch-8edc3040.js.map +0 -1
- package/dist/esm/guid-74f55eb2.js +0 -21
- package/dist/esm/guid-74f55eb2.js.map +0 -1
- package/dist/esm/he-0daa3e02.js +0 -105
- package/dist/esm/he-0daa3e02.js.map +0 -1
- package/dist/esm/hi-a2c7e941.js +0 -65
- package/dist/esm/hi-a2c7e941.js.map +0 -1
- package/dist/esm/hr-38b859ea.js +0 -80
- package/dist/esm/hr-38b859ea.js.map +0 -1
- package/dist/esm/hu-ed848559.js +0 -88
- package/dist/esm/hu-ed848559.js.map +0 -1
- package/dist/esm/id-efd0b61b.js +0 -66
- package/dist/esm/id-efd0b61b.js.map +0 -1
- package/dist/esm/index-161d4d7f.js +0 -206
- package/dist/esm/index-161d4d7f.js.map +0 -1
- package/dist/esm/index-489f296a.js +0 -73
- package/dist/esm/index-489f296a.js.map +0 -1
- package/dist/esm/index-c56fb913.js +0 -2624
- package/dist/esm/index-c56fb913.js.map +0 -1
- package/dist/esm/input-a074145f.js +0 -55
- package/dist/esm/input-a074145f.js.map +0 -1
- package/dist/esm/interactive-4556fcbc.js +0 -146
- package/dist/esm/interactive-4556fcbc.js.map +0 -1
- package/dist/esm/it-ch-579e4092.js +0 -66
- package/dist/esm/it-ch-579e4092.js.map +0 -1
- package/dist/esm/it-de215475.js +0 -66
- package/dist/esm/it-de215475.js.map +0 -1
- package/dist/esm/ja-e6b396ed.js +0 -72
- package/dist/esm/ja-e6b396ed.js.map +0 -1
- package/dist/esm/key-a23554bd.js +0 -13
- package/dist/esm/key-a23554bd.js.map +0 -1
- package/dist/esm/ko-38c2b69a.js +0 -72
- package/dist/esm/ko-38c2b69a.js.map +0 -1
- package/dist/esm/label-c2d7fe19.js +0 -176
- package/dist/esm/label-c2d7fe19.js.map +0 -1
- package/dist/esm/loadable-a7b8be50.js +0 -86
- package/dist/esm/loadable-a7b8be50.js.map +0 -1
- package/dist/esm/locale-427acee7.js +0 -563
- package/dist/esm/locale-427acee7.js.map +0 -1
- package/dist/esm/lt-0d08523d.js +0 -97
- package/dist/esm/lt-0d08523d.js.map +0 -1
- package/dist/esm/lv-d481cbcc.js +0 -66
- package/dist/esm/lv-d481cbcc.js.map +0 -1
- package/dist/esm/math-1385480c.js +0 -51
- package/dist/esm/math-1385480c.js.map +0 -1
- package/dist/esm/mk-21fca8a5.js +0 -66
- package/dist/esm/mk-21fca8a5.js.map +0 -1
- package/dist/esm/nb-82df6596.js +0 -67
- package/dist/esm/nb-82df6596.js.map +0 -1
- package/dist/esm/nl-905dc63d.js +0 -67
- package/dist/esm/nl-905dc63d.js.map +0 -1
- package/dist/esm/observers-275f4103.js +0 -48
- package/dist/esm/observers-275f4103.js.map +0 -1
- package/dist/esm/openCloseComponent-66879bf1.js +0 -87
- package/dist/esm/openCloseComponent-66879bf1.js.map +0 -1
- package/dist/esm/pl-d043193c.js +0 -114
- package/dist/esm/pl-d043193c.js.map +0 -1
- package/dist/esm/pt-5036b8e8.js +0 -67
- package/dist/esm/pt-5036b8e8.js.map +0 -1
- package/dist/esm/pt-br-78d16794.js +0 -65
- package/dist/esm/pt-br-78d16794.js.map +0 -1
- package/dist/esm/resources-4a820e1c.js +0 -17
- package/dist/esm/resources-4a820e1c.js.map +0 -1
- package/dist/esm/resources-5061ec09.js +0 -19
- package/dist/esm/resources-5061ec09.js.map +0 -1
- package/dist/esm/resources-62c5001a.js +0 -387
- package/dist/esm/resources-62c5001a.js.map +0 -1
- package/dist/esm/resources-6abf62a1.js +0 -45
- package/dist/esm/resources-6abf62a1.js.map +0 -1
- package/dist/esm/resources-b2548cfe.js +0 -25
- package/dist/esm/resources-b2548cfe.js.map +0 -1
- package/dist/esm/resources-db2382ce.js +0 -21
- package/dist/esm/resources-db2382ce.js.map +0 -1
- package/dist/esm/resources-e5452481.js +0 -23
- package/dist/esm/resources-e5452481.js.map +0 -1
- package/dist/esm/ro-c5b95727.js +0 -66
- package/dist/esm/ro-c5b95727.js.map +0 -1
- package/dist/esm/ru-8deb5332.js +0 -126
- package/dist/esm/ru-8deb5332.js.map +0 -1
- package/dist/esm/sk-fc6c2934.js +0 -148
- package/dist/esm/sk-fc6c2934.js.map +0 -1
- package/dist/esm/sl-d8a65c5f.js +0 -168
- package/dist/esm/sl-d8a65c5f.js.map +0 -1
- package/dist/esm/sortableComponent-faf4daa0.js +0 -2740
- package/dist/esm/sortableComponent-faf4daa0.js.map +0 -1
- package/dist/esm/sr-e4ccd759.js +0 -101
- package/dist/esm/sr-e4ccd759.js.map +0 -1
- package/dist/esm/sv-c2da225d.js +0 -71
- package/dist/esm/sv-c2da225d.js.map +0 -1
- package/dist/esm/t9n-c90df025.js +0 -92
- package/dist/esm/t9n-c90df025.js.map +0 -1
- package/dist/esm/th-5e967b98.js +0 -65
- package/dist/esm/th-5e967b98.js.map +0 -1
- package/dist/esm/throttle-53183d9e.js +0 -75
- package/dist/esm/throttle-53183d9e.js.map +0 -1
- package/dist/esm/tr-7f0c2cc2.js +0 -66
- package/dist/esm/tr-7f0c2cc2.js.map +0 -1
- package/dist/esm/uk-a7582dea.js +0 -104
- package/dist/esm/uk-a7582dea.js.map +0 -1
- package/dist/esm/utils-4df58b92.js +0 -289
- package/dist/esm/utils-4df58b92.js.map +0 -1
- package/dist/esm/utils-4f216f56.js +0 -200
- package/dist/esm/utils-4f216f56.js.map +0 -1
- package/dist/esm/vi-d633cf12.js +0 -70
- package/dist/esm/vi-d633cf12.js.map +0 -1
- package/dist/esm/zh-cn-912de23b.js +0 -94
- package/dist/esm/zh-cn-912de23b.js.map +0 -1
- package/dist/esm/zh-hk-28e0f0e2.js +0 -71
- package/dist/esm/zh-hk-28e0f0e2.js.map +0 -1
- package/dist/esm/zh-tw-ccee886b.js +0 -92
- package/dist/esm/zh-tw-ccee886b.js.map +0 -1
- /package/dist/calcite/{p-415e8b2f.entry.js.map → p-0263cc85.entry.js.map} +0 -0
- /package/dist/calcite/{p-a8966896.entry.js.map → p-044bf4ab.entry.js.map} +0 -0
- /package/dist/calcite/{p-960cacc4.entry.js.map → p-055d41f9.entry.js.map} +0 -0
- /package/dist/calcite/{p-8dffa3d8.js.map → p-05cd5e85.js.map} +0 -0
- /package/dist/calcite/{p-c29da598.js.map → p-0646f72c.js.map} +0 -0
- /package/dist/calcite/{p-e57f4f16.js.map → p-082e250a.js.map} +0 -0
- /package/dist/calcite/{p-a037aac7.js.map → p-09387ee2.js.map} +0 -0
- /package/dist/calcite/{p-eb326819.js.map → p-094f0daa.js.map} +0 -0
- /package/dist/calcite/{p-e96bcdd5.entry.js.map → p-0ae1d432.entry.js.map} +0 -0
- /package/dist/calcite/{p-df206d95.entry.js.map → p-0cbc636b.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b5cd3fa.entry.js.map → p-0d12ac40.entry.js.map} +0 -0
- /package/dist/calcite/{p-ecf74d67.js.map → p-0d57d83b.js.map} +0 -0
- /package/dist/calcite/{p-dc1407c6.entry.js.map → p-11bf4aed.entry.js.map} +0 -0
- /package/dist/calcite/{p-3ef30c84.js.map → p-1515f181.js.map} +0 -0
- /package/dist/calcite/{p-dc661724.js.map → p-17c1a51b.js.map} +0 -0
- /package/dist/calcite/{p-b3def89d.entry.js.map → p-17c8d372.entry.js.map} +0 -0
- /package/dist/calcite/{p-346ca4fd.js.map → p-188a7274.js.map} +0 -0
- /package/dist/calcite/{p-55b0c2f8.js.map → p-1d16dd64.js.map} +0 -0
- /package/dist/calcite/{p-9e3216cd.js.map → p-1d429cc5.js.map} +0 -0
- /package/dist/calcite/{p-6ee4ecd3.entry.js.map → p-1e650845.entry.js.map} +0 -0
- /package/dist/calcite/{p-afcc94cb.js.map → p-1ffd8b68.js.map} +0 -0
- /package/dist/calcite/{p-57cde6a5.js.map → p-2448987f.js.map} +0 -0
- /package/dist/calcite/{p-39f0f1e3.js.map → p-24f06808.js.map} +0 -0
- /package/dist/calcite/{p-e9f9c64f.js.map → p-282b9e09.js.map} +0 -0
- /package/dist/calcite/{p-155842f0.js.map → p-2a45d8ac.js.map} +0 -0
- /package/dist/calcite/{p-95896059.js.map → p-2d787492.js.map} +0 -0
- /package/dist/calcite/{p-b3b720de.js.map → p-329f2c82.js.map} +0 -0
- /package/dist/calcite/{p-e4ce2855.js.map → p-33ab3dc7.js.map} +0 -0
- /package/dist/calcite/{p-0b748594.entry.js.map → p-33e6c081.entry.js.map} +0 -0
- /package/dist/calcite/{p-2fa863b2.js.map → p-378507d3.js.map} +0 -0
- /package/dist/calcite/{p-3fea5652.js.map → p-38142fab.js.map} +0 -0
- /package/dist/calcite/{p-da641132.js.map → p-3b7f927d.js.map} +0 -0
- /package/dist/calcite/{p-f97042b9.js.map → p-3ba64fdd.js.map} +0 -0
- /package/dist/calcite/{p-3aacf1f2.entry.js.map → p-3c60a6b1.entry.js.map} +0 -0
- /package/dist/calcite/{p-1f3a1793.js.map → p-3e92a6e4.js.map} +0 -0
- /package/dist/calcite/{p-95c03159.entry.js.map → p-403c1170.entry.js.map} +0 -0
- /package/dist/calcite/{p-73cb419f.js.map → p-40a35031.js.map} +0 -0
- /package/dist/calcite/{p-83bac18a.entry.js.map → p-41eb2cc4.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ba7c5c2.js.map → p-42a34e09.js.map} +0 -0
- /package/dist/calcite/{p-9c499a47.js.map → p-431b42f1.js.map} +0 -0
- /package/dist/calcite/{p-0140bf06.js.map → p-43c7faa1.js.map} +0 -0
- /package/dist/calcite/{p-96dbe795.js.map → p-4880529d.js.map} +0 -0
- /package/dist/calcite/{p-70570a66.js.map → p-4a194ced.js.map} +0 -0
- /package/dist/calcite/{p-3b399cee.entry.js.map → p-4b460393.entry.js.map} +0 -0
- /package/dist/calcite/{p-a853991f.js.map → p-4d035661.js.map} +0 -0
- /package/dist/calcite/{p-75c46bed.js.map → p-4e65b06e.js.map} +0 -0
- /package/dist/calcite/{p-1a871d95.js.map → p-4eec7607.js.map} +0 -0
- /package/dist/calcite/{p-7fac16ae.js.map → p-5385df1b.js.map} +0 -0
- /package/dist/calcite/{p-b644fc7d.entry.js.map → p-542b3dcd.entry.js.map} +0 -0
- /package/dist/calcite/{p-a3ed6af6.js.map → p-5c553da2.js.map} +0 -0
- /package/dist/calcite/{p-50916b2a.js.map → p-5c7632ec.js.map} +0 -0
- /package/dist/calcite/{p-a4c77a97.entry.js.map → p-5c86551c.entry.js.map} +0 -0
- /package/dist/calcite/{p-300962bc.js.map → p-5d5d5f83.js.map} +0 -0
- /package/dist/calcite/{p-2a46c8f3.js.map → p-604cb185.js.map} +0 -0
- /package/dist/calcite/{p-b33269fd.entry.js.map → p-61549382.entry.js.map} +0 -0
- /package/dist/calcite/{p-61c33373.js.map → p-61ec7902.js.map} +0 -0
- /package/dist/calcite/{p-6149e10f.js.map → p-62f1ac64.js.map} +0 -0
- /package/dist/calcite/{p-e702d7ff.js.map → p-65ec787c.js.map} +0 -0
- /package/dist/calcite/{p-68676e90.entry.js.map → p-67b5d162.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bfa60ce.js.map → p-70a77e30.js.map} +0 -0
- /package/dist/calcite/{p-93d2b7f2.entry.js.map → p-74a39fed.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d2e0315.js.map → p-75a52371.js.map} +0 -0
- /package/dist/calcite/{p-e90bd66d.js.map → p-77b97148.js.map} +0 -0
- /package/dist/calcite/{p-c6bc1ea6.js.map → p-7b412f55.js.map} +0 -0
- /package/dist/calcite/{p-ddc1e0c8.js.map → p-7fcaf8da.js.map} +0 -0
- /package/dist/calcite/{p-5dbdbe4c.js.map → p-816a2393.js.map} +0 -0
- /package/dist/calcite/{p-090ea3a3.js.map → p-8234e328.js.map} +0 -0
- /package/dist/calcite/{p-0a3f1f3c.js.map → p-867e447e.js.map} +0 -0
- /package/dist/calcite/{p-18d58723.js.map → p-8779fb98.js.map} +0 -0
- /package/dist/calcite/{p-7915892c.entry.js.map → p-88e85d64.entry.js.map} +0 -0
- /package/dist/calcite/{p-e2253525.js.map → p-8a3a7496.js.map} +0 -0
- /package/dist/calcite/{p-e8b1fed4.js.map → p-8a7e13cc.js.map} +0 -0
- /package/dist/calcite/{p-aa6952d6.js.map → p-8c896d3b.js.map} +0 -0
- /package/dist/calcite/{p-c42f5bab.js.map → p-952755d5.js.map} +0 -0
- /package/dist/calcite/{p-25660a11.js.map → p-95fdefa9.js.map} +0 -0
- /package/dist/calcite/{p-218926aa.js.map → p-96040101.js.map} +0 -0
- /package/dist/calcite/{p-c6d7a9c6.js.map → p-99bbb6eb.js.map} +0 -0
- /package/dist/calcite/{p-f728da23.js.map → p-9c44b85f.js.map} +0 -0
- /package/dist/calcite/{p-b275246e.js.map → p-9de38c62.js.map} +0 -0
- /package/dist/calcite/{p-931ddab0.entry.js.map → p-9ea0ecdc.entry.js.map} +0 -0
- /package/dist/calcite/{p-8fd31a3a.js.map → p-9ea52484.js.map} +0 -0
- /package/dist/calcite/{p-f6cdf87d.js.map → p-a534e089.js.map} +0 -0
- /package/dist/calcite/{p-49af9f12.js.map → p-a6243d9a.js.map} +0 -0
- /package/dist/calcite/{p-32f9f099.entry.js.map → p-a6a01135.entry.js.map} +0 -0
- /package/dist/calcite/{p-93360d6a.entry.js.map → p-a83dc143.entry.js.map} +0 -0
- /package/dist/calcite/{p-d5cbf422.js.map → p-a9588274.js.map} +0 -0
- /package/dist/calcite/{p-0e40f56b.js.map → p-abbb0fef.js.map} +0 -0
- /package/dist/calcite/{p-8aa5ebbc.js.map → p-b008f8b1.js.map} +0 -0
- /package/dist/calcite/{p-9e29450d.js.map → p-b04fd81d.js.map} +0 -0
- /package/dist/calcite/{p-9bb36dfb.js.map → p-b0528b4b.js.map} +0 -0
- /package/dist/calcite/{p-919282f7.js.map → p-b315861a.js.map} +0 -0
- /package/dist/calcite/{p-d89bb0a0.js.map → p-bb2d18c7.js.map} +0 -0
- /package/dist/calcite/{p-500a3e5a.js.map → p-bbcbc447.js.map} +0 -0
- /package/dist/calcite/{p-88d56a3d.js.map → p-bd337fda.js.map} +0 -0
- /package/dist/calcite/{p-a660207a.entry.js.map → p-be623834.entry.js.map} +0 -0
- /package/dist/calcite/{p-c7a3e230.js.map → p-c1fd275d.js.map} +0 -0
- /package/dist/calcite/{p-ca0fe424.js.map → p-c35042d2.js.map} +0 -0
- /package/dist/calcite/{p-98930097.entry.js.map → p-c4425c57.entry.js.map} +0 -0
- /package/dist/calcite/{p-0ebc1b80.js.map → p-c5234a25.js.map} +0 -0
- /package/dist/calcite/{p-e145b647.entry.js.map → p-c786245f.entry.js.map} +0 -0
- /package/dist/calcite/{p-18de250b.js.map → p-c995ac63.js.map} +0 -0
- /package/dist/calcite/{p-a3e6b31e.js.map → p-d2d97ba1.js.map} +0 -0
- /package/dist/calcite/{p-11a670d5.js.map → p-d3eec7ba.js.map} +0 -0
- /package/dist/calcite/{p-64ea4249.js.map → p-d60a88f2.js.map} +0 -0
- /package/dist/calcite/{p-c51d1630.js.map → p-d87f074f.js.map} +0 -0
- /package/dist/calcite/{p-fa6d7a1b.js.map → p-da276851.js.map} +0 -0
- /package/dist/calcite/{p-c7964aeb.js.map → p-db1036f9.js.map} +0 -0
- /package/dist/calcite/{p-9835ce5c.js.map → p-dca6be82.js.map} +0 -0
- /package/dist/calcite/{p-ab717545.entry.js.map → p-ddc7240b.entry.js.map} +0 -0
- /package/dist/calcite/{p-c0558aa0.entry.js.map → p-df956619.entry.js.map} +0 -0
- /package/dist/calcite/{p-ccc52832.js.map → p-e5e6159c.js.map} +0 -0
- /package/dist/calcite/{p-2174c79f.js.map → p-e6c1f4e0.js.map} +0 -0
- /package/dist/calcite/{p-3cfee9f6.entry.js.map → p-e6eb8238.entry.js.map} +0 -0
- /package/dist/calcite/{p-2b489cd9.entry.js.map → p-e91b94c5.entry.js.map} +0 -0
- /package/dist/calcite/{p-5e9a8365.js.map → p-ea1f6afc.js.map} +0 -0
- /package/dist/calcite/{p-4d11389b.js.map → p-ef763c60.js.map} +0 -0
- /package/dist/calcite/{p-f5d99561.entry.js.map → p-f2b68499.entry.js.map} +0 -0
- /package/dist/calcite/{p-703ccda0.js.map → p-f315c5f7.js.map} +0 -0
- /package/dist/calcite/{p-a5ec7c0b.js.map → p-f36a0721.js.map} +0 -0
- /package/dist/calcite/{p-f736c7e7.entry.js.map → p-f5f4d657.entry.js.map} +0 -0
- /package/dist/calcite/{p-e538ca60.js.map → p-f8f9cef3.js.map} +0 -0
- /package/dist/calcite/{p-2eb03310.js.map → p-ff8fc6a4.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, Build, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { s as submitForm, r as resetForm, f as findAssociatedForm } from './form.js';
|
|
@@ -31,7 +31,7 @@ const CSS = {
|
|
|
31
31
|
buttonPaddingShrunk: "button-padding--shrunk",
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const buttonCss = ":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;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host button,:host a{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{text-decoration-line:none}:host button span,:host a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{margin-inline:var(--calcite-button-content-margin-internal)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin-internal:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin-internal:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-button-content-margin-internal)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-button-content-margin-internal)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([kind=brand]) button,:host([kind=brand]) a{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{background-color:var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{background-color:var(--calcite-color-brand-press)}:host([kind=brand]) button calcite-loader,:host([kind=brand]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=danger]) button,:host([kind=danger]) a{background-color:var(--calcite-color-status-danger);color:var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{background-color:var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{background-color:var(--calcite-color-status-danger-press)}:host([kind=danger]) button calcite-loader,:host([kind=danger]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=neutral]) button,:host([kind=neutral]) a{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{background-color:var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{background-color:var(--calcite-color-foreground-1)}:host([kind=neutral]) button calcite-loader,:host([kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{background-color:var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{background-color:var(--calcite-color-inverse-press)}:host([kind=inverse]) button calcite-loader,:host([kind=inverse]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-width:1px;border-style:solid;background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button calcite-loader,:host([appearance=outline-fill][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline-fill][kind=inverse]) button calcite-loader,:host([appearance=outline-fill][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:transparent;color:var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:transparent;color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button calcite-loader,:host([appearance=outline][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline][kind=inverse]) button calcite-loader,:host([appearance=outline][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{color:var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{color:var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{color:var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{color:var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-color-text-3);border-block-start-color:var(--calcite-color-border-input);border-block-end-color:var(--calcite-color-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y-internal:0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{color:var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y-internal:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y-internal:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y-internal:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
34
|
+
const buttonCss = ":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;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host button,:host a{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{text-decoration-line:none}:host button span,:host a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{margin-inline:var(--calcite-button-content-margin-internal)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin-internal:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin-internal:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-button-content-margin-internal)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-button-content-margin-internal)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([kind=brand]) button,:host([kind=brand]) a{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{background-color:var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{background-color:var(--calcite-color-brand-press)}:host([kind=brand]) button calcite-loader,:host([kind=brand]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=danger]) button,:host([kind=danger]) a{background-color:var(--calcite-color-status-danger);color:var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{background-color:var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{background-color:var(--calcite-color-status-danger-press)}:host([kind=danger]) button calcite-loader,:host([kind=danger]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([kind=neutral]) button,:host([kind=neutral]) a{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{background-color:var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{background-color:var(--calcite-color-foreground-1)}:host([kind=neutral]) button calcite-loader,:host([kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{background-color:var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{background-color:var(--calcite-color-inverse-press)}:host([kind=inverse]) button calcite-loader,:host([kind=inverse]) a calcite-loader{color:var(--calcite-color-text-inverse)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-width:1px;border-style:solid;background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button calcite-loader,:host([appearance=outline-fill][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline-fill][kind=inverse]) button calcite-loader,:host([appearance=outline-fill][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{border-color:var(--calcite-color-brand);background-color:transparent;color:var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{border-color:var(--calcite-color-brand-hover);color:var(--calcite-color-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-brand);box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{border-color:var(--calcite-color-brand-press);color:var(--calcite-color-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{border-color:var(--calcite-color-status-danger);background-color:transparent;color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{border-color:var(--calcite-color-status-danger-hover);color:var(--calcite-color-status-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{border-color:var(--calcite-color-status-danger);color:var(--calcite-color-status-danger);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{border-color:var(--calcite-color-status-danger-press);color:var(--calcite-color-status-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button calcite-loader,:host([appearance=outline][kind=neutral]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{background-color:transparent;color:var(--calcite-color-text-1);border-color:var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{border-color:var(--calcite-color-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{border-color:var(--calcite-color-inverse);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{border-color:var(--calcite-color-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-color-inverse-press)}:host([appearance=outline][kind=inverse]) button calcite-loader,:host([appearance=outline][kind=inverse]) a calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{color:var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{color:var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{color:var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{color:var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{color:var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{color:var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-color-text-3);border-block-start-color:var(--calcite-color-border-input);border-block-end-color:var(--calcite-color-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y-internal:0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{color:var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{color:var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y-internal:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y-internal:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y-internal:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}:host([hidden]){display:none}[hidden]{display:none}";
|
|
35
35
|
|
|
36
36
|
const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement {
|
|
37
37
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"button.js","mappings":";;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE,wBAAwB;IACtC,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,kBAAkB;IAClC,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,wBAAwB;CAC9C;;ACbD,MAAM,SAAS,GAAG,k0uBAAk0uB;;MCqDv0uB,MAAM;;;;;;QA2RT,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAsCrF,mBAAc,GAAG,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;;QAc/D,gBAAW,GAAG;YACpB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;YAEtB,IAAI,IAAI,CAAC,IAAI,EAAE;gBACb,OAAO;aACR;;YAGD,IAAI,IAAI,KAAK,QAAQ,EAAE;gBACrB,UAAU,CAAC,IAAI,CAAC,CAAC;aAClB;iBAAM,IAAI,IAAI,KAAK,OAAO,EAAE;gBAC3B,SAAS,CAAC,IAAI,CAAC,CAAC;aACjB;SACF,CAAC;QAEM,mBAAc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CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;IAIO,gBAAgB;QACtB,MAAM,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9F,IAAI,CAAC,UAAU;YACb,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,QAAQ,KAAK,OAAO;kBAC1E,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;kBACtC,cAAc,CAAC;KACtB;IAEO,wBAAwB;QAC9B,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KAC7E;;;;;;IAgBD,YAAY;QACV,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/button/resources.ts","src/components/button/button.scss?tag=calcite-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["export const CSS = {\n buttonLoader: \"calcite-button--loader\",\n content: \"content\",\n contentSlotted: \"content--slotted\",\n icon: \"icon\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n loadingIn: \"loading-in\",\n loadingOut: \"loading-out\",\n iconStartEmpty: \"icon-start-empty\",\n iconEndEmpty: \"icon-end-empty\",\n buttonPadding: \"button-padding\",\n buttonPaddingShrunk: \"button-padding--shrunk\",\n};\n",":host {\n @apply inline-block w-auto align-middle;\n}\n\n// fab variants\n:host([round]) {\n border-radius: 50px;\n & a,\n & button {\n border-radius: 50px;\n }\n}\n\n// focus styles\n:host button,\n:host a {\n @apply focus-base;\n &:focus {\n @apply focus-outset;\n }\n}\n// button base\n:host button,\n:host a {\n --calcite-button-content-margin-internal: theme(\"margin.2\");\n --calcite-button-padding-x-internal: 7px;\n --calcite-button-padding-y-internal: 3px;\n padding-block: var(--calcite-button-padding-y-internal);\n padding-inline: var(--calcite-button-padding-x-internal);\n @apply font-inherit\n relative\n box-border\n flex\n h-full\n w-full\n cursor-pointer\n select-none\n appearance-none\n items-center\n justify-center\n rounded-none\n border-none\n text-center\n font-normal\n no-underline;\n // include transition from focus\n transition:\n color var(--calcite-animation-timing) ease-in-out,\n background-color var(--calcite-animation-timing) ease-in-out,\n box-shadow var(--calcite-animation-timing) ease-in-out,\n outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n &:hover {\n @apply no-underline;\n }\n & span {\n @apply truncate;\n }\n}\n\n.content {\n margin-inline: var(--calcite-button-content-margin-internal);\n}\n\n.icon-start-empty {\n .content {\n margin-inline-start: unset;\n }\n}\n.icon-end-empty {\n .content {\n margin-inline-end: unset;\n }\n}\n\n:host([scale=\"m\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.3\");\n }\n}\n:host([scale=\"l\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.4\");\n }\n}\n\n// button width\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// alignment\n:host([alignment=\"center\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-center;\n }\n}\n:host([alignment=\"start\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-start;\n }\n}\n:host([alignment=\"end\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-end;\n }\n}\n:host([alignment*=\"space-between\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-between;\n }\n}\n:host([alignment=\"icon-start-space-between\"]:not([width=\"auto\"])) {\n .icon--start {\n margin-inline-end: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n:host([alignment=\"icon-end-space-between\"]:not([width=\"auto\"])) {\n .icon--end {\n margin-inline-start: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n\n// only two icons\n:host([alignment=\"center\"]) {\n a:not(.content--slotted),\n button:not(.content--slotted) {\n .icon--start + .icon--end {\n margin-inline-start: var(--calcite-button-content-margin-internal);\n }\n }\n}\n\n.icon {\n @apply relative\n m-0\n inline-flex\n font-normal;\n line-height: inherit;\n}\n\n@include disabled();\n\n@keyframes loader-in {\n 0% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes loader-out {\n 0% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.calcite-button--loader {\n @apply flex;\n calcite-loader {\n @apply m-0;\n transition:\n inline-size var(--calcite-internal-animation-timing-slow) ease-in-out,\n opacity var(--calcite-internal-animation-timing-slow) ease-in-out,\n transform var(--calcite-internal-animation-timing-slow) ease-in-out;\n &.loading-in {\n animation-name: loader-in;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n &.loading-out {\n animation-name: loader-out;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n }\n}\n\n:host([loading]) {\n // center loading spinner when button has text\n button.content--slotted,\n a.content--slotted {\n .calcite-button--loader calcite-loader {\n margin-inline-end: var(--calcite-button-content-margin-internal);\n }\n }\n // hide icons when loading with no text\n button:not(.content--slotted),\n a:not(.content--slotted) {\n .icon--start,\n .icon--end {\n @apply hidden;\n }\n }\n}\n\n// button styles\n:host([appearance]) {\n button,\n a {\n @apply border-color-transparent\n border\n border-solid;\n }\n}\n\n:host([kind=\"brand\"]) {\n button,\n a {\n @apply text-color-inverse bg-brand;\n &:hover,\n &:focus {\n @apply bg-brand-hover;\n }\n &:active {\n @apply bg-brand-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"danger\"]) {\n button,\n a {\n @apply text-color-inverse bg-danger;\n &:hover,\n &:focus {\n @apply bg-danger-hover;\n }\n &:active {\n @apply bg-danger-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-3;\n &:hover,\n &:focus {\n @apply bg-foreground-2;\n }\n &:active {\n @apply bg-foreground-1;\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-inverse;\n background-color: var(--calcite-color-inverse);\n &:hover,\n &:focus {\n background-color: var(--calcite-color-inverse-hover);\n }\n &:active {\n background-color: var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n// outline\n:host([appearance=\"outline-fill\"]) {\n button,\n a {\n @apply bg-foreground-1 border border-solid;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-foreground-1;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-foreground-1;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"]) {\n button,\n a {\n @apply border border-solid bg-transparent;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-transparent;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-transparent;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"primary\"]) button,\n:host([appearance=\"outline\"][split-child=\"primary\"]) button {\n border-inline-end-width: 0;\n border-inline-start-width: theme(\"borderWidth.DEFAULT\");\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"secondary\"]) button,\n:host([appearance=\"outline\"][split-child=\"secondary\"]) button {\n border-inline-start-width: 0;\n border-inline-end-width: theme(\"borderWidth.DEFAULT\");\n}\n\n// transparent\n:host([appearance=\"transparent\"]:not(.enable-editing-button)) {\n button,\n a {\n @apply bg-transparent;\n &:hover,\n &:focus {\n background-color: var(--calcite-color-transparent-hover);\n }\n &:active {\n background-color: var(--calcite-color-transparent-press);\n }\n }\n}\n:host([appearance=\"transparent\"][kind=\"brand\"]) {\n button,\n a {\n color: theme(\"colors.brand\");\n &:hover {\n color: theme(\"colors.brand-hover\");\n }\n &:focus {\n color: theme(\"colors.brand\");\n }\n &:active {\n color: theme(\"colors.brand-press\");\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"danger\"]) {\n button,\n a {\n color: theme(\"colors.danger\");\n &:hover {\n color: theme(\"colors.danger-hover\");\n }\n &:focus {\n color: theme(\"colors.danger\");\n }\n &:active {\n color: theme(\"colors.danger-press\");\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"]:not(.cancel-editing-button)) {\n button,\n a,\n calcite-loader {\n @apply text-color-1;\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].cancel-editing-button) {\n button {\n @apply text-color-3\n border-t-color-input\n border-b-color-input\n border-t\n border-b;\n border-block-style: solid;\n\n &:not(.content--slotted) {\n --calcite-button-padding-y-internal: 0;\n }\n\n &:hover {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].enable-editing-button) {\n button {\n @apply bg-transparent;\n }\n}\n\n:host(.confirm-changes-button),\n:host(.cancel-editing-button),\n:host(.enable-editing-button) {\n button {\n &:focus {\n outline-offset: -2px; // ensure focus outlines work in Safari\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"inverse\"]) {\n button,\n a,\n calcite-loader {\n @apply text-color-inverse;\n }\n}\n\n// generate button scales (scenario: text exists)\n:host([scale=\"s\"]) button.content--slotted,\n:host([scale=\"s\"]) a.content--slotted {\n @apply text-n2h;\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"s\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.2\");\n}\n\n:host([scale=\"s\"]) button,\n:host([scale=\"s\"]) a {\n --calcite-button-padding-y-internal: 3px;\n}\n\n:host([scale=\"m\"]) button.content--slotted,\n:host([scale=\"m\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 11px;\n @apply text-n1h;\n}\n\n:host([scale=\"m\"]) button,\n:host([scale=\"m\"]) a {\n --calcite-button-padding-y-internal: 7px;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"m\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.3\");\n}\n\n:host([scale=\"l\"]) button.content--slotted,\n:host([scale=\"l\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 15px;\n @apply text-0h;\n}\n\n:host([scale=\"l\"]) {\n .button-padding {\n --calcite-button-padding-x-internal: theme(\"padding.4\");\n --calcite-button-padding-y-internal: 11px;\n }\n //shrink the padding if an icon is present to preserve the height\n .button-padding--shrunk {\n --calcite-button-padding-y-internal: 9px;\n }\n}\n\n// generate fab scales (scenario: 1 icon, ie., should be square)\n:host([scale=\"s\"]) button:not(.content--slotted),\n:host([scale=\"s\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 3px;\n @apply text-0h w-6;\n min-block-size: theme(\"height.6\");\n}\n\n:host([scale=\"m\"]) button:not(.content--slotted),\n:host([scale=\"m\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 7px;\n @apply text-0h w-8;\n min-block-size: theme(\"height.8\");\n}\n:host([scale=\"l\"]) button:not(.content--slotted),\n:host([scale=\"l\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 9px;\n @apply text-0h w-11;\n min-block-size: theme(\"height.11\");\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-y-internal: theme(\"padding[2.5]\");\n}\n\n// generate fab scales (scenario: 2 icons, ie., should not be square)\n:host([scale=\"s\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 23px;\n @apply text-0h h-6;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.6\");\n}\n:host([scale=\"m\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.8\");\n @apply text-0h h-8;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 33px;\n}\n:host([scale=\"l\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 43px;\n @apply text-0h h-11;\n // add space between when only 2 icons\n .icon--start + .icon--end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.11\");\n}\n\n@include base-component();\n","import {\n Build,\n Component,\n Element,\n forceUpdate,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { findAssociatedForm, FormOwner, resetForm, submitForm } from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { ButtonMessages } from \"./assets/button/t9n\";\nimport { ButtonAlignment } from \"./interfaces\";\nimport { CSS } from \"./resources\";\nimport { toAriaBoolean } from \"../../utils/dom\";\n\n/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */\n/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */\n\n/** @slot - A slot for adding text. */\n@Component({\n tag: \"calcite-button\",\n styleUrl: \"button.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Button\n implements\n LabelableComponent,\n InteractiveComponent,\n FormOwner,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"aria-expanded\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component's elements. */\n @Prop({ reflect: true }) alignment: ButtonAlignment = \"center\";\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 /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the kind of the component, which will apply to the 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 /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n */\n @Prop({ reflect: true }) 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 * When `true`, a busy indicator is displayed and interaction is disabled.\n */\n @Prop({ reflect: true }) loading = false;\n\n /** Specifies the name of the component on form submission. */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, adds a round style to the component. */\n @Prop({ reflect: true }) round = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies if the component is a child of a `calcite-split-button`. */\n @Prop({ reflect: true }) splitChild: \"primary\" | \"secondary\" | false = false;\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 /**\n * Specifies the default behavior of the component.\n *\n * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)\n */\n @Prop({ reflect: true }) type = \"button\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ButtonMessages;\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<ButtonMessages>;\n\n @Watch(\"loading\")\n loadingChanged(newValue: boolean, oldValue: boolean): void {\n if (!!newValue && !oldValue) {\n this.hasLoader = true;\n }\n if (!newValue && !!oldValue) {\n window.setTimeout(() => {\n this.hasLoader = false;\n }, 300);\n }\n }\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /** referred in t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.hasLoader = this.loading;\n this.setupTextContentObserver();\n connectLabel(this);\n this.formEl = findAssociatedForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\n this.formEl = null;\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n this.updateHasContent();\n await setUpMessages(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.setTooltipText();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const childElType = this.href ? \"a\" : \"button\";\n const Tag = childElType;\n const loaderNode = this.hasLoader ? (\n <div class={CSS.buttonLoader}>\n <calcite-loader\n class={this.loading ? CSS.loadingIn : CSS.loadingOut}\n inline\n label={this.messages.loading}\n scale={this.scale === \"l\" ? \"m\" : \"s\"}\n />\n </div>\n ) : null;\n const noStartEndIcons = !this.iconStart && !this.iconEnd;\n\n const iconStartEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconStart]: true }}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n\n const iconEndEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconEnd]: true }}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const contentEl = (\n <span class={CSS.content} ref={(el) => (this.contentEl = el)}>\n <slot />\n </span>\n );\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <Tag\n aria-disabled={childElType === \"a\" ? toAriaBoolean(this.disabled || this.loading) : null}\n aria-expanded={this.el.getAttribute(\"aria-expanded\")}\n aria-label={!this.loading ? getLabelText(this) : this.messages.loading}\n aria-live=\"polite\"\n class={{\n [CSS.buttonPadding]: noStartEndIcons,\n [CSS.buttonPaddingShrunk]: !noStartEndIcons,\n [CSS.contentSlotted]: this.hasContent,\n [CSS.iconStartEmpty]: !this.iconStart,\n [CSS.iconEndEmpty]: !this.iconEnd,\n }}\n disabled={childElType === \"button\" ? this.disabled || this.loading : null}\n href={childElType === \"a\" && this.href}\n name={childElType === \"button\" && this.name}\n onClick={this.handleClick}\n rel={childElType === \"a\" && this.rel}\n tabIndex={this.disabled ? -1 : null}\n target={childElType === \"a\" && this.target}\n title={this.tooltipText}\n type={childElType === \"button\" && this.type}\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.setChildEl}\n >\n {loaderNode}\n {this.iconStart ? iconStartEl : null}\n {this.hasContent ? contentEl : null}\n {this.iconEnd ? iconEndEl : null}\n </Tag>\n </InteractiveContainer>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.childEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteButtonElement;\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n /** watches for changing text content */\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasContent());\n\n /** the rendered child element */\n private childEl?: HTMLElement;\n\n /** determine if there is slotted content for styling purposes */\n @State() private hasContent = false;\n\n /** determine if loader present for styling purposes */\n @State() private hasLoader = false;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ButtonMessages;\n\n private updateHasContent() {\n const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;\n this.hasContent =\n this.el.childNodes.length === 1 && this.el.childNodes[0]?.nodeName === \"#text\"\n ? this.el.textContent?.trim().length > 0\n : slottedContent;\n }\n\n private setupTextContentObserver() {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n /** keeps track of the tooltipText */\n @State() tooltipText: string;\n\n /** keep track of the rendered contentEl */\n private contentEl: HTMLSpanElement;\n\n resizeObserver = createObserver(\"resize\", () => this.setTooltipText());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.handleClick();\n this.setFocus();\n }\n\n // act on a requested or nearby form based on type\n private handleClick = (): void => {\n const { type } = this;\n\n if (this.href) {\n return;\n }\n\n // this.type refers to type attribute, not child element type\n if (type === \"submit\") {\n submitForm(this);\n } else if (type === \"reset\") {\n resetForm(this);\n }\n };\n\n private setTooltipText = (): void => {\n const { contentEl } = this;\n if (contentEl) {\n this.tooltipText =\n contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText || null : null;\n }\n };\n\n private setChildEl = (el: HTMLElement): void => {\n this.childEl = el;\n\n if (el) {\n this.resizeObserver?.observe(el);\n }\n };\n}\n"],"version":3}
|
|
1
|
+
{"file":"button.js","mappings":";;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE,wBAAwB;IACtC,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,kBAAkB;IAClC,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,wBAAwB;CAC9C;;ACbD,MAAM,SAAS,GAAG,i0uBAAi0uB;;MCqDt0uB,MAAM;;;;;;QA2RT,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAsCrF,mBAAc,GAAG,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;;QAc/D,gBAAW,GAAG;YACpB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;YAEtB,IAAI,I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,EAClC,IAAI,CAAC,OAAO,GAAG,SAAS,GAAG,IAAI,CAC5B,CACe,EACvB;KACH;;;;;;;IAUD,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAE/B,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;KACvB;IA6BD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;IAIO,gBAAgB;QACtB,MAAM,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9F,IAAI,CAAC,UAAU;YACb,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,QAAQ,KAAK,OAAO;kBAC1E,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;kBACtC,cAAc,CAAC;KACtB;IAEO,wBAAwB;QAC9B,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;KAC7E;;;;;;IAgBD,YAAY;QACV,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/button/resources.ts","src/components/button/button.scss?tag=calcite-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["export const CSS = {\n buttonLoader: \"calcite-button--loader\",\n content: \"content\",\n contentSlotted: \"content--slotted\",\n icon: \"icon\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n loadingIn: \"loading-in\",\n loadingOut: \"loading-out\",\n iconStartEmpty: \"icon-start-empty\",\n iconEndEmpty: \"icon-end-empty\",\n buttonPadding: \"button-padding\",\n buttonPaddingShrunk: \"button-padding--shrunk\",\n};\n",":host {\n @apply inline-block w-auto align-middle;\n}\n\n// fab variants\n:host([round]) {\n border-radius: 50px;\n & a,\n & button {\n border-radius: 50px;\n }\n}\n\n// focus styles\n:host button,\n:host a {\n @apply focus-base;\n &:focus {\n @apply focus-outset;\n }\n}\n// button base\n:host button,\n:host a {\n --calcite-button-content-margin-internal: theme(\"margin.2\");\n --calcite-button-padding-x-internal: 7px;\n --calcite-button-padding-y-internal: 3px;\n padding-block: var(--calcite-button-padding-y-internal);\n padding-inline: var(--calcite-button-padding-x-internal);\n @apply font-inherit\n relative\n box-border\n flex\n h-full\n w-full\n cursor-pointer\n select-none\n appearance-none\n items-center\n justify-center\n rounded-none\n border-none\n text-center\n font-normal\n no-underline;\n // include transition from focus\n transition:\n color var(--calcite-animation-timing) ease-in-out,\n background-color var(--calcite-animation-timing) ease-in-out,\n box-shadow var(--calcite-animation-timing) ease-in-out,\n outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n &:hover {\n @apply no-underline;\n }\n & span {\n @apply truncate;\n }\n}\n\n.content {\n margin-inline: var(--calcite-button-content-margin-internal);\n}\n\n.icon-start-empty {\n .content {\n margin-inline-start: unset;\n }\n}\n.icon-end-empty {\n .content {\n margin-inline-end: unset;\n }\n}\n\n:host([scale=\"m\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.3\");\n }\n}\n:host([scale=\"l\"]) {\n button,\n a {\n --calcite-button-content-margin-internal: theme(\"margin.4\");\n }\n}\n\n// button width\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// alignment\n:host([alignment=\"center\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-center;\n }\n}\n:host([alignment=\"start\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-start;\n }\n}\n:host([alignment=\"end\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-end;\n }\n}\n:host([alignment*=\"space-between\"]:not([width=\"auto\"])) {\n a,\n button {\n @apply justify-between;\n }\n}\n:host([alignment=\"icon-start-space-between\"]:not([width=\"auto\"])) {\n .icon--start {\n margin-inline-end: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n:host([alignment=\"icon-end-space-between\"]:not([width=\"auto\"])) {\n .icon--end {\n margin-inline-start: auto;\n }\n a,\n button {\n text-align: unset;\n }\n}\n\n// only two icons\n:host([alignment=\"center\"]) {\n a:not(.content--slotted),\n button:not(.content--slotted) {\n .icon--start + .icon--end {\n margin-inline-start: var(--calcite-button-content-margin-internal);\n }\n }\n}\n\n.icon {\n @apply relative\n m-0\n inline-flex\n font-normal;\n line-height: inherit;\n}\n\n@include disabled();\n\n@keyframes loader-in {\n 0% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes loader-out {\n 0% {\n inline-size: 1em;\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n inline-size: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.calcite-button--loader {\n @apply flex;\n calcite-loader {\n @apply m-0;\n transition:\n inline-size var(--calcite-internal-animation-timing-slow) ease-in-out,\n opacity var(--calcite-internal-animation-timing-slow) ease-in-out,\n transform var(--calcite-internal-animation-timing-slow) ease-in-out;\n &.loading-in {\n animation-name: loader-in;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n &.loading-out {\n animation-name: loader-out;\n animation-duration: var(--calcite-internal-animation-timing-slow);\n }\n }\n}\n\n:host([loading]) {\n // center loading spinner when button has text\n button.content--slotted,\n a.content--slotted {\n .calcite-button--loader calcite-loader {\n margin-inline-end: var(--calcite-button-content-margin-internal);\n }\n }\n // hide icons when loading with no text\n button:not(.content--slotted),\n a:not(.content--slotted) {\n .icon--start,\n .icon--end {\n @apply hidden;\n }\n }\n}\n\n// button styles\n:host([appearance]) {\n button,\n a {\n @apply border-color-transparent\n border\n border-solid;\n }\n}\n\n:host([kind=\"brand\"]) {\n button,\n a {\n @apply text-color-inverse bg-brand;\n &:hover,\n &:focus {\n @apply bg-brand-hover;\n }\n &:active {\n @apply bg-brand-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"danger\"]) {\n button,\n a {\n @apply text-color-inverse bg-danger;\n &:hover,\n &:focus {\n @apply bg-danger-hover;\n }\n &:active {\n @apply bg-danger-press;\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n:host([kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-3;\n &:hover,\n &:focus {\n @apply bg-foreground-2;\n }\n &:active {\n @apply bg-foreground-1;\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-inverse;\n background-color: var(--calcite-color-inverse);\n &:hover,\n &:focus {\n background-color: var(--calcite-color-inverse-hover);\n }\n &:active {\n background-color: var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-inverse;\n }\n }\n}\n// outline\n:host([appearance=\"outline-fill\"]) {\n button,\n a {\n @apply bg-foreground-1 border border-solid;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-foreground-1;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-foreground-1;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline-fill\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-foreground-1;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"]) {\n button,\n a {\n @apply border border-solid bg-transparent;\n box-shadow: inset 0 0 0 1px transparent;\n }\n}\n:host([appearance=\"outline\"][kind=\"brand\"]) {\n button,\n a {\n @apply border-color-brand bg-transparent;\n color: theme(\"colors.brand\");\n &:hover {\n @apply border-color-brand-hover;\n color: theme(\"colors.brand-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);\n }\n &:focus {\n @apply border-color-brand;\n color: theme(\"colors.brand\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n &:active {\n @apply border-color-brand-press;\n color: theme(\"colors.brand-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"danger\"]) {\n button,\n a {\n @apply border-color-danger bg-transparent;\n color: theme(\"colors.danger\");\n &:hover {\n @apply border-color-danger-hover;\n color: theme(\"colors.danger-hover\");\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);\n }\n &:focus {\n @apply border-color-danger;\n color: theme(\"colors.danger\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);\n }\n &:active {\n @apply border-color-danger-press;\n color: theme(\"colors.danger-press\");\n box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"neutral\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: theme(\"borderColor.color.1\");\n &:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);\n }\n &:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n &:active {\n box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n:host([appearance=\"outline\"][kind=\"inverse\"]) {\n button,\n a {\n @apply text-color-1 bg-transparent;\n border-color: var(--calcite-color-inverse);\n &:hover {\n border-color: var(--calcite-color-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);\n }\n &:focus {\n border-color: var(--calcite-color-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);\n }\n &:active {\n border-color: var(--calcite-color-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);\n }\n calcite-loader {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"primary\"]) button,\n:host([appearance=\"outline\"][split-child=\"primary\"]) button {\n border-inline-end-width: 0;\n border-inline-start-width: theme(\"borderWidth.DEFAULT\");\n}\n\n:host([appearance=\"outline-fill\"][split-child=\"secondary\"]) button,\n:host([appearance=\"outline\"][split-child=\"secondary\"]) button {\n border-inline-start-width: 0;\n border-inline-end-width: theme(\"borderWidth.DEFAULT\");\n}\n\n// transparent\n:host([appearance=\"transparent\"]:not(.enable-editing-button)) {\n button,\n a {\n @apply bg-transparent;\n &:hover,\n &:focus {\n background-color: var(--calcite-color-transparent-hover);\n }\n &:active {\n background-color: var(--calcite-color-transparent-press);\n }\n }\n}\n:host([appearance=\"transparent\"][kind=\"brand\"]) {\n button,\n a {\n color: theme(\"colors.brand\");\n &:hover {\n color: theme(\"colors.brand-hover\");\n }\n &:focus {\n color: theme(\"colors.brand\");\n }\n &:active {\n color: theme(\"colors.brand-press\");\n }\n calcite-loader {\n color: theme(\"colors.brand\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"danger\"]) {\n button,\n a {\n color: theme(\"colors.danger\");\n &:hover {\n color: theme(\"colors.danger-hover\");\n }\n &:focus {\n color: theme(\"colors.danger\");\n }\n &:active {\n color: theme(\"colors.danger-press\");\n }\n calcite-loader {\n color: theme(\"colors.danger\");\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"]:not(.cancel-editing-button)) {\n button,\n a,\n calcite-loader {\n @apply text-color-1;\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].cancel-editing-button) {\n button {\n @apply text-color-3\n border-t-color-input\n border-b-color-input\n border-t\n border-b;\n border-block-style: solid;\n\n &:not(.content--slotted) {\n --calcite-button-padding-y-internal: 0;\n }\n\n &:hover {\n @apply text-color-1;\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"neutral\"].enable-editing-button) {\n button {\n @apply bg-transparent;\n }\n}\n\n:host(.confirm-changes-button),\n:host(.cancel-editing-button),\n:host(.enable-editing-button) {\n button {\n &:focus {\n outline-offset: -2px; // ensure focus outlines work in Safari\n }\n }\n}\n\n:host([appearance=\"transparent\"][kind=\"inverse\"]) {\n button,\n a,\n calcite-loader {\n @apply text-color-inverse;\n }\n}\n\n// generate button scales (scenario: text exists)\n:host([scale=\"s\"]) button.content--slotted,\n:host([scale=\"s\"]) a.content--slotted {\n @apply text-n2h;\n}\n\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"s\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.2\");\n}\n\n:host([scale=\"s\"]) button,\n:host([scale=\"s\"]) a {\n --calcite-button-padding-y-internal: 3px;\n}\n\n:host([scale=\"m\"]) button.content--slotted,\n:host([scale=\"m\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 11px;\n @apply text-n1h;\n}\n\n:host([scale=\"m\"]) button,\n:host([scale=\"m\"]) a {\n --calcite-button-padding-y-internal: 7px;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][appearance=\"transparent\"]) button.content--slotted,\n:host([scale=\"m\"][appearance=\"transparent\"]) a.content--slotted {\n --calcite-button-padding-x-internal: theme(\"padding.3\");\n}\n\n:host([scale=\"l\"]) button.content--slotted,\n:host([scale=\"l\"]) a.content--slotted {\n --calcite-button-padding-x-internal: 15px;\n @apply text-0h;\n}\n\n:host([scale=\"l\"]) {\n .button-padding {\n --calcite-button-padding-x-internal: theme(\"padding.4\");\n --calcite-button-padding-y-internal: 11px;\n }\n //shrink the padding if an icon is present to preserve the height\n .button-padding--shrunk {\n --calcite-button-padding-y-internal: 9px;\n }\n}\n\n// generate fab scales (scenario: 1 icon, ie., should be square)\n:host([scale=\"s\"]) button:not(.content--slotted),\n:host([scale=\"s\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 3px;\n @apply text-0h w-6;\n min-block-size: theme(\"height.6\");\n}\n\n:host([scale=\"m\"]) button:not(.content--slotted),\n:host([scale=\"m\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 7px;\n @apply text-0h w-8;\n min-block-size: theme(\"height.8\");\n}\n:host([scale=\"l\"]) button:not(.content--slotted),\n:host([scale=\"l\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding[0.5]\");\n --calcite-button-padding-y-internal: 9px;\n @apply text-0h w-11;\n min-block-size: theme(\"height.11\");\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-y-internal: theme(\"padding[2.5]\");\n}\n\n// generate fab scales (scenario: 2 icons, ie., should not be square)\n:host([scale=\"s\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 23px;\n @apply text-0h h-6;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"s\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.6\");\n}\n:host([scale=\"m\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.8\");\n @apply text-0h h-8;\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"m\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 33px;\n}\n:host([scale=\"l\"][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: 43px;\n @apply text-0h h-11;\n // add space between when only 2 icons\n .icon--start + .icon--end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n// accommodate for transparent buttons not having borders\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) button:not(.content--slotted),\n:host([scale=\"l\"][icon-start][icon-end][appearance=\"transparent\"]) a:not(.content--slotted) {\n --calcite-button-padding-x-internal: theme(\"padding.11\");\n}\n\n@include base-component();\n","import {\n Build,\n Component,\n Element,\n forceUpdate,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { findAssociatedForm, FormOwner, resetForm, submitForm } from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Appearance, FlipContext, Kind, Scale, Width } from \"../interfaces\";\nimport { ButtonMessages } from \"./assets/button/t9n\";\nimport { ButtonAlignment } from \"./interfaces\";\nimport { CSS } from \"./resources\";\nimport { toAriaBoolean } from \"../../utils/dom\";\n\n/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */\n/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */\n\n/** @slot - A slot for adding text. */\n@Component({\n tag: \"calcite-button\",\n styleUrl: \"button.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Button\n implements\n LabelableComponent,\n InteractiveComponent,\n FormOwner,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Global attributes\n //\n //--------------------------------------------------------------------------\n\n @Watch(\"aria-expanded\")\n handleGlobalAttributesChanged(): void {\n forceUpdate(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the alignment of the component's elements. */\n @Prop({ reflect: true }) alignment: ButtonAlignment = \"center\";\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 /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the kind of the component, which will apply to the 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 /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n */\n @Prop({ reflect: true }) 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 * When `true`, a busy indicator is displayed and interaction is disabled.\n */\n @Prop({ reflect: true }) loading = false;\n\n /** Specifies the name of the component on form submission. */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, adds a round style to the component. */\n @Prop({ reflect: true }) round = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies if the component is a child of a `calcite-split-button`. */\n @Prop({ reflect: true }) splitChild: \"primary\" | \"secondary\" | false = false;\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 /**\n * Specifies the default behavior of the component.\n *\n * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)\n */\n @Prop({ reflect: true }) type = \"button\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ButtonMessages;\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<ButtonMessages>;\n\n @Watch(\"loading\")\n loadingChanged(newValue: boolean, oldValue: boolean): void {\n if (!!newValue && !oldValue) {\n this.hasLoader = true;\n }\n if (!newValue && !!oldValue) {\n window.setTimeout(() => {\n this.hasLoader = false;\n }, 300);\n }\n }\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /** referred in t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.hasLoader = this.loading;\n this.setupTextContentObserver();\n connectLabel(this);\n this.formEl = findAssociatedForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\n this.formEl = null;\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n this.updateHasContent();\n await setUpMessages(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.setTooltipText();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const childElType = this.href ? \"a\" : \"button\";\n const Tag = childElType;\n const loaderNode = this.hasLoader ? (\n <div class={CSS.buttonLoader}>\n <calcite-loader\n class={this.loading ? CSS.loadingIn : CSS.loadingOut}\n inline\n label={this.messages.loading}\n scale={this.scale === \"l\" ? \"m\" : \"s\"}\n />\n </div>\n ) : null;\n const noStartEndIcons = !this.iconStart && !this.iconEnd;\n\n const iconStartEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconStart]: true }}\n flipRtl={this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n\n const iconEndEl = (\n <calcite-icon\n class={{ [CSS.icon]: true, [CSS.iconEnd]: true }}\n flipRtl={this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const contentEl = (\n <span class={CSS.content} ref={(el) => (this.contentEl = el)}>\n <slot />\n </span>\n );\n\n return (\n <InteractiveContainer disabled={this.disabled}>\n <Tag\n aria-disabled={childElType === \"a\" ? toAriaBoolean(this.disabled || this.loading) : null}\n aria-expanded={this.el.getAttribute(\"aria-expanded\")}\n aria-label={!this.loading ? getLabelText(this) : this.messages.loading}\n aria-live=\"polite\"\n class={{\n [CSS.buttonPadding]: noStartEndIcons,\n [CSS.buttonPaddingShrunk]: !noStartEndIcons,\n [CSS.contentSlotted]: this.hasContent,\n [CSS.iconStartEmpty]: !this.iconStart,\n [CSS.iconEndEmpty]: !this.iconEnd,\n }}\n disabled={childElType === \"button\" ? this.disabled || this.loading : null}\n href={childElType === \"a\" && this.href}\n name={childElType === \"button\" && this.name}\n onClick={this.handleClick}\n rel={childElType === \"a\" && this.rel}\n tabIndex={this.disabled ? -1 : null}\n target={childElType === \"a\" && this.target}\n title={this.tooltipText}\n type={childElType === \"button\" && this.type}\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.setChildEl}\n >\n {loaderNode}\n {this.iconStart ? iconStartEl : null}\n {this.hasContent ? contentEl : null}\n {this.iconEnd ? iconEndEl : null}\n </Tag>\n </InteractiveContainer>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.childEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteButtonElement;\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n /** watches for changing text content */\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasContent());\n\n /** the rendered child element */\n private childEl?: HTMLElement;\n\n /** determine if there is slotted content for styling purposes */\n @State() private hasContent = false;\n\n /** determine if loader present for styling purposes */\n @State() private hasLoader = false;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ButtonMessages;\n\n private updateHasContent() {\n const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;\n this.hasContent =\n this.el.childNodes.length === 1 && this.el.childNodes[0]?.nodeName === \"#text\"\n ? this.el.textContent?.trim().length > 0\n : slottedContent;\n }\n\n private setupTextContentObserver() {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n /** keeps track of the tooltipText */\n @State() tooltipText: string;\n\n /** keep track of the rendered contentEl */\n private contentEl: HTMLSpanElement;\n\n resizeObserver = createObserver(\"resize\", () => this.setTooltipText());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.handleClick();\n this.setFocus();\n }\n\n // act on a requested or nearby form based on type\n private handleClick = (): void => {\n const { type } = this;\n\n if (this.href) {\n return;\n }\n\n // this.type refers to type attribute, not child element type\n if (type === \"submit\") {\n submitForm(this);\n } else if (type === \"reset\") {\n resetForm(this);\n }\n };\n\n private setTooltipText = (): void => {\n const { contentEl } = this;\n if (contentEl) {\n this.tooltipText =\n contentEl.offsetWidth < contentEl.scrollWidth ? this.el.innerText || null : null;\n }\n };\n\n private setChildEl = (el: HTMLElement): void => {\n this.childEl = el;\n\n if (el) {\n this.resizeObserver?.observe(el);\n }\n };\n}\n"],"version":3}
|
package/dist/components/ca.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { d as dayjs } from './calcite-input-time-picker.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -34,7 +34,7 @@ const IDS = {
|
|
|
34
34
|
sectionToggle: "section-toggle",
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
const accordionItemCss = ".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-color-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-color-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
37
|
+
const accordionItemCss = ".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-color-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-color-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{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 )}:host([expanded]){color:var(--calcite-color-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-color-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-color-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-color-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-color-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-color-text-3);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-color-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-color-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-color-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-color-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-color-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-color-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-color-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";
|
|
38
38
|
|
|
39
39
|
const AccordionItem = /*@__PURE__*/ proxyCustomElement(class AccordionItem extends HTMLElement {
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EAAE,KAAK,aAAa,GAAG,CAAC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;gBACnE,MAAM;YAER,KAAK,gBAAgB;gBACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,KAAK,aAAa,CAAC;gBAC1C,MAAM;SACT;KACF;IAEO,iBAAiB;QACvB,IAAI,CAAC,kCAAkC,CAAC,IAAI,CAAC;YAC3C,sBAAsB,EAAE,IAAI,CAAC,EAAqC;SACnE,CAAC,CAAC;KACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/accordion-item/resources.ts","src/components/accordion-item/accordion-item.scss?tag=calcite-accordion-item&encapsulation=shadow","src/components/accordion-item/accordion-item.tsx"],"sourcesContent":["export const SLOTS = {\n actionsStart: \"actions-start\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n icon: \"icon\",\n header: \"header\",\n headerContent: \"header-content\",\n actionsStart: \"actions-start\",\n actionsEnd: \"actions-end\",\n headerText: \"header-text\",\n heading: \"heading\",\n description: \"description\",\n expandIcon: \"expand-icon\",\n content: \"content\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n headerContainer: \"header-container\",\n};\n\nexport const IDS = {\n section: \"section\",\n sectionToggle: \"section-toggle\",\n};\n","%icon-position {\n /* icon rotation variables */\n --calcite-accordion-item-icon-rotation: calc(theme(\"rotate.90\") * -1);\n --calcite-accordion-item-active-icon-rotation: theme(\"rotate.0\");\n --calcite-accordion-item-icon-rotation-rtl: theme(\"rotate.90\");\n --calcite-accordion-item-active-icon-rotation-rtl: theme(\"rotate.0\");\n}\n\n// icon position variants for child\n.icon-position--start {\n @extend %icon-position;\n --calcite-accordion-item-flex-direction: row-reverse;\n --calcite-accordion-item-icon-spacing-start: 0;\n --calcite-accordion-item-icon-spacing-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon-position--end {\n @extend %icon-position;\n --calcite-accordion-item-flex-direction: row;\n --calcite-accordion-item-icon-spacing-start: var(--calcite-accordion-icon-margin);\n --calcite-accordion-item-icon-spacing-end: 0;\n}\n\n.icon-position--end:not(.icon-type--plus-minus) {\n --calcite-accordion-item-icon-rotation: theme(\"rotate.0\");\n --calcite-accordion-item-active-icon-rotation: theme(\"rotate.180\");\n --calcite-accordion-item-icon-rotation-rtl: theme(\"rotate.0\");\n --calcite-accordion-item-active-icon-rotation-rtl: calc(theme(\"rotate.180\") * -1);\n}\n\n:host {\n @apply text-color-3\n relative\n flex\n flex-col\n no-underline;\n background-color: var(--calcite-accordion-item-background, theme(\"backgroundColor.foreground.1\"));\n}\n\n// focus styles\n:host .header-content {\n @apply focus-base;\n}\n\n:host(:focus) .header-content {\n @apply focus-inset\n outline-none;\n}\n\n:host([expanded]) {\n @apply text-color-1;\n & .content {\n @apply text-color-1 block;\n }\n & .header {\n border-block-end-color: transparent;\n }\n}\n\n// .header / content\n:host .header {\n @apply flex items-stretch;\n}\n\n:host .icon {\n @apply text-color-3\n relative\n m-0\n inline-flex\n duration-150\n ease-in-out;\n margin-inline-end: var(--calcite-accordion-item-icon-spacing-start);\n margin-inline-start: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n.icon--start {\n @apply flex items-center;\n margin-inline-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon--end {\n @apply flex items-center;\n margin-inline-end: var(--calcite-accordion-icon-margin);\n margin-inline-start: var(--calcite-accordion-icon-margin);\n}\n\n.header-container {\n inline-size: 100%;\n}\n\n.content {\n padding: var(--calcite-accordion-item-padding);\n}\n\n:host .content,\n:host .header {\n border-block-end: 1px solid var(--calcite-accordion-item-border, theme(\"borderColor.color.2\"));\n}\n\n:host .header * {\n @apply inline-flex\n items-center\n duration-150\n ease-in-out;\n @include word-break();\n}\n\n:host .content {\n @apply text-color-3 hidden pt-0;\n text-align: initial;\n}\n\n// accordion item icon\n:host .expand-icon {\n @apply text-color-3;\n margin-inline-start: var(--calcite-accordion-item-icon-spacing-start);\n margin-inline-end: var(--calcite-accordion-item-icon-spacing-end);\n transform: rotate(var(--calcite-accordion-item-icon-rotation));\n}\n\n.calcite--rtl .expand-icon {\n transform: rotate(var(--calcite-accordion-item-icon-rotation-rtl));\n}\n\n:host([expanded]) .expand-icon {\n @apply text-color-3;\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation));\n}\n\n:host([expanded]) .calcite--rtl .expand-icon {\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));\n}\n\n// accordion item title\n:host .header-text {\n @apply my-0 flex-grow flex-col py-0;\n text-align: initial;\n margin-inline-end: theme(\"margin.auto\");\n}\n\n:host .heading,\n:host .description {\n @apply flex w-full;\n}\n\n:host .heading {\n @apply text-color-2 font-medium;\n}\n:host .description {\n @apply text-color-3 mt-1;\n}\n\n:host(:focus),\n:host(:hover) {\n & .heading {\n @apply text-color-1;\n }\n & .icon {\n @apply text-color-1;\n }\n\n & .expand-icon {\n @apply text-color-1;\n }\n & .description {\n @apply text-color-2;\n }\n}\n\n:host(:focus),\n:host(:active),\n:host([expanded]) {\n & .heading {\n @apply text-color-1;\n }\n & .icon {\n @apply text-color-1;\n }\n & .description {\n @apply text-color-2;\n }\n}\n\n.header-content {\n @apply flex-grow cursor-pointer;\n padding: var(--calcite-accordion-item-padding);\n flex-direction: var(--calcite-accordion-item-flex-direction);\n}\n\n.actions-start,\n.actions-end {\n @apply flex items-center;\n}\n\n@media (forced-colors: active) {\n :host([expanded]) {\n & .header {\n border-block-end: none;\n }\n & .heading {\n /** give visual indicator of expanded state since subtle color changes can't be done **/\n font-weight: bolder;\n }\n }\n :host(:hover),\n :host(:focus) {\n & .heading {\n /** give visual indicator of expandability/click-ability since subtle color changes can't be done **/\n text-decoration: underline;\n }\n }\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} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n closestElementCrossShadowBoundary,\n getElementDir,\n getSlotted,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { SLOTS, CSS, IDS } from \"./resources\";\nimport { FlipContext, Position, Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\n\n/**\n * @slot - A slot for adding custom content, including nested `calcite-accordion-item`s.\n * @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component's header.\n * @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component's header.\n */\n@Component({\n tag: \"calcite-accordion-item\",\n styleUrl: \"accordion-item.scss\",\n shadow: true,\n})\nexport class AccordionItem implements ConditionalSlotComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is expanded. */\n @Prop({ reflect: true, mutable: true }) expanded = false;\n\n /** Specifies heading text for the component. */\n @Prop() heading: string;\n\n /** Specifies a description for the component. */\n @Prop() description: string;\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 /** 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 /**\n * Specifies the placement of the icon in the header inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() iconPosition: Position;\n\n /** Specifies the type of the icon in the header inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() iconType: \"chevron\" | \"caret\" | \"plus-minus\";\n\n /**\n * The containing `accordion` element.\n *\n * @internal\n */\n @Prop() accordionParent: HTMLCalciteAccordionElement;\n\n /**\n * Specifies the size of the component inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() scale: Scale;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAccordionItemSelect: EventEmitter<RequestedItem>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAccordionItemClose: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderActionsStart(): VNode {\n const { el } = this;\n return getSlotted(el, SLOTS.actionsStart) ? (\n <div class={CSS.actionsStart}>\n <slot name={SLOTS.actionsStart} />\n </div>\n ) : null;\n }\n\n renderActionsEnd(): VNode {\n const { el } = this;\n return getSlotted(el, SLOTS.actionsEnd) ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { iconFlipRtl } = this;\n const dir = getElementDir(this.el);\n const iconStartEl = this.iconStart ? (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"both\" || iconFlipRtl === \"start\"}\n icon={this.iconStart}\n key=\"icon-start\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n const iconEndEl = this.iconEnd ? (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"both\" || iconFlipRtl === \"end\"}\n icon={this.iconEnd}\n key=\"icon-end\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n const { description } = this;\n return (\n <Host>\n <div\n class={{\n [`icon-position--${this.iconPosition}`]: true,\n [`icon-type--${this.iconType}`]: true,\n }}\n >\n <div class={{ [CSS.header]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" }}>\n {this.renderActionsStart()}\n <div\n aria-controls={IDS.section}\n aria-expanded={toAriaBoolean(this.expanded)}\n class={CSS.headerContent}\n id={IDS.sectionToggle}\n onClick={this.itemHeaderClickHandler}\n role=\"button\"\n tabindex=\"0\"\n >\n <div class={CSS.headerContainer}>\n {iconStartEl}\n <div class={CSS.headerText}>\n <span class={CSS.heading}>{this.heading}</span>\n {description ? <span class={CSS.description}>{description}</span> : null}\n </div>\n {iconEndEl}\n </div>\n <calcite-icon\n class={CSS.expandIcon}\n icon={\n this.iconType === \"chevron\"\n ? \"chevronDown\"\n : this.iconType === \"caret\"\n ? \"caretDown\"\n : this.expanded\n ? \"minus\"\n : \"plus\"\n }\n scale={getIconScale(this.scale)}\n />\n </div>\n {this.renderActionsEnd()}\n </div>\n <section aria-labelledby={IDS.sectionToggle} class={CSS.content} id={IDS.section}>\n <slot />\n </section>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n if (event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"calciteInternalAccordionChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const [accordion] = event.composedPath();\n const parent = closestElementCrossShadowBoundary<HTMLCalciteAccordionElement>(\n this.el,\n \"calcite-accordion\",\n );\n\n if (accordion !== parent) {\n return;\n }\n\n this.determineActiveItem(parent.selectionMode, event.detail.requestedAccordionItem);\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalAccordionItemsSync\", { target: \"document\" })\n accordionItemSyncHandler(event: CustomEvent): void {\n const [accordion] = event.composedPath();\n const accordionItem = this.el;\n\n // we sync with our accordion parent via event only if the item is wrapped within another component's shadow DOM,\n // otherwise, the accordion parent will sync the item directly\n\n const willBeSyncedByDirectParent = accordionItem.parentElement === accordion;\n if (willBeSyncedByDirectParent) {\n return;\n }\n\n const closestAccordionParent = closestElementCrossShadowBoundary<HTMLCalciteAccordionElement>(\n accordionItem,\n \"calcite-accordion\",\n );\n\n if (accordion !== closestAccordionParent) {\n return;\n }\n\n accordionItem.iconPosition = closestAccordionParent.iconPosition;\n accordionItem.iconType = closestAccordionParent.iconType;\n accordionItem.scale = closestAccordionParent.scale;\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteAccordionItemElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n /** handle clicks on item header */\n private itemHeaderClickHandler = (): void => this.emitRequestedItem();\n\n private determineActiveItem(\n selectionMode: SelectionMode,\n requestedItem: HTMLCalciteAccordionItemElement,\n ): void {\n switch (selectionMode) {\n case \"multiple\":\n if (this.el === requestedItem) {\n this.expanded = !this.expanded;\n }\n break;\n\n case \"single\":\n this.expanded = this.el === requestedItem ? !this.expanded : false;\n break;\n\n case \"single-persist\":\n this.expanded = this.el === requestedItem;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteInternalAccordionItemSelect.emit({\n requestedAccordionItem: this.el as HTMLCalciteAccordionItemElement,\n });\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-accordion-item.js","mappings":";;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,eAAe,EAAE,kBAAkB;CACpC,CAAC;AAEK,MAAM,GAAG,G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K,SAAS,CAAC;QAC7E,IAAI,0BAA0B,EAAE;YAC9B,OAAO;SACR;QAED,MAAM,sBAAsB,GAAG,iCAAiC,CAC9D,aAAa,EACb,mBAAmB,CACpB,CAAC;QAEF,IAAI,SAAS,KAAK,sBAAsB,EAAE;YACxC,OAAO;SACR;QAED,aAAa,CAAC,YAAY,GAAG,sBAAsB,CAAC,YAAY,CAAC;QACjE,aAAa,CAAC,QAAQ,GAAG,sBAAsB,CAAC,QAAQ,CAAC;QACzD,aAAa,CAAC,KAAK,GAAG,sBAAsB,CAAC,KAAK,CAAC;QACnD,KAAK,CAAC,eAAe,EAAE,CAAC;KACzB;IAmBO,mBAAmB,CACzB,aAA4B,EAC5B,aAA8C;QAE9C,QAAQ,aAAa;YACnB,KAAK,UAAU;gBACb,IAAI,IAAI,CAAC,EAAE,KAAK,aAAa,EAAE;oBAC7B,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;iBAChC;gBACD,MAAM;YAER,KAAK,QAAQ;gBACX,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,KAAK,aAAa,GAAG,CAAC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;gBACnE,MAAM;YAER,KAAK,gBAAgB;gBACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,KAAK,aAAa,CAAC;gBAC1C,MAAM;SACT;KACF;IAEO,iBAAiB;QACvB,IAAI,CAAC,kCAAkC,CAAC,IAAI,CAAC;YAC3C,sBAAsB,EAAE,IAAI,CAAC,EAAqC;SACnE,CAAC,CAAC;KACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/accordion-item/resources.ts","src/components/accordion-item/accordion-item.scss?tag=calcite-accordion-item&encapsulation=shadow","src/components/accordion-item/accordion-item.tsx"],"sourcesContent":["export const SLOTS = {\n actionsStart: \"actions-start\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n icon: \"icon\",\n header: \"header\",\n headerContent: \"header-content\",\n actionsStart: \"actions-start\",\n actionsEnd: \"actions-end\",\n headerText: \"header-text\",\n heading: \"heading\",\n description: \"description\",\n expandIcon: \"expand-icon\",\n content: \"content\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n headerContainer: \"header-container\",\n};\n\nexport const IDS = {\n section: \"section\",\n sectionToggle: \"section-toggle\",\n};\n","%icon-position {\n /* icon rotation variables */\n --calcite-accordion-item-icon-rotation: calc(theme(\"rotate.90\") * -1);\n --calcite-accordion-item-active-icon-rotation: theme(\"rotate.0\");\n --calcite-accordion-item-icon-rotation-rtl: theme(\"rotate.90\");\n --calcite-accordion-item-active-icon-rotation-rtl: theme(\"rotate.0\");\n}\n\n// icon position variants for child\n.icon-position--start {\n @extend %icon-position;\n --calcite-accordion-item-flex-direction: row-reverse;\n --calcite-accordion-item-icon-spacing-start: 0;\n --calcite-accordion-item-icon-spacing-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon-position--end {\n @extend %icon-position;\n --calcite-accordion-item-flex-direction: row;\n --calcite-accordion-item-icon-spacing-start: var(--calcite-accordion-icon-margin);\n --calcite-accordion-item-icon-spacing-end: 0;\n}\n\n.icon-position--end:not(.icon-type--plus-minus) {\n --calcite-accordion-item-icon-rotation: theme(\"rotate.0\");\n --calcite-accordion-item-active-icon-rotation: theme(\"rotate.180\");\n --calcite-accordion-item-icon-rotation-rtl: theme(\"rotate.0\");\n --calcite-accordion-item-active-icon-rotation-rtl: calc(theme(\"rotate.180\") * -1);\n}\n\n:host {\n @apply text-color-3\n relative\n flex\n flex-col\n no-underline;\n background-color: var(--calcite-accordion-item-background, theme(\"backgroundColor.foreground.1\"));\n}\n\n// focus styles\n:host .header-content {\n @apply focus-base;\n}\n\n:host(:focus) .header-content {\n @apply focus-inset\n outline-none;\n}\n\n:host([expanded]) {\n @apply text-color-1;\n & .content {\n @apply text-color-1 block;\n }\n & .header {\n border-block-end-color: transparent;\n }\n}\n\n// .header / content\n:host .header {\n @apply flex items-stretch;\n}\n\n:host .icon {\n @apply text-color-3\n relative\n m-0\n inline-flex\n duration-150\n ease-in-out;\n margin-inline-end: var(--calcite-accordion-item-icon-spacing-start);\n margin-inline-start: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n.icon--start {\n @apply flex items-center;\n margin-inline-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon--end {\n @apply flex items-center;\n margin-inline-end: var(--calcite-accordion-icon-margin);\n margin-inline-start: var(--calcite-accordion-icon-margin);\n}\n\n.header-container {\n inline-size: 100%;\n}\n\n.content {\n padding: var(--calcite-accordion-item-padding);\n}\n\n:host .content,\n:host .header {\n border-block-end: 1px solid var(--calcite-accordion-item-border, theme(\"borderColor.color.2\"));\n}\n\n:host .header * {\n @apply inline-flex\n items-center\n duration-150\n ease-in-out;\n @include word-break();\n}\n\n:host .content {\n @apply text-color-3 hidden pt-0;\n text-align: initial;\n}\n\n// accordion item icon\n:host .expand-icon {\n @apply text-color-3;\n margin-inline-start: var(--calcite-accordion-item-icon-spacing-start);\n margin-inline-end: var(--calcite-accordion-item-icon-spacing-end);\n transform: rotate(var(--calcite-accordion-item-icon-rotation));\n}\n\n.calcite--rtl .expand-icon {\n transform: rotate(var(--calcite-accordion-item-icon-rotation-rtl));\n}\n\n:host([expanded]) .expand-icon {\n @apply text-color-3;\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation));\n}\n\n:host([expanded]) .calcite--rtl .expand-icon {\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));\n}\n\n// accordion item title\n:host .header-text {\n @apply my-0 flex-grow flex-col py-0;\n text-align: initial;\n margin-inline-end: theme(\"margin.auto\");\n}\n\n:host .heading,\n:host .description {\n @apply flex w-full;\n}\n\n:host .heading {\n @apply text-color-2 font-medium;\n}\n:host .description {\n @apply text-color-3 mt-1;\n}\n\n:host(:focus),\n:host(:hover) {\n & .heading {\n @apply text-color-1;\n }\n & .icon {\n @apply text-color-1;\n }\n\n & .expand-icon {\n @apply text-color-1;\n }\n & .description {\n @apply text-color-2;\n }\n}\n\n:host(:focus),\n:host(:active),\n:host([expanded]) {\n & .heading {\n @apply text-color-1;\n }\n & .icon {\n @apply text-color-1;\n }\n & .description {\n @apply text-color-2;\n }\n}\n\n.header-content {\n @apply flex-grow cursor-pointer;\n padding: var(--calcite-accordion-item-padding);\n flex-direction: var(--calcite-accordion-item-flex-direction);\n}\n\n.actions-start,\n.actions-end {\n @apply flex items-center;\n}\n\n@media (forced-colors: active) {\n :host([expanded]) {\n & .header {\n border-block-end: none;\n }\n & .heading {\n /** give visual indicator of expanded state since subtle color changes can't be done **/\n font-weight: bolder;\n }\n }\n :host(:hover),\n :host(:focus) {\n & .heading {\n /** give visual indicator of expandability/click-ability since subtle color changes can't be done **/\n text-decoration: underline;\n }\n }\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} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n closestElementCrossShadowBoundary,\n getElementDir,\n getSlotted,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { SLOTS, CSS, IDS } from \"./resources\";\nimport { FlipContext, Position, Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\n\n/**\n * @slot - A slot for adding custom content, including nested `calcite-accordion-item`s.\n * @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component's header.\n * @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component's header.\n */\n@Component({\n tag: \"calcite-accordion-item\",\n styleUrl: \"accordion-item.scss\",\n shadow: true,\n})\nexport class AccordionItem implements ConditionalSlotComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is expanded. */\n @Prop({ reflect: true, mutable: true }) expanded = false;\n\n /** Specifies heading text for the component. */\n @Prop() heading: string;\n\n /** Specifies a description for the component. */\n @Prop() description: string;\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 /** 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 /**\n * Specifies the placement of the icon in the header inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() iconPosition: Position;\n\n /** Specifies the type of the icon in the header inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() iconType: \"chevron\" | \"caret\" | \"plus-minus\";\n\n /**\n * The containing `accordion` element.\n *\n * @internal\n */\n @Prop() accordionParent: HTMLCalciteAccordionElement;\n\n /**\n * Specifies the size of the component inherited from the `calcite-accordion`.\n *\n * @internal\n */\n @Prop() scale: Scale;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAccordionItemSelect: EventEmitter<RequestedItem>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAccordionItemClose: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderActionsStart(): VNode {\n const { el } = this;\n return getSlotted(el, SLOTS.actionsStart) ? (\n <div class={CSS.actionsStart}>\n <slot name={SLOTS.actionsStart} />\n </div>\n ) : null;\n }\n\n renderActionsEnd(): VNode {\n const { el } = this;\n return getSlotted(el, SLOTS.actionsEnd) ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null;\n }\n\n render(): VNode {\n const { iconFlipRtl } = this;\n const dir = getElementDir(this.el);\n const iconStartEl = this.iconStart ? (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"both\" || iconFlipRtl === \"start\"}\n icon={this.iconStart}\n key=\"icon-start\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n const iconEndEl = this.iconEnd ? (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"both\" || iconFlipRtl === \"end\"}\n icon={this.iconEnd}\n key=\"icon-end\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n const { description } = this;\n return (\n <Host>\n <div\n class={{\n [`icon-position--${this.iconPosition}`]: true,\n [`icon-type--${this.iconType}`]: true,\n }}\n >\n <div class={{ [CSS.header]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" }}>\n {this.renderActionsStart()}\n <div\n aria-controls={IDS.section}\n aria-expanded={toAriaBoolean(this.expanded)}\n class={CSS.headerContent}\n id={IDS.sectionToggle}\n onClick={this.itemHeaderClickHandler}\n role=\"button\"\n tabindex=\"0\"\n >\n <div class={CSS.headerContainer}>\n {iconStartEl}\n <div class={CSS.headerText}>\n <span class={CSS.heading}>{this.heading}</span>\n {description ? <span class={CSS.description}>{description}</span> : null}\n </div>\n {iconEndEl}\n </div>\n <calcite-icon\n class={CSS.expandIcon}\n icon={\n this.iconType === \"chevron\"\n ? \"chevronDown\"\n : this.iconType === \"caret\"\n ? \"caretDown\"\n : this.expanded\n ? \"minus\"\n : \"plus\"\n }\n scale={getIconScale(this.scale)}\n />\n </div>\n {this.renderActionsEnd()}\n </div>\n <section aria-labelledby={IDS.sectionToggle} class={CSS.content} id={IDS.section}>\n <slot />\n </section>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n if (event.target === this.el) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"calciteInternalAccordionChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const [accordion] = event.composedPath();\n const parent = closestElementCrossShadowBoundary<HTMLCalciteAccordionElement>(\n this.el,\n \"calcite-accordion\",\n );\n\n if (accordion !== parent) {\n return;\n }\n\n this.determineActiveItem(parent.selectionMode, event.detail.requestedAccordionItem);\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalAccordionItemsSync\", { target: \"document\" })\n accordionItemSyncHandler(event: CustomEvent): void {\n const [accordion] = event.composedPath();\n const accordionItem = this.el;\n\n // we sync with our accordion parent via event only if the item is wrapped within another component's shadow DOM,\n // otherwise, the accordion parent will sync the item directly\n\n const willBeSyncedByDirectParent = accordionItem.parentElement === accordion;\n if (willBeSyncedByDirectParent) {\n return;\n }\n\n const closestAccordionParent = closestElementCrossShadowBoundary<HTMLCalciteAccordionElement>(\n accordionItem,\n \"calcite-accordion\",\n );\n\n if (accordion !== closestAccordionParent) {\n return;\n }\n\n accordionItem.iconPosition = closestAccordionParent.iconPosition;\n accordionItem.iconType = closestAccordionParent.iconType;\n accordionItem.scale = closestAccordionParent.scale;\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteAccordionItemElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n /** handle clicks on item header */\n private itemHeaderClickHandler = (): void => this.emitRequestedItem();\n\n private determineActiveItem(\n selectionMode: SelectionMode,\n requestedItem: HTMLCalciteAccordionItemElement,\n ): void {\n switch (selectionMode) {\n case \"multiple\":\n if (this.el === requestedItem) {\n this.expanded = !this.expanded;\n }\n break;\n\n case \"single\":\n this.expanded = this.el === requestedItem ? !this.expanded : false;\n break;\n\n case \"single-persist\":\n this.expanded = this.el === requestedItem;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteInternalAccordionItemSelect.emit({\n requestedAccordionItem: this.el as HTMLCalciteAccordionItemElement,\n });\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { A as ActionGroup, d as defineCustomElement$1 } from './action-group.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { A as ActionMenu, d as defineCustomElement$1 } from './action-menu.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.6.0-next.
|
|
4
|
+
* v2.6.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
import { A as Action, d as defineCustomElement$1 } from './action.js';
|
|
7
7
|
|