@esri/calcite-components 2.2.0-next.11 → 2.2.0-next.12
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-06490778.js +7 -0
- package/dist/calcite/p-0771d66a.entry.js +7 -0
- package/dist/calcite/p-0771d66a.entry.js.map +1 -0
- package/dist/calcite/p-0a0eeffe.entry.js +7 -0
- package/dist/calcite/p-0b7d869e.entry.js +7 -0
- package/dist/calcite/p-0b7d869e.entry.js.map +1 -0
- package/dist/calcite/p-0bc97a31.entry.js +7 -0
- package/dist/calcite/p-0bc97a31.entry.js.map +1 -0
- package/dist/calcite/p-0ef2f935.js +12 -0
- package/dist/calcite/p-124869ee.js +7 -0
- package/dist/calcite/p-145bd281.js +7 -0
- package/dist/calcite/p-145f286d.js +7 -0
- package/dist/calcite/p-1957fcc9.js +7 -0
- package/dist/calcite/p-195c7b50.js +7 -0
- package/dist/calcite/p-1abe9e4e.js +7 -0
- package/dist/calcite/p-1d49213b.entry.js +7 -0
- package/dist/calcite/p-1d49213b.entry.js.map +1 -0
- package/dist/calcite/p-1e710651.entry.js +7 -0
- package/dist/calcite/p-1ec926f0.js +7 -0
- package/dist/calcite/p-1edec0f0.js +7 -0
- package/dist/calcite/p-1fe9c334.entry.js +7 -0
- package/dist/calcite/p-2294820c.js +7 -0
- package/dist/calcite/p-23913b84.entry.js +7 -0
- package/dist/calcite/p-2940a91a.entry.js +7 -0
- package/dist/calcite/p-2940a91a.entry.js.map +1 -0
- package/dist/calcite/p-29a904f0.js +8 -0
- package/dist/calcite/p-2b84f838.js +7 -0
- package/dist/calcite/p-2d46d7a5.js +7 -0
- package/dist/calcite/p-2d5fc9db.js +7 -0
- package/dist/calcite/p-2e32ebc5.entry.js +7 -0
- package/dist/calcite/p-2e32ebc5.entry.js.map +1 -0
- package/dist/calcite/p-2e70ce39.entry.js +7 -0
- package/dist/calcite/p-2eabad28.entry.js +7 -0
- package/dist/calcite/p-2fa6d50d.js +13 -0
- package/dist/calcite/p-2fdc2238.entry.js +7 -0
- package/dist/calcite/p-33f0bc3c.js +7 -0
- package/dist/calcite/p-370ddec3.entry.js +7 -0
- package/dist/calcite/p-370ddec3.entry.js.map +1 -0
- package/dist/calcite/p-390add01.js +7 -0
- package/dist/calcite/p-3977c4e6.entry.js +7 -0
- package/dist/calcite/p-3a0aee81.js +7 -0
- package/dist/calcite/p-3adf970b.js +7 -0
- package/dist/calcite/p-3d0cdd69.js +7 -0
- package/dist/calcite/p-4054d9c0.js +7 -0
- package/dist/calcite/p-41339523.entry.js +7 -0
- package/dist/calcite/p-413d71e5.js +7 -0
- package/dist/calcite/p-42e8d643.entry.js +7 -0
- package/dist/calcite/p-42f49159.entry.js +7 -0
- package/dist/calcite/p-43636920.entry.js +7 -0
- package/dist/calcite/p-448fe2b2.js +7 -0
- package/dist/calcite/p-45fda941.entry.js +7 -0
- package/dist/calcite/p-464c22ca.entry.js +7 -0
- package/dist/calcite/p-4a0df738.entry.js +7 -0
- package/dist/calcite/p-4af564ff.js +7 -0
- package/dist/calcite/p-4b2aee04.js +7 -0
- package/dist/calcite/p-4d45afbd.js +7 -0
- package/dist/calcite/p-4f1eb6f6.js +7 -0
- package/dist/calcite/p-4fe6c584.js +7 -0
- package/dist/calcite/p-503e35c2.js +7 -0
- package/dist/calcite/p-50b7abc4.js +7 -0
- package/dist/calcite/p-50f6cfbf.js +7 -0
- package/dist/calcite/p-5139560d.entry.js +7 -0
- package/dist/calcite/p-5139560d.entry.js.map +1 -0
- package/dist/calcite/p-51aa1f7a.entry.js +7 -0
- package/dist/calcite/p-51aa1f7a.entry.js.map +1 -0
- package/dist/calcite/p-54a813a0.js +7 -0
- package/dist/calcite/p-5bb5c6be.js +7 -0
- package/dist/calcite/p-5c963584.js +7 -0
- package/dist/calcite/p-6085ad9b.entry.js +7 -0
- package/dist/calcite/p-6371fa56.js +7 -0
- package/dist/calcite/p-675bf202.js +7 -0
- package/dist/calcite/p-6b10db6d.entry.js +7 -0
- package/dist/calcite/p-6b652fa0.js +7 -0
- package/dist/calcite/p-6b9bb0d8.entry.js +7 -0
- package/dist/calcite/p-6c33ef85.entry.js +7 -0
- package/dist/calcite/p-6c33ef85.entry.js.map +1 -0
- package/dist/calcite/p-6d16a2a8.js +7 -0
- package/dist/calcite/p-7031b23a.entry.js +7 -0
- package/dist/calcite/p-70e051c5.js +7 -0
- package/dist/calcite/p-723f713a.js +7 -0
- package/dist/calcite/p-72ea4434.js +7 -0
- package/dist/calcite/p-73bdcddc.entry.js +7 -0
- package/dist/calcite/p-7623794f.entry.js +7 -0
- package/dist/calcite/p-7859be3f.js +7 -0
- package/dist/calcite/p-7872e536.entry.js +7 -0
- package/dist/calcite/p-7872e536.entry.js.map +1 -0
- package/dist/calcite/p-791f23c0.entry.js +7 -0
- package/dist/calcite/p-7956b18a.js +7 -0
- package/dist/calcite/p-7b035ebf.entry.js +7 -0
- package/dist/calcite/p-7b035ebf.entry.js.map +1 -0
- package/dist/calcite/p-7c4cfdb6.js +11 -0
- package/dist/calcite/p-8a10243e.entry.js +7 -0
- package/dist/calcite/p-8bf5322c.js +7 -0
- package/dist/calcite/p-8bf5322c.js.map +1 -0
- package/dist/calcite/p-8cb094ec.entry.js +7 -0
- package/dist/calcite/p-8ee033b6.js +7 -0
- package/dist/calcite/p-91140c5c.entry.js +7 -0
- package/dist/calcite/p-95394002.entry.js +7 -0
- package/dist/calcite/p-95394002.entry.js.map +1 -0
- package/dist/calcite/p-95db7a47.entry.js +7 -0
- package/dist/calcite/p-99f0d3a6.js +7 -0
- package/dist/calcite/p-9a1fd619.entry.js +7 -0
- package/dist/calcite/p-9e86cd2c.js +7 -0
- package/dist/calcite/p-9f430073.entry.js +7 -0
- package/dist/calcite/p-a01c5aa1.js +7 -0
- package/dist/calcite/p-a0f7a16d.entry.js +7 -0
- package/dist/calcite/p-a0f7a16d.entry.js.map +1 -0
- package/dist/calcite/p-a41c0f75.entry.js +7 -0
- package/dist/calcite/p-a527bf94.js +7 -0
- package/dist/calcite/p-a555264c.js +7 -0
- package/dist/calcite/p-a704f472.js +7 -0
- package/dist/calcite/p-a83f86c9.entry.js +7 -0
- package/dist/calcite/p-a93b4fdd.js +7 -0
- package/dist/calcite/p-aaff296b.js +7 -0
- package/dist/calcite/p-ad48f2b5.entry.js +7 -0
- package/dist/calcite/p-ae972066.js +7 -0
- package/dist/calcite/p-b0104ee5.js +7 -0
- package/dist/calcite/p-b03f633f.entry.js +7 -0
- package/dist/calcite/p-b2a56129.js +7 -0
- package/dist/calcite/p-b3e0d4be.js +7 -0
- package/dist/calcite/p-b5b5a20e.js +7 -0
- package/dist/calcite/p-b879245f.entry.js +7 -0
- package/dist/calcite/p-b91d3a11.js +7 -0
- package/dist/calcite/p-badc2a21.entry.js +7 -0
- package/dist/calcite/p-badc2a21.entry.js.map +1 -0
- package/dist/calcite/p-bb527c2f.js +7 -0
- package/dist/calcite/p-bb855c74.entry.js +7 -0
- package/dist/calcite/p-c145d47f.js +7 -0
- package/dist/calcite/p-c225b70c.js +7 -0
- package/dist/calcite/p-c341a148.entry.js +7 -0
- package/dist/calcite/p-c41c9fe8.js +7 -0
- package/dist/calcite/p-c431d634.js +7 -0
- package/dist/calcite/p-c4efdb1a.entry.js +7 -0
- package/dist/calcite/p-c4efdb1a.entry.js.map +1 -0
- package/dist/calcite/p-c89653f0.js +7 -0
- package/dist/calcite/p-c91157e3.entry.js +7 -0
- package/dist/calcite/p-c9abb4c9.js +7 -0
- package/dist/calcite/p-cc7141de.entry.js +7 -0
- package/dist/calcite/p-cc7141de.entry.js.map +1 -0
- package/dist/calcite/p-cd397cdd.js +7 -0
- package/dist/calcite/p-ce1beb6d.entry.js +7 -0
- package/dist/calcite/p-d0a8cc5c.entry.js +7 -0
- package/dist/calcite/p-d0a8cc5c.entry.js.map +1 -0
- package/dist/calcite/p-d26c3b83.js +7 -0
- package/dist/calcite/p-d4392c6f.js +7 -0
- package/dist/calcite/p-d43c6bc7.js +7 -0
- package/dist/calcite/p-d5e669ef.entry.js +7 -0
- package/dist/calcite/p-d6f71dd6.js +7 -0
- package/dist/calcite/p-d7a4695d.entry.js +7 -0
- package/dist/calcite/p-d7a4695d.entry.js.map +1 -0
- package/dist/calcite/p-da1f30f4.entry.js +7 -0
- package/dist/calcite/p-da1f30f4.entry.js.map +1 -0
- package/dist/calcite/p-dbd314d1.js +7 -0
- package/dist/calcite/p-dbd7c9c4.js +7 -0
- package/dist/calcite/p-dd3d599f.js +7 -0
- package/dist/calcite/p-df75a44f.entry.js +7 -0
- package/dist/calcite/p-df75a44f.entry.js.map +1 -0
- package/dist/calcite/p-e02aa424.entry.js +7 -0
- package/dist/calcite/p-e044c943.js +7 -0
- package/dist/calcite/p-e1406d27.entry.js +7 -0
- package/dist/calcite/p-e1406d27.entry.js.map +1 -0
- package/dist/calcite/p-e756e061.js +7 -0
- package/dist/calcite/p-e77f3b86.js +7 -0
- package/dist/calcite/p-ea5419fc.js +7 -0
- package/dist/calcite/p-ea9db3f6.js +7 -0
- package/dist/calcite/p-eb20a879.js +7 -0
- package/dist/calcite/p-ec8dee06.js +7 -0
- package/dist/calcite/p-ecaabf44.js +7 -0
- package/dist/calcite/p-f05faa32.js +7 -0
- package/dist/calcite/p-f09a1f05.entry.js +7 -0
- package/dist/calcite/p-f15dcca4.entry.js +7 -0
- package/dist/calcite/p-f3ac44ae.entry.js +7 -0
- package/dist/calcite/p-f3ac44ae.entry.js.map +1 -0
- package/dist/calcite/p-f45eb0a7.js +7 -0
- package/dist/calcite/p-f76273bc.entry.js +7 -0
- package/dist/calcite/p-f76273bc.entry.js.map +1 -0
- package/dist/calcite/p-f9230554.entry.js +7 -0
- package/dist/calcite/p-f9230554.entry.js.map +1 -0
- package/dist/calcite/p-f942d000.js +7 -0
- package/dist/calcite/p-f98d8d67.entry.js +7 -0
- package/dist/calcite/p-fa5f3e7f.js +7 -0
- package/dist/calcite/p-fb8e906e.entry.js +7 -0
- package/dist/calcite/p-fc2579fe.entry.js +7 -0
- package/dist/calcite/p-fd19bb23.entry.js +7 -0
- package/dist/calcite/p-ffb49d39.entry.js +7 -0
- package/dist/calcite/p-ffbd0985.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-ca81fd83.js +110 -0
- package/dist/cjs/ExpandToggle-ca81fd83.js.map +1 -0
- package/dist/cjs/FloatingArrow-290d0d13.js +49 -0
- package/dist/cjs/FloatingArrow-290d0d13.js.map +1 -0
- package/dist/cjs/Heading-ab54f9d8.js +22 -0
- package/dist/cjs/Heading-ab54f9d8.js.map +1 -0
- package/dist/cjs/Validation-2cb8e238.js +18 -0
- package/dist/cjs/Validation-2cb8e238.js.map +1 -0
- package/dist/cjs/app-globals-4a28578c.js +61 -0
- package/dist/cjs/app-globals-4a28578c.js.map +1 -0
- package/dist/cjs/ar-f395c1fe.js +106 -0
- package/dist/cjs/ar-f395c1fe.js.map +1 -0
- package/dist/cjs/array-2091ef39.js +14 -0
- package/dist/cjs/array-2091ef39.js.map +1 -0
- package/dist/cjs/bg-f2a8b6e4.js +84 -0
- package/dist/cjs/bg-f2a8b6e4.js.map +1 -0
- package/dist/cjs/browser-39257e07.js +20 -0
- package/dist/cjs/browser-39257e07.js.map +1 -0
- package/dist/cjs/bs-c00582a5.js +53 -0
- package/dist/cjs/bs-c00582a5.js.map +1 -0
- package/dist/cjs/ca-6a22da09.js +73 -0
- package/dist/cjs/ca-6a22da09.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- 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 +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- 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 +167 -211
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- 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-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-56c5b30d.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-56c5b30d.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-time-zone.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input.cjs.entry.js +20 -19
- 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 +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- 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 +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- 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 +17 -17
- 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-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- 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-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- 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-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/component-23821d6c.js +30 -0
- package/dist/cjs/component-23821d6c.js.map +1 -0
- package/dist/cjs/conditionalSlot-566fd2b6.js +60 -0
- package/dist/cjs/conditionalSlot-566fd2b6.js.map +1 -0
- package/dist/cjs/cs-cf776fc2.js +149 -0
- package/dist/cjs/cs-cf776fc2.js.map +1 -0
- package/dist/cjs/da-143ccd37.js +68 -0
- package/dist/cjs/da-143ccd37.js.map +1 -0
- package/dist/cjs/de-102eab3c.js +93 -0
- package/dist/cjs/de-102eab3c.js.map +1 -0
- package/dist/cjs/de-at-2ae67c5f.js +92 -0
- package/dist/cjs/de-at-2ae67c5f.js.map +1 -0
- package/dist/cjs/de-ch-ef13c76f.js +92 -0
- package/dist/cjs/de-ch-ef13c76f.js.map +1 -0
- package/dist/cjs/debounce-c7b22268.js +498 -0
- package/dist/cjs/debounce-c7b22268.js.map +1 -0
- package/dist/cjs/dom-8573aa26.js +1084 -0
- package/dist/cjs/dom-8573aa26.js.map +1 -0
- package/dist/cjs/el-fef9a114.js +68 -0
- package/dist/cjs/el-fef9a114.js.map +1 -0
- package/dist/cjs/en-au-969a7295.js +68 -0
- package/dist/cjs/en-au-969a7295.js.map +1 -0
- package/dist/cjs/en-ca-0657858b.js +67 -0
- package/dist/cjs/en-ca-0657858b.js.map +1 -0
- package/dist/cjs/en-gb-dad13055.js +71 -0
- package/dist/cjs/en-gb-dad13055.js.map +1 -0
- package/dist/cjs/es-41c5aa13.js +68 -0
- package/dist/cjs/es-41c5aa13.js.map +1 -0
- package/dist/cjs/es-mx-43cfc7bb.js +67 -0
- package/dist/cjs/es-mx-43cfc7bb.js.map +1 -0
- package/dist/cjs/et-67d9cd4d.js +94 -0
- package/dist/cjs/et-67d9cd4d.js.map +1 -0
- package/dist/cjs/fi-3f9cac22.js +117 -0
- package/dist/cjs/fi-3f9cac22.js.map +1 -0
- package/dist/cjs/filter-6fcfb1fd.js +762 -0
- package/dist/cjs/filter-6fcfb1fd.js.map +1 -0
- package/dist/cjs/floating-ui-53f1f19e.js +1916 -0
- package/dist/cjs/floating-ui-53f1f19e.js.map +1 -0
- package/dist/cjs/focusTrapComponent-290f6bd5.js +1020 -0
- package/dist/cjs/focusTrapComponent-290f6bd5.js.map +1 -0
- package/dist/cjs/form-0723d4c5.js +259 -0
- package/dist/cjs/form-0723d4c5.js.map +1 -0
- package/dist/cjs/fr-7d9a0497.js +70 -0
- package/dist/cjs/fr-7d9a0497.js.map +1 -0
- package/dist/cjs/fr-ch-ee54b973.js +68 -0
- package/dist/cjs/fr-ch-ee54b973.js.map +1 -0
- package/dist/cjs/guid-ce508a49.js +23 -0
- package/dist/cjs/guid-ce508a49.js.map +1 -0
- package/dist/cjs/he-132b4067.js +107 -0
- package/dist/cjs/he-132b4067.js.map +1 -0
- package/dist/cjs/hi-40682904.js +67 -0
- package/dist/cjs/hi-40682904.js.map +1 -0
- package/dist/cjs/hr-d7ad3a02.js +82 -0
- package/dist/cjs/hr-d7ad3a02.js.map +1 -0
- package/dist/cjs/hu-5bd3edf2.js +90 -0
- package/dist/cjs/hu-5bd3edf2.js.map +1 -0
- package/dist/cjs/id-840582cf.js +68 -0
- package/dist/cjs/id-840582cf.js.map +1 -0
- package/dist/cjs/index-003740f9.js +75 -0
- package/dist/cjs/index-003740f9.js.map +1 -0
- package/dist/cjs/index-41b2d7a6.js +2655 -0
- package/dist/cjs/index-41b2d7a6.js.map +1 -0
- package/dist/cjs/index-d35beb8d.js +208 -0
- package/dist/cjs/index-d35beb8d.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-317600bf.js +141 -0
- package/dist/cjs/interactive-317600bf.js.map +1 -0
- package/dist/cjs/it-a2a352d5.js +68 -0
- package/dist/cjs/it-a2a352d5.js.map +1 -0
- package/dist/cjs/it-ch-a4dd784c.js +68 -0
- package/dist/cjs/it-ch-a4dd784c.js.map +1 -0
- package/dist/cjs/ja-529405ed.js +74 -0
- package/dist/cjs/ja-529405ed.js.map +1 -0
- package/dist/cjs/key-451c1254.js +16 -0
- package/dist/cjs/key-451c1254.js.map +1 -0
- package/dist/cjs/ko-60701226.js +74 -0
- package/dist/cjs/ko-60701226.js.map +1 -0
- package/dist/cjs/label-ef786bf2.js +183 -0
- package/dist/cjs/label-ef786bf2.js.map +1 -0
- package/dist/cjs/loadable-d0df67a5.js +91 -0
- package/dist/cjs/loadable-d0df67a5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-3660b9d2.js +576 -0
- package/dist/cjs/locale-3660b9d2.js.map +1 -0
- package/dist/cjs/lt-e1c61abb.js +99 -0
- package/dist/cjs/lt-e1c61abb.js.map +1 -0
- package/dist/cjs/lv-401434ed.js +68 -0
- package/dist/cjs/lv-401434ed.js.map +1 -0
- package/dist/cjs/math-3da4ec3e.js +57 -0
- package/dist/cjs/math-3da4ec3e.js.map +1 -0
- package/dist/cjs/mk-1a83db4d.js +68 -0
- package/dist/cjs/mk-1a83db4d.js.map +1 -0
- package/dist/cjs/nb-fcc77295.js +69 -0
- package/dist/cjs/nb-fcc77295.js.map +1 -0
- package/dist/cjs/nl-45deac4c.js +69 -0
- package/dist/cjs/nl-45deac4c.js.map +1 -0
- package/dist/cjs/observers-beba3aca.js +50 -0
- package/dist/cjs/observers-beba3aca.js.map +1 -0
- package/dist/cjs/openCloseComponent-2a9be1d1.js +89 -0
- package/dist/cjs/openCloseComponent-2a9be1d1.js.map +1 -0
- package/dist/cjs/pl-648a187b.js +116 -0
- package/dist/cjs/pl-648a187b.js.map +1 -0
- package/dist/cjs/pt-br-139f88fe.js +67 -0
- package/dist/cjs/pt-br-139f88fe.js.map +1 -0
- package/dist/cjs/pt-dc229a15.js +69 -0
- package/dist/cjs/pt-dc229a15.js.map +1 -0
- package/dist/cjs/resources-18f9b22c.js +26 -0
- package/dist/cjs/resources-18f9b22c.js.map +1 -0
- package/dist/cjs/resources-33ab283f.js +17 -0
- package/dist/cjs/resources-33ab283f.js.map +1 -0
- package/dist/cjs/resources-57d2744a.js +414 -0
- package/dist/cjs/resources-57d2744a.js.map +1 -0
- package/dist/cjs/resources-8831ff12.js +49 -0
- package/dist/cjs/resources-8831ff12.js.map +1 -0
- package/dist/cjs/resources-91df8f40.js +29 -0
- package/dist/cjs/resources-91df8f40.js.map +1 -0
- package/dist/cjs/resources-bca3f144.js +23 -0
- package/dist/cjs/resources-bca3f144.js.map +1 -0
- package/dist/cjs/resources-ec1e9288.js +26 -0
- package/dist/cjs/resources-ec1e9288.js.map +1 -0
- package/dist/cjs/ro-6837d22b.js +68 -0
- package/dist/cjs/ro-6837d22b.js.map +1 -0
- package/dist/cjs/ru-d9fc4a23.js +128 -0
- package/dist/cjs/ru-d9fc4a23.js.map +1 -0
- package/dist/cjs/sk-04365cda.js +150 -0
- package/dist/cjs/sk-04365cda.js.map +1 -0
- package/dist/cjs/sl-9dcf1d15.js +170 -0
- package/dist/cjs/sl-9dcf1d15.js.map +1 -0
- package/dist/cjs/sortableComponent-b28823a4.js +2739 -0
- package/dist/cjs/sortableComponent-b28823a4.js.map +1 -0
- package/dist/cjs/sr-4d2e05a6.js +103 -0
- package/dist/cjs/sr-4d2e05a6.js.map +1 -0
- package/dist/cjs/sv-ad0a6c33.js +73 -0
- package/dist/cjs/sv-ad0a6c33.js.map +1 -0
- package/dist/cjs/t9n-65657a5d.js +97 -0
- package/dist/cjs/t9n-65657a5d.js.map +1 -0
- package/dist/cjs/th-4e1d8a45.js +67 -0
- package/dist/cjs/th-4e1d8a45.js.map +1 -0
- package/dist/cjs/throttle-5073a9eb.js +77 -0
- package/dist/cjs/throttle-5073a9eb.js.map +1 -0
- package/dist/cjs/tr-4cc4a37e.js +68 -0
- package/dist/cjs/tr-4cc4a37e.js.map +1 -0
- package/dist/cjs/uk-c6777711.js +106 -0
- package/dist/cjs/uk-c6777711.js.map +1 -0
- package/dist/cjs/utils-014a3c67.js +307 -0
- package/dist/cjs/utils-014a3c67.js.map +1 -0
- package/dist/cjs/utils-38bf9fbd.js +218 -0
- package/dist/cjs/utils-38bf9fbd.js.map +1 -0
- package/dist/cjs/vi-eb9d4c44.js +72 -0
- package/dist/cjs/vi-eb9d4c44.js.map +1 -0
- package/dist/cjs/zh-cn-a9e1f317.js +96 -0
- package/dist/cjs/zh-cn-a9e1f317.js.map +1 -0
- package/dist/cjs/zh-hk-21709ff9.js +73 -0
- package/dist/cjs/zh-hk-21709ff9.js.map +1 -0
- package/dist/cjs/zh-tw-4bbc86d8.js +94 -0
- package/dist/cjs/zh-tw-4bbc86d8.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 +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- 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 +9 -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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +2 -2
- package/dist/collection/components/chip-group/chip-group.js.map +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- 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 +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +2 -2
- package/dist/collection/components/combobox/combobox.js.map +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 +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -2
- package/dist/collection/components/combobox-item/combobox-item.js.map +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 +5 -5
- 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 +5 -5
- 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 +2 -2
- package/dist/collection/components/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- 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 +5 -5
- 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/tests.js +42 -0
- package/dist/collection/components/input/common/tests.js.map +1 -0
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +3 -1
- package/dist/collection/components/input/input.e2e.js.map +1 -1
- package/dist/collection/components/input/input.js +6 -5
- package/dist/collection/components/input/input.js.map +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 +2 -2
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +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 +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +3 -1
- package/dist/collection/components/input-number/input-number.e2e.js.map +1 -1
- package/dist/collection/components/input-number/input-number.js +6 -5
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +3 -1
- package/dist/collection/components/input-text/input-text.e2e.js.map +1 -1
- package/dist/collection/components/input-text/input-text.js +6 -5
- package/dist/collection/components/input-text/input-text.js.map +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 +2 -2
- package/dist/collection/components/input-time-zone/input-time-zone.js.map +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 +5 -5
- 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 +8 -8
- package/dist/collection/components/list/list.js.map +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/list-item.js.map +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 +2 -2
- package/dist/collection/components/list-item-group/list-item-group.js.map +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 +5 -5
- 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 +4 -4
- package/dist/collection/components/meter/meter.js.map +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +11 -11
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal/modal.js.map +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 +4 -4
- package/dist/collection/components/navigation/navigation.js.map +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +2 -2
- package/dist/collection/components/navigation-logo/navigation-logo.js.map +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/navigation-user.js.map +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +2 -2
- package/dist/collection/components/notice/notice.js.map +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 +5 -5
- 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 +3 -3
- package/dist/collection/components/pick-list/pick-list.js.map +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 +5 -5
- 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 +2 -2
- package/dist/collection/components/popover/popover.js.map +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 +5 -5
- 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/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- 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/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 +5 -5
- 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 +3 -3
- package/dist/collection/components/sheet/sheet.js.map +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 +3 -3
- package/dist/collection/components/shell-panel/shell-panel.js.map +1 -1
- package/dist/collection/components/slider/resources.js +23 -2
- package/dist/collection/components/slider/resources.js.map +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +133 -198
- package/dist/collection/components/slider/slider.js.map +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 +2 -2
- package/dist/collection/components/split-button/split-button.js.map +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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +2 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- 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 +5 -5
- 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 +5 -5
- 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-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +6 -5
- package/dist/collection/utils/form.js.map +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 +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-accordion.js.map +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 +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +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-group.js.map +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 +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-group.js.map +1 -1
- package/dist/components/calcite-dropdown-item.js +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-date-picker.js.map +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-time-zone.js.map +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-group.js.map +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-list.js.map +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-meter.js.map +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-navigation.js.map +1 -1
- package/dist/components/calcite-notice.js +1 -1
- 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-pick-list.js.map +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 +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-sheet.js.map +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-panel.js.map +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +153 -197
- 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-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +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-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +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 +1 -1
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +2 -2
- 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 +1 -1
- package/dist/components/date-picker-month-header.js +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 +7 -6
- package/dist/components/form.js.map +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 +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 +6 -5
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +6 -5
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +6 -5
- package/dist/components/input.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 +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 +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popover.js.map +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/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 +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +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-f58d1eeb.js +102 -0
- package/dist/esm/ExpandToggle-f58d1eeb.js.map +1 -0
- package/dist/esm/FloatingArrow-b8a162b5.js +47 -0
- package/dist/esm/FloatingArrow-b8a162b5.js.map +1 -0
- package/dist/esm/Heading-84d3c9dc.js +19 -0
- package/dist/esm/Heading-84d3c9dc.js.map +1 -0
- package/dist/esm/Validation-fca8659d.js +16 -0
- package/dist/esm/Validation-fca8659d.js.map +1 -0
- package/dist/esm/app-globals-32c717ab.js +59 -0
- package/dist/esm/app-globals-32c717ab.js.map +1 -0
- package/dist/esm/ar-af4e06ba.js +104 -0
- package/dist/esm/ar-af4e06ba.js.map +1 -0
- package/dist/esm/array-cfde6775.js +12 -0
- package/dist/esm/array-cfde6775.js.map +1 -0
- package/dist/esm/bg-0437ad9a.js +82 -0
- package/dist/esm/bg-0437ad9a.js.map +1 -0
- package/dist/esm/browser-7b405485.js +18 -0
- package/dist/esm/browser-7b405485.js.map +1 -0
- package/dist/esm/bs-a259513d.js +51 -0
- package/dist/esm/bs-a259513d.js.map +1 -0
- package/dist/esm/ca-339dddfe.js +71 -0
- package/dist/esm/ca-339dddfe.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- 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 +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip-group.entry.js.map +1 -1
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- 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 +167 -211
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +12 -12
- 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-date-picker.entry.js.map +1 -1
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +20 -19
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +20 -19
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-2fbcf235.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-2fbcf235.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-time-zone.entry.js.map +1 -1
- package/dist/esm/calcite-input.entry.js +20 -19
- 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 +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- 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 +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js.map +1 -1
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +7 -7
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +12 -12
- 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 +17 -17
- 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-popover.entry.js.map +1 -1
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-sheet.entry.js.map +1 -1
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/component-498411fe.js +27 -0
- package/dist/esm/component-498411fe.js.map +1 -0
- package/dist/esm/conditionalSlot-75900a2b.js +57 -0
- package/dist/esm/conditionalSlot-75900a2b.js.map +1 -0
- package/dist/esm/cs-e40a014e.js +147 -0
- package/dist/esm/cs-e40a014e.js.map +1 -0
- package/dist/esm/da-eb44418a.js +66 -0
- package/dist/esm/da-eb44418a.js.map +1 -0
- package/dist/esm/de-121dc657.js +91 -0
- package/dist/esm/de-121dc657.js.map +1 -0
- package/dist/esm/de-at-ae23d1c4.js +90 -0
- package/dist/esm/de-at-ae23d1c4.js.map +1 -0
- package/dist/esm/de-ch-a50c8e66.js +90 -0
- package/dist/esm/de-ch-a50c8e66.js.map +1 -0
- package/dist/esm/debounce-92e39e73.js +489 -0
- package/dist/esm/debounce-92e39e73.js.map +1 -0
- package/dist/esm/dom-18c843c3.js +1053 -0
- package/dist/esm/dom-18c843c3.js.map +1 -0
- package/dist/esm/el-5e6a2998.js +66 -0
- package/dist/esm/el-5e6a2998.js.map +1 -0
- package/dist/esm/en-au-99d97e63.js +66 -0
- package/dist/esm/en-au-99d97e63.js.map +1 -0
- package/dist/esm/en-ca-33186c8a.js +65 -0
- package/dist/esm/en-ca-33186c8a.js.map +1 -0
- package/dist/esm/en-gb-84a534aa.js +69 -0
- package/dist/esm/en-gb-84a534aa.js.map +1 -0
- package/dist/esm/es-592f80bf.js +66 -0
- package/dist/esm/es-592f80bf.js.map +1 -0
- package/dist/esm/es-mx-d9fa3457.js +65 -0
- package/dist/esm/es-mx-d9fa3457.js.map +1 -0
- package/dist/esm/et-cb991da6.js +92 -0
- package/dist/esm/et-cb991da6.js.map +1 -0
- package/dist/esm/fi-25fd9092.js +115 -0
- package/dist/esm/fi-25fd9092.js.map +1 -0
- package/dist/esm/filter-df3b6864.js +760 -0
- package/dist/esm/filter-df3b6864.js.map +1 -0
- package/dist/esm/floating-ui-0afc8e2b.js +1908 -0
- package/dist/esm/floating-ui-0afc8e2b.js.map +1 -0
- package/dist/esm/focusTrapComponent-3722346a.js +1015 -0
- package/dist/esm/focusTrapComponent-3722346a.js.map +1 -0
- package/dist/esm/form-3838fadc.js +250 -0
- package/dist/esm/form-3838fadc.js.map +1 -0
- package/dist/esm/fr-a82fa54e.js +68 -0
- package/dist/esm/fr-a82fa54e.js.map +1 -0
- package/dist/esm/fr-ch-21b23714.js +66 -0
- package/dist/esm/fr-ch-21b23714.js.map +1 -0
- package/dist/esm/guid-83213ecb.js +21 -0
- package/dist/esm/guid-83213ecb.js.map +1 -0
- package/dist/esm/he-7a23f47a.js +105 -0
- package/dist/esm/he-7a23f47a.js.map +1 -0
- package/dist/esm/hi-24d6825c.js +65 -0
- package/dist/esm/hi-24d6825c.js.map +1 -0
- package/dist/esm/hr-0db30985.js +80 -0
- package/dist/esm/hr-0db30985.js.map +1 -0
- package/dist/esm/hu-70197fd9.js +88 -0
- package/dist/esm/hu-70197fd9.js.map +1 -0
- package/dist/esm/id-c13ac2f4.js +66 -0
- package/dist/esm/id-c13ac2f4.js.map +1 -0
- package/dist/esm/index-3bf7cefc.js +73 -0
- package/dist/esm/index-3bf7cefc.js.map +1 -0
- package/dist/esm/index-40ab7582.js +206 -0
- package/dist/esm/index-40ab7582.js.map +1 -0
- package/dist/esm/index-c97aea6f.js +2620 -0
- package/dist/esm/index-c97aea6f.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-4fba4f61.js +136 -0
- package/dist/esm/interactive-4fba4f61.js.map +1 -0
- package/dist/esm/it-ch-b1bc082c.js +66 -0
- package/dist/esm/it-ch-b1bc082c.js.map +1 -0
- package/dist/esm/it-ff9de58c.js +66 -0
- package/dist/esm/it-ff9de58c.js.map +1 -0
- package/dist/esm/ja-2049ce05.js +72 -0
- package/dist/esm/ja-2049ce05.js.map +1 -0
- package/dist/esm/key-e9b408a7.js +13 -0
- package/dist/esm/key-e9b408a7.js.map +1 -0
- package/dist/esm/ko-d21f9852.js +72 -0
- package/dist/esm/ko-d21f9852.js.map +1 -0
- package/dist/esm/label-d0939364.js +176 -0
- package/dist/esm/label-d0939364.js.map +1 -0
- package/dist/esm/loadable-e27c9657.js +86 -0
- package/dist/esm/loadable-e27c9657.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-9e52d683.js +563 -0
- package/dist/esm/locale-9e52d683.js.map +1 -0
- package/dist/esm/lt-8d457c21.js +97 -0
- package/dist/esm/lt-8d457c21.js.map +1 -0
- package/dist/esm/lv-213a62f8.js +66 -0
- package/dist/esm/lv-213a62f8.js.map +1 -0
- package/dist/esm/math-fee7618d.js +51 -0
- package/dist/esm/math-fee7618d.js.map +1 -0
- package/dist/esm/mk-d3bde4d9.js +66 -0
- package/dist/esm/mk-d3bde4d9.js.map +1 -0
- package/dist/esm/nb-9e955a2f.js +67 -0
- package/dist/esm/nb-9e955a2f.js.map +1 -0
- package/dist/esm/nl-c1b17f23.js +67 -0
- package/dist/esm/nl-c1b17f23.js.map +1 -0
- package/dist/esm/observers-879543fa.js +48 -0
- package/dist/esm/observers-879543fa.js.map +1 -0
- package/dist/esm/openCloseComponent-f6e158a3.js +87 -0
- package/dist/esm/openCloseComponent-f6e158a3.js.map +1 -0
- package/dist/esm/pl-1258b5b2.js +114 -0
- package/dist/esm/pl-1258b5b2.js.map +1 -0
- package/dist/esm/pt-br-7e14e2b3.js +65 -0
- package/dist/esm/pt-br-7e14e2b3.js.map +1 -0
- package/dist/esm/pt-c5b8d731.js +67 -0
- package/dist/esm/pt-c5b8d731.js.map +1 -0
- package/dist/esm/resources-0e6f8c63.js +17 -0
- package/dist/esm/resources-0e6f8c63.js.map +1 -0
- package/dist/esm/resources-1b34da53.js +23 -0
- package/dist/esm/resources-1b34da53.js.map +1 -0
- package/dist/esm/resources-4b45de56.js +25 -0
- package/dist/esm/resources-4b45de56.js.map +1 -0
- package/dist/esm/resources-50fae9bf.js +387 -0
- package/dist/esm/resources-50fae9bf.js.map +1 -0
- package/dist/esm/resources-909ba6af.js +19 -0
- package/dist/esm/resources-909ba6af.js.map +1 -0
- package/dist/esm/resources-984f7440.js +45 -0
- package/dist/esm/resources-984f7440.js.map +1 -0
- package/dist/esm/resources-a0da2926.js +21 -0
- package/dist/esm/resources-a0da2926.js.map +1 -0
- package/dist/esm/ro-473572d5.js +66 -0
- package/dist/esm/ro-473572d5.js.map +1 -0
- package/dist/esm/ru-8889eae3.js +126 -0
- package/dist/esm/ru-8889eae3.js.map +1 -0
- package/dist/esm/sk-b1755ca4.js +148 -0
- package/dist/esm/sk-b1755ca4.js.map +1 -0
- package/dist/esm/sl-06da35d3.js +168 -0
- package/dist/esm/sl-06da35d3.js.map +1 -0
- package/dist/esm/sortableComponent-0e9825d9.js +2735 -0
- package/dist/esm/sortableComponent-0e9825d9.js.map +1 -0
- package/dist/esm/sr-1f6e571a.js +101 -0
- package/dist/esm/sr-1f6e571a.js.map +1 -0
- package/dist/esm/sv-349d3ca8.js +71 -0
- package/dist/esm/sv-349d3ca8.js.map +1 -0
- package/dist/esm/t9n-a74153a7.js +92 -0
- package/dist/esm/t9n-a74153a7.js.map +1 -0
- package/dist/esm/th-1f7578dd.js +65 -0
- package/dist/esm/th-1f7578dd.js.map +1 -0
- package/dist/esm/throttle-0318fda8.js +75 -0
- package/dist/esm/throttle-0318fda8.js.map +1 -0
- package/dist/esm/tr-f07ffb38.js +66 -0
- package/dist/esm/tr-f07ffb38.js.map +1 -0
- package/dist/esm/uk-485d63b9.js +104 -0
- package/dist/esm/uk-485d63b9.js.map +1 -0
- package/dist/esm/utils-84e4cee2.js +289 -0
- package/dist/esm/utils-84e4cee2.js.map +1 -0
- package/dist/esm/utils-ba967930.js +200 -0
- package/dist/esm/utils-ba967930.js.map +1 -0
- package/dist/esm/vi-676fc534.js +70 -0
- package/dist/esm/vi-676fc534.js.map +1 -0
- package/dist/esm/zh-cn-8099b493.js +94 -0
- package/dist/esm/zh-cn-8099b493.js.map +1 -0
- package/dist/esm/zh-hk-1e70140f.js +71 -0
- package/dist/esm/zh-hk-1e70140f.js.map +1 -0
- package/dist/esm/zh-tw-8ef00e29.js +92 -0
- package/dist/esm/zh-tw-8ef00e29.js.map +1 -0
- package/dist/extras/docs-json.json +44 -44
- 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/dist/types/components/accordion/accordion.d.ts +7 -2
- package/dist/types/components/chip-group/chip-group.d.ts +6 -2
- package/dist/types/components/combobox/combobox.d.ts +8 -4
- package/dist/types/components/combobox-item/combobox-item.d.ts +9 -5
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +7 -4
- package/dist/types/components/input/common/tests.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
- package/dist/types/components/input-number/input-number.d.ts +2 -2
- package/dist/types/components/input-text/input-text.d.ts +2 -2
- package/dist/types/components/input-time-zone/input-time-zone.d.ts +3 -1
- package/dist/types/components/list/list.d.ts +15 -7
- package/dist/types/components/list-item/list-item.d.ts +1 -1
- package/dist/types/components/list-item-group/list-item-group.d.ts +1 -1
- package/dist/types/components/meter/meter.d.ts +3 -3
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/navigation/navigation.d.ts +2 -2
- package/dist/types/components/navigation-logo/navigation-logo.d.ts +1 -1
- package/dist/types/components/navigation-user/navigation-user.d.ts +1 -1
- package/dist/types/components/notice/notice.d.ts +1 -1
- package/dist/types/components/pick-list/pick-list.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/sheet/sheet.d.ts +1 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +2 -2
- package/dist/types/components/slider/interfaces.d.ts +22 -0
- package/dist/types/components/slider/resources.d.ts +22 -1
- package/dist/types/components/slider/slider.d.ts +10 -9
- package/dist/types/components/split-button/split-button.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +9 -1
- package/dist/types/components.d.ts +58 -58
- package/dist/types/utils/form.d.ts +1 -0
- package/hydrate/index.js +175 -215
- package/package.json +2 -2
- package/dist/calcite/p-00ec3b40.entry.js +0 -7
- package/dist/calcite/p-01d0b79e.entry.js +0 -7
- package/dist/calcite/p-01d0b79e.entry.js.map +0 -1
- package/dist/calcite/p-03514f40.js +0 -7
- package/dist/calcite/p-08408029.entry.js +0 -7
- package/dist/calcite/p-08408029.entry.js.map +0 -1
- package/dist/calcite/p-09d785b7.entry.js +0 -7
- package/dist/calcite/p-0a21ae9a.entry.js +0 -7
- package/dist/calcite/p-0c74332d.entry.js +0 -7
- package/dist/calcite/p-0c82022e.entry.js +0 -7
- package/dist/calcite/p-10ce1025.js +0 -7
- package/dist/calcite/p-12b96fb7.entry.js +0 -7
- package/dist/calcite/p-1457e761.js +0 -7
- package/dist/calcite/p-1554e4ce.entry.js +0 -7
- package/dist/calcite/p-156ce16b.js +0 -7
- package/dist/calcite/p-163b702a.js +0 -7
- package/dist/calcite/p-17d1b050.js +0 -7
- package/dist/calcite/p-1844f3c8.js +0 -7
- package/dist/calcite/p-1adc319c.entry.js +0 -7
- package/dist/calcite/p-1adc319c.entry.js.map +0 -1
- package/dist/calcite/p-1ae4df79.entry.js +0 -7
- package/dist/calcite/p-1ba52137.entry.js +0 -7
- package/dist/calcite/p-1ebf9938.js +0 -7
- package/dist/calcite/p-2074af32.js +0 -7
- package/dist/calcite/p-214ccc59.entry.js +0 -7
- package/dist/calcite/p-227cf9b0.entry.js +0 -7
- package/dist/calcite/p-23373769.js +0 -7
- package/dist/calcite/p-24065bf5.entry.js +0 -7
- package/dist/calcite/p-24065bf5.entry.js.map +0 -1
- package/dist/calcite/p-26555df5.js +0 -7
- package/dist/calcite/p-2898f4e3.entry.js +0 -7
- package/dist/calcite/p-2898f4e3.entry.js.map +0 -1
- package/dist/calcite/p-2b228bdb.js +0 -7
- package/dist/calcite/p-2c9f261b.entry.js +0 -7
- package/dist/calcite/p-2e9e8356.entry.js +0 -7
- package/dist/calcite/p-2e9e8356.entry.js.map +0 -1
- package/dist/calcite/p-2ec1ae1f.js +0 -7
- package/dist/calcite/p-330dcff5.entry.js +0 -7
- package/dist/calcite/p-336ecede.js +0 -7
- package/dist/calcite/p-3401e225.js +0 -8
- package/dist/calcite/p-35de244d.js +0 -11
- package/dist/calcite/p-39154db7.entry.js +0 -7
- package/dist/calcite/p-3a1532df.js +0 -7
- package/dist/calcite/p-3b24c890.js +0 -7
- package/dist/calcite/p-3e5298b9.entry.js +0 -7
- package/dist/calcite/p-3e5dfc05.js +0 -7
- package/dist/calcite/p-3eccd737.entry.js +0 -7
- package/dist/calcite/p-41186de8.js +0 -7
- package/dist/calcite/p-41ed86ff.entry.js +0 -7
- package/dist/calcite/p-41ed86ff.entry.js.map +0 -1
- package/dist/calcite/p-465e3b6d.js +0 -7
- package/dist/calcite/p-47351c6c.js +0 -7
- package/dist/calcite/p-4d033e97.entry.js +0 -7
- package/dist/calcite/p-4f1be9a0.js +0 -7
- package/dist/calcite/p-4faeec71.entry.js +0 -7
- package/dist/calcite/p-4faeec71.entry.js.map +0 -1
- package/dist/calcite/p-500c21e3.js +0 -7
- package/dist/calcite/p-5034f6c2.entry.js +0 -7
- package/dist/calcite/p-5034f6c2.entry.js.map +0 -1
- package/dist/calcite/p-5078829f.js +0 -7
- package/dist/calcite/p-589c83ff.entry.js +0 -7
- package/dist/calcite/p-58c39dbe.js +0 -7
- package/dist/calcite/p-5a5e4703.js +0 -7
- package/dist/calcite/p-5bf1aaca.entry.js +0 -7
- package/dist/calcite/p-6111ea41.js +0 -7
- package/dist/calcite/p-61532044.js +0 -7
- package/dist/calcite/p-62abf6e6.entry.js +0 -7
- package/dist/calcite/p-62abf6e6.entry.js.map +0 -1
- package/dist/calcite/p-677fb004.js +0 -7
- package/dist/calcite/p-686c4ba3.js +0 -7
- package/dist/calcite/p-68c09996.js +0 -7
- package/dist/calcite/p-68edde72.js +0 -7
- package/dist/calcite/p-6afafcdf.entry.js +0 -7
- package/dist/calcite/p-6ba850dc.entry.js +0 -7
- package/dist/calcite/p-6ba850dc.entry.js.map +0 -1
- package/dist/calcite/p-6d1e0c66.entry.js +0 -7
- package/dist/calcite/p-6e961f06.js +0 -7
- package/dist/calcite/p-70314047.js +0 -7
- package/dist/calcite/p-70721e8e.entry.js +0 -7
- package/dist/calcite/p-70721e8e.entry.js.map +0 -1
- package/dist/calcite/p-7183efb5.js +0 -7
- package/dist/calcite/p-72a3e0eb.js +0 -7
- package/dist/calcite/p-739a6b48.js +0 -7
- package/dist/calcite/p-7788819a.entry.js +0 -7
- package/dist/calcite/p-788b097d.js +0 -7
- package/dist/calcite/p-797435e3.entry.js +0 -7
- package/dist/calcite/p-842853b7.js +0 -7
- package/dist/calcite/p-85c787c9.js +0 -7
- package/dist/calcite/p-86b0f2f3.entry.js +0 -7
- package/dist/calcite/p-877022f2.js +0 -7
- package/dist/calcite/p-8889a7a2.entry.js +0 -7
- package/dist/calcite/p-8889a7a2.entry.js.map +0 -1
- package/dist/calcite/p-88d2daad.entry.js +0 -7
- package/dist/calcite/p-89a69461.entry.js +0 -7
- package/dist/calcite/p-8c2c7db0.js +0 -7
- package/dist/calcite/p-8ed05206.entry.js +0 -7
- package/dist/calcite/p-902b3ccb.js +0 -7
- package/dist/calcite/p-918685db.entry.js +0 -7
- package/dist/calcite/p-966ff128.js +0 -7
- package/dist/calcite/p-97253db9.entry.js +0 -7
- package/dist/calcite/p-97253db9.entry.js.map +0 -1
- package/dist/calcite/p-9a7772a1.js +0 -7
- package/dist/calcite/p-9bf4a131.js +0 -7
- package/dist/calcite/p-9c9d42c5.entry.js +0 -7
- package/dist/calcite/p-9cf924a8.js +0 -7
- package/dist/calcite/p-9d1c5523.js +0 -7
- package/dist/calcite/p-9f0db635.entry.js +0 -7
- package/dist/calcite/p-9f0db635.entry.js.map +0 -1
- package/dist/calcite/p-9f9f2610.js +0 -7
- package/dist/calcite/p-a4b20142.js +0 -7
- package/dist/calcite/p-a5afbe13.js +0 -7
- package/dist/calcite/p-a6995c05.entry.js +0 -7
- package/dist/calcite/p-a6995c05.entry.js.map +0 -1
- package/dist/calcite/p-a7392021.entry.js +0 -7
- package/dist/calcite/p-a9907b09.js +0 -7
- package/dist/calcite/p-a9907b09.js.map +0 -1
- package/dist/calcite/p-aa046ae1.js +0 -7
- package/dist/calcite/p-aaedee41.entry.js +0 -7
- package/dist/calcite/p-ab8333f4.js +0 -7
- package/dist/calcite/p-ac2a91d8.entry.js +0 -7
- package/dist/calcite/p-ad553e66.js +0 -7
- package/dist/calcite/p-aec9f331.entry.js +0 -7
- package/dist/calcite/p-aec9f331.entry.js.map +0 -1
- package/dist/calcite/p-af245c96.entry.js +0 -7
- package/dist/calcite/p-af245c96.entry.js.map +0 -1
- package/dist/calcite/p-b0905701.entry.js +0 -7
- package/dist/calcite/p-b0dcf746.js +0 -7
- package/dist/calcite/p-b1270b80.js +0 -7
- package/dist/calcite/p-b217290a.entry.js +0 -7
- package/dist/calcite/p-b2cdfa31.js +0 -7
- package/dist/calcite/p-b2e233de.entry.js +0 -7
- package/dist/calcite/p-b5c8e70f.js +0 -7
- package/dist/calcite/p-b936e0ca.js +0 -7
- package/dist/calcite/p-bafb9086.entry.js +0 -7
- package/dist/calcite/p-bbca2939.js +0 -7
- package/dist/calcite/p-c21996d8.js +0 -7
- package/dist/calcite/p-c3d8dcdc.js +0 -7
- package/dist/calcite/p-c3e9f361.entry.js +0 -7
- package/dist/calcite/p-c3e9f361.entry.js.map +0 -1
- package/dist/calcite/p-cbcc479a.entry.js +0 -7
- package/dist/calcite/p-cbededa0.entry.js +0 -7
- package/dist/calcite/p-cbededa0.entry.js.map +0 -1
- package/dist/calcite/p-ccece29c.entry.js +0 -7
- package/dist/calcite/p-ced06054.js +0 -7
- package/dist/calcite/p-cf3f540f.js +0 -7
- package/dist/calcite/p-cfd360ee.entry.js +0 -7
- package/dist/calcite/p-d3627cbd.js +0 -12
- package/dist/calcite/p-d3e40740.entry.js +0 -7
- package/dist/calcite/p-d3e40740.entry.js.map +0 -1
- package/dist/calcite/p-d7e01f48.entry.js +0 -7
- package/dist/calcite/p-d8425f1b.js +0 -7
- package/dist/calcite/p-d88fafe2.entry.js +0 -7
- package/dist/calcite/p-d94d869b.entry.js +0 -7
- package/dist/calcite/p-d962db95.js +0 -7
- package/dist/calcite/p-da68df06.js +0 -7
- package/dist/calcite/p-dc287520.js +0 -7
- package/dist/calcite/p-de939342.js +0 -7
- package/dist/calcite/p-df3f7354.entry.js +0 -7
- package/dist/calcite/p-df3f7354.entry.js.map +0 -1
- package/dist/calcite/p-e04bf743.entry.js +0 -7
- package/dist/calcite/p-e3e91631.js +0 -7
- package/dist/calcite/p-e54d80ea.js +0 -7
- package/dist/calcite/p-e57c8997.js +0 -7
- package/dist/calcite/p-e7a19067.js +0 -7
- package/dist/calcite/p-e86d6fe4.entry.js +0 -7
- package/dist/calcite/p-e941de73.js +0 -7
- package/dist/calcite/p-ecbf8738.js +0 -7
- package/dist/calcite/p-ecf5974f.entry.js +0 -7
- package/dist/calcite/p-ecf5974f.entry.js.map +0 -1
- package/dist/calcite/p-ed0d2d66.js +0 -7
- package/dist/calcite/p-eda07208.js +0 -7
- package/dist/calcite/p-eea4b5c6.entry.js +0 -7
- package/dist/calcite/p-eee1c1ae.js +0 -7
- package/dist/calcite/p-f08765e4.js +0 -13
- package/dist/calcite/p-f13c04dd.js +0 -7
- package/dist/calcite/p-f2055d6b.js +0 -7
- package/dist/calcite/p-f374ba4d.entry.js +0 -7
- package/dist/calcite/p-f374ba4d.entry.js.map +0 -1
- package/dist/calcite/p-f584d2fa.js +0 -7
- package/dist/calcite/p-f79d4f9e.entry.js +0 -7
- package/dist/calcite/p-f79fe807.entry.js +0 -7
- package/dist/calcite/p-f79fe807.entry.js.map +0 -1
- package/dist/calcite/p-f800b560.js +0 -7
- package/dist/calcite/p-f90759a5.js +0 -7
- package/dist/calcite/p-fd1568c2.js +0 -7
- package/dist/calcite/p-fd727f3e.js +0 -7
- package/dist/cjs/ExpandToggle-7241e2e4.js +0 -110
- package/dist/cjs/ExpandToggle-7241e2e4.js.map +0 -1
- package/dist/cjs/FloatingArrow-3589dd9e.js +0 -49
- package/dist/cjs/FloatingArrow-3589dd9e.js.map +0 -1
- package/dist/cjs/Heading-371c1c2e.js +0 -22
- package/dist/cjs/Heading-371c1c2e.js.map +0 -1
- package/dist/cjs/Validation-15fb642b.js +0 -18
- package/dist/cjs/Validation-15fb642b.js.map +0 -1
- package/dist/cjs/app-globals-c176a102.js +0 -61
- package/dist/cjs/app-globals-c176a102.js.map +0 -1
- package/dist/cjs/ar-0abe3e2d.js +0 -106
- package/dist/cjs/ar-0abe3e2d.js.map +0 -1
- package/dist/cjs/array-5fcbf689.js +0 -14
- package/dist/cjs/array-5fcbf689.js.map +0 -1
- package/dist/cjs/bg-b7e8f332.js +0 -84
- package/dist/cjs/bg-b7e8f332.js.map +0 -1
- package/dist/cjs/browser-34b605ef.js +0 -20
- package/dist/cjs/browser-34b605ef.js.map +0 -1
- package/dist/cjs/bs-2d79f6a5.js +0 -53
- package/dist/cjs/bs-2d79f6a5.js.map +0 -1
- package/dist/cjs/ca-c99d8602.js +0 -73
- package/dist/cjs/ca-c99d8602.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8533150a.js.map +0 -1
- package/dist/cjs/component-3cb4d607.js +0 -30
- package/dist/cjs/component-3cb4d607.js.map +0 -1
- package/dist/cjs/conditionalSlot-129f9fb1.js +0 -60
- package/dist/cjs/conditionalSlot-129f9fb1.js.map +0 -1
- package/dist/cjs/cs-e20ba71b.js +0 -149
- package/dist/cjs/cs-e20ba71b.js.map +0 -1
- package/dist/cjs/da-46ca109b.js +0 -68
- package/dist/cjs/da-46ca109b.js.map +0 -1
- package/dist/cjs/de-at-9b99ff4e.js +0 -92
- package/dist/cjs/de-at-9b99ff4e.js.map +0 -1
- package/dist/cjs/de-ch-0a56a5d7.js +0 -92
- package/dist/cjs/de-ch-0a56a5d7.js.map +0 -1
- package/dist/cjs/de-f1c7341f.js +0 -93
- package/dist/cjs/de-f1c7341f.js.map +0 -1
- package/dist/cjs/debounce-4a5c618d.js +0 -498
- package/dist/cjs/debounce-4a5c618d.js.map +0 -1
- package/dist/cjs/dom-96b95ba5.js +0 -1084
- package/dist/cjs/dom-96b95ba5.js.map +0 -1
- package/dist/cjs/el-23291f8d.js +0 -68
- package/dist/cjs/el-23291f8d.js.map +0 -1
- package/dist/cjs/en-au-6d032305.js +0 -68
- package/dist/cjs/en-au-6d032305.js.map +0 -1
- package/dist/cjs/en-ca-32202e14.js +0 -67
- package/dist/cjs/en-ca-32202e14.js.map +0 -1
- package/dist/cjs/en-gb-afcd6e2d.js +0 -71
- package/dist/cjs/en-gb-afcd6e2d.js.map +0 -1
- package/dist/cjs/es-ee64d2c4.js +0 -68
- package/dist/cjs/es-ee64d2c4.js.map +0 -1
- package/dist/cjs/es-mx-ed48f631.js +0 -67
- package/dist/cjs/es-mx-ed48f631.js.map +0 -1
- package/dist/cjs/et-0ac28679.js +0 -94
- package/dist/cjs/et-0ac28679.js.map +0 -1
- package/dist/cjs/fi-bda743b5.js +0 -117
- package/dist/cjs/fi-bda743b5.js.map +0 -1
- package/dist/cjs/filter-168097e5.js +0 -762
- package/dist/cjs/filter-168097e5.js.map +0 -1
- package/dist/cjs/floating-ui-13d69ca1.js +0 -1916
- package/dist/cjs/floating-ui-13d69ca1.js.map +0 -1
- package/dist/cjs/focusTrapComponent-cea06372.js +0 -1020
- package/dist/cjs/focusTrapComponent-cea06372.js.map +0 -1
- package/dist/cjs/form-89e59b29.js +0 -257
- package/dist/cjs/form-89e59b29.js.map +0 -1
- package/dist/cjs/fr-9b4cb711.js +0 -70
- package/dist/cjs/fr-9b4cb711.js.map +0 -1
- package/dist/cjs/fr-ch-42e5c0ef.js +0 -68
- package/dist/cjs/fr-ch-42e5c0ef.js.map +0 -1
- package/dist/cjs/guid-f81db95d.js +0 -23
- package/dist/cjs/guid-f81db95d.js.map +0 -1
- package/dist/cjs/he-b48c6a0a.js +0 -107
- package/dist/cjs/he-b48c6a0a.js.map +0 -1
- package/dist/cjs/hi-c3f1ca26.js +0 -67
- package/dist/cjs/hi-c3f1ca26.js.map +0 -1
- package/dist/cjs/hr-b41a8e50.js +0 -82
- package/dist/cjs/hr-b41a8e50.js.map +0 -1
- package/dist/cjs/hu-6ba01e7f.js +0 -90
- package/dist/cjs/hu-6ba01e7f.js.map +0 -1
- package/dist/cjs/id-9b1df1f7.js +0 -68
- package/dist/cjs/id-9b1df1f7.js.map +0 -1
- package/dist/cjs/index-86e0bedf.js +0 -75
- package/dist/cjs/index-86e0bedf.js.map +0 -1
- package/dist/cjs/index-8b34daf0.js +0 -2655
- package/dist/cjs/index-8b34daf0.js.map +0 -1
- package/dist/cjs/index-c596660b.js +0 -208
- package/dist/cjs/index-c596660b.js.map +0 -1
- package/dist/cjs/interactive-7b3fb6e5.js +0 -141
- package/dist/cjs/interactive-7b3fb6e5.js.map +0 -1
- package/dist/cjs/it-ch-6c2cbb18.js +0 -68
- package/dist/cjs/it-ch-6c2cbb18.js.map +0 -1
- package/dist/cjs/it-d3904c2b.js +0 -68
- package/dist/cjs/it-d3904c2b.js.map +0 -1
- package/dist/cjs/ja-5d6924b2.js +0 -74
- package/dist/cjs/ja-5d6924b2.js.map +0 -1
- package/dist/cjs/key-89f3021a.js +0 -16
- package/dist/cjs/key-89f3021a.js.map +0 -1
- package/dist/cjs/ko-44d83663.js +0 -74
- package/dist/cjs/ko-44d83663.js.map +0 -1
- package/dist/cjs/label-19f970cb.js +0 -183
- package/dist/cjs/label-19f970cb.js.map +0 -1
- package/dist/cjs/loadable-64558297.js +0 -91
- package/dist/cjs/loadable-64558297.js.map +0 -1
- package/dist/cjs/locale-92847a13.js +0 -576
- package/dist/cjs/locale-92847a13.js.map +0 -1
- package/dist/cjs/lt-ea512350.js +0 -99
- package/dist/cjs/lt-ea512350.js.map +0 -1
- package/dist/cjs/lv-c16e3000.js +0 -68
- package/dist/cjs/lv-c16e3000.js.map +0 -1
- package/dist/cjs/math-ff28c0e4.js +0 -57
- package/dist/cjs/math-ff28c0e4.js.map +0 -1
- package/dist/cjs/mk-1b01d0fe.js +0 -68
- package/dist/cjs/mk-1b01d0fe.js.map +0 -1
- package/dist/cjs/nb-a7bac747.js +0 -69
- package/dist/cjs/nb-a7bac747.js.map +0 -1
- package/dist/cjs/nl-28c3ec66.js +0 -69
- package/dist/cjs/nl-28c3ec66.js.map +0 -1
- package/dist/cjs/observers-72601b59.js +0 -50
- package/dist/cjs/observers-72601b59.js.map +0 -1
- package/dist/cjs/openCloseComponent-b4ccd661.js +0 -89
- package/dist/cjs/openCloseComponent-b4ccd661.js.map +0 -1
- package/dist/cjs/pl-b18815eb.js +0 -116
- package/dist/cjs/pl-b18815eb.js.map +0 -1
- package/dist/cjs/pt-br-1dbf2b98.js +0 -67
- package/dist/cjs/pt-br-1dbf2b98.js.map +0 -1
- package/dist/cjs/pt-c109c31c.js +0 -69
- package/dist/cjs/pt-c109c31c.js.map +0 -1
- package/dist/cjs/resources-1e439750.js +0 -29
- package/dist/cjs/resources-1e439750.js.map +0 -1
- package/dist/cjs/resources-2bdd1ed7.js +0 -26
- package/dist/cjs/resources-2bdd1ed7.js.map +0 -1
- package/dist/cjs/resources-2e941bc5.js +0 -49
- package/dist/cjs/resources-2e941bc5.js.map +0 -1
- package/dist/cjs/resources-3926d6a2.js +0 -23
- package/dist/cjs/resources-3926d6a2.js.map +0 -1
- package/dist/cjs/resources-69dbc240.js +0 -414
- package/dist/cjs/resources-69dbc240.js.map +0 -1
- package/dist/cjs/resources-861365b8.js +0 -26
- package/dist/cjs/resources-861365b8.js.map +0 -1
- package/dist/cjs/resources-c29a4618.js +0 -17
- package/dist/cjs/resources-c29a4618.js.map +0 -1
- package/dist/cjs/ro-d584246c.js +0 -68
- package/dist/cjs/ro-d584246c.js.map +0 -1
- package/dist/cjs/ru-2e053696.js +0 -128
- package/dist/cjs/ru-2e053696.js.map +0 -1
- package/dist/cjs/sk-3d939427.js +0 -150
- package/dist/cjs/sk-3d939427.js.map +0 -1
- package/dist/cjs/sl-8a540a44.js +0 -170
- package/dist/cjs/sl-8a540a44.js.map +0 -1
- package/dist/cjs/sortableComponent-541e0a79.js +0 -2739
- package/dist/cjs/sortableComponent-541e0a79.js.map +0 -1
- package/dist/cjs/sr-5b87491e.js +0 -103
- package/dist/cjs/sr-5b87491e.js.map +0 -1
- package/dist/cjs/sv-a21e52a2.js +0 -73
- package/dist/cjs/sv-a21e52a2.js.map +0 -1
- package/dist/cjs/t9n-b908c650.js +0 -97
- package/dist/cjs/t9n-b908c650.js.map +0 -1
- package/dist/cjs/th-3d0365ed.js +0 -67
- package/dist/cjs/th-3d0365ed.js.map +0 -1
- package/dist/cjs/throttle-1ecba9da.js +0 -77
- package/dist/cjs/throttle-1ecba9da.js.map +0 -1
- package/dist/cjs/tr-b49efb2e.js +0 -68
- package/dist/cjs/tr-b49efb2e.js.map +0 -1
- package/dist/cjs/uk-6f4e4731.js +0 -106
- package/dist/cjs/uk-6f4e4731.js.map +0 -1
- package/dist/cjs/utils-bf47d56f.js +0 -218
- package/dist/cjs/utils-bf47d56f.js.map +0 -1
- package/dist/cjs/utils-fa405e46.js +0 -307
- package/dist/cjs/utils-fa405e46.js.map +0 -1
- package/dist/cjs/vi-df93dde4.js +0 -72
- package/dist/cjs/vi-df93dde4.js.map +0 -1
- package/dist/cjs/zh-cn-ada2dfc8.js +0 -96
- package/dist/cjs/zh-cn-ada2dfc8.js.map +0 -1
- package/dist/cjs/zh-hk-7261d0e6.js +0 -73
- package/dist/cjs/zh-hk-7261d0e6.js.map +0 -1
- package/dist/cjs/zh-tw-2d40436e.js +0 -94
- package/dist/cjs/zh-tw-2d40436e.js.map +0 -1
- package/dist/esm/ExpandToggle-a6f6fe93.js +0 -102
- package/dist/esm/ExpandToggle-a6f6fe93.js.map +0 -1
- package/dist/esm/FloatingArrow-8822a239.js +0 -47
- package/dist/esm/FloatingArrow-8822a239.js.map +0 -1
- package/dist/esm/Heading-d27d565f.js +0 -19
- package/dist/esm/Heading-d27d565f.js.map +0 -1
- package/dist/esm/Validation-99bfd0e6.js +0 -16
- package/dist/esm/Validation-99bfd0e6.js.map +0 -1
- package/dist/esm/app-globals-a4940f11.js +0 -59
- package/dist/esm/app-globals-a4940f11.js.map +0 -1
- package/dist/esm/ar-70517ab9.js +0 -104
- package/dist/esm/ar-70517ab9.js.map +0 -1
- package/dist/esm/array-67ef3cfb.js +0 -12
- package/dist/esm/array-67ef3cfb.js.map +0 -1
- package/dist/esm/bg-06f7aed4.js +0 -82
- package/dist/esm/bg-06f7aed4.js.map +0 -1
- package/dist/esm/browser-1daeb1e0.js +0 -18
- package/dist/esm/browser-1daeb1e0.js.map +0 -1
- package/dist/esm/bs-1c0438d8.js +0 -51
- package/dist/esm/bs-1c0438d8.js.map +0 -1
- package/dist/esm/ca-c16d3907.js +0 -71
- package/dist/esm/ca-c16d3907.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-f5d5f0eb.js.map +0 -1
- package/dist/esm/component-b60b634a.js +0 -27
- package/dist/esm/component-b60b634a.js.map +0 -1
- package/dist/esm/conditionalSlot-98ea2e45.js +0 -57
- package/dist/esm/conditionalSlot-98ea2e45.js.map +0 -1
- package/dist/esm/cs-b239a4ef.js +0 -147
- package/dist/esm/cs-b239a4ef.js.map +0 -1
- package/dist/esm/da-9aca734a.js +0 -66
- package/dist/esm/da-9aca734a.js.map +0 -1
- package/dist/esm/de-4229b866.js +0 -91
- package/dist/esm/de-4229b866.js.map +0 -1
- package/dist/esm/de-at-b27fbf36.js +0 -90
- package/dist/esm/de-at-b27fbf36.js.map +0 -1
- package/dist/esm/de-ch-c61d4d11.js +0 -90
- package/dist/esm/de-ch-c61d4d11.js.map +0 -1
- package/dist/esm/debounce-6a65f52d.js +0 -489
- package/dist/esm/debounce-6a65f52d.js.map +0 -1
- package/dist/esm/dom-1d04b28a.js +0 -1053
- package/dist/esm/dom-1d04b28a.js.map +0 -1
- package/dist/esm/el-6fab80e1.js +0 -66
- package/dist/esm/el-6fab80e1.js.map +0 -1
- package/dist/esm/en-au-a62e4774.js +0 -66
- package/dist/esm/en-au-a62e4774.js.map +0 -1
- package/dist/esm/en-ca-519812ff.js +0 -65
- package/dist/esm/en-ca-519812ff.js.map +0 -1
- package/dist/esm/en-gb-1afc9433.js +0 -69
- package/dist/esm/en-gb-1afc9433.js.map +0 -1
- package/dist/esm/es-377b51dc.js +0 -66
- package/dist/esm/es-377b51dc.js.map +0 -1
- package/dist/esm/es-mx-1c27d818.js +0 -65
- package/dist/esm/es-mx-1c27d818.js.map +0 -1
- package/dist/esm/et-6b16cefb.js +0 -92
- package/dist/esm/et-6b16cefb.js.map +0 -1
- package/dist/esm/fi-e8ed3d3d.js +0 -115
- package/dist/esm/fi-e8ed3d3d.js.map +0 -1
- package/dist/esm/filter-2d8822f9.js +0 -760
- package/dist/esm/filter-2d8822f9.js.map +0 -1
- package/dist/esm/floating-ui-f5372615.js +0 -1908
- package/dist/esm/floating-ui-f5372615.js.map +0 -1
- package/dist/esm/focusTrapComponent-8b77a9c1.js +0 -1015
- package/dist/esm/focusTrapComponent-8b77a9c1.js.map +0 -1
- package/dist/esm/form-469c1a1b.js +0 -249
- package/dist/esm/form-469c1a1b.js.map +0 -1
- package/dist/esm/fr-a41476e5.js +0 -68
- package/dist/esm/fr-a41476e5.js.map +0 -1
- package/dist/esm/fr-ch-d991ee83.js +0 -66
- package/dist/esm/fr-ch-d991ee83.js.map +0 -1
- package/dist/esm/guid-ac2c9771.js +0 -21
- package/dist/esm/guid-ac2c9771.js.map +0 -1
- package/dist/esm/he-9ba5fcd7.js +0 -105
- package/dist/esm/he-9ba5fcd7.js.map +0 -1
- package/dist/esm/hi-7ea0af49.js +0 -65
- package/dist/esm/hi-7ea0af49.js.map +0 -1
- package/dist/esm/hr-095f65d3.js +0 -80
- package/dist/esm/hr-095f65d3.js.map +0 -1
- package/dist/esm/hu-865ad188.js +0 -88
- package/dist/esm/hu-865ad188.js.map +0 -1
- package/dist/esm/id-166753d2.js +0 -66
- package/dist/esm/id-166753d2.js.map +0 -1
- package/dist/esm/index-15f771ad.js +0 -206
- package/dist/esm/index-15f771ad.js.map +0 -1
- package/dist/esm/index-718a1912.js +0 -73
- package/dist/esm/index-718a1912.js.map +0 -1
- package/dist/esm/index-c5927327.js +0 -2620
- package/dist/esm/index-c5927327.js.map +0 -1
- package/dist/esm/interactive-7d14016f.js +0 -136
- package/dist/esm/interactive-7d14016f.js.map +0 -1
- package/dist/esm/it-c9b329ad.js +0 -66
- package/dist/esm/it-c9b329ad.js.map +0 -1
- package/dist/esm/it-ch-95db05de.js +0 -66
- package/dist/esm/it-ch-95db05de.js.map +0 -1
- package/dist/esm/ja-e5777426.js +0 -72
- package/dist/esm/ja-e5777426.js.map +0 -1
- package/dist/esm/key-cbd7bda4.js +0 -13
- package/dist/esm/key-cbd7bda4.js.map +0 -1
- package/dist/esm/ko-fa1cbe56.js +0 -72
- package/dist/esm/ko-fa1cbe56.js.map +0 -1
- package/dist/esm/label-4e7a2660.js +0 -176
- package/dist/esm/label-4e7a2660.js.map +0 -1
- package/dist/esm/loadable-a1de4e95.js +0 -86
- package/dist/esm/loadable-a1de4e95.js.map +0 -1
- package/dist/esm/locale-3e047066.js +0 -563
- package/dist/esm/locale-3e047066.js.map +0 -1
- package/dist/esm/lt-145e8dc2.js +0 -97
- package/dist/esm/lt-145e8dc2.js.map +0 -1
- package/dist/esm/lv-f0990115.js +0 -66
- package/dist/esm/lv-f0990115.js.map +0 -1
- package/dist/esm/math-29793169.js +0 -51
- package/dist/esm/math-29793169.js.map +0 -1
- package/dist/esm/mk-c85f369b.js +0 -66
- package/dist/esm/mk-c85f369b.js.map +0 -1
- package/dist/esm/nb-5c8de923.js +0 -67
- package/dist/esm/nb-5c8de923.js.map +0 -1
- package/dist/esm/nl-6ea60a03.js +0 -67
- package/dist/esm/nl-6ea60a03.js.map +0 -1
- package/dist/esm/observers-78e78d2a.js +0 -48
- package/dist/esm/observers-78e78d2a.js.map +0 -1
- package/dist/esm/openCloseComponent-bd2fbb9b.js +0 -87
- package/dist/esm/openCloseComponent-bd2fbb9b.js.map +0 -1
- package/dist/esm/pl-13987bc8.js +0 -114
- package/dist/esm/pl-13987bc8.js.map +0 -1
- package/dist/esm/pt-br-a9292466.js +0 -65
- package/dist/esm/pt-br-a9292466.js.map +0 -1
- package/dist/esm/pt-d68aa10d.js +0 -67
- package/dist/esm/pt-d68aa10d.js.map +0 -1
- package/dist/esm/resources-05e37c90.js +0 -25
- package/dist/esm/resources-05e37c90.js.map +0 -1
- package/dist/esm/resources-18ea645d.js +0 -387
- package/dist/esm/resources-18ea645d.js.map +0 -1
- package/dist/esm/resources-7041feea.js +0 -45
- package/dist/esm/resources-7041feea.js.map +0 -1
- package/dist/esm/resources-718a4af7.js +0 -23
- package/dist/esm/resources-718a4af7.js.map +0 -1
- package/dist/esm/resources-a1d34c3c.js +0 -21
- package/dist/esm/resources-a1d34c3c.js.map +0 -1
- package/dist/esm/resources-b5867d9c.js +0 -19
- package/dist/esm/resources-b5867d9c.js.map +0 -1
- package/dist/esm/resources-e6f305f0.js +0 -17
- package/dist/esm/resources-e6f305f0.js.map +0 -1
- package/dist/esm/ro-0c43e955.js +0 -66
- package/dist/esm/ro-0c43e955.js.map +0 -1
- package/dist/esm/ru-7ae5f1f7.js +0 -126
- package/dist/esm/ru-7ae5f1f7.js.map +0 -1
- package/dist/esm/sk-9bafa76c.js +0 -148
- package/dist/esm/sk-9bafa76c.js.map +0 -1
- package/dist/esm/sl-5ca377dc.js +0 -168
- package/dist/esm/sl-5ca377dc.js.map +0 -1
- package/dist/esm/sortableComponent-df2a38b9.js +0 -2735
- package/dist/esm/sortableComponent-df2a38b9.js.map +0 -1
- package/dist/esm/sr-fdafd997.js +0 -101
- package/dist/esm/sr-fdafd997.js.map +0 -1
- package/dist/esm/sv-4fc21b55.js +0 -71
- package/dist/esm/sv-4fc21b55.js.map +0 -1
- package/dist/esm/t9n-1b78af51.js +0 -92
- package/dist/esm/t9n-1b78af51.js.map +0 -1
- package/dist/esm/th-088797e4.js +0 -65
- package/dist/esm/th-088797e4.js.map +0 -1
- package/dist/esm/throttle-6985030c.js +0 -75
- package/dist/esm/throttle-6985030c.js.map +0 -1
- package/dist/esm/tr-a6ce8e74.js +0 -66
- package/dist/esm/tr-a6ce8e74.js.map +0 -1
- package/dist/esm/uk-6dfbbbb8.js +0 -104
- package/dist/esm/uk-6dfbbbb8.js.map +0 -1
- package/dist/esm/utils-064f3e83.js +0 -289
- package/dist/esm/utils-064f3e83.js.map +0 -1
- package/dist/esm/utils-300e747f.js +0 -200
- package/dist/esm/utils-300e747f.js.map +0 -1
- package/dist/esm/vi-58c763f4.js +0 -70
- package/dist/esm/vi-58c763f4.js.map +0 -1
- package/dist/esm/zh-cn-b54a1e17.js +0 -94
- package/dist/esm/zh-cn-b54a1e17.js.map +0 -1
- package/dist/esm/zh-hk-84d09589.js +0 -71
- package/dist/esm/zh-hk-84d09589.js.map +0 -1
- package/dist/esm/zh-tw-c9834cf0.js +0 -92
- package/dist/esm/zh-tw-c9834cf0.js.map +0 -1
- /package/dist/calcite/{p-966ff128.js.map → p-06490778.js.map} +0 -0
- /package/dist/calcite/{p-cbcc479a.entry.js.map → p-0a0eeffe.entry.js.map} +0 -0
- /package/dist/calcite/{p-d3627cbd.js.map → p-0ef2f935.js.map} +0 -0
- /package/dist/calcite/{p-68edde72.js.map → p-124869ee.js.map} +0 -0
- /package/dist/calcite/{p-ab8333f4.js.map → p-145bd281.js.map} +0 -0
- /package/dist/calcite/{p-9f9f2610.js.map → p-145f286d.js.map} +0 -0
- /package/dist/calcite/{p-2074af32.js.map → p-1957fcc9.js.map} +0 -0
- /package/dist/calcite/{p-eda07208.js.map → p-195c7b50.js.map} +0 -0
- /package/dist/calcite/{p-b1270b80.js.map → p-1abe9e4e.js.map} +0 -0
- /package/dist/calcite/{p-f79d4f9e.entry.js.map → p-1e710651.entry.js.map} +0 -0
- /package/dist/calcite/{p-d8425f1b.js.map → p-1ec926f0.js.map} +0 -0
- /package/dist/calcite/{p-72a3e0eb.js.map → p-1edec0f0.js.map} +0 -0
- /package/dist/calcite/{p-bafb9086.entry.js.map → p-1fe9c334.entry.js.map} +0 -0
- /package/dist/calcite/{p-3a1532df.js.map → p-2294820c.js.map} +0 -0
- /package/dist/calcite/{p-918685db.entry.js.map → p-23913b84.entry.js.map} +0 -0
- /package/dist/calcite/{p-3401e225.js.map → p-29a904f0.js.map} +0 -0
- /package/dist/calcite/{p-85c787c9.js.map → p-2b84f838.js.map} +0 -0
- /package/dist/calcite/{p-fd727f3e.js.map → p-2d46d7a5.js.map} +0 -0
- /package/dist/calcite/{p-9bf4a131.js.map → p-2d5fc9db.js.map} +0 -0
- /package/dist/calcite/{p-ac2a91d8.entry.js.map → p-2e70ce39.entry.js.map} +0 -0
- /package/dist/calcite/{p-797435e3.entry.js.map → p-2eabad28.entry.js.map} +0 -0
- /package/dist/calcite/{p-f08765e4.js.map → p-2fa6d50d.js.map} +0 -0
- /package/dist/calcite/{p-7788819a.entry.js.map → p-2fdc2238.entry.js.map} +0 -0
- /package/dist/calcite/{p-da68df06.js.map → p-33f0bc3c.js.map} +0 -0
- /package/dist/calcite/{p-ecbf8738.js.map → p-390add01.js.map} +0 -0
- /package/dist/calcite/{p-e04bf743.entry.js.map → p-3977c4e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-bbca2939.js.map → p-3a0aee81.js.map} +0 -0
- /package/dist/calcite/{p-a5afbe13.js.map → p-3adf970b.js.map} +0 -0
- /package/dist/calcite/{p-b0dcf746.js.map → p-3d0cdd69.js.map} +0 -0
- /package/dist/calcite/{p-10ce1025.js.map → p-4054d9c0.js.map} +0 -0
- /package/dist/calcite/{p-00ec3b40.entry.js.map → p-41339523.entry.js.map} +0 -0
- /package/dist/calcite/{p-500c21e3.js.map → p-413d71e5.js.map} +0 -0
- /package/dist/calcite/{p-5bf1aaca.entry.js.map → p-42e8d643.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ba52137.entry.js.map → p-42f49159.entry.js.map} +0 -0
- /package/dist/calcite/{p-b0905701.entry.js.map → p-43636920.entry.js.map} +0 -0
- /package/dist/calcite/{p-68c09996.js.map → p-448fe2b2.js.map} +0 -0
- /package/dist/calcite/{p-3eccd737.entry.js.map → p-45fda941.entry.js.map} +0 -0
- /package/dist/calcite/{p-88d2daad.entry.js.map → p-464c22ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-1554e4ce.entry.js.map → p-4a0df738.entry.js.map} +0 -0
- /package/dist/calcite/{p-03514f40.js.map → p-4af564ff.js.map} +0 -0
- /package/dist/calcite/{p-ad553e66.js.map → p-4b2aee04.js.map} +0 -0
- /package/dist/calcite/{p-f584d2fa.js.map → p-4d45afbd.js.map} +0 -0
- /package/dist/calcite/{p-877022f2.js.map → p-4f1eb6f6.js.map} +0 -0
- /package/dist/calcite/{p-d962db95.js.map → p-4fe6c584.js.map} +0 -0
- /package/dist/calcite/{p-70314047.js.map → p-503e35c2.js.map} +0 -0
- /package/dist/calcite/{p-465e3b6d.js.map → p-50b7abc4.js.map} +0 -0
- /package/dist/calcite/{p-17d1b050.js.map → p-50f6cfbf.js.map} +0 -0
- /package/dist/calcite/{p-3b24c890.js.map → p-54a813a0.js.map} +0 -0
- /package/dist/calcite/{p-ed0d2d66.js.map → p-5bb5c6be.js.map} +0 -0
- /package/dist/calcite/{p-a4b20142.js.map → p-5c963584.js.map} +0 -0
- /package/dist/calcite/{p-0c82022e.entry.js.map → p-6085ad9b.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3e91631.js.map → p-6371fa56.js.map} +0 -0
- /package/dist/calcite/{p-2b228bdb.js.map → p-675bf202.js.map} +0 -0
- /package/dist/calcite/{p-d88fafe2.entry.js.map → p-6b10db6d.entry.js.map} +0 -0
- /package/dist/calcite/{p-336ecede.js.map → p-6b652fa0.js.map} +0 -0
- /package/dist/calcite/{p-227cf9b0.entry.js.map → p-6b9bb0d8.entry.js.map} +0 -0
- /package/dist/calcite/{p-f90759a5.js.map → p-6d16a2a8.js.map} +0 -0
- /package/dist/calcite/{p-d7e01f48.entry.js.map → p-7031b23a.entry.js.map} +0 -0
- /package/dist/calcite/{p-f13c04dd.js.map → p-70e051c5.js.map} +0 -0
- /package/dist/calcite/{p-1ebf9938.js.map → p-723f713a.js.map} +0 -0
- /package/dist/calcite/{p-9a7772a1.js.map → p-72ea4434.js.map} +0 -0
- /package/dist/calcite/{p-0a21ae9a.entry.js.map → p-73bdcddc.entry.js.map} +0 -0
- /package/dist/calcite/{p-89a69461.entry.js.map → p-7623794f.entry.js.map} +0 -0
- /package/dist/calcite/{p-9d1c5523.js.map → p-7859be3f.js.map} +0 -0
- /package/dist/calcite/{p-cfd360ee.entry.js.map → p-791f23c0.entry.js.map} +0 -0
- /package/dist/calcite/{p-902b3ccb.js.map → p-7956b18a.js.map} +0 -0
- /package/dist/calcite/{p-35de244d.js.map → p-7c4cfdb6.js.map} +0 -0
- /package/dist/calcite/{p-8ed05206.entry.js.map → p-8a10243e.entry.js.map} +0 -0
- /package/dist/calcite/{p-39154db7.entry.js.map → p-8cb094ec.entry.js.map} +0 -0
- /package/dist/calcite/{p-b5c8e70f.js.map → p-8ee033b6.js.map} +0 -0
- /package/dist/calcite/{p-a7392021.entry.js.map → p-91140c5c.entry.js.map} +0 -0
- /package/dist/calcite/{p-b217290a.entry.js.map → p-95db7a47.entry.js.map} +0 -0
- /package/dist/calcite/{p-6111ea41.js.map → p-99f0d3a6.js.map} +0 -0
- /package/dist/calcite/{p-3e5298b9.entry.js.map → p-9a1fd619.entry.js.map} +0 -0
- /package/dist/calcite/{p-fd1568c2.js.map → p-9e86cd2c.js.map} +0 -0
- /package/dist/calcite/{p-aaedee41.entry.js.map → p-9f430073.entry.js.map} +0 -0
- /package/dist/calcite/{p-47351c6c.js.map → p-a01c5aa1.js.map} +0 -0
- /package/dist/calcite/{p-330dcff5.entry.js.map → p-a41c0f75.entry.js.map} +0 -0
- /package/dist/calcite/{p-f2055d6b.js.map → p-a527bf94.js.map} +0 -0
- /package/dist/calcite/{p-2ec1ae1f.js.map → p-a555264c.js.map} +0 -0
- /package/dist/calcite/{p-788b097d.js.map → p-a704f472.js.map} +0 -0
- /package/dist/calcite/{p-09d785b7.entry.js.map → p-a83f86c9.entry.js.map} +0 -0
- /package/dist/calcite/{p-677fb004.js.map → p-a93b4fdd.js.map} +0 -0
- /package/dist/calcite/{p-9cf924a8.js.map → p-aaff296b.js.map} +0 -0
- /package/dist/calcite/{p-12b96fb7.entry.js.map → p-ad48f2b5.entry.js.map} +0 -0
- /package/dist/calcite/{p-7183efb5.js.map → p-ae972066.js.map} +0 -0
- /package/dist/calcite/{p-f800b560.js.map → p-b0104ee5.js.map} +0 -0
- /package/dist/calcite/{p-2c9f261b.entry.js.map → p-b03f633f.entry.js.map} +0 -0
- /package/dist/calcite/{p-8c2c7db0.js.map → p-b2a56129.js.map} +0 -0
- /package/dist/calcite/{p-dc287520.js.map → p-b3e0d4be.js.map} +0 -0
- /package/dist/calcite/{p-58c39dbe.js.map → p-b5b5a20e.js.map} +0 -0
- /package/dist/calcite/{p-4d033e97.entry.js.map → p-b879245f.entry.js.map} +0 -0
- /package/dist/calcite/{p-c3d8dcdc.js.map → p-b91d3a11.js.map} +0 -0
- /package/dist/calcite/{p-1844f3c8.js.map → p-bb527c2f.js.map} +0 -0
- /package/dist/calcite/{p-214ccc59.entry.js.map → p-bb855c74.entry.js.map} +0 -0
- /package/dist/calcite/{p-eee1c1ae.js.map → p-c145d47f.js.map} +0 -0
- /package/dist/calcite/{p-23373769.js.map → p-c225b70c.js.map} +0 -0
- /package/dist/calcite/{p-6afafcdf.entry.js.map → p-c341a148.entry.js.map} +0 -0
- /package/dist/calcite/{p-61532044.js.map → p-c41c9fe8.js.map} +0 -0
- /package/dist/calcite/{p-26555df5.js.map → p-c431d634.js.map} +0 -0
- /package/dist/calcite/{p-1457e761.js.map → p-c89653f0.js.map} +0 -0
- /package/dist/calcite/{p-86b0f2f3.entry.js.map → p-c91157e3.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf3f540f.js.map → p-c9abb4c9.js.map} +0 -0
- /package/dist/calcite/{p-e57c8997.js.map → p-cd397cdd.js.map} +0 -0
- /package/dist/calcite/{p-9c9d42c5.entry.js.map → p-ce1beb6d.entry.js.map} +0 -0
- /package/dist/calcite/{p-156ce16b.js.map → p-d26c3b83.js.map} +0 -0
- /package/dist/calcite/{p-de939342.js.map → p-d4392c6f.js.map} +0 -0
- /package/dist/calcite/{p-842853b7.js.map → p-d43c6bc7.js.map} +0 -0
- /package/dist/calcite/{p-d94d869b.entry.js.map → p-d5e669ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-6e961f06.js.map → p-d6f71dd6.js.map} +0 -0
- /package/dist/calcite/{p-686c4ba3.js.map → p-dbd314d1.js.map} +0 -0
- /package/dist/calcite/{p-ced06054.js.map → p-dbd7c9c4.js.map} +0 -0
- /package/dist/calcite/{p-b936e0ca.js.map → p-dd3d599f.js.map} +0 -0
- /package/dist/calcite/{p-b2e233de.entry.js.map → p-e02aa424.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a5e4703.js.map → p-e044c943.js.map} +0 -0
- /package/dist/calcite/{p-5078829f.js.map → p-e756e061.js.map} +0 -0
- /package/dist/calcite/{p-4f1be9a0.js.map → p-e77f3b86.js.map} +0 -0
- /package/dist/calcite/{p-41186de8.js.map → p-ea5419fc.js.map} +0 -0
- /package/dist/calcite/{p-163b702a.js.map → p-ea9db3f6.js.map} +0 -0
- /package/dist/calcite/{p-b2cdfa31.js.map → p-eb20a879.js.map} +0 -0
- /package/dist/calcite/{p-e941de73.js.map → p-ec8dee06.js.map} +0 -0
- /package/dist/calcite/{p-e54d80ea.js.map → p-ecaabf44.js.map} +0 -0
- /package/dist/calcite/{p-739a6b48.js.map → p-f05faa32.js.map} +0 -0
- /package/dist/calcite/{p-6d1e0c66.entry.js.map → p-f09a1f05.entry.js.map} +0 -0
- /package/dist/calcite/{p-eea4b5c6.entry.js.map → p-f15dcca4.entry.js.map} +0 -0
- /package/dist/calcite/{p-aa046ae1.js.map → p-f45eb0a7.js.map} +0 -0
- /package/dist/calcite/{p-e7a19067.js.map → p-f942d000.js.map} +0 -0
- /package/dist/calcite/{p-e86d6fe4.entry.js.map → p-f98d8d67.entry.js.map} +0 -0
- /package/dist/calcite/{p-c21996d8.js.map → p-fa5f3e7f.js.map} +0 -0
- /package/dist/calcite/{p-0c74332d.entry.js.map → p-fb8e906e.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ae4df79.entry.js.map → p-fc2579fe.entry.js.map} +0 -0
- /package/dist/calcite/{p-589c83ff.entry.js.map → p-fd19bb23.entry.js.map} +0 -0
- /package/dist/calcite/{p-ccece29c.entry.js.map → p-ffb49d39.entry.js.map} +0 -0
- /package/dist/calcite/{p-3e5dfc05.js.map → p-ffbd0985.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-notice.js","mappings":";;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,miMAAmiM;;MC2DxiM,MAAM;;;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAyBF,uBAAkB,GAAG,SAAS,CAAC;oBAjOgB,KAAK;oBAWhD,OAAO;wBAGyB,KAAK;;2BAQF,KAAK;qBAGJ,GAAG;qBAGH,MAAM;;;;;;IAzB9C,WAAW;QACT,0BAA0B,CAAC,IAAI,CAAC,CAAC;KAClC;IAwCD,gBAAgB;;KAEf;IAID,mBAAmB;QACjB,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AE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component (will apply to top border and icon). */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: NoticeMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-notice.js","mappings":";;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,miMAAmiM;;MC2DxiM,MAAM;;;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAyBF,uBAAkB,GAAG,SAAS,CAAC;oBAjOgB,KAAK;oBAWhD,OAAO;wBAGyB,KAAK;;2BAQF,KAAK;qBAGJ,GAAG;qBAGH,MAAM;;;;;;IAzB9C,WAAW;QACT,0BAA0B,CAAC,IAAI,CAAC,CAAC;KAClC;IAwCD,gBAAgB;;KAEf;IAID,mBAAmB;QACjB,IAAI,CAAC,aAAa,GAAG,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;KACxE;;;;;;IAQD,iBAAiB;QACf,+BAA+B,CAAC,IAAI,CAAC,CAAC;QACtC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACvB,eAAe,CAAC,IAAI,CAAC,CAAC;KACvB;IAED,oBAAoB;QAClB,kCAAkC,CAAC,IAAI,CAAC,CAAC;QACzC,mBAAmB,C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B,YAAM,IAAI,EAAE,KAAK,CAAC,KAAK,GAAI,EAC3B,YAAM,IAAI,EAAE,KAAK,CAAC,OAAO,GAAI,EAC7B,YAAM,IAAI,EAAE,KAAK,CAAC,IAAI,GAAI,CACtB,EACL,YAAY,IACX,WAAK,KAAK,EAAE,GAAG,CAAC,UAAU,IACxB,YAAM,IAAI,EAAE,KAAK,CAAC,UAAU,GAAI,CAC5B,IACJ,IAAI,EACP,IAAI,CAAC,QAAQ,GAAG,WAAW,GAAG,IAAI,CAC/B,EACN;KACH;;;;;;;IA4BD,MAAM,QAAQ;QACZ,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAE/B,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;QAE3D,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,YAAY,EAAE;YACtC,OAAO;SACR;QACD,IAAI,YAAY,EAAE;YAChB,OAAO,YAAY,CAAC,QAAQ,EAAE,CAAC;SAChC;aAAM,IAAI,IAAI,CAAC,WAAW,EAAE;YAC3B,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;SAC1B;KACF;IAED,aAAa;QACX,IAAI,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAAC;KACtC;IAED,YAAY;QACV,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: NoticeMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|
|
@@ -1,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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { P as Pagination, d as defineCustomElement$1 } from './pagination.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { P as Panel, d as defineCustomElement$1 } from './panel.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { P as PickListItem, d as defineCustomElement$1 } from './pick-list-item.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-pick-list.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,gtCAAgtC;;MC6DvtC,QAAQ;;;;;;;QAoFnB,qBAAgB,GAAgB,IAAI,CAAC;QAErC,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAmGnF,gBAAW,GAAG,CAAC,EAA4B;YACzC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;SACpB,CAAC;QAEF,qBAAgB,GAAG,CAAC,aAAoB;YACtC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACpC,CAAC;QAEF,yBAAoB,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvD,yBA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AkB;QAC1D,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,IAAI,CAAC,WAAW,EAAE,CAAC;KACpB;IAGD,yCAAyC,CAAC,KAAkB;QAC1D,yCAAyC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5D,KAAK,CAAC,eAAe,EAAE,CAAC;KACzB;IAGD,0BAA0B,CAAC,KAAiB;QAC1C,0BAA0B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KAC9C;;;;;;IAQD,UAAU;QACR,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;KACjD;IAED,WAAW;QACT,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;SACzC;KACF;;;;;;;IAgCD,MAAM,gBAAgB;QACpB,OAAO,IAAI,CAAC,cAAc,CAAC;KAC5B;;;;;;IAQD,MAAM,QAAQ,CAAC,OAAqB;QAClC,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAE/B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;KACrC;;;;;;IAQD,WAAW;QACT,OAAO,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;KAC9D;IAED,MAAM;QACJ,OAAO,EAAC,IAAI,IAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,GAAI,CAAC;KAC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/pick-list/pick-list.scss?tag=calcite-pick-list&encapsulation=shadow","src/components/pick-list/pick-list.tsx"],"sourcesContent":[":host {\n @apply text-color-2\n text-n1h\n relative\n box-border\n flex\n flex-shrink-0\n flex-grow\n flex-col\n items-stretch\n bg-transparent;\n\n * {\n @apply box-border;\n }\n}\n\n@include disabled();\n\n:host([filter-enabled]) header {\n @apply bg-foreground-1\n mb-1\n flex\n items-stretch\n justify-end;\n &.sticky-pos {\n @apply sticky top-0 z-default;\n }\n @apply shadow-border-bottom;\n}\n\ncalcite-filter {\n @apply mb-0;\n}\n\n:host([loading][disabled]) {\n min-block-size: 2rem;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n} from \"@stencil/core\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { HeadingLevel } from \"../functional/Heading\";\nimport { ICON_TYPES } from \"./resources\";\nimport {\n calciteInternalListItemValueChangeHandler,\n calciteListFocusOutHandler,\n calciteListItemChangeHandler,\n cleanUpObserver,\n deselectRemovedItems,\n deselectSiblingItems,\n getItemData,\n handleFilter,\n handleFilterEvent,\n handleInitialFilter,\n initialize,\n initializeObserver,\n ItemData,\n keyDownHandler,\n ListFocusId,\n mutationObserverCallback,\n removeItem,\n selectSiblings,\n setFocus,\n setUpItems,\n} from \"./shared-list-logic\";\nimport List from \"./shared-list-render\";\n\n/**\n * @deprecated Use the `list` component instead.\n * @slot - A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list.\n * @slot menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting.\n */\n@Component({\n tag: \"calcite-pick-list\",\n styleUrl: \"pick-list.scss\",\n shadow: true,\n})\nexport class PickList<\n ItemElement extends HTMLCalcitePickListItemElement = HTMLCalcitePickListItemElement,\n >\n implements InteractiveComponent, LoadableComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The currently filtered items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalcitePickListItemElement[] = [];\n\n /**\n * The currently filtered data.\n *\n * @readonly\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by shared-list-logic\n @Prop({ mutable: true }) filteredData: ItemData = [];\n\n /**\n * When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.\n */\n @Prop({ reflect: true }) filterEnabled = false;\n\n /**\n * Placeholder text for the filter input field.\n */\n @Prop({ reflect: true }) filterPlaceholder: string;\n\n /**\n * Text for the filter input field.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by shared-list-logic\n @Prop({ reflect: true, mutable: true }) filterText: string;\n\n /**\n * Specifies the number at which section headings should start.\n */\n @Prop({ reflect: true }) headingLevel: HeadingLevel;\n\n /**\n * When `true`, a busy indicator is displayed.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Similar to standard radio buttons and checkboxes.\n * When `true`, a user can select multiple `calcite-pick-list-item`s at a time.\n * When `false`, only a single `calcite-pick-list-item` can be selected at a time,\n * and a new selection will deselect previous selections.\n */\n @Prop({ reflect: true }) multiple = false;\n\n /**\n * When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.\n */\n @Prop({ reflect: true }) selectionFollowsFocus = false;\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalcitePickListElement;\n\n @State() selectedValues: Map<string, ItemElement> = new Map();\n\n @State() dataForFilter: ItemData = [];\n\n items: ItemElement[];\n\n lastSelectedItem: ItemElement = null;\n\n mutationObserver = createObserver(\"mutation\", mutationObserverCallback.bind(this));\n\n emitCalciteListChange: () => void;\n\n emitCalciteListFilter: () => void;\n\n filterEl: HTMLCalciteFilterElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n initialize.call(this);\n initializeObserver.call(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n cleanUpObserver.call(this);\n disconnectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n handleInitialFilter.call(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Emits when any of the `calcite-pick-list-item` selections have changed.\n */\n @Event({ cancelable: false }) calciteListChange: EventEmitter<\n Map<string, HTMLCalcitePickListItemElement>\n >;\n\n /**\n * Emits when a filter has changed.\n */\n @Event({ cancelable: false }) calciteListFilter: EventEmitter<void>;\n\n @Listen(\"calciteListItemRemove\")\n calciteListItemRemoveHandler(event: CustomEvent<void>): void {\n removeItem.call(this, event);\n }\n\n @Listen(\"calciteListItemChange\")\n calciteListItemChangeHandler(event: CustomEvent): void {\n calciteListItemChangeHandler.call(this, event);\n }\n\n @Listen(\"calciteInternalListItemPropsChange\")\n calciteInternalListItemPropsChangeHandler(event: CustomEvent): void {\n event.stopPropagation();\n this.setUpFilter();\n }\n\n @Listen(\"calciteInternalListItemValueChange\")\n calciteInternalListItemValueChangeHandler(event: CustomEvent): void {\n calciteInternalListItemValueChangeHandler.call(this, event);\n event.stopPropagation();\n }\n\n @Listen(\"focusout\")\n calciteListFocusOutHandler(event: FocusEvent): void {\n calciteListFocusOutHandler.call(this, event);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n setUpItems(): void {\n setUpItems.call(this, \"calcite-pick-list-item\");\n }\n\n setUpFilter(): void {\n if (this.filterEnabled) {\n this.dataForFilter = this.getItemData();\n }\n }\n\n setFilterEl = (el: HTMLCalciteFilterElement): void => {\n this.filterEl = el;\n };\n\n setFilteredItems = (filteredItems: any[]): void => {\n this.filteredItems = filteredItems;\n };\n\n deselectRemovedItems = deselectRemovedItems.bind(this);\n\n deselectSiblingItems = deselectSiblingItems.bind(this);\n\n selectSiblings = selectSiblings.bind(this);\n\n handleFilter = handleFilter.bind(this);\n\n handleFilterEvent = handleFilterEvent.bind(this);\n\n getItemData = getItemData.bind(this);\n\n keyDownHandler = keyDownHandler.bind(this);\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /** Returns the component's selected `calcite-pick-list-item`s. */\n @Method()\n async getSelectedItems(): Promise<Map<string, HTMLCalcitePickListItemElement>> {\n return this.selectedValues;\n }\n\n /**\n * Sets focus on the component's first focusable element.\n *\n * @param focusId\n */\n @Method()\n async setFocus(focusId?: ListFocusId): Promise<void> {\n await componentFocusable(this);\n\n return setFocus.call(this, focusId);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n getIconType(): ICON_TYPES {\n return this.multiple ? ICON_TYPES.square : ICON_TYPES.circle;\n }\n\n render(): VNode {\n return <List onKeyDown={this.keyDownHandler} props={this} />;\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-pick-list.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,gtCAAgtC;;MC6DvtC,QAAQ;;;;;;;QAoFnB,qBAAgB,GAAgB,IAAI,CAAC;QAErC,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAmGnF,gBAAW,GAAG,CAAC,EAA4B;YACzC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;SACpB,CAAC;QAEF,qBAAgB,GAAG,CAAC,aAAoB;YACtC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACpC,CAAC;QAEF,yBAAoB,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvD,yBAAoB,GAAG,oBAAoB,CAAC,IAAI,CAA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,CAAC;QACxB,IAAI,CAAC,WAAW,EAAE,CAAC;KACpB;IAGD,yCAAyC,CAAC,KAAkB;QAC1D,yCAAyC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5D,KAAK,CAAC,eAAe,EAAE,CAAC;KACzB;IAGD,0BAA0B,CAAC,KAAiB;QAC1C,0BAA0B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KAC9C;;;;;;IAQD,UAAU;QACR,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;KACjD;IAED,WAAW;QACT,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;SACzC;KACF;;;;;;;IAgCD,MAAM,gBAAgB;QACpB,OAAO,IAAI,CAAC,cAAc,CAAC;KAC5B;;;;;;IAQD,MAAM,QAAQ,CAAC,OAAqB;QAClC,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAE/B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;KACrC;;;;;;IAQD,WAAW;QACT,OAAO,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;KAC9D;IAED,MAAM;QACJ,OAAO,EAAC,IAAI,IAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,GAAI,CAAC;KAC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/pick-list/pick-list.scss?tag=calcite-pick-list&encapsulation=shadow","src/components/pick-list/pick-list.tsx"],"sourcesContent":[":host {\n @apply text-color-2\n text-n1h\n relative\n box-border\n flex\n flex-shrink-0\n flex-grow\n flex-col\n items-stretch\n bg-transparent;\n\n * {\n @apply box-border;\n }\n}\n\n@include disabled();\n\n:host([filter-enabled]) header {\n @apply bg-foreground-1\n mb-1\n flex\n items-stretch\n justify-end;\n &.sticky-pos {\n @apply sticky top-0 z-default;\n }\n @apply shadow-border-bottom;\n}\n\ncalcite-filter {\n @apply mb-0;\n}\n\n:host([loading][disabled]) {\n min-block-size: 2rem;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n} from \"@stencil/core\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { HeadingLevel } from \"../functional/Heading\";\nimport { ICON_TYPES } from \"./resources\";\nimport {\n calciteInternalListItemValueChangeHandler,\n calciteListFocusOutHandler,\n calciteListItemChangeHandler,\n cleanUpObserver,\n deselectRemovedItems,\n deselectSiblingItems,\n getItemData,\n handleFilter,\n handleFilterEvent,\n handleInitialFilter,\n initialize,\n initializeObserver,\n ItemData,\n keyDownHandler,\n ListFocusId,\n mutationObserverCallback,\n removeItem,\n selectSiblings,\n setFocus,\n setUpItems,\n} from \"./shared-list-logic\";\nimport List from \"./shared-list-render\";\n\n/**\n * @deprecated Use the `list` component instead.\n * @slot - A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list.\n * @slot menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting.\n */\n@Component({\n tag: \"calcite-pick-list\",\n styleUrl: \"pick-list.scss\",\n shadow: true,\n})\nexport class PickList<\n ItemElement extends HTMLCalcitePickListItemElement = HTMLCalcitePickListItemElement,\n >\n implements InteractiveComponent, LoadableComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The component's filtered items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalcitePickListItemElement[] = [];\n\n /**\n * The component's filtered data.\n *\n * @readonly\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by shared-list-logic\n @Prop({ mutable: true }) filteredData: ItemData = [];\n\n /**\n * When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.\n */\n @Prop({ reflect: true }) filterEnabled = false;\n\n /**\n * Placeholder text for the filter input field.\n */\n @Prop({ reflect: true }) filterPlaceholder: string;\n\n /**\n * Text for the filter input field.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by shared-list-logic\n @Prop({ reflect: true, mutable: true }) filterText: string;\n\n /**\n * Specifies the number at which section headings should start.\n */\n @Prop({ reflect: true }) headingLevel: HeadingLevel;\n\n /**\n * When `true`, a busy indicator is displayed.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Similar to standard radio buttons and checkboxes.\n * When `true`, a user can select multiple `calcite-pick-list-item`s at a time.\n * When `false`, only a single `calcite-pick-list-item` can be selected at a time,\n * and a new selection will deselect previous selections.\n */\n @Prop({ reflect: true }) multiple = false;\n\n /**\n * When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.\n */\n @Prop({ reflect: true }) selectionFollowsFocus = false;\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalcitePickListElement;\n\n @State() selectedValues: Map<string, ItemElement> = new Map();\n\n @State() dataForFilter: ItemData = [];\n\n items: ItemElement[];\n\n lastSelectedItem: ItemElement = null;\n\n mutationObserver = createObserver(\"mutation\", mutationObserverCallback.bind(this));\n\n emitCalciteListChange: () => void;\n\n emitCalciteListFilter: () => void;\n\n filterEl: HTMLCalciteFilterElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n initialize.call(this);\n initializeObserver.call(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n cleanUpObserver.call(this);\n disconnectInteractive(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n handleInitialFilter.call(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Emits when any of the `calcite-pick-list-item` selections have changed.\n */\n @Event({ cancelable: false }) calciteListChange: EventEmitter<\n Map<string, HTMLCalcitePickListItemElement>\n >;\n\n /**\n * Emits when a filter has changed.\n */\n @Event({ cancelable: false }) calciteListFilter: EventEmitter<void>;\n\n @Listen(\"calciteListItemRemove\")\n calciteListItemRemoveHandler(event: CustomEvent<void>): void {\n removeItem.call(this, event);\n }\n\n @Listen(\"calciteListItemChange\")\n calciteListItemChangeHandler(event: CustomEvent): void {\n calciteListItemChangeHandler.call(this, event);\n }\n\n @Listen(\"calciteInternalListItemPropsChange\")\n calciteInternalListItemPropsChangeHandler(event: CustomEvent): void {\n event.stopPropagation();\n this.setUpFilter();\n }\n\n @Listen(\"calciteInternalListItemValueChange\")\n calciteInternalListItemValueChangeHandler(event: CustomEvent): void {\n calciteInternalListItemValueChangeHandler.call(this, event);\n event.stopPropagation();\n }\n\n @Listen(\"focusout\")\n calciteListFocusOutHandler(event: FocusEvent): void {\n calciteListFocusOutHandler.call(this, event);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n setUpItems(): void {\n setUpItems.call(this, \"calcite-pick-list-item\");\n }\n\n setUpFilter(): void {\n if (this.filterEnabled) {\n this.dataForFilter = this.getItemData();\n }\n }\n\n setFilterEl = (el: HTMLCalciteFilterElement): void => {\n this.filterEl = el;\n };\n\n setFilteredItems = (filteredItems: any[]): void => {\n this.filteredItems = filteredItems;\n };\n\n deselectRemovedItems = deselectRemovedItems.bind(this);\n\n deselectSiblingItems = deselectSiblingItems.bind(this);\n\n selectSiblings = selectSiblings.bind(this);\n\n handleFilter = handleFilter.bind(this);\n\n handleFilterEvent = handleFilterEvent.bind(this);\n\n getItemData = getItemData.bind(this);\n\n keyDownHandler = keyDownHandler.bind(this);\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /** Returns the component's selected `calcite-pick-list-item`s. */\n @Method()\n async getSelectedItems(): Promise<Map<string, HTMLCalcitePickListItemElement>> {\n return this.selectedValues;\n }\n\n /**\n * Sets focus on the component's first focusable element.\n *\n * @param focusId\n */\n @Method()\n async setFocus(focusId?: ListFocusId): Promise<void> {\n await componentFocusable(this);\n\n return setFocus.call(this, focusId);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n getIconType(): ICON_TYPES {\n return this.multiple ? ICON_TYPES.square : ICON_TYPES.circle;\n }\n\n render(): VNode {\n return <List onKeyDown={this.keyDownHandler} props={this} />;\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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { P as Popover, d as defineCustomElement$1 } from './popover.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { P as Progress, d as defineCustomElement$1 } from './progress.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getRoundRobinIndex } from './array.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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { S as Scrim, d as defineCustomElement$1 } from './scrim.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
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';
|
|
@@ -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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { a as getElementDir } from './dom.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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as focusElement } from './dom.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,4wHAA4wH;;AC4C9xH,SAAS,QAAQ,CAAC,aA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BAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of items in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop() validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-select.js","mappings":";;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACnB;;ACLD,MAAM,SAAS,GAAG,4wHAA4wH;;AC4C9xH,SAAS,QAAQ,CAAC,aAA4B;IAC5C,OAAO,aAAa,CAAC,OAAO,KAAK,gBAAgB,CAAC;AACpD,CAAC;AAED,SAAS,aAAa,CACpB,aAA4B;IAE5B,OAAO,aAAa,CAAC,OAAO,KAAK,sBAAsB,CAAC;AAC1D,CAAC;MAUY,MAAM;;;;;;QA+FT,wBAAmB,GAAG,IAAI,GAAG,EAAsC,CAAC;QAEpE,qBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAoEnF,+BAA0B,GAAG;YACnC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YACtC,qBAAqB,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC;SACrD,CAAC;QAkDM,2BAAsB,GAAG;YAC/B,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CACjC,IAAI,CAAC,EAAE,CAAC,QAA6D,CACtE,CAAC,MAAM,C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,MAAM;QACJ,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAE1B,QACE,EAAC,IAAI,QACH,EAAC,oBAAoB,IAAC,QAAQ,EAAE,QAAQ,IACtC,WAAK,KAAK,EAAE,GAAG,CAAC,OAAO,IACrB,4BACc,YAAY,CAAC,IAAI,CAAC,EAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EACjB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,IAAI,CAAC,0BAA0B;;YAEzC,GAAG,EAAE,IAAI,CAAC,cAAc,IAExB,eAAQ,CACD,EACR,IAAI,CAAC,aAAa,EAAE,EACrB,EAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,GAAI,CACpC,EACL,IAAI,CAAC,iBAAiB,IACrB,EAAC,UAAU,IACT,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,GACnB,IACA,IAAI,CACa,CAClB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/select/resources.ts","src/components/select/select.scss?tag=calcite-select&encapsulation=shadow","src/components/select/select.tsx"],"sourcesContent":["export const CSS = {\n icon: \"icon\",\n iconContainer: \"icon-container\",\n select: \"select\",\n wrapper: \"wrapper\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-select-font-size: The font size of `calcite-option`s in the component.\n * @prop --calcite-select-spacing: The padding around the selected option text.\n */\n\n:host {\n @extend %component-spacing;\n @apply flex flex-col;\n}\n\n.wrapper {\n @apply relative flex items-stretch;\n inline-size: var(--select-width);\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n --calcite-select-font-size: theme(\"fontSize.n2h\");\n --calcite-select-spacing-inline: theme(\"spacing.2\") theme(\"spacing.8\");\n\n .wrapper {\n @apply h-6;\n }\n\n .icon-container {\n @apply px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-select-font-size: theme(\"fontSize.n1h\");\n --calcite-select-spacing-inline: theme(\"spacing.3\") theme(\"spacing.10\");\n\n .wrapper {\n @apply h-8;\n }\n\n .icon-container {\n @apply px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-select-font-size: theme(\"fontSize.0h\");\n --calcite-select-spacing-inline: theme(\"spacing.4\") theme(\"spacing.12\");\n\n .wrapper {\n block-size: 44px;\n }\n\n .icon-container {\n @apply px-4;\n }\n}\n\n:host([width=\"auto\"]) {\n @apply w-auto;\n}\n\n:host([width=\"half\"]) {\n @apply w-1/2;\n}\n\n:host([width=\"full\"]) {\n @apply w-full;\n}\n\n.select {\n @apply bg-foreground-1 border-color-input text-color-2 font-inherit focus-base m-0 box-border w-full cursor-pointer appearance-none truncate rounded-none border border-solid;\n font-size: var(--calcite-select-font-size);\n padding-inline: var(--calcite-select-spacing-inline);\n border-inline-end-width: theme(\"borderWidth.0\");\n\n &:focus {\n @apply focus-inset;\n }\n\n &:hover {\n @apply bg-foreground-2;\n }\n}\n\n// override user agent stylesheet disabled styling\nselect:disabled {\n @apply border-color-input bg-opacity-100;\n}\n\n.icon-container {\n @apply border-color-input text-color-2 pointer-events-none absolute inset-y-0 flex items-center border-0 border-solid bg-transparent;\n inset-inline-end: theme(\"inset.0\");\n border-inline-width: theme(\"borderWidth.0\") theme(\"borderWidth.DEFAULT\");\n}\n\n:host([status=\"invalid\"]) {\n select,\n .icon-container {\n @apply border-color-danger;\n }\n\n select:focus,\n .icon-container:focus {\n @apply focus-inset-danger;\n }\n}\n\n.select:focus ~ .icon-container {\n @apply border-color-transparent;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { focusElement } from \"../../utils/dom\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent, getLabelText } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { Scale, Status, Width } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\ntype OptionOrGroup = HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement;\ntype NativeOptionOrGroup = HTMLOptionElement | HTMLOptGroupElement;\n\nfunction isOption(optionOrGroup: OptionOrGroup): optionOrGroup is HTMLCalciteOptionElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION\";\n}\n\nfunction isOptionGroup(\n optionOrGroup: OptionOrGroup,\n): optionOrGroup is HTMLCalciteOptionGroupElement {\n return optionOrGroup.tagName === \"CALCITE-OPTION-GROUP\";\n}\n\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\n@Component({\n tag: \"calcite-select\",\n styleUrl: \"select.scss\",\n shadow: true,\n})\nexport class Select\n implements LabelableComponent, FormComponent, InteractiveComponent, LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Accessible name for the component.\n *\n */\n @Prop() label!: string;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop() validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's `selectedOption` value. */\n @Prop({ mutable: true }) value: string = null;\n\n @Watch(\"value\")\n valueHandler(value: string): void {\n const items = this.el.querySelectorAll(\"calcite-option\");\n items.forEach((item) => (item.selected = item.value === value));\n }\n\n /**\n * The component's selected option `HTMLElement`.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedOption: HTMLCalciteOptionElement;\n\n @Watch(\"selectedOption\")\n selectedOptionHandler(selectedOption: HTMLCalciteOptionElement): void {\n this.value = selectedOption?.value;\n }\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSelectElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Select[\"value\"];\n\n private componentToNativeEl = new Map<OptionOrGroup, NativeOptionOrGroup>();\n\n private mutationObserver = createObserver(\"mutation\", () => this.populateInternalSelect());\n\n private selectEl: HTMLSelectElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n\n this.mutationObserver?.observe(el, {\n subtree: true,\n childList: true,\n });\n\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n afterConnectDefaultValueSet(this, this.selectedOption?.value ?? \"\");\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n focusElement(this.selectEl);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the `selectedOption` changes.\n */\n @Event({ cancelable: false }) calciteSelectChange: EventEmitter<void>;\n\n private handleInternalSelectChange = (): void => {\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n requestAnimationFrame(() => this.emitChangeEvent());\n };\n\n @Listen(\"calciteInternalOptionChange\")\n @Listen(\"calciteInternalOptionGroupChange\")\n protected handleOptionOrGroupChange(event: CustomEvent): void {\n event.stopPropagation();\n\n const optionOrGroup = event.target as OptionOrGroup;\n const nativeEl = this.componentToNativeEl.get(optionOrGroup);\n\n if (!nativeEl) {\n return;\n }\n\n this.updateNativeElement(optionOrGroup, nativeEl);\n\n if (isOption(optionOrGroup) && optionOrGroup.selected) {\n this.deselectAllExcept(optionOrGroup);\n this.selectedOption = optionOrGroup;\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private updateNativeElement(\n optionOrGroup: OptionOrGroup,\n nativeOptionOrGroup: NativeOptionOrGroup,\n ): void {\n nativeOptionOrGroup.disabled = optionOrGroup.disabled;\n nativeOptionOrGroup.label = optionOrGroup.label;\n\n if (isOption(optionOrGroup)) {\n const option = nativeOptionOrGroup as HTMLOptionElement;\n option.selected = optionOrGroup.selected;\n option.value = optionOrGroup.value;\n\n // need to set innerText for mobile\n // see https://stackoverflow.com/questions/35021620/ios-safari-not-showing-all-options-for-select-menu/41749701\n option.innerText = optionOrGroup.label;\n }\n }\n\n private populateInternalSelect = (): void => {\n const optionsAndGroups = Array.from(\n this.el.children as HTMLCollectionOf<OptionOrGroup | HTMLSlotElement>,\n ).filter(\n (child) => child.tagName === \"CALCITE-OPTION\" || child.tagName === \"CALCITE-OPTION-GROUP\",\n ) as OptionOrGroup[];\n\n this.clearInternalSelect();\n\n optionsAndGroups.forEach(\n (optionOrGroup) => this.selectEl?.append(this.toNativeElement(optionOrGroup)),\n );\n };\n\n private clearInternalSelect(): void {\n this.componentToNativeEl.forEach((value) => value.remove());\n this.componentToNativeEl.clear();\n }\n\n private storeSelectRef = (node: HTMLSelectElement): void => {\n this.selectEl = node;\n this.populateInternalSelect();\n\n const selected = this.selectEl.selectedOptions[0];\n this.selectFromNativeOption(selected);\n };\n\n private selectFromNativeOption(nativeOption: HTMLOptionElement): void {\n if (!nativeOption) {\n return;\n }\n\n let futureSelected: HTMLCalciteOptionElement;\n\n this.componentToNativeEl.forEach((nativeOptionOrGroup, optionOrGroup) => {\n if (isOption(optionOrGroup) && nativeOptionOrGroup === nativeOption) {\n optionOrGroup.selected = true;\n futureSelected = optionOrGroup;\n this.deselectAllExcept(optionOrGroup as HTMLCalciteOptionElement);\n }\n });\n\n if (futureSelected) {\n this.selectedOption = futureSelected;\n }\n }\n\n private toNativeElement(\n optionOrGroup: HTMLCalciteOptionElement | HTMLCalciteOptionGroupElement,\n ): NativeOptionOrGroup {\n if (isOption(optionOrGroup)) {\n const option = document.createElement(\"option\");\n this.updateNativeElement(optionOrGroup, option);\n this.componentToNativeEl.set(optionOrGroup, option);\n\n return option;\n }\n\n if (isOptionGroup(optionOrGroup)) {\n const group = document.createElement(\"optgroup\");\n this.updateNativeElement(optionOrGroup, group);\n\n Array.from(optionOrGroup.children as HTMLCollectionOf<HTMLCalciteOptionElement>).forEach(\n (option) => {\n const nativeOption = this.toNativeElement(option);\n group.append(nativeOption);\n this.componentToNativeEl.set(optionOrGroup, nativeOption);\n },\n );\n\n this.componentToNativeEl.set(optionOrGroup, group);\n\n return group;\n }\n\n throw new Error(\"unsupported element child provided\");\n }\n\n private deselectAllExcept(except: HTMLCalciteOptionElement): void {\n this.el.querySelectorAll<HTMLCalciteOptionElement>(\"calcite-option\").forEach((option) => {\n if (option === except) {\n return;\n }\n\n option.selected = false;\n });\n }\n\n private emitChangeEvent = (): void => {\n this.calciteSelectChange.emit();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChevron(): VNode {\n return (\n <div class={CSS.iconContainer}>\n <calcite-icon class={CSS.icon} icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n );\n }\n\n render(): VNode {\n const { disabled } = this;\n\n return (\n <Host>\n <InteractiveContainer disabled={disabled}>\n <div class={CSS.wrapper}>\n <select\n aria-label={getLabelText(this)}\n class={CSS.select}\n disabled={disabled}\n onChange={this.handleInternalSelectChange}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.storeSelectRef}\n >\n <slot />\n </select>\n {this.renderChevron()}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { C as ensureId, a as getElementDir, f as focusFirstTabbable } from './dom.js';
|
|
@@ -160,7 +160,7 @@ const Sheet = /*@__PURE__*/ proxyCustomElement(class Sheet extends HTMLElement {
|
|
|
160
160
|
//
|
|
161
161
|
//--------------------------------------------------------------------------
|
|
162
162
|
/**
|
|
163
|
-
* Sets focus on the component's "close" button
|
|
163
|
+
* Sets focus on the component's "close" button - the first focusable item.
|
|
164
164
|
*
|
|
165
165
|
*/
|
|
166
166
|
async setFocus() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-sheet.js","mappings":";;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,iBAAiB;IAChC,OAAO,EAAE,SAAS;IAClB,uBAAuB,EAAE,6BAA6B;CACvD;;ACND,MAAM,QAAQ,GAAG,88NAA88N;;MCwCl9N,KAAK;;;;;;;;;;;;;;QAkKhB,uBAAkB,GAAG,SAAS,CAAC;QAYvB,qBAAgB,GAAG,KAAK,CAAC;QAEzB,qBAAgB,GAAqB,cAAc,CAAC,UAAU,EAAE,MACtE,IAAI,CAAC,sBAAsB,EAAE,CAC9B,CAAC;QAkFM,oBAAe,GAAG,CAAC,EAAkB;YAC3C,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;SAC/B,CAAC;QAEM,YAAO,GAAG;YAChB,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChB,IAAI,CAAC,EAAE,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SAC/D,CAAC;QAYM,uBAAkB,GAAG;YAC3B,IAAI,IAAI,CAAC,oBAAoB,EAAE;gBAC7B,OAAO;aACR;YAED,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAEM,eAAU,GAAG;YACnB,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,IAAI;oBACF,MAAM,IAAI,CAAC,W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tag=calcite-sheet&encapsulation=shadow","src/components/sheet/sheet.tsx"],"sourcesContent":["export const CSS = {\n scrim: \"scrim\",\n container: \"container\",\n containerOpen: \"container--open\",\n content: \"content\",\n containerSlottedInShell: \"container--slotted-in-shell\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-sheet-scrim-background: Specifies the background color of the sheet scrim.\n * @prop --calcite-sheet-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the width of the component.\n * @prop --calcite-sheet-max-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the maximum width of the component.\n * @prop --calcite-sheet-min-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the minimum width of the component.\n * @prop --calcite-sheet-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the height of the component.\n * @prop --calcite-sheet-max-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the maximum height of the component.\n * @prop --calcite-sheet-min-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the minimum height of the component.\n *\n */\n\n:host {\n @apply flex absolute z-overlay inset-0;\n visibility: hidden !important;\n // the sheet should always use a dark scrim, regardless of light / dark mode - matches value in global.scss\n --calcite-sheet-scrim-background-internal: #{rgba($blk-240, 0.85)};\n --calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);\n}\n\n.calcite--rtl {\n --calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);\n}\n\n.container {\n @apply text-color-2\n fixed\n flex\n overflow-y-hidden\n opacity-0\n z-overlay\n invisible;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-medium),\n opacity var(--calcite-internal-animation-timing-medium) $easing-function;\n}\n\n:host([position=\"inline-start\"]) .container {\n @apply justify-start;\n inset-block: 0;\n inset-inline: 0 auto;\n --calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0);\n}\n\n:host([position=\"inline-end\"]) .container {\n @apply justify-end;\n inset-block: 0;\n inset-inline: auto 0;\n --calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0);\n}\n\n:host([position=\"block-start\"]) .container {\n @apply items-start;\n inset-block: 0 auto;\n inset-inline: 0;\n --calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0);\n}\n\n:host([position=\"block-end\"]) .container {\n @apply items-end;\n inset-block: auto 0;\n inset-inline: 0;\n --calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0);\n}\n\n:host([display-mode=\"float\"]) .content {\n @apply shadow-2-sm;\n}\n\n:host([display-mode=\"overlay\"][position=\"inline-start\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-inline-start-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"inline-end\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-inline-end-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"block-start\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-block-start-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"block-end\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-block-end-internal);\n}\n\n:host([position^=\"inline\"]) .container,\n:host([position^=\"inline\"]) .content {\n inline-size: var(--calcite-sheet-width-internal);\n max-inline-size: var(--calcite-sheet-max-width-internal);\n min-inline-size: var(--calcite-sheet-min-width-internal);\n}\n\n:host([position^=\"block\"]) .container,\n:host([position^=\"block\"]) .content {\n block-size: var(--calcite-sheet-height-internal);\n max-block-size: var(--calcite-sheet-max-height-internal);\n min-block-size: var(--calcite-sheet-min-height-internal);\n}\n\n:host([display-mode=\"float\"][position^=\"inline\"]) .container {\n block-size: calc(100% - 1.5rem);\n max-block-size: calc(100% - 1.5rem);\n min-block-size: calc(100% - 1.5rem);\n}\n:host([display-mode=\"float\"][position^=\"block\"]) .container {\n inline-size: calc(100% - 1.5rem);\n max-inline-size: calc(100% - 1.5rem);\n min-inline-size: calc(100% - 1.5rem);\n}\n\n:host([position^=\"inline\"][width-scale=\"s\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px);\n}\n\n:host([position^=\"inline\"][width-scale=\"m\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px);\n}\n\n:host([position^=\"inline\"][width-scale=\"l\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px);\n}\n\n:host([position^=\"block\"][height-scale=\"s\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh);\n}\n\n:host([position^=\"block\"][height-scale=\"m\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh);\n}\n\n:host([position^=\"block\"][height-scale=\"l\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh);\n}\n\n.scrim {\n --calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));\n @apply fixed inset-0 flex overflow-y-hidden;\n}\n\n:host([opened]) {\n visibility: visible !important;\n}\n\n.content {\n @apply relative box-border block p-0 z-modal max-h-full max-w-full overflow-y-hidden;\n background-color: theme(\"colors.background.foreground.1\");\n max-block-size: 100%;\n visibility: hidden;\n transition:\n transform var(--calcite-internal-animation-timing-medium) $easing-function,\n visibility 0ms linear var(--calcite-internal-animation-timing-medium),\n opacity var(--calcite-internal-animation-timing-medium) $easing-function;\n transform: var(--calcite-sheet-hidden-position-internal);\n}\n\n.container--open .content {\n transform: translate3d(0, 0, 0);\n}\n\n:host([display-mode=\"float\"]) .content,\n:host([display-mode=\"float\"]) .container {\n @apply rounded;\n}\n\n:host([display-mode=\"float\"]) .container {\n @apply p-3;\n}\n\n.container--open {\n @apply opacity-100 visible;\n transition-delay: 0ms;\n .content {\n @apply pointer-events-auto visible opacity-100;\n transition:\n transform var(--calcite-internal-animation-timing-medium) $easing-function,\n visibility 0ms linear,\n opacity var(--calcite-internal-animation-timing-medium) $easing-function,\n max-inline-size var(--calcite-internal-animation-timing-medium) $easing-function,\n max-block-size var(--calcite-internal-animation-timing-medium) $easing-function;\n transition-delay: 0ms;\n }\n}\n\n:host([position=\"inline-start\"]) .content,\n:host([position=\"inline-end\"]) .content {\n @apply h-full;\n}\n\n:host([position=\"block-start\"]) .content,\n:host([position=\"block-end\"]) .content {\n @apply w-full;\n}\n\n/**\n * Conditional styles for when Sheet is slotted in Shell\n */\n:host([position]) .container--slotted-in-shell {\n @apply absolute pointer-events-auto;\n inline-size: 100%;\n max-inline-size: 100%;\n min-inline-size: 100%;\n block-size: 100%;\n max-block-size: 100%;\n min-block-size: 100%;\n calcite-scrim {\n @apply absolute;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ensureId, focusFirstTabbable, getElementDir } from \"../../utils/dom\";\nimport {\n activateFocusTrap,\n connectFocusTrap,\n deactivateFocusTrap,\n FocusTrap,\n FocusTrapComponent,\n updateFocusTrapElements,\n} from \"../../utils/focusTrapComponent\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { CSS } from \"./resources\";\nimport { DisplayMode } from \"./interfaces\";\nimport { LogicalFlowPosition, Scale } from \"../interfaces\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n\n@Component({\n tag: \"calcite-sheet\",\n styleUrl: \"sheet.scss\",\n shadow: true,\n})\nexport class Sheet implements OpenCloseComponent, FocusTrapComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Passes a function to run before the component closes.\n *\n * @returns {Promise<void>}\n */\n @Prop() beforeClose: (el: HTMLCalciteSheetElement) => Promise<void>;\n\n /**\n * Specifies the display mode - `\"float\"` (content is separated detached),\n * or `\"overlay\"` (displays on top of center content).\n */\n @Prop({ reflect: true }) displayMode: DisplayMode = \"overlay\";\n\n /** When `true`, disables the default close on escape behavior. */\n @Prop({ reflect: true }) escapeDisabled = false;\n\n /**\n * When `position` is `\"block-start\"` or `\"block-end\"`, specifies the height of the component.\n */\n @Prop({ reflect: true }) heightScale: Scale = \"m\";\n\n /**\n * When `true`, prevents focus trapping.\n */\n @Prop({ reflect: true }) focusTrapDisabled = false;\n\n @Watch(\"focusTrapDisabled\")\n handleFocusTrapDisabled(focusTrapDisabled: boolean): void {\n if (!this.open) {\n return;\n }\n\n focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);\n }\n\n /**\n * Specifies the label of the component.\n */\n @Prop() label!: string;\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n @Watch(\"open\")\n toggleSheet(value: boolean): void {\n if (this.ignoreOpenChange) {\n return;\n }\n\n if (value) {\n this.openSheet();\n } else {\n this.closeSheet();\n }\n }\n\n @Watch(\"opened\")\n handleOpenedChange(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /**\n * We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is .\n *\n * @internal.\n */\n @Prop({ mutable: true, reflect: true }) opened = false;\n\n /** When `true`, disables the closing of the component when clicked outside. */\n @Prop({ reflect: true }) outsideCloseDisabled = false;\n\n /** Determines where the component will be positioned. */\n @Prop({ reflect: true }) position: LogicalFlowPosition = \"inline-start\";\n\n /**\n * This internal property, managed by a containing calcite-shell, is used\n * to inform the component if special configuration or styles are needed\n *\n * @internal\n */\n @Prop() slottedInShell: boolean;\n\n /**\n * When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n // when sheet initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n requestAnimationFrame(() => this.openSheet());\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n connectFocusTrap(this);\n }\n\n disconnectedCallback(): void {\n this.removeOverflowHiddenClass();\n this.mutationObserver?.disconnect();\n deactivateFocusTrap(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n const dir = getElementDir(this.el);\n return (\n <Host\n aria-describedby={this.contentId}\n aria-label={this.label}\n aria-modal=\"true\"\n role=\"dialog\"\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerOpen]: this.opened,\n [CSS.containerSlottedInShell]: this.slottedInShell,\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n }}\n >\n <calcite-scrim class={CSS.scrim} onClick={this.handleOutsideClose} />\n <div\n class={{\n [CSS.content]: true,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n focusTrap: FocusTrap;\n\n @Element() el: HTMLCalciteSheetElement;\n\n private contentId: string;\n\n private initialOverflowCSS: string;\n\n private ignoreOpenChange = false;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () =>\n this.handleMutationObserver(),\n );\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\", { target: \"window\" })\n handleEscape(event: KeyboardEvent): void {\n if (this.open && !this.escapeDisabled && event.key === \"Escape\" && !event.defaultPrevented) {\n this.open = false;\n event.preventDefault();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteSheetBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteSheetClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteSheetBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteSheetOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's \"close\" button (the first focusable item).\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n /**\n * Updates the element(s) that are used within the focus-trap of the component.\n */\n @Method()\n async updateFocusTrapElements(): Promise<void> {\n updateFocusTrapElements(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onBeforeOpen(): void {\n this.calciteSheetBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteSheetOpen.emit();\n activateFocusTrap(this);\n }\n\n onBeforeClose(): void {\n this.calciteSheetBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteSheetClose.emit();\n deactivateFocusTrap(this);\n }\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n this.contentId = ensureId(el);\n };\n\n private openEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calciteSheetOpen\", this.openEnd);\n };\n\n private openSheet(): void {\n this.el.addEventListener(\"calciteSheetOpen\", this.openEnd);\n this.opened = true;\n if (!this.slottedInShell) {\n this.initialOverflowCSS = document.documentElement.style.overflow;\n // use an inline style instead of a utility class to avoid global class declarations.\n document.documentElement.style.setProperty(\"overflow\", \"hidden\");\n }\n }\n\n private handleOutsideClose = (): void => {\n if (this.outsideCloseDisabled) {\n return;\n }\n\n this.open = false;\n };\n\n private closeSheet = async (): Promise<void> => {\n if (this.beforeClose) {\n try {\n await this.beforeClose(this.el);\n } catch (_error) {\n // close prevented\n requestAnimationFrame(() => {\n this.ignoreOpenChange = true;\n this.open = true;\n this.ignoreOpenChange = false;\n });\n return;\n }\n }\n\n this.opened = false;\n this.removeOverflowHiddenClass();\n };\n\n private removeOverflowHiddenClass(): void {\n document.documentElement.style.setProperty(\"overflow\", this.initialOverflow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AAC,CAAC;KAC/B;;;;;;IAQD,YAAY;QACV,IAAI,CAAC,sBAAsB,CAAC,IAAI,EAAE,CAAC;KACpC;IAED,MAAM;QACJ,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC7B,iBAAiB,CAAC,IAAI,CAAC,CAAC;KACzB;IAED,aAAa;QACX,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;QAC9B,mBAAmB,CAAC,IAAI,CAAC,CAAC;KAC3B;IAYO,SAAS;QACf,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;YACxB,IAAI,CAAC,kBAAkB,GAAG,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC;;YAElE,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;SAClE;KACF;IA6BO,yBAAyB;QAC/B,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;KACjF;IAEO,sBAAsB;QAC5B,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/sheet/resources.ts","src/components/sheet/sheet.scss?tag=calcite-sheet&encapsulation=shadow","src/components/sheet/sheet.tsx"],"sourcesContent":["export const CSS = {\n scrim: \"scrim\",\n container: \"container\",\n containerOpen: \"container--open\",\n content: \"content\",\n containerSlottedInShell: \"container--slotted-in-shell\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-sheet-scrim-background: Specifies the background color of the sheet scrim.\n * @prop --calcite-sheet-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the width of the component.\n * @prop --calcite-sheet-max-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the maximum width of the component.\n * @prop --calcite-sheet-min-width: When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the minimum width of the component.\n * @prop --calcite-sheet-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the height of the component.\n * @prop --calcite-sheet-max-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the maximum height of the component.\n * @prop --calcite-sheet-min-height: When `position` is `\"block-start\"` or `\"block-end\"`, specifies the minimum height of the component.\n *\n */\n\n:host {\n @apply flex absolute z-overlay inset-0;\n visibility: hidden !important;\n // the sheet should always use a dark scrim, regardless of light / dark mode - matches value in global.scss\n --calcite-sheet-scrim-background-internal: #{rgba($blk-240, 0.85)};\n --calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);\n}\n\n.calcite--rtl {\n --calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);\n --calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);\n}\n\n.container {\n @apply text-color-2\n fixed\n flex\n overflow-y-hidden\n opacity-0\n z-overlay\n invisible;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-medium),\n opacity var(--calcite-internal-animation-timing-medium) $easing-function;\n}\n\n:host([position=\"inline-start\"]) .container {\n @apply justify-start;\n inset-block: 0;\n inset-inline: 0 auto;\n --calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0);\n}\n\n:host([position=\"inline-end\"]) .container {\n @apply justify-end;\n inset-block: 0;\n inset-inline: auto 0;\n --calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0);\n}\n\n:host([position=\"block-start\"]) .container {\n @apply items-start;\n inset-block: 0 auto;\n inset-inline: 0;\n --calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0);\n}\n\n:host([position=\"block-end\"]) .container {\n @apply items-end;\n inset-block: auto 0;\n inset-inline: 0;\n --calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0);\n}\n\n:host([display-mode=\"float\"]) .content {\n @apply shadow-2-sm;\n}\n\n:host([display-mode=\"overlay\"][position=\"inline-start\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-inline-start-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"inline-end\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-inline-end-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"block-start\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-block-start-internal);\n}\n\n:host([display-mode=\"overlay\"][position=\"block-end\"]) .container {\n box-shadow: var(--calcite-scrim-shadow-block-end-internal);\n}\n\n:host([position^=\"inline\"]) .container,\n:host([position^=\"inline\"]) .content {\n inline-size: var(--calcite-sheet-width-internal);\n max-inline-size: var(--calcite-sheet-max-width-internal);\n min-inline-size: var(--calcite-sheet-min-width-internal);\n}\n\n:host([position^=\"block\"]) .container,\n:host([position^=\"block\"]) .content {\n block-size: var(--calcite-sheet-height-internal);\n max-block-size: var(--calcite-sheet-max-height-internal);\n min-block-size: var(--calcite-sheet-min-height-internal);\n}\n\n:host([display-mode=\"float\"][position^=\"inline\"]) .container {\n block-size: calc(100% - 1.5rem);\n max-block-size: calc(100% - 1.5rem);\n min-block-size: calc(100% - 1.5rem);\n}\n:host([display-mode=\"float\"][position^=\"block\"]) .container {\n inline-size: calc(100% - 1.5rem);\n max-inline-size: calc(100% - 1.5rem);\n min-inline-size: calc(100% - 1.5rem);\n}\n\n:host([position^=\"inline\"][width-scale=\"s\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px);\n}\n\n:host([position^=\"inline\"][width-scale=\"m\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px);\n}\n\n:host([position^=\"inline\"][width-scale=\"l\"]) {\n --calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);\n --calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);\n --calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px);\n}\n\n:host([position^=\"block\"][height-scale=\"s\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh);\n}\n\n:host([position^=\"block\"][height-scale=\"m\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh);\n}\n\n:host([position^=\"block\"][height-scale=\"l\"]) {\n --calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);\n --calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);\n --calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh);\n}\n\n.scrim {\n --calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));\n @apply fixed inset-0 flex overflow-y-hidden;\n}\n\n:host([opened]) {\n visibility: visible !important;\n}\n\n.content {\n @apply relative box-border block p-0 z-modal max-h-full max-w-full overflow-y-hidden;\n background-color: theme(\"colors.background.foreground.1\");\n max-block-size: 100%;\n visibility: hidden;\n transition:\n transform var(--calcite-internal-animation-timing-medium) $easing-function,\n visibility 0ms linear var(--calcite-internal-animation-timing-medium),\n opacity var(--calcite-internal-animation-timing-medium) $easing-function;\n transform: var(--calcite-sheet-hidden-position-internal);\n}\n\n.container--open .content {\n transform: translate3d(0, 0, 0);\n}\n\n:host([display-mode=\"float\"]) .content,\n:host([display-mode=\"float\"]) .container {\n @apply rounded;\n}\n\n:host([display-mode=\"float\"]) .container {\n @apply p-3;\n}\n\n.container--open {\n @apply opacity-100 visible;\n transition-delay: 0ms;\n .content {\n @apply pointer-events-auto visible opacity-100;\n transition:\n transform var(--calcite-internal-animation-timing-medium) $easing-function,\n visibility 0ms linear,\n opacity var(--calcite-internal-animation-timing-medium) $easing-function,\n max-inline-size var(--calcite-internal-animation-timing-medium) $easing-function,\n max-block-size var(--calcite-internal-animation-timing-medium) $easing-function;\n transition-delay: 0ms;\n }\n}\n\n:host([position=\"inline-start\"]) .content,\n:host([position=\"inline-end\"]) .content {\n @apply h-full;\n}\n\n:host([position=\"block-start\"]) .content,\n:host([position=\"block-end\"]) .content {\n @apply w-full;\n}\n\n/**\n * Conditional styles for when Sheet is slotted in Shell\n */\n:host([position]) .container--slotted-in-shell {\n @apply absolute pointer-events-auto;\n inline-size: 100%;\n max-inline-size: 100%;\n min-inline-size: 100%;\n block-size: 100%;\n max-block-size: 100%;\n min-block-size: 100%;\n calcite-scrim {\n @apply absolute;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ensureId, focusFirstTabbable, getElementDir } from \"../../utils/dom\";\nimport {\n activateFocusTrap,\n connectFocusTrap,\n deactivateFocusTrap,\n FocusTrap,\n FocusTrapComponent,\n updateFocusTrapElements,\n} from \"../../utils/focusTrapComponent\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { CSS } from \"./resources\";\nimport { DisplayMode } from \"./interfaces\";\nimport { LogicalFlowPosition, Scale } from \"../interfaces\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n\n@Component({\n tag: \"calcite-sheet\",\n styleUrl: \"sheet.scss\",\n shadow: true,\n})\nexport class Sheet implements OpenCloseComponent, FocusTrapComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Passes a function to run before the component closes.\n *\n * @returns {Promise<void>}\n */\n @Prop() beforeClose: (el: HTMLCalciteSheetElement) => Promise<void>;\n\n /**\n * Specifies the display mode - `\"float\"` (content is separated detached),\n * or `\"overlay\"` (displays on top of center content).\n */\n @Prop({ reflect: true }) displayMode: DisplayMode = \"overlay\";\n\n /** When `true`, disables the default close on escape behavior. */\n @Prop({ reflect: true }) escapeDisabled = false;\n\n /**\n * When `position` is `\"block-start\"` or `\"block-end\"`, specifies the height of the component.\n */\n @Prop({ reflect: true }) heightScale: Scale = \"m\";\n\n /**\n * When `true`, prevents focus trapping.\n */\n @Prop({ reflect: true }) focusTrapDisabled = false;\n\n @Watch(\"focusTrapDisabled\")\n handleFocusTrapDisabled(focusTrapDisabled: boolean): void {\n if (!this.open) {\n return;\n }\n\n focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);\n }\n\n /**\n * Specifies the label of the component.\n */\n @Prop() label!: string;\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n @Watch(\"open\")\n toggleSheet(value: boolean): void {\n if (this.ignoreOpenChange) {\n return;\n }\n\n if (value) {\n this.openSheet();\n } else {\n this.closeSheet();\n }\n }\n\n @Watch(\"opened\")\n handleOpenedChange(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /**\n * We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is .\n *\n * @internal.\n */\n @Prop({ mutable: true, reflect: true }) opened = false;\n\n /** When `true`, disables the closing of the component when clicked outside. */\n @Prop({ reflect: true }) outsideCloseDisabled = false;\n\n /** Determines where the component will be positioned. */\n @Prop({ reflect: true }) position: LogicalFlowPosition = \"inline-start\";\n\n /**\n * This internal property, managed by a containing calcite-shell, is used\n * to inform the component if special configuration or styles are needed\n *\n * @internal\n */\n @Prop() slottedInShell: boolean;\n\n /**\n * When `position` is `\"inline-start\"` or `\"inline-end\"`, specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n // when sheet initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n requestAnimationFrame(() => this.openSheet());\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n connectFocusTrap(this);\n }\n\n disconnectedCallback(): void {\n this.removeOverflowHiddenClass();\n this.mutationObserver?.disconnect();\n deactivateFocusTrap(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n const dir = getElementDir(this.el);\n return (\n <Host\n aria-describedby={this.contentId}\n aria-label={this.label}\n aria-modal=\"true\"\n role=\"dialog\"\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerOpen]: this.opened,\n [CSS.containerSlottedInShell]: this.slottedInShell,\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n }}\n >\n <calcite-scrim class={CSS.scrim} onClick={this.handleOutsideClose} />\n <div\n class={{\n [CSS.content]: true,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n focusTrap: FocusTrap;\n\n @Element() el: HTMLCalciteSheetElement;\n\n private contentId: string;\n\n private initialOverflowCSS: string;\n\n private ignoreOpenChange = false;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () =>\n this.handleMutationObserver(),\n );\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\", { target: \"window\" })\n handleEscape(event: KeyboardEvent): void {\n if (this.open && !this.escapeDisabled && event.key === \"Escape\" && !event.defaultPrevented) {\n this.open = false;\n event.preventDefault();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteSheetBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteSheetClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteSheetBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteSheetOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's \"close\" button - the first focusable item.\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n /**\n * Updates the element(s) that are used within the focus-trap of the component.\n */\n @Method()\n async updateFocusTrapElements(): Promise<void> {\n updateFocusTrapElements(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onBeforeOpen(): void {\n this.calciteSheetBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteSheetOpen.emit();\n activateFocusTrap(this);\n }\n\n onBeforeClose(): void {\n this.calciteSheetBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteSheetClose.emit();\n deactivateFocusTrap(this);\n }\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n this.contentId = ensureId(el);\n };\n\n private openEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calciteSheetOpen\", this.openEnd);\n };\n\n private openSheet(): void {\n this.el.addEventListener(\"calciteSheetOpen\", this.openEnd);\n this.opened = true;\n if (!this.slottedInShell) {\n this.initialOverflowCSS = document.documentElement.style.overflow;\n // use an inline style instead of a utility class to avoid global class declarations.\n document.documentElement.style.setProperty(\"overflow\", \"hidden\");\n }\n }\n\n private handleOutsideClose = (): void => {\n if (this.outsideCloseDisabled) {\n return;\n }\n\n this.open = false;\n };\n\n private closeSheet = async (): Promise<void> => {\n if (this.beforeClose) {\n try {\n await this.beforeClose(this.el);\n } catch (_error) {\n // close prevented\n requestAnimationFrame(() => {\n this.ignoreOpenChange = true;\n this.open = true;\n this.ignoreOpenChange = false;\n });\n return;\n }\n }\n\n this.opened = false;\n this.removeOverflowHiddenClass();\n };\n\n private removeOverflowHiddenClass(): void {\n document.documentElement.style.setProperty(\"overflow\", this.initialOverflowCSS);\n }\n\n private handleMutationObserver(): void {\n this.updateFocusTrapElements();\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.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.2.0-next.
|
|
4
|
+
* v2.2.0-next.12
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|