@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 +1 @@
|
|
|
1
|
-
{"file":"calcite-value-list-item.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;CACb,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;CAC9B;;ACPD,MAAM,gBAAgB,GAAG,iqEAAiqE;;MC+C7qE,aAAa;;;;;;;;QA6ExB,iBAAY,GAAmC,IAAI,CAAC;QAIpD,SAAI,GAAG,2BAA2B,IAAI,EAAE,EAAE,CAAC;;;;;;QA8F3C,mBAAc,GAAG,CAAC,EAAkC,MACjD,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,CA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C,IAAI,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,IAC/B,EAAC,oBAAoB,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAC1C,IAAI,CAAC,YAAY,EAAE,EACpB,8BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,uBAAuB,EAAE,IAAI,CAAC,kBAAkB,EAChD,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK;;YAEjB,GAAG,EAAE,IAAI,CAAC,cAAc,IAEvB,IAAI,CAAC,kBAAkB,EAAE,EACzB,IAAI,CAAC,gBAAgB,EAAE,CACD,CACJ,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PICK_LIST_SLOTS"],"sources":["src/components/value-list-item/resources.ts","src/components/value-list-item/value-list-item.scss?tag=calcite-value-list-item&encapsulation=shadow","src/components/value-list-item/value-list-item.tsx"],"sourcesContent":["export const ICONS = {\n drag: \"drag\",\n};\n\nexport const SLOTS = {\n actionsEnd: \"actions-end\",\n actionsStart: \"actions-start\",\n};\n",":host {\n @apply bg-foreground-1\n text-color-2\n text-n1\n shadow-border-bottom\n mb-px\n box-border\n flex;\n transition:\n background-color var(--calcite-animation-timing),\n box-shadow var(--calcite-animation-timing);\n * {\n @apply box-border;\n }\n}\n\ncalcite-pick-list-item {\n @apply relative\n m-0\n flex-grow\n shadow-none;\n}\n\n:host([active]),\n:host([selected]) {\n @apply shadow-outline-active;\n}\n\n.handle {\n @apply flex\n cursor-move\n items-center\n justify-center\n border-none\n bg-transparent\n py-0\n px-1;\n color: theme(\"borderColor.color.input\");\n &:hover {\n @apply bg-foreground-2 text-color-1;\n }\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n &--activated {\n @apply bg-foreground-3 text-color-1;\n }\n calcite-icon {\n color: inherit;\n }\n}\n\n@include disabled();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS, SLOTS as PICK_LIST_SLOTS } from \"../pick-list-item/resources\";\nimport { ICON_TYPES } from \"../pick-list/resources\";\nimport { ListItemAndHandle } from \"./interfaces\";\nimport { ICONS, SLOTS } from \"./resources\";\n\n/**\n * @deprecated Use the `list` component instead.\n * @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component.\n * @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component.\n */\n@Component({\n tag: \"calcite-value-list-item\",\n styleUrl: \"value-list-item.scss\",\n shadow: true,\n})\nexport class ValueListItem\n implements ConditionalSlotComponent, InteractiveComponent, LoadableComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * A description for the component that displays below the label text.\n */\n @Prop({ reflect: true }) description?: string;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * @internal\n */\n @Prop() deselectDisabled = false;\n\n /**\n * When `true`, prevents the content of the component from user interaction.\n */\n @Prop({ reflect: true }) nonInteractive = false;\n\n /**\n * @internal\n */\n @Prop({ mutable: true }) handleActivated? = false;\n\n /**\n * Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.\n *\n * @see [ICON_TYPES](https://github.com/Esri/calcite-design-system/blob/main/src/components/pick-list/resources.ts#L5)\n */\n @Prop({ reflect: true }) icon?: ICON_TYPES | null = null;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * Label and accessible name for the component. Appears next to the icon.\n */\n @Prop({ reflect: true }) label!: string;\n\n /**\n * Provides additional metadata to the component. Primary use is for a filter on the parent list.\n */\n @Prop() metadata?: Record<string, unknown>;\n\n /**\n * When `true`, adds an action to remove the component.\n */\n @Prop({ reflect: true }) removable = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * The component's value.\n */\n @Prop() value!: any;\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteValueListItemElement;\n\n pickListItem: HTMLCalcitePickListItemElement = null;\n\n handleEl: HTMLSpanElement;\n\n guid = `calcite-value-list-item-${guid()}`;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Toggle the selection state. By default this won't trigger an event.\n * The first argument allows the value to be coerced, rather than swapping values.\n *\n * @param coerce\n */\n @Method()\n async toggleSelected(coerce?: boolean): Promise<void> {\n this.pickListItem.toggleSelected(coerce);\n }\n\n /** Set focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n return this.pickListItem?.setFocus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component is selected or unselected.\n */\n @Event({ cancelable: false }) calciteListItemChange: EventEmitter<{\n item: HTMLCalciteValueListItemElement;\n value: any;\n selected: boolean;\n shiftPressed: boolean;\n }>;\n\n /**\n * Fires when the remove button is pressed.\n */\n @Event({ cancelable: true }) calciteListItemRemove: EventEmitter<void>; // wrapped pick-list-item emits this\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteValueListItemDragHandleBlur: EventEmitter<ListItemAndHandle>;\n\n @Listen(\"calciteListItemChange\")\n calciteListItemChangeHandler(event: CustomEvent): void {\n // adjust item payload from wrapped item before bubbling\n event.detail.item = this.el;\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n getPickListRef = (el: HTMLCalcitePickListItemElement): HTMLCalcitePickListItemElement =>\n (this.pickListItem = el);\n\n handleKeyDown = (event: KeyboardEvent): void => {\n if (event.key === \" \") {\n this.handleActivated = !this.handleActivated;\n }\n };\n\n handleBlur = (): void => {\n this.handleActivated = false;\n this.calciteValueListItemDragHandleBlur.emit({ item: this.el, handle: this.handleEl });\n };\n\n handleSelectChange = (event: CustomEvent): void => {\n this.selected = event.detail.selected;\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderActionsEnd(): VNode {\n const { el } = this;\n const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return hasActionsEnd ? (\n <slot name={SLOTS.actionsEnd} slot={PICK_LIST_SLOTS.actionsEnd} />\n ) : null;\n }\n\n renderActionsStart(): VNode {\n const { el } = this;\n const hasActionsStart = getSlotted(el, SLOTS.actionsStart);\n\n return hasActionsStart ? (\n <slot name={SLOTS.actionsStart} slot={PICK_LIST_SLOTS.actionsStart} />\n ) : null;\n }\n\n renderHandle(): VNode {\n const { icon, iconFlipRtl } = this;\n if (icon === ICON_TYPES.grip) {\n return (\n <span\n class={{\n [CSS.handle]: true,\n [CSS.handleActivated]: this.handleActivated,\n }}\n data-js-handle\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n role=\"button\"\n tabindex=\"0\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.handleEl = el as HTMLSpanElement)}\n >\n <calcite-icon flipRtl={iconFlipRtl} icon={ICONS.drag} scale=\"s\" />\n </span>\n );\n }\n }\n\n render(): VNode {\n return (\n <Host id={this.el.id || this.guid}>\n <InteractiveContainer disabled={this.disabled}>\n {this.renderHandle()}\n <calcite-pick-list-item\n description={this.description}\n deselectDisabled={this.deselectDisabled}\n disabled={this.disabled}\n label={this.label}\n metadata={this.metadata}\n nonInteractive={this.nonInteractive}\n onCalciteListItemChange={this.handleSelectChange}\n removable={this.removable}\n selected={this.selected}\n value={this.value}\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.getPickListRef}\n >\n {this.renderActionsStart()}\n {this.renderActionsEnd()}\n </calcite-pick-list-item>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-value-list-item.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;CACb,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;CAC9B;;ACPD,MAAM,gBAAgB,GAAG,gqEAAgqE;;MC+C5qE,aAAa;;;;;;;;QA6ExB,iBAAY,GAAmC,I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C,IAEpD,oBAAc,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,EAAC,GAAG,GAAG,CAC7D,EACP;SACH;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,IAC/B,EAAC,oBAAoB,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAC1C,IAAI,CAAC,YAAY,EAAE,EACpB,8BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,uBAAuB,EAAE,IAAI,CAAC,kBAAkB,EAChD,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK;;YAEjB,GAAG,EAAE,IAAI,CAAC,cAAc,IAEvB,IAAI,CAAC,kBAAkB,EAAE,EACzB,IAAI,CAAC,gBAAgB,EAAE,CACD,CACJ,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PICK_LIST_SLOTS"],"sources":["src/components/value-list-item/resources.ts","src/components/value-list-item/value-list-item.scss?tag=calcite-value-list-item&encapsulation=shadow","src/components/value-list-item/value-list-item.tsx"],"sourcesContent":["export const ICONS = {\n drag: \"drag\",\n};\n\nexport const SLOTS = {\n actionsEnd: \"actions-end\",\n actionsStart: \"actions-start\",\n};\n",":host {\n @apply bg-foreground-1\n text-color-2\n text-n1\n shadow-border-bottom\n mb-px\n box-border\n flex;\n transition:\n background-color var(--calcite-animation-timing),\n box-shadow var(--calcite-animation-timing);\n * {\n @apply box-border;\n }\n}\n\ncalcite-pick-list-item {\n @apply relative\n m-0\n flex-grow\n shadow-none;\n}\n\n:host([active]),\n:host([selected]) {\n @apply shadow-outline-active;\n}\n\n.handle {\n @apply flex\n cursor-move\n items-center\n justify-center\n border-none\n bg-transparent\n py-0\n px-1;\n color: theme(\"borderColor.color.input\");\n &:hover {\n @apply bg-foreground-2 text-color-1;\n }\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n &--activated {\n @apply bg-foreground-3 text-color-1;\n }\n calcite-icon {\n color: inherit;\n }\n}\n\n@include disabled();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { CSS, SLOTS as PICK_LIST_SLOTS } from \"../pick-list-item/resources\";\nimport { ICON_TYPES } from \"../pick-list/resources\";\nimport { ListItemAndHandle } from \"./interfaces\";\nimport { ICONS, SLOTS } from \"./resources\";\n\n/**\n * @deprecated Use the `list` component instead.\n * @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component.\n * @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component.\n */\n@Component({\n tag: \"calcite-value-list-item\",\n styleUrl: \"value-list-item.scss\",\n shadow: true,\n})\nexport class ValueListItem\n implements ConditionalSlotComponent, InteractiveComponent, LoadableComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * A description for the component that displays below the label text.\n */\n @Prop({ reflect: true }) description?: string;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * @internal\n */\n @Prop() deselectDisabled = false;\n\n /**\n * When `true`, prevents the content of the component from user interaction.\n */\n @Prop({ reflect: true }) nonInteractive = false;\n\n /**\n * @internal\n */\n @Prop({ mutable: true }) handleActivated? = false;\n\n /**\n * Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.\n *\n * @see [ICON_TYPES](https://github.com/Esri/calcite-design-system/blob/main/src/components/pick-list/resources.ts#L5)\n */\n @Prop({ reflect: true }) icon?: ICON_TYPES | null = null;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /**\n * Label and accessible name for the component. Appears next to the icon.\n */\n @Prop({ reflect: true }) label!: string;\n\n /**\n * Provides additional metadata to the component. Primary use is for a filter on the parent list.\n */\n @Prop() metadata?: Record<string, unknown>;\n\n /**\n * When `true`, adds an action to remove the component.\n */\n @Prop({ reflect: true }) removable = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * The component's value.\n */\n @Prop() value!: any;\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteValueListItemElement;\n\n pickListItem: HTMLCalcitePickListItemElement = null;\n\n handleEl: HTMLSpanElement;\n\n guid = `calcite-value-list-item-${guid()}`;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Toggle the selection state. By default this won't trigger an event.\n * The first argument allows the value to be coerced, rather than swapping values.\n *\n * @param coerce\n */\n @Method()\n async toggleSelected(coerce?: boolean): Promise<void> {\n this.pickListItem.toggleSelected(coerce);\n }\n\n /** Set focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n return this.pickListItem?.setFocus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component is selected or unselected.\n */\n @Event({ cancelable: false }) calciteListItemChange: EventEmitter<{\n item: HTMLCalciteValueListItemElement;\n value: any;\n selected: boolean;\n shiftPressed: boolean;\n }>;\n\n /**\n * Fires when the remove button is pressed.\n */\n @Event({ cancelable: true }) calciteListItemRemove: EventEmitter<void>; // wrapped pick-list-item emits this\n\n /**\n * @internal\n */\n @Event({ cancelable: false })\n calciteValueListItemDragHandleBlur: EventEmitter<ListItemAndHandle>;\n\n @Listen(\"calciteListItemChange\")\n calciteListItemChangeHandler(event: CustomEvent): void {\n // adjust item payload from wrapped item before bubbling\n event.detail.item = this.el;\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n getPickListRef = (el: HTMLCalcitePickListItemElement): HTMLCalcitePickListItemElement =>\n (this.pickListItem = el);\n\n handleKeyDown = (event: KeyboardEvent): void => {\n if (event.key === \" \") {\n this.handleActivated = !this.handleActivated;\n }\n };\n\n handleBlur = (): void => {\n this.handleActivated = false;\n this.calciteValueListItemDragHandleBlur.emit({ item: this.el, handle: this.handleEl });\n };\n\n handleSelectChange = (event: CustomEvent): void => {\n this.selected = event.detail.selected;\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderActionsEnd(): VNode {\n const { el } = this;\n const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return hasActionsEnd ? (\n <slot name={SLOTS.actionsEnd} slot={PICK_LIST_SLOTS.actionsEnd} />\n ) : null;\n }\n\n renderActionsStart(): VNode {\n const { el } = this;\n const hasActionsStart = getSlotted(el, SLOTS.actionsStart);\n\n return hasActionsStart ? (\n <slot name={SLOTS.actionsStart} slot={PICK_LIST_SLOTS.actionsStart} />\n ) : null;\n }\n\n renderHandle(): VNode {\n const { icon, iconFlipRtl } = this;\n if (icon === ICON_TYPES.grip) {\n return (\n <span\n class={{\n [CSS.handle]: true,\n [CSS.handleActivated]: this.handleActivated,\n }}\n data-js-handle\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n role=\"button\"\n tabindex=\"0\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.handleEl = el as HTMLSpanElement)}\n >\n <calcite-icon flipRtl={iconFlipRtl} icon={ICONS.drag} scale=\"s\" />\n </span>\n );\n }\n }\n\n render(): VNode {\n return (\n <Host id={this.el.id || this.guid}>\n <InteractiveContainer disabled={this.disabled}>\n {this.renderHandle()}\n <calcite-pick-list-item\n description={this.description}\n deselectDisabled={this.deselectDisabled}\n disabled={this.disabled}\n label={this.label}\n metadata={this.metadata}\n nonInteractive={this.nonInteractive}\n onCalciteListItemChange={this.handleSelectChange}\n removable={this.removable}\n selected={this.selected}\n value={this.value}\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.getPickListRef}\n >\n {this.renderActionsStart()}\n {this.renderActionsEnd()}\n </calcite-pick-list-item>\n </InteractiveContainer>\n </Host>\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 connectInteractive, u as updateHostInteraction, d as disconnectInteractive } from './interactive.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 { t as toAriaBoolean } from './dom.js';
|
|
@@ -12,7 +12,7 @@ import { i as isActivationKey } from './key.js';
|
|
|
12
12
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
|
13
13
|
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable.js';
|
|
14
14
|
|
|
15
|
-
const checkboxCss = ":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([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input);color:var(--calcite-color-background)}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
15
|
+
const checkboxCss = ":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([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input);color:var(--calcite-color-background)}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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 )}.toggle::after{content:\"\";inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute;transform:translateX(-50%) translateY(-50%)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
|
|
16
16
|
|
|
17
17
|
const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"checkbox.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,6wFAA6wF;;MCyCpxF,QAAQ;;;;;;;;QAwEV,gBAAW,GAAG,0DAA0D,CAAC;QAEzE,sBAAiB,GAAG,cAAc,CAAC;QAoC5C,YAAO,GAAG,MACR,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QAErF,WAAM,GAAG;YACP,IAAI,CAAC,IAAI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calcite-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-checkbox-size: Specifies the component's height and width.\n */\n\n:host([scale=\"s\"]) {\n --calcite-checkbox-size: theme(\"spacing.3\");\n}\n:host([scale=\"m\"]) {\n --calcite-checkbox-size: theme(\"fontSize.n1\");\n}\n:host([scale=\"l\"]) {\n --calcite-checkbox-size: theme(\"spacing.4\");\n}\n\n:host {\n @apply relative\n inline-flex\n cursor-pointer\n select-none;\n -webkit-tap-highlight-color: transparent;\n\n .check-svg,\n .toggle {\n inline-size: var(--calcite-checkbox-size);\n block-size: var(--calcite-checkbox-size);\n }\n\n .check-svg {\n @apply bg-foreground-1\n pointer-events-none\n box-border\n block\n overflow-hidden\n fill-current\n stroke-current\n stroke-1\n transition-default;\n box-shadow: inset 0 0 0 1px var(--calcite-color-border-input);\n color: theme(\"backgroundColor.background\");\n }\n}\n\n:host([status=\"invalid\"]:not([checked])) {\n .check-svg {\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger);\n }\n .toggle:focus {\n @apply focus-outset-danger;\n }\n}\n\n:host([checked]),\n:host([indeterminate]) {\n .check-svg {\n @apply bg-brand;\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand);\n }\n}\n:host([hovered]) .toggle,\n:host .toggle:hover {\n .check-svg {\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n}\n\n.toggle {\n @apply focus-base relative;\n\n &:active,\n &:focus,\n &:focus-visible {\n @apply focus-outset;\n }\n\n &::after {\n content: \"\";\n inset-block-start: 50%;\n inset-inline-start: 50%;\n min-block-size: theme(\"width.6\");\n min-inline-size: theme(\"width.6\");\n position: absolute;\n transform: translateX(-50%) translateY(-50%);\n }\n}\n\n@include disabled();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport {\n CheckableFormComponent,\n connectForm,\n disconnectForm,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Scale, Status } from \"../interfaces\";\n\n@Component({\n tag: \"calcite-checkbox\",\n styleUrl: \"checkbox.scss\",\n shadow: true,\n})\nexport class Checkbox\n implements LabelableComponent, CheckableFormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n @Prop({ reflect: true, mutable: true }) checked = false;\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 /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true, mutable: true }) guid: string;\n\n /**\n * The hovered state of the checkbox.\n *\n * @internal\n */\n @Prop({ reflect: true }) hovered = false;\n\n /**\n * When `true`, the component is initially indeterminate, which is independent from its `checked` value.\n *\n * The state is visual only, and can look different across browsers.\n *\n * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)\n */\n @Prop({ reflect: true, mutable: true }) indeterminate = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's value. */\n @Prop() value: any;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCheckboxElement;\n\n readonly checkedPath = \"M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z\";\n\n readonly indeterminatePath = \"M13 8v1H3V8z\";\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultChecked: boolean;\n\n defaultValue: Checkbox[\"checked\"];\n\n toggleEl: HTMLDivElement;\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.toggleEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n input.type = \"checkbox\";\n }\n\n getPath = (): string =>\n this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : \"\";\n\n toggle = (): void => {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.setFocus();\n this.indeterminate = false;\n this.calciteCheckboxChange.emit();\n }\n };\n\n keyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n this.toggle();\n event.preventDefault();\n }\n };\n\n clickHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component is blurred.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxBlur: EventEmitter<boolean>;\n\n /** Fires when the component's `checked` status changes. */\n @Event({ cancelable: false }) calciteCheckboxChange: EventEmitter<void>;\n\n /**\n * Fires when the component is focused.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxFocus: EventEmitter<boolean>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n onToggleBlur = (): void => {\n this.calciteInternalCheckboxBlur.emit(false);\n };\n\n onToggleFocus = (): void => {\n this.calciteInternalCheckboxFocus.emit(true);\n };\n\n onLabelClick = (): void => {\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.guid = this.el.id || `calcite-checkbox-${guid()}`;\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host onClick={this.clickHandler} onKeyDown={this.keyDownHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={toAriaBoolean(this.checked)}\n aria-label={getLabelText(this)}\n class=\"toggle\"\n onBlur={this.onToggleBlur}\n onFocus={this.onToggleFocus}\n role=\"checkbox\"\n tabIndex={this.disabled ? undefined : 0}\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={(toggleEl) => (this.toggleEl = toggleEl)}\n >\n <svg aria-hidden=\"true\" class=\"check-svg\" viewBox=\"0 0 16 16\">\n <path d={this.getPath()} />\n </svg>\n <slot />\n </div>\n <HiddenFormInputSlot component={this} />\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|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AC,QAAQ,MAAM,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,IAE7C,0BAAiB,MAAM,EAAC,KAAK,EAAC,WAAW,EAAC,OAAO,EAAC,WAAW,IAC3D,YAAM,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,GAAI,CACvB,EACN,eAAQ,CACJ,EACN,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACnB,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=calcite-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-checkbox-size: Specifies the component's height and width.\n */\n\n:host([scale=\"s\"]) {\n --calcite-checkbox-size: theme(\"spacing.3\");\n}\n:host([scale=\"m\"]) {\n --calcite-checkbox-size: theme(\"fontSize.n1\");\n}\n:host([scale=\"l\"]) {\n --calcite-checkbox-size: theme(\"spacing.4\");\n}\n\n:host {\n @apply relative\n inline-flex\n cursor-pointer\n select-none;\n -webkit-tap-highlight-color: transparent;\n\n .check-svg,\n .toggle {\n inline-size: var(--calcite-checkbox-size);\n block-size: var(--calcite-checkbox-size);\n }\n\n .check-svg {\n @apply bg-foreground-1\n pointer-events-none\n box-border\n block\n overflow-hidden\n fill-current\n stroke-current\n stroke-1\n transition-default;\n box-shadow: inset 0 0 0 1px var(--calcite-color-border-input);\n color: theme(\"backgroundColor.background\");\n }\n}\n\n:host([status=\"invalid\"]:not([checked])) {\n .check-svg {\n box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger);\n }\n .toggle:focus {\n @apply focus-outset-danger;\n }\n}\n\n:host([checked]),\n:host([indeterminate]) {\n .check-svg {\n @apply bg-brand;\n box-shadow: inset 0 0 0 1px var(--calcite-color-brand);\n }\n}\n:host([hovered]) .toggle,\n:host .toggle:hover {\n .check-svg {\n box-shadow: inset 0 0 0 2px var(--calcite-color-brand);\n }\n}\n\n.toggle {\n @apply focus-base relative;\n\n &:active,\n &:focus,\n &:focus-visible {\n @apply focus-outset;\n }\n\n &::after {\n content: \"\";\n inset-block-start: 50%;\n inset-inline-start: 50%;\n min-block-size: theme(\"width.6\");\n min-inline-size: theme(\"width.6\");\n position: absolute;\n transform: translateX(-50%) translateY(-50%);\n }\n}\n\n@include disabled();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport {\n CheckableFormComponent,\n connectForm,\n disconnectForm,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { Scale, Status } from \"../interfaces\";\n\n@Component({\n tag: \"calcite-checkbox\",\n styleUrl: \"checkbox.scss\",\n shadow: true,\n})\nexport class Checkbox\n implements LabelableComponent, CheckableFormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is checked. */\n @Prop({ reflect: true, mutable: true }) checked = false;\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 /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true, mutable: true }) guid: string;\n\n /**\n * The hovered state of the checkbox.\n *\n * @internal\n */\n @Prop({ reflect: true }) hovered = false;\n\n /**\n * When `true`, the component is initially indeterminate, which is independent from its `checked` value.\n *\n * The state is visual only, and can look different across browsers.\n *\n * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)\n */\n @Prop({ reflect: true, mutable: true }) indeterminate = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's value. */\n @Prop() value: any;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCheckboxElement;\n\n readonly checkedPath = \"M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z\";\n\n readonly indeterminatePath = \"M13 8v1H3V8z\";\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultChecked: boolean;\n\n defaultValue: Checkbox[\"checked\"];\n\n toggleEl: HTMLDivElement;\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.toggleEl?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n input.type = \"checkbox\";\n }\n\n getPath = (): string =>\n this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : \"\";\n\n toggle = (): void => {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.setFocus();\n this.indeterminate = false;\n this.calciteCheckboxChange.emit();\n }\n };\n\n keyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n this.toggle();\n event.preventDefault();\n }\n };\n\n clickHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component is blurred.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxBlur: EventEmitter<boolean>;\n\n /** Fires when the component's `checked` status changes. */\n @Event({ cancelable: false }) calciteCheckboxChange: EventEmitter<void>;\n\n /**\n * Fires when the component is focused.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCheckboxFocus: EventEmitter<boolean>;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n onToggleBlur = (): void => {\n this.calciteInternalCheckboxBlur.emit(false);\n };\n\n onToggleFocus = (): void => {\n this.calciteInternalCheckboxFocus.emit(true);\n };\n\n onLabelClick = (): void => {\n this.toggle();\n };\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.guid = this.el.id || `calcite-checkbox-${guid()}`;\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host onClick={this.clickHandler} onKeyDown={this.keyDownHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={toAriaBoolean(this.checked)}\n aria-label={getLabelText(this)}\n class=\"toggle\"\n onBlur={this.onToggleBlur}\n onFocus={this.onToggleFocus}\n role=\"checkbox\"\n tabIndex={this.disabled ? undefined : 0}\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={(toggleEl) => (this.toggleEl = toggleEl)}\n >\n <svg aria-hidden=\"true\" class=\"check-svg\" viewBox=\"0 0 16 16\">\n <path d={this.getPath()} />\n </svg>\n <slot />\n </div>\n <HiddenFormInputSlot component={this} />\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/components/chip.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 { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { d as slotChangeHasAssignedElement, t as toAriaBoolean } from './dom.js';
|
|
@@ -41,7 +41,7 @@ const ICONS = {
|
|
|
41
41
|
checked: "check-circle-f",
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
const chipCss = ":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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
44
|
+
const chipCss = ":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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-color-transparent-hover);--calcite-chip-transparent-press:var(--calcite-color-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-color-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([kind=inverse]){background-color:var(--calcite-color-inverse);color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([kind=brand]){background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-color-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-color-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-color-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-color-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-color-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-color-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
|
45
45
|
|
|
46
46
|
const Chip = /*@__PURE__*/ proxyCustomElement(class Chip extends HTMLElement {
|
|
47
47
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"chip.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,eAAe;IAC5B,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,gBAAgB;IAC9B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,qBAAqB;IACvC,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG;IACV,SAAS,EAAE,QAAQ;IACnB,aAAa,EAAE,UAAU;IACzB,OAAO,EAAE,gBAAgB;CAC1B;;AC1BD,MAAM,OAAO,GAAG,ujQAAujQ;;MC4D1jQ,IAAI;;;;;;;;QA4GP,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;;;;;;QAoH1E,UAAK,GAAG;YACd,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;YAC7B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;SACpB,CAAC;QAEM,8BAAyB,GAAG,CAAC,KAAoB;YACvD,IAAI,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;gBAC9B,KAA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AAG,CAAC,IAAI,CAAC,WAAW;gBACvC,CAAC,GAAG,CAAC,QAAQ,GACX,CAAC,IAAI,CAAC,QAAQ;oBACd,CAAC,IAAI,CAAC,OAAO;qBACZ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;qBAC7B,IAAI,CAAC,aAAa,KAAK,MAAM;yBAC3B,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,KAAK,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aACnF,EACD,OAAO,EAAE,IAAI,CAAC,mBAAmB,EACjC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,kBAAkB,GAAG,CAAC,CAAC,GAAG,CAAC;;YAErC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,mBAAmB,EAAE,EAC3D,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,EAC/B,YAAM,KAAK,EAAE,GAAG,CAAC,KAAK,IACpB,eAAQ,CACH,EACN,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/chip/resources.ts","src/components/chip/chip.scss?tag=calcite-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["export const CSS = {\n title: \"title\",\n close: \"close\",\n imageContainer: \"image-container\",\n chipIcon: \"chip-icon\",\n textSlotted: \"text--slotted\",\n container: \"container\",\n imageSlotted: \"image--slotted\",\n closable: \"closable\",\n multiple: \"multiple\",\n selectable: \"selectable\",\n selectIcon: \"select-icon\",\n selectIconActive: \"select-icon--active\",\n nonInteractive: \"non-interactive\",\n isCircle: \"is-circle\",\n};\n\nexport const SLOTS = {\n image: \"image\",\n};\n\nexport const ICONS = {\n close: \"x\",\n unchecked: \"circle\",\n checkedSingle: \"circle-f\",\n checked: \"check-circle-f\",\n};\n",":host([scale=\"s\"]) {\n @apply text-n2 h-6;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n .close,\n .select-icon--active {\n @apply h-4 w-4;\n }\n\n .image-container {\n @apply h-5 w-5;\n }\n\n .container.is-circle {\n @apply w-6 h-6;\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1 h-8;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1.5]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n\n .close,\n .image-container,\n .select-icon--active {\n @apply h-6 w-6;\n }\n\n .container.is-circle {\n @apply w-8 h-8;\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0 h-11;\n --calcite-chip-spacing-s-internal: theme(\"spacing[2]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[3]\");\n .image-container,\n .close,\n .select-icon--active {\n @apply h-8 w-8;\n }\n\n .container.is-circle {\n @apply w-11 h-11;\n }\n}\n\n:host {\n @apply inline-flex\n cursor-default\n rounded-full;\n}\n\n.container {\n @apply inline-flex\n h-full\n max-w-full\n items-center\n rounded-full\n focus-base\n justify-center\n border\n border-solid\n border-color-1\n box-border\n font-medium;\n &:not(.is-circle) {\n padding-inline: var(--calcite-chip-spacing-s-internal);\n }\n &.selectable {\n @apply cursor-pointer;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n}\n\n:host([scale=\"s\"]) .container.image--slotted {\n padding-inline-start: calc(theme(\"spacing[0.5]\") / 2);\n}\n\n:host([scale=\"s\"]) .container.is-circle {\n padding-inline: 0;\n}\n\n.container.text--slotted .title {\n @apply truncate;\n padding-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.container:not(.text--slotted) .title {\n display: none;\n}\n\n.container:not(.image--slotted) .image-container {\n display: none;\n}\n\n.container.closable {\n padding-inline-end: calc(var(--calcite-chip-spacing-l-internal) / 2);\n}\n\n.container:not(.is-circle) {\n &.image--slotted {\n padding-inline-start: calc(var(--calcite-chip-spacing-l-internal) / 2);\n }\n\n &.image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &.image--slotted .image-container ~ .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &.selectable:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.selectable):not(.text--slotted) .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text-slotted).image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.closable):not(.text--slotted).image--slotted.selectable .image-container {\n margin-inline-end: 0;\n ~ .chip-icon {\n margin-inline-start: calc(var(--calcite-chip-spacing-s-internal) * 2);\n }\n }\n}\n\n.chip-icon {\n @apply relative my-0 inline-flex duration-150 ease-in-out;\n margin-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.image-container {\n @apply inline-flex overflow-hidden;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n}\n\n.close {\n @apply focus-base\n transition-default\n text-color-1\n m-0\n cursor-pointer\n items-center\n border-none\n bg-transparent;\n -webkit-appearance: none;\n display: flex;\n border-radius: 50%;\n align-content: center;\n justify-content: center;\n --calcite-chip-transparent-hover: var(--calcite-color-transparent-hover);\n --calcite-chip-transparent-press: var(--calcite-color-transparent-press);\n &:hover {\n background-color: var(--calcite-chip-transparent-hover);\n }\n &:focus {\n background-color: var(--calcite-chip-transparent-hover);\n @apply focus-inset;\n }\n &:active {\n background-color: var(--calcite-chip-transparent-press);\n }\n & calcite-icon {\n color: inherit;\n }\n}\n\n.select-icon {\n align-self: center;\n justify-content: center;\n align-items: center;\n display: flex;\n inset-block-start: -1px;\n position: relative;\n visibility: hidden;\n inline-size: 0;\n opacity: 0;\n transition:\n opacity 0.15s ease-in-out,\n inline-size 0.15s ease-in-out;\n &.select-icon--active {\n visibility: visible;\n opacity: 0.5;\n }\n}\n.container:not(.is-circle).image--slotted .select-icon.select-icon--active {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n}\n\n:host([selected]) .select-icon {\n opacity: 1;\n}\n\n.container:hover .select-icon--active {\n opacity: 1;\n}\n\nslot[name=\"image\"]::slotted(*) {\n @apply rounded-half flex h-full w-full overflow-hidden;\n}\n\n:host([kind=\"neutral\"]) {\n background-color: var(--calcite-color-foreground-2);\n color: var(--calcite-color-text-1);\n .container {\n border-color: transparent;\n }\n .close {\n color: var(--calcite-color-text-3);\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([kind=\"inverse\"]) {\n background-color: var(--calcite-color-inverse);\n @apply text-color-inverse;\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([kind=\"brand\"]) {\n background-color: var(--calcite-color-brand);\n color: var(--calcite-color-text-inverse);\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n @apply text-color-1 bg-foreground-1;\n .close {\n @apply text-color-3;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([appearance=\"outline-fill\"]) {\n @apply bg-foreground-1;\n}\n\n:host([appearance=\"outline\"]) {\n @apply bg-transparent;\n}\n\n:host([kind=\"neutral\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"neutral\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-1);\n}\n\n:host([kind=\"inverse\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"inverse\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-inverse);\n}\n\n:host([kind=\"brand\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"brand\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-brand);\n}\n\n:host([kind=\"brand\"][appearance=\"solid\"]),\n:host([kind=\"inverse\"][appearance=\"solid\"]) {\n button {\n outline-color: var(--calcite-color-text-inverse);\n }\n}\n\n:host([closed]) {\n display: none;\n}\n\n@include disabled();\n@include base-component();\n","import {\n Build,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { Appearance, Kind, Scale, SelectionMode } from \"../interfaces\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { ChipMessages } from \"./assets/chip/t9n\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding text.\n * @slot image - A slot for adding an image.\n */\n@Component({\n tag: \"calcite-chip\",\n styleUrl: \"chip.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Chip\n implements\n ConditionalSlotComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"inverse\" | \"neutral\", Kind> = \"neutral\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /** When `true`, hides the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n /**\n * This internal property, managed by a containing `calcite-chip-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\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<ChipMessages>;\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: ChipMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * When true, enables the chip to be focused, and allows the `calciteChipSelect` to emit.\n * This is set to `true` by a parent Chip Group component.\n *\n * @internal\n */\n @Prop() interactive = false;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteChipElement;\n\n @State() defaultMessages: ChipMessages;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() private hasText = false;\n\n @State() private hasImage = false;\n\n private containerEl: HTMLDivElement;\n\n private closeButtonEl: HTMLButtonElement;\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasText());\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component's close button is selected.\n */\n @Event({ cancelable: false }) calciteChipClose: EventEmitter<void>;\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteChipSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalChipKeyEvent: EventEmitter<KeyboardEvent>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.mutationObserver?.disconnect();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n await setUpMessages(this);\n this.updateHasText();\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.handleEmittingEvent();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalChipKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"click\")\n clickHandler(): void {\n if (!this.interactive && this.closable) {\n this.closeButtonEl.focus();\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 if (!this.disabled && this.interactive) {\n this.containerEl?.focus();\n } else if (!this.disabled && this.closable) {\n this.closeButtonEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private close = (): void => {\n this.calciteChipClose.emit();\n this.selected = false;\n this.closed = true;\n };\n\n private closeButtonKeyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.close();\n }\n };\n\n private updateHasText() {\n this.hasText = this.el.textContent.trim().length > 0;\n }\n\n private handleSlotImageChange = (event: Event): void => {\n this.hasImage = slotChangeHasAssignedElement(event);\n };\n\n private handleEmittingEvent = (): void => {\n if (this.interactive) {\n this.calciteChipSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChipImage(): VNode {\n return (\n <div class={CSS.imageContainer}>\n <slot name={SLOTS.image} onSlotchange={this.handleSlotImageChange} />\n </div>\n );\n }\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.checked\n : this.selectionMode === \"multiple\"\n ? ICONS.unchecked\n : this.selected\n ? ICONS.checkedSingle\n : undefined;\n\n return (\n <div\n class={{\n [CSS.selectIcon]: true,\n [CSS.selectIconActive]: this.selectionMode === \"multiple\" || this.selected,\n }}\n >\n {icon ? <calcite-icon icon={icon} scale={getIconScale(this.scale)} /> : null}\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return (\n <button\n aria-label={this.messages.dismissLabel}\n class={CSS.close}\n onClick={this.close}\n onKeyDown={this.closeButtonKeyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderIcon(): VNode {\n return (\n <calcite-icon\n class={CSS.chipIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.icon}\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n const disableInteraction = disabled || (!disabled && !this.interactive);\n const role =\n this.selectionMode === \"multiple\" && this.interactive\n ? \"checkbox\"\n : this.selectionMode !== \"none\" && this.interactive\n ? \"radio\"\n : this.interactive\n ? \"button\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div\n aria-checked={\n this.selectionMode !== \"none\" && this.interactive\n ? toAriaBoolean(this.selected)\n : undefined\n }\n aria-disabled={disableInteraction ? toAriaBoolean(disabled) : undefined}\n aria-label={this.label}\n class={{\n [CSS.container]: true,\n [CSS.textSlotted]: this.hasText,\n [CSS.imageSlotted]: this.hasImage,\n [CSS.selectable]: this.selectionMode !== \"none\",\n [CSS.multiple]: this.selectionMode === \"multiple\",\n [CSS.closable]: this.closable,\n [CSS.nonInteractive]: !this.interactive,\n [CSS.isCircle]:\n !this.closable &&\n !this.hasText &&\n (!this.icon || !this.hasImage) &&\n (this.selectionMode === \"none\" ||\n (!!this.selectionMode && this.selectionMode !== \"multiple\" && !this.selected)),\n }}\n onClick={this.handleEmittingEvent}\n role={role}\n tabIndex={disableInteraction ? -1 : 0}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.containerEl = el)}\n >\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n {this.renderChipImage()}\n {this.icon && this.renderIcon()}\n <span class={CSS.title}>\n <slot />\n </span>\n {this.closable && this.renderCloseButton()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"chip.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,eAAe;IAC5B,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,gBAAgB;IAC9B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,qBAAqB;IACvC,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;CACf,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG;IACV,SAAS,EAAE,QAAQ;IACnB,aAAa,EAAE,UAAU;IACzB,OAAO,EAAE,gBAAgB;CAC1B;;AC1BD,MAAM,OAAO,GAAG,qjQAAqjQ;;MC4DxjQ,IAAI;;;;;;;;QA4GP,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;;;;;;QAoH1E,UAAK,GAAG;YACd,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;YAC7B,IAAI,CAAC,QAAQ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KAAK,MAAM;gBAC/C,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,aAAa,KAAK,UAAU;gBACjD,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;gBAC7B,CAAC,GAAG,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,WAAW;gBACvC,CAAC,GAAG,CAAC,QAAQ,GACX,CAAC,IAAI,CAAC,QAAQ;oBACd,CAAC,IAAI,CAAC,OAAO;qBACZ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;qBAC7B,IAAI,CAAC,aAAa,KAAK,MAAM;yBAC3B,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,KAAK,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aACnF,EACD,OAAO,EAAE,IAAI,CAAC,mBAAmB,EACjC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,kBAAkB,GAAG,CAAC,CAAC,GAAG,CAAC;;YAErC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IAEnC,IAAI,CAAC,aAAa,KAAK,MAAM,IAAI,IAAI,CAAC,mBAAmB,EAAE,EAC3D,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,EAC/B,YAAM,KAAK,EAAE,GAAG,CAAC,KAAK,IACpB,eAAQ,CACH,EACN,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB,EAAE,CACtC,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/chip/resources.ts","src/components/chip/chip.scss?tag=calcite-chip&encapsulation=shadow","src/components/chip/chip.tsx"],"sourcesContent":["export const CSS = {\n title: \"title\",\n close: \"close\",\n imageContainer: \"image-container\",\n chipIcon: \"chip-icon\",\n textSlotted: \"text--slotted\",\n container: \"container\",\n imageSlotted: \"image--slotted\",\n closable: \"closable\",\n multiple: \"multiple\",\n selectable: \"selectable\",\n selectIcon: \"select-icon\",\n selectIconActive: \"select-icon--active\",\n nonInteractive: \"non-interactive\",\n isCircle: \"is-circle\",\n};\n\nexport const SLOTS = {\n image: \"image\",\n};\n\nexport const ICONS = {\n close: \"x\",\n unchecked: \"circle\",\n checkedSingle: \"circle-f\",\n checked: \"check-circle-f\",\n};\n",":host([scale=\"s\"]) {\n @apply text-n2 h-6;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n .close,\n .select-icon--active {\n @apply h-4 w-4;\n }\n\n .image-container {\n @apply h-5 w-5;\n }\n\n .container.is-circle {\n @apply w-6 h-6;\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1 h-8;\n --calcite-chip-spacing-s-internal: theme(\"spacing[1.5]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[2]\");\n\n .close,\n .image-container,\n .select-icon--active {\n @apply h-6 w-6;\n }\n\n .container.is-circle {\n @apply w-8 h-8;\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0 h-11;\n --calcite-chip-spacing-s-internal: theme(\"spacing[2]\");\n --calcite-chip-spacing-l-internal: theme(\"spacing[3]\");\n .image-container,\n .close,\n .select-icon--active {\n @apply h-8 w-8;\n }\n\n .container.is-circle {\n @apply w-11 h-11;\n }\n}\n\n:host {\n @apply inline-flex\n cursor-default\n rounded-full;\n}\n\n.container {\n @apply inline-flex\n h-full\n max-w-full\n items-center\n rounded-full\n focus-base\n justify-center\n border\n border-solid\n border-color-1\n box-border\n font-medium;\n &:not(.is-circle) {\n padding-inline: var(--calcite-chip-spacing-s-internal);\n }\n &.selectable {\n @apply cursor-pointer;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n}\n\n:host([scale=\"s\"]) .container.image--slotted {\n padding-inline-start: calc(theme(\"spacing[0.5]\") / 2);\n}\n\n:host([scale=\"s\"]) .container.is-circle {\n padding-inline: 0;\n}\n\n.container.text--slotted .title {\n @apply truncate;\n padding-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.container:not(.text--slotted) .title {\n display: none;\n}\n\n.container:not(.image--slotted) .image-container {\n display: none;\n}\n\n.container.closable {\n padding-inline-end: calc(var(--calcite-chip-spacing-l-internal) / 2);\n}\n\n.container:not(.is-circle) {\n &.image--slotted {\n padding-inline-start: calc(var(--calcite-chip-spacing-l-internal) / 2);\n }\n\n &.image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &.image--slotted .image-container ~ .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &.selectable:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.selectable):not(.text--slotted) .chip-icon {\n margin-inline-start: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text--slotted) .chip-icon {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.text-slotted).image--slotted .image-container {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n }\n\n &:not(.closable):not(.text--slotted).image--slotted.selectable .image-container {\n margin-inline-end: 0;\n ~ .chip-icon {\n margin-inline-start: calc(var(--calcite-chip-spacing-s-internal) * 2);\n }\n }\n}\n\n.chip-icon {\n @apply relative my-0 inline-flex duration-150 ease-in-out;\n margin-inline: var(--calcite-chip-spacing-s-internal);\n}\n\n.image-container {\n @apply inline-flex overflow-hidden;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n}\n\n.close {\n @apply focus-base\n transition-default\n text-color-1\n m-0\n cursor-pointer\n items-center\n border-none\n bg-transparent;\n -webkit-appearance: none;\n display: flex;\n border-radius: 50%;\n align-content: center;\n justify-content: center;\n --calcite-chip-transparent-hover: var(--calcite-color-transparent-hover);\n --calcite-chip-transparent-press: var(--calcite-color-transparent-press);\n &:hover {\n background-color: var(--calcite-chip-transparent-hover);\n }\n &:focus {\n background-color: var(--calcite-chip-transparent-hover);\n @apply focus-inset;\n }\n &:active {\n background-color: var(--calcite-chip-transparent-press);\n }\n & calcite-icon {\n color: inherit;\n }\n}\n\n.select-icon {\n align-self: center;\n justify-content: center;\n align-items: center;\n display: flex;\n inset-block-start: -1px;\n position: relative;\n visibility: hidden;\n inline-size: 0;\n opacity: 0;\n transition:\n opacity 0.15s ease-in-out,\n inline-size 0.15s ease-in-out;\n &.select-icon--active {\n visibility: visible;\n opacity: 0.5;\n }\n}\n.container:not(.is-circle).image--slotted .select-icon.select-icon--active {\n margin-inline-end: var(--calcite-chip-spacing-s-internal);\n}\n\n:host([selected]) .select-icon {\n opacity: 1;\n}\n\n.container:hover .select-icon--active {\n opacity: 1;\n}\n\nslot[name=\"image\"]::slotted(*) {\n @apply rounded-half flex h-full w-full overflow-hidden;\n}\n\n:host([kind=\"neutral\"]) {\n background-color: var(--calcite-color-foreground-2);\n color: var(--calcite-color-text-1);\n .container {\n border-color: transparent;\n }\n .close {\n color: var(--calcite-color-text-3);\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([kind=\"inverse\"]) {\n background-color: var(--calcite-color-inverse);\n @apply text-color-inverse;\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([kind=\"brand\"]) {\n background-color: var(--calcite-color-brand);\n color: var(--calcite-color-text-inverse);\n .container {\n border-color: transparent;\n }\n .close {\n @apply text-color-inverse;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-inverse));\n }\n}\n\n:host([appearance=\"outline-fill\"]),\n:host([appearance=\"outline\"]) {\n @apply text-color-1 bg-foreground-1;\n .close {\n @apply text-color-3;\n }\n .chip-icon {\n color: var(--calcite-ui-icon-color, var(--calcite-color-text-3));\n }\n}\n\n:host([appearance=\"outline-fill\"]) {\n @apply bg-foreground-1;\n}\n\n:host([appearance=\"outline\"]) {\n @apply bg-transparent;\n}\n\n:host([kind=\"neutral\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"neutral\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-1);\n}\n\n:host([kind=\"inverse\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"inverse\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-border-inverse);\n}\n\n:host([kind=\"brand\"][appearance=\"outline-fill\"]) .container,\n:host([kind=\"brand\"][appearance=\"outline\"]) .container {\n border-color: var(--calcite-color-brand);\n}\n\n:host([kind=\"brand\"][appearance=\"solid\"]),\n:host([kind=\"inverse\"][appearance=\"solid\"]) {\n button {\n outline-color: var(--calcite-color-text-inverse);\n }\n}\n\n:host([closed]) {\n display: none;\n}\n\n@include disabled();\n@include base-component();\n","import {\n Build,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { toAriaBoolean, slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { Appearance, Kind, Scale, SelectionMode } from \"../interfaces\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { isActivationKey } from \"../../utils/key\";\nimport { ChipMessages } from \"./assets/chip/t9n\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding text.\n * @slot image - A slot for adding an image.\n */\n@Component({\n tag: \"calcite-chip\",\n styleUrl: \"chip.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Chip\n implements\n ConditionalSlotComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"solid\";\n\n /** Specifies the kind of the component, which will apply to border and background if applicable. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"inverse\" | \"neutral\", Kind> = \"neutral\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /** When `true`, hides the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n /**\n * This internal property, managed by a containing `calcite-chip-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\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<ChipMessages>;\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: ChipMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * When true, enables the chip to be focused, and allows the `calciteChipSelect` to emit.\n * This is set to `true` by a parent Chip Group component.\n *\n * @internal\n */\n @Prop() interactive = false;\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteChipElement;\n\n @State() defaultMessages: ChipMessages;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() private hasText = false;\n\n @State() private hasImage = false;\n\n private containerEl: HTMLDivElement;\n\n private closeButtonEl: HTMLButtonElement;\n\n private mutationObserver = createObserver(\"mutation\", () => this.updateHasText());\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the component's close button is selected.\n */\n @Event({ cancelable: false }) calciteChipClose: EventEmitter<void>;\n\n /**\n * Fires when the selected state of the component changes.\n */\n @Event({ cancelable: false }) calciteChipSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalChipKeyEvent: EventEmitter<KeyboardEvent>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.mutationObserver?.disconnect();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n if (Build.isBrowser) {\n await setUpMessages(this);\n this.updateHasText();\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.handleEmittingEvent();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalChipKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n\n @Listen(\"click\")\n clickHandler(): void {\n if (!this.interactive && this.closable) {\n this.closeButtonEl.focus();\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 if (!this.disabled && this.interactive) {\n this.containerEl?.focus();\n } else if (!this.disabled && this.closable) {\n this.closeButtonEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private close = (): void => {\n this.calciteChipClose.emit();\n this.selected = false;\n this.closed = true;\n };\n\n private closeButtonKeyDownHandler = (event: KeyboardEvent): void => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.close();\n }\n };\n\n private updateHasText() {\n this.hasText = this.el.textContent.trim().length > 0;\n }\n\n private handleSlotImageChange = (event: Event): void => {\n this.hasImage = slotChangeHasAssignedElement(event);\n };\n\n private handleEmittingEvent = (): void => {\n if (this.interactive) {\n this.calciteChipSelect.emit();\n }\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChipImage(): VNode {\n return (\n <div class={CSS.imageContainer}>\n <slot name={SLOTS.image} onSlotchange={this.handleSlotImageChange} />\n </div>\n );\n }\n\n renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.checked\n : this.selectionMode === \"multiple\"\n ? ICONS.unchecked\n : this.selected\n ? ICONS.checkedSingle\n : undefined;\n\n return (\n <div\n class={{\n [CSS.selectIcon]: true,\n [CSS.selectIconActive]: this.selectionMode === \"multiple\" || this.selected,\n }}\n >\n {icon ? <calcite-icon icon={icon} scale={getIconScale(this.scale)} /> : null}\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return (\n <button\n aria-label={this.messages.dismissLabel}\n class={CSS.close}\n onClick={this.close}\n onKeyDown={this.closeButtonKeyDownHandler}\n tabIndex={this.disabled ? -1 : 0}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n );\n }\n\n renderIcon(): VNode {\n return (\n <calcite-icon\n class={CSS.chipIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.icon}\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n const disableInteraction = disabled || (!disabled && !this.interactive);\n const role =\n this.selectionMode === \"multiple\" && this.interactive\n ? \"checkbox\"\n : this.selectionMode !== \"none\" && this.interactive\n ? \"radio\"\n : this.interactive\n ? \"button\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div\n aria-checked={\n this.selectionMode !== \"none\" && this.interactive\n ? toAriaBoolean(this.selected)\n : undefined\n }\n aria-disabled={disableInteraction ? toAriaBoolean(disabled) : undefined}\n aria-label={this.label}\n class={{\n [CSS.container]: true,\n [CSS.textSlotted]: this.hasText,\n [CSS.imageSlotted]: this.hasImage,\n [CSS.selectable]: this.selectionMode !== \"none\",\n [CSS.multiple]: this.selectionMode === \"multiple\",\n [CSS.closable]: this.closable,\n [CSS.nonInteractive]: !this.interactive,\n [CSS.isCircle]:\n !this.closable &&\n !this.hasText &&\n (!this.icon || !this.hasImage) &&\n (this.selectionMode === \"none\" ||\n (!!this.selectionMode && this.selectionMode !== \"multiple\" && !this.selected)),\n }}\n onClick={this.handleEmittingEvent}\n role={role}\n tabIndex={disableInteraction ? -1 : 0}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.containerEl = el)}\n >\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n {this.renderChipImage()}\n {this.icon && this.renderIcon()}\n <span class={CSS.title}>\n <slot />\n </span>\n {this.closable && this.renderCloseButton()}\n </div>\n </InteractiveContainer>\n </Host>\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 { j as isLonghandHex, i as isValidHex, r as rgbToHex, n as normalizeHex, o as opacityToAlpha, a as hexify, k as hexChar, c as alphaToOpacity } from './utils.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, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as color } from './index2.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';
|
|
@@ -26,7 +26,7 @@ const CSS = {
|
|
|
26
26
|
textContainer: "text-container",
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const comboboxItemCss = "@charset \"UTF-8\";: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
29
|
+
const comboboxItemCss = "@charset \"UTF-8\";: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{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 )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
30
30
|
|
|
31
31
|
const ComboboxItem = /*@__PURE__*/ proxyCustomElement(class ComboboxItem extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"combobox-item.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,eAAe;IACvB,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,gBAAgB;CAChC;;ACZD,MAAM,eAAe,GAAG,inHAAinH;;MCuC5nH,YAAY;;;;;;QAgIf,qBAAgB,GAAG;YACzB,IAAI,CAAC,cAAc,EAAE,CAAC;SACvB,CAAC;wBA1HkC,KAAK;wBAKU,KAAK;sBAGtB,KAAK;;oBAMP,IAAI,EAAE;;2BAMC,KAAK;;;;6BAkCxC,UAAU;qBAOS,GAAG;;IAtC1B,oBAAoB;QAClB,IAAI,CAAC,yBAAyB,CAAC,IAAI,EAAE,CAAC;KACvC;;;;;;IAoDD,iBAAiB;QACf,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QACtC,kBAAkB,CAAC,IAAI,CAAC,CAAC;KAC1B;IAED,oBAAoB;QAClB,kCAAkC,CAAC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C,gBAAgB,IAC9D,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,EAC7C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAC1B,YAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,SAAS,CAAQ,CACxC,EACJ,IAAI,CAAC,cAAc,EAAE,CAClB,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/combobox-item/resources.ts","src/components/combobox-item/combobox-item.scss?tag=calcite-combobox-item&encapsulation=shadow","src/components/combobox-item/combobox-item.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n iconIndent: \"icon--indent\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\",\n};\n","@include base-component();\n\n.scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing[2.5]\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.6\");\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n}\n\n:host(:focus) {\n @apply shadow-none;\n}\n\n@include disabled();\n\n:host,\nul {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\nul:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3\n focus-base\n relative\n box-border\n flex\n w-full\n min-w-full\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n @include word-break();\n padding-block: var(--calcite-combobox-item-spacing-unit-s);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n @apply cursor-default;\n}\n\n// selected state\n.label--selected {\n @apply text-color-1 font-medium;\n}\n\n.label--active {\n @apply focus-inset;\n}\n\n.label:hover,\n.label:active {\n @apply text-color-1\n bg-foreground-2\n no-underline\n shadow-none;\n}\n\n.title {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n @apply inline-flex\n opacity-0\n duration-150\n ease-in-out;\n color: theme(\"borderColor.color.1\");\n}\n\n.icon--indent {\n padding-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n.icon--custom {\n margin-block-start: -1px;\n padding-inline-start: var(--calcite-combobox-item-spacing-unit-l);\n @apply text-color-3;\n}\n\n.icon--active {\n @apply text-color-1;\n}\n\n.icon--dot {\n @apply flex justify-center;\n min-inline-size: var(--calcite-combobox-item-selector-icon-size);\n}\n\n.icon--dot:before {\n text-align: start;\n content: \"\\2022\";\n}\n\n.label--active .icon {\n @apply opacity-100;\n}\n\n.label--selected .icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.brand\");\n}\n\n:host(:hover[disabled]) .icon {\n @apply opacity-100;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth, isSingleLike } from \"../combobox/utils\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item\",\n styleUrl: \"combobox-item.scss\",\n shadow: true,\n})\nexport class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** When `true`, the component is active. */\n @Prop({ reflect: true }) active = false;\n\n /** Specifies the parent and grandparent items, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true }) guid = guid();\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n @Watch(\"selected\")\n selectedWatchHandler(): void {\n this.calciteComboboxItemChange.emit();\n }\n\n /** The component's text. */\n @Prop({ reflect: true }) textLabel!: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /**\n * When `true`, omits the component from the `calcite-combobox` filtered search results.\n */\n @Prop({ reflect: true }) filterDisabled: boolean;\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n *\n * @internal\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteComboboxItemChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n toggleSelected(): Promise<void> {\n const isSinglePersistSelect = this.selectionMode === \"single-persist\";\n\n if (this.disabled || (isSinglePersistSelect && this.selected)) {\n return;\n }\n\n this.selected = !this.selected;\n }\n\n private itemClickHandler = (): void => {\n this.toggleSelected();\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderIcon(iconPath: string): VNode {\n return this.icon ? (\n <calcite-icon\n class={{\n [CSS.custom]: !!this.icon,\n [CSS.iconActive]: this.icon && this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={this.icon || iconPath}\n key=\"icon\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n }\n\n renderSelectIndicator(showDot: boolean, iconPath: string): VNode {\n return showDot ? (\n <span\n class={{\n [CSS.icon]: true,\n [CSS.dot]: true,\n [CSS.iconIndent]: true,\n }}\n />\n ) : (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconActive]: this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={iconPath}\n key=\"indicator\"\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n renderChildren(): VNode {\n if (getSlotted(this.el)) {\n return (\n <ul key=\"default-slot-container\">\n <slot />\n </ul>\n );\n }\n\n return null;\n }\n\n render(): VNode {\n const { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = disabled ? \"\" : defaultIcon;\n\n const classes = {\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect,\n };\n const depth = getDepth(this.el);\n\n return (\n <Host aria-hidden=\"true\">\n <InteractiveContainer disabled={disabled}>\n <div\n class={`container scale--${this.scale}`}\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <li class={classes} id={this.guid} onClick={this.itemClickHandler}>\n {this.renderSelectIndicator(showDot, iconPath)}\n {this.renderIcon(iconPath)}\n <span class=\"title\">{this.textLabel}</span>\n </li>\n {this.renderChildren()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"combobox-item.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,MAAM,EAAE,cAAc;IACtB,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,eAAe;IACvB,QAAQ,EA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C,MAAM,OAAO,GAAG;YACd,CAAC,GAAG,CAAC,KAAK,GAAG,IAAI;YACjB,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;YAC7B,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM;YACzB,CAAC,GAAG,CAAC,MAAM,GAAG,cAAc;SAC7B,CAAC;QACF,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAEhC,QACE,EAAC,IAAI,mBAAa,MAAM,IACtB,EAAC,oBAAoB,IAAC,QAAQ,EAAE,QAAQ,IACtC,WACE,KAAK,EAAE,oBAAoB,IAAI,CAAC,KAAK,EAAE,EACvC,KAAK,EAAE,EAAE,mDAAmD,EAAE,GAAG,KAAK,EAAE,EAAE,IAE1E,UAAI,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,gBAAgB,IAC9D,IAAI,CAAC,qBAAqB,CAAC,OAAO,EAAE,QAAQ,CAAC,EAC7C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAC1B,YAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,SAAS,CAAQ,CACxC,EACJ,IAAI,CAAC,cAAc,EAAE,CAClB,CACe,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/combobox-item/resources.ts","src/components/combobox-item/combobox-item.scss?tag=calcite-combobox-item&encapsulation=shadow","src/components/combobox-item/combobox-item.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n iconIndent: \"icon--indent\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\",\n};\n","@include base-component();\n\n.scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing[2.5]\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.6\");\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n}\n\n:host(:focus) {\n @apply shadow-none;\n}\n\n@include disabled();\n\n:host,\nul {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\nul:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3\n focus-base\n relative\n box-border\n flex\n w-full\n min-w-full\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n @include word-break();\n padding-block: var(--calcite-combobox-item-spacing-unit-s);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n @apply cursor-default;\n}\n\n// selected state\n.label--selected {\n @apply text-color-1 font-medium;\n}\n\n.label--active {\n @apply focus-inset;\n}\n\n.label:hover,\n.label:active {\n @apply text-color-1\n bg-foreground-2\n no-underline\n shadow-none;\n}\n\n.title {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n @apply inline-flex\n opacity-0\n duration-150\n ease-in-out;\n color: theme(\"borderColor.color.1\");\n}\n\n.icon--indent {\n padding-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n.icon--custom {\n margin-block-start: -1px;\n padding-inline-start: var(--calcite-combobox-item-spacing-unit-l);\n @apply text-color-3;\n}\n\n.icon--active {\n @apply text-color-1;\n}\n\n.icon--dot {\n @apply flex justify-center;\n min-inline-size: var(--calcite-combobox-item-selector-icon-size);\n}\n\n.icon--dot:before {\n text-align: start;\n content: \"\\2022\";\n}\n\n.label--active .icon {\n @apply opacity-100;\n}\n\n.label--selected .icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.brand\");\n}\n\n:host(:hover[disabled]) .icon {\n @apply opacity-100;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth, isSingleLike } from \"../combobox/utils\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item\",\n styleUrl: \"combobox-item.scss\",\n shadow: true,\n})\nexport class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** When `true`, the component is active. */\n @Prop({ reflect: true }) active = false;\n\n /** Specifies the parent and grandparent items, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true }) guid = guid();\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n @Watch(\"selected\")\n selectedWatchHandler(): void {\n this.calciteComboboxItemChange.emit();\n }\n\n /** The component's text. */\n @Prop({ reflect: true }) textLabel!: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /**\n * When `true`, omits the component from the `calcite-combobox` filtered search results.\n */\n @Prop({ reflect: true }) filterDisabled: boolean;\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n *\n * @internal\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteComboboxItemChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n toggleSelected(): Promise<void> {\n const isSinglePersistSelect = this.selectionMode === \"single-persist\";\n\n if (this.disabled || (isSinglePersistSelect && this.selected)) {\n return;\n }\n\n this.selected = !this.selected;\n }\n\n private itemClickHandler = (): void => {\n this.toggleSelected();\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderIcon(iconPath: string): VNode {\n return this.icon ? (\n <calcite-icon\n class={{\n [CSS.custom]: !!this.icon,\n [CSS.iconActive]: this.icon && this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={this.icon || iconPath}\n key=\"icon\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n }\n\n renderSelectIndicator(showDot: boolean, iconPath: string): VNode {\n return showDot ? (\n <span\n class={{\n [CSS.icon]: true,\n [CSS.dot]: true,\n [CSS.iconIndent]: true,\n }}\n />\n ) : (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconActive]: this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={iconPath}\n key=\"indicator\"\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n renderChildren(): VNode {\n if (getSlotted(this.el)) {\n return (\n <ul key=\"default-slot-container\">\n <slot />\n </ul>\n );\n }\n\n return null;\n }\n\n render(): VNode {\n const { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = disabled ? \"\" : defaultIcon;\n\n const classes = {\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect,\n };\n const depth = getDepth(this.el);\n\n return (\n <Host aria-hidden=\"true\">\n <InteractiveContainer disabled={disabled}>\n <div\n class={`container scale--${this.scale}`}\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <li class={classes} id={this.guid} onClick={this.itemClickHandler}>\n {this.renderSelectIndicator(showDot, iconPath)}\n {this.renderIcon(iconPath)}\n <span class=\"title\">{this.textLabel}</span>\n </li>\n {this.renderChildren()}\n </div>\n </InteractiveContainer>\n </Host>\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 { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as filter } from './filter.js';
|
|
@@ -37,11 +37,11 @@ function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Do not edit directly
|
|
40
|
-
* Generated on
|
|
40
|
+
* Generated on Mon, 26 Feb 2024 21:43:02 GMT
|
|
41
41
|
*/
|
|
42
42
|
const calciteSize48 = "48px";
|
|
43
43
|
|
|
44
|
-
const comboboxCss = ":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{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite
|
|
44
|
+
const comboboxCss = ":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{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{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([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
|
45
45
|
|
|
46
46
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
47
47
|
const itemUidPrefix = "combobox-item-";
|