@esri/calcite-components 2.4.1-next.0 → 2.5.0-next.0
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/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-019644cf.entry.js +7 -0
- package/dist/calcite/p-019644cf.entry.js.map +1 -0
- package/dist/calcite/p-02a1bdc0.entry.js +7 -0
- package/dist/calcite/p-02a1bdc0.entry.js.map +1 -0
- package/dist/calcite/p-035a5711.entry.js +7 -0
- package/dist/calcite/p-035a5711.entry.js.map +1 -0
- package/dist/calcite/p-04bf9ee0.js +7 -0
- package/dist/calcite/p-04dde108.entry.js +7 -0
- package/dist/calcite/p-04dde108.entry.js.map +1 -0
- package/dist/calcite/p-072db029.entry.js +7 -0
- package/dist/calcite/p-072db029.entry.js.map +1 -0
- package/dist/calcite/p-077adace.js +7 -0
- package/dist/calcite/p-0a12bc37.entry.js +7 -0
- package/dist/calcite/p-0a12bc37.entry.js.map +1 -0
- package/dist/calcite/p-0aebc5e2.js +7 -0
- package/dist/calcite/p-0b4fc200.js +7 -0
- package/dist/calcite/p-0e2dd590.js +7 -0
- package/dist/calcite/p-0ff9607e.js +7 -0
- package/dist/calcite/p-11888bdf.js +7 -0
- package/dist/calcite/p-19e704e4.js +7 -0
- package/dist/calcite/p-1dd82193.entry.js +7 -0
- package/dist/calcite/p-1dd82193.entry.js.map +1 -0
- package/dist/calcite/p-1f5eabba.entry.js +7 -0
- package/dist/calcite/p-2222526e.entry.js +7 -0
- package/dist/calcite/p-2222526e.entry.js.map +1 -0
- package/dist/calcite/p-237e7376.js +7 -0
- package/dist/calcite/p-26202b48.entry.js +7 -0
- package/dist/calcite/p-26202b48.entry.js.map +1 -0
- package/dist/calcite/p-27fcee6a.entry.js +7 -0
- package/dist/calcite/p-27fcee6a.entry.js.map +1 -0
- package/dist/calcite/p-298dd034.js +7 -0
- package/dist/calcite/p-29a072e5.entry.js +7 -0
- package/dist/calcite/p-29a072e5.entry.js.map +1 -0
- package/dist/calcite/p-2a0f60c9.js +12 -0
- package/dist/calcite/p-2a7b59b3.js +7 -0
- package/dist/calcite/p-2aacf166.entry.js +7 -0
- package/dist/calcite/p-2b05e96c.js +7 -0
- package/dist/calcite/p-2d9e3418.js +7 -0
- package/dist/calcite/p-3123136c.js +7 -0
- package/dist/calcite/p-32bc822f.entry.js +7 -0
- package/dist/calcite/p-32bc822f.entry.js.map +1 -0
- package/dist/calcite/p-33841700.entry.js +7 -0
- package/dist/calcite/p-33841700.entry.js.map +1 -0
- package/dist/calcite/p-3422647c.entry.js +7 -0
- package/dist/calcite/p-3422647c.entry.js.map +1 -0
- package/dist/calcite/p-3623f210.entry.js +7 -0
- package/dist/calcite/p-3ac4588f.js +7 -0
- package/dist/calcite/p-3b31b276.entry.js +7 -0
- package/dist/calcite/p-3b31b276.entry.js.map +1 -0
- package/dist/calcite/p-3bb81127.js +7 -0
- package/dist/calcite/p-3c28fe95.entry.js +7 -0
- package/dist/calcite/p-3c28fe95.entry.js.map +1 -0
- package/dist/calcite/p-3c675720.js +7 -0
- package/dist/calcite/p-3daa9bb9.entry.js +7 -0
- package/dist/calcite/p-3daa9bb9.entry.js.map +1 -0
- package/dist/calcite/p-44f8178d.entry.js +7 -0
- package/dist/calcite/p-45af6cec.js +7 -0
- package/dist/calcite/p-45b93e33.js +7 -0
- package/dist/calcite/p-4ef1e399.js +7 -0
- package/dist/calcite/p-4f9c0e55.entry.js +7 -0
- package/dist/calcite/p-50ee23bf.js +7 -0
- package/dist/calcite/p-533c97f3.entry.js +7 -0
- package/dist/calcite/p-53cd0d17.js +7 -0
- package/dist/calcite/p-5713e697.js +11 -0
- package/dist/calcite/p-57e80471.entry.js +7 -0
- package/dist/calcite/p-57f5465e.js +7 -0
- package/dist/calcite/p-5b80a986.js +7 -0
- package/dist/calcite/p-5b92b79a.js +7 -0
- package/dist/calcite/p-5bdc1461.js +7 -0
- package/dist/calcite/p-5ea2064c.js +7 -0
- package/dist/calcite/p-5f8136ec.entry.js +7 -0
- package/dist/calcite/p-5f8136ec.entry.js.map +1 -0
- package/dist/calcite/p-615349be.entry.js +7 -0
- package/dist/calcite/p-637a4752.entry.js +7 -0
- package/dist/calcite/p-63e0bf39.js +7 -0
- package/dist/calcite/p-64612172.js +7 -0
- package/dist/calcite/p-66df38c9.js +7 -0
- package/dist/calcite/p-68c9209b.js +7 -0
- package/dist/calcite/p-6b9a90b3.entry.js +7 -0
- package/dist/calcite/p-6d9ab197.entry.js +7 -0
- package/dist/calcite/p-6d9ab197.entry.js.map +1 -0
- package/dist/calcite/p-705f04ba.js +7 -0
- package/dist/calcite/p-70acda02.js +7 -0
- package/dist/calcite/p-71cec3a4.js +7 -0
- package/dist/calcite/p-74a91282.entry.js +7 -0
- package/dist/calcite/p-74a91282.entry.js.map +1 -0
- package/dist/calcite/p-765f7d15.entry.js +7 -0
- package/dist/calcite/p-78427b05.js +7 -0
- package/dist/calcite/p-7a32abca.js +7 -0
- package/dist/calcite/p-7cb32bfc.entry.js +7 -0
- package/dist/calcite/p-7d92fea1.js +7 -0
- package/dist/calcite/p-7fa28a1a.js +7 -0
- package/dist/calcite/p-800cad55.js +7 -0
- package/dist/calcite/p-829c43a1.js +7 -0
- package/dist/calcite/p-829de772.entry.js +7 -0
- package/dist/calcite/p-829de772.entry.js.map +1 -0
- package/dist/calcite/p-83ced345.entry.js +7 -0
- package/dist/calcite/p-83ced345.entry.js.map +1 -0
- package/dist/calcite/p-842e64a5.entry.js +7 -0
- package/dist/calcite/p-842e64a5.entry.js.map +1 -0
- package/dist/calcite/p-844c1caa.js +7 -0
- package/dist/calcite/p-84946655.entry.js +7 -0
- package/dist/calcite/p-84dc9028.entry.js +7 -0
- package/dist/calcite/p-84dc9028.entry.js.map +1 -0
- package/dist/calcite/p-88d01ffd.entry.js +7 -0
- package/dist/calcite/p-897e1a2e.js +7 -0
- package/dist/calcite/p-8a08539c.js +7 -0
- package/dist/calcite/p-8af41380.entry.js +7 -0
- package/dist/calcite/p-8d22af5c.js +7 -0
- package/dist/calcite/p-8fcc31af.entry.js +7 -0
- package/dist/calcite/p-8fcc31af.entry.js.map +1 -0
- package/dist/calcite/p-9020d0e6.entry.js +7 -0
- package/dist/calcite/p-9020d0e6.entry.js.map +1 -0
- package/dist/calcite/p-9111d38f.entry.js +7 -0
- package/dist/calcite/p-9926ee56.entry.js +7 -0
- package/dist/calcite/p-9926ee56.entry.js.map +1 -0
- package/dist/calcite/p-992cd7cf.js +7 -0
- package/dist/calcite/p-99d9f179.js +7 -0
- package/dist/calcite/p-9ac37ea4.entry.js +7 -0
- package/dist/calcite/p-9ac37ea4.entry.js.map +1 -0
- package/dist/calcite/p-9af44e5e.js +7 -0
- package/dist/calcite/p-9b95254f.js +7 -0
- package/dist/calcite/p-9e925631.js +7 -0
- package/dist/calcite/p-9fdae794.entry.js +7 -0
- package/dist/calcite/p-9fdae794.entry.js.map +1 -0
- package/dist/calcite/p-a2d41d34.entry.js +7 -0
- package/dist/calcite/p-a2d41d34.entry.js.map +1 -0
- package/dist/calcite/p-a38c5371.js +7 -0
- package/dist/calcite/p-a3f078cd.entry.js +7 -0
- package/dist/calcite/p-a8373b69.js +7 -0
- package/dist/calcite/p-a9ce2433.entry.js +7 -0
- package/dist/calcite/p-aa4a7aa0.js +8 -0
- package/dist/calcite/p-b4352ddb.js +7 -0
- package/dist/calcite/p-b5a512a0.js +7 -0
- package/dist/calcite/p-b5bd7b8f.entry.js +7 -0
- package/dist/calcite/p-b5bd7b8f.entry.js.map +1 -0
- package/dist/calcite/p-b6a3f4ed.entry.js +7 -0
- package/dist/calcite/p-b6a3f4ed.entry.js.map +1 -0
- package/dist/calcite/p-b77f3a77.js +7 -0
- package/dist/calcite/p-b7a70295.entry.js +7 -0
- package/dist/calcite/p-b80c938f.entry.js +7 -0
- package/dist/calcite/p-bf26a6ed.js +7 -0
- package/dist/calcite/p-bf4dbf61.entry.js +7 -0
- package/dist/calcite/p-bfab4536.js +7 -0
- package/dist/calcite/p-c00b8868.js +7 -0
- package/dist/calcite/p-c3cd2929.entry.js +7 -0
- package/dist/calcite/p-c5c033e0.js +7 -0
- package/dist/calcite/p-c5c51e20.entry.js +7 -0
- package/dist/calcite/p-c5f2d6dd.js +7 -0
- package/dist/calcite/p-c825e1d7.js +7 -0
- package/dist/calcite/p-c8f684b5.entry.js +7 -0
- package/dist/calcite/p-c8f684b5.entry.js.map +1 -0
- package/dist/calcite/p-cc1937fc.entry.js +7 -0
- package/dist/calcite/p-cc1937fc.entry.js.map +1 -0
- package/dist/calcite/p-cc3e3eb3.js +7 -0
- package/dist/calcite/p-ce0038df.entry.js +7 -0
- package/dist/calcite/p-cf029a29.entry.js +7 -0
- package/dist/calcite/p-d5c307b4.js +7 -0
- package/dist/calcite/p-d6c65989.js +7 -0
- package/dist/calcite/p-d82edf1d.js +7 -0
- package/dist/calcite/p-d8733db2.entry.js +7 -0
- package/dist/calcite/p-da0a8316.js +7 -0
- package/dist/calcite/p-da496453.js +13 -0
- package/dist/calcite/p-dd0c9b04.js +7 -0
- package/dist/calcite/p-de2f6d68.entry.js +7 -0
- package/dist/calcite/p-df41f307.entry.js +7 -0
- package/dist/calcite/p-e14fd58f.js +7 -0
- package/dist/calcite/p-e241f391.entry.js +7 -0
- package/dist/calcite/p-e241f391.entry.js.map +1 -0
- package/dist/calcite/p-e2c841ab.js +7 -0
- package/dist/calcite/p-e42f0886.js +7 -0
- package/dist/calcite/p-e666f3f7.js +7 -0
- package/dist/calcite/p-e8b4926d.entry.js +7 -0
- package/dist/calcite/p-e93e2ffb.js +7 -0
- package/dist/calcite/p-e95ab15f.entry.js +7 -0
- package/dist/calcite/p-eaa7bcc5.js +7 -0
- package/dist/calcite/p-ec4b4562.js +7 -0
- package/dist/calcite/p-ef8fc86d.js +7 -0
- package/dist/calcite/p-f01e9a8d.entry.js +7 -0
- package/dist/calcite/p-f1947cb7.entry.js +7 -0
- package/dist/calcite/p-f1947cb7.entry.js.map +1 -0
- package/dist/calcite/p-f2fc0ffb.js +7 -0
- package/dist/calcite/p-f4650a58.js +7 -0
- package/dist/calcite/p-f501737a.js +7 -0
- package/dist/calcite/p-f5524011.entry.js +7 -0
- package/dist/calcite/p-f5524011.entry.js.map +1 -0
- package/dist/calcite/p-f55e1078.js +7 -0
- package/dist/calcite/p-f5919411.js +7 -0
- package/dist/calcite/p-f740ae4e.js +7 -0
- package/dist/calcite/p-f798999b.js +7 -0
- package/dist/calcite/p-f9b23542.js +7 -0
- package/dist/calcite/p-fa0d1ed0.js +7 -0
- package/dist/calcite/p-fb46e1b7.js +7 -0
- package/dist/calcite/p-fc5a3d05.entry.js +7 -0
- package/dist/calcite/p-fc6f8a7a.entry.js +7 -0
- package/dist/calcite/p-fc6f8a7a.entry.js.map +1 -0
- package/dist/calcite/p-fc7d92a9.entry.js +7 -0
- package/dist/calcite/p-fc7d92a9.entry.js.map +1 -0
- package/dist/calcite/p-fedca14d.js +7 -0
- package/dist/calcite-preset.js +4 -4
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-34b031ab.js +110 -0
- package/dist/cjs/ExpandToggle-34b031ab.js.map +1 -0
- package/dist/cjs/FloatingArrow-6ca52803.js +49 -0
- package/dist/cjs/FloatingArrow-6ca52803.js.map +1 -0
- package/dist/cjs/Heading-61dce554.js +22 -0
- package/dist/cjs/Heading-61dce554.js.map +1 -0
- package/dist/cjs/Validation-df606f86.js +18 -0
- package/dist/cjs/Validation-df606f86.js.map +1 -0
- package/dist/cjs/app-globals-3b7dbc7c.js +61 -0
- package/dist/cjs/app-globals-3b7dbc7c.js.map +1 -0
- package/dist/cjs/ar-4853e9ee.js +106 -0
- package/dist/cjs/ar-4853e9ee.js.map +1 -0
- package/dist/cjs/array-008641b1.js +14 -0
- package/dist/cjs/array-008641b1.js.map +1 -0
- package/dist/cjs/bg-e19313e0.js +84 -0
- package/dist/cjs/bg-e19313e0.js.map +1 -0
- package/dist/cjs/browser-23a497f3.js +20 -0
- package/dist/cjs/browser-23a497f3.js.map +1 -0
- package/dist/cjs/bs-c1b33bd3.js +53 -0
- package/dist/cjs/bs-c1b33bd3.js.map +1 -0
- package/dist/cjs/ca-ca1cded1.js +73 -0
- package/dist/cjs/ca-ca1cded1.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +32 -22
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +42 -37
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8a856e15.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-8a856e15.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +33 -14
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-34030546.js +30 -0
- package/dist/cjs/component-34030546.js.map +1 -0
- package/dist/cjs/conditionalSlot-1ca4b831.js +60 -0
- package/dist/cjs/conditionalSlot-1ca4b831.js.map +1 -0
- package/dist/cjs/cs-011874da.js +149 -0
- package/dist/cjs/cs-011874da.js.map +1 -0
- package/dist/cjs/da-2d807996.js +68 -0
- package/dist/cjs/da-2d807996.js.map +1 -0
- package/dist/cjs/de-1289613c.js +93 -0
- package/dist/cjs/de-1289613c.js.map +1 -0
- package/dist/cjs/de-at-ffc92882.js +92 -0
- package/dist/cjs/de-at-ffc92882.js.map +1 -0
- package/dist/cjs/de-ch-9c518e82.js +92 -0
- package/dist/cjs/de-ch-9c518e82.js.map +1 -0
- package/dist/cjs/debounce-263a4d05.js +498 -0
- package/dist/cjs/debounce-263a4d05.js.map +1 -0
- package/dist/cjs/dom-a4bc273e.js +1084 -0
- package/dist/cjs/dom-a4bc273e.js.map +1 -0
- package/dist/cjs/el-fa02fee3.js +68 -0
- package/dist/cjs/el-fa02fee3.js.map +1 -0
- package/dist/cjs/en-au-89eac93e.js +68 -0
- package/dist/cjs/en-au-89eac93e.js.map +1 -0
- package/dist/cjs/en-ca-1dac29b1.js +67 -0
- package/dist/cjs/en-ca-1dac29b1.js.map +1 -0
- package/dist/cjs/en-gb-8fa0d22e.js +71 -0
- package/dist/cjs/en-gb-8fa0d22e.js.map +1 -0
- package/dist/cjs/es-67f53c0d.js +68 -0
- package/dist/cjs/es-67f53c0d.js.map +1 -0
- package/dist/cjs/es-mx-17afbae9.js +67 -0
- package/dist/cjs/es-mx-17afbae9.js.map +1 -0
- package/dist/cjs/et-4334b74b.js +94 -0
- package/dist/cjs/et-4334b74b.js.map +1 -0
- package/dist/cjs/fi-b9dc79ae.js +117 -0
- package/dist/cjs/fi-b9dc79ae.js.map +1 -0
- package/dist/cjs/filter-282ced89.js +762 -0
- package/dist/cjs/filter-282ced89.js.map +1 -0
- package/dist/cjs/floating-ui-2d6d5735.js +1965 -0
- package/dist/cjs/floating-ui-2d6d5735.js.map +1 -0
- package/dist/cjs/focusTrapComponent-84fd2072.js +1020 -0
- package/dist/cjs/focusTrapComponent-84fd2072.js.map +1 -0
- package/dist/cjs/form-c4ef5b05.js +333 -0
- package/dist/cjs/form-c4ef5b05.js.map +1 -0
- package/dist/cjs/fr-8ced4e30.js +70 -0
- package/dist/cjs/fr-8ced4e30.js.map +1 -0
- package/dist/cjs/fr-ch-8c37b953.js +68 -0
- package/dist/cjs/fr-ch-8c37b953.js.map +1 -0
- package/dist/cjs/guid-74831938.js +23 -0
- package/dist/cjs/guid-74831938.js.map +1 -0
- package/dist/cjs/he-e7c6710f.js +107 -0
- package/dist/cjs/he-e7c6710f.js.map +1 -0
- package/dist/cjs/hi-2702ee05.js +67 -0
- package/dist/cjs/hi-2702ee05.js.map +1 -0
- package/dist/cjs/hr-378617b4.js +82 -0
- package/dist/cjs/hr-378617b4.js.map +1 -0
- package/dist/cjs/hu-56d386e4.js +90 -0
- package/dist/cjs/hu-56d386e4.js.map +1 -0
- package/dist/cjs/id-512c92ff.js +68 -0
- package/dist/cjs/id-512c92ff.js.map +1 -0
- package/dist/cjs/index-2b4f84b4.js +208 -0
- package/dist/cjs/index-2b4f84b4.js.map +1 -0
- package/dist/cjs/index-6a75502d.js +2655 -0
- package/dist/cjs/index-6a75502d.js.map +1 -0
- package/dist/cjs/index-d55228fe.js +75 -0
- package/dist/cjs/index-d55228fe.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-e40cea5c.js +141 -0
- package/dist/cjs/interactive-e40cea5c.js.map +1 -0
- package/dist/cjs/it-12fc1579.js +68 -0
- package/dist/cjs/it-12fc1579.js.map +1 -0
- package/dist/cjs/it-ch-f0dbbf11.js +68 -0
- package/dist/cjs/it-ch-f0dbbf11.js.map +1 -0
- package/dist/cjs/ja-3b0ecece.js +74 -0
- package/dist/cjs/ja-3b0ecece.js.map +1 -0
- package/dist/cjs/key-5ae4ac59.js +16 -0
- package/dist/cjs/key-5ae4ac59.js.map +1 -0
- package/dist/cjs/ko-13485915.js +74 -0
- package/dist/cjs/ko-13485915.js.map +1 -0
- package/dist/cjs/label-8072d24b.js +183 -0
- package/dist/cjs/label-8072d24b.js.map +1 -0
- package/dist/cjs/loadable-20f73034.js +91 -0
- package/dist/cjs/loadable-20f73034.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3af3bf88.js +576 -0
- package/dist/cjs/locale-3af3bf88.js.map +1 -0
- package/dist/cjs/lt-7c1ff9dc.js +99 -0
- package/dist/cjs/lt-7c1ff9dc.js.map +1 -0
- package/dist/cjs/lv-e9f045a8.js +68 -0
- package/dist/cjs/lv-e9f045a8.js.map +1 -0
- package/dist/cjs/math-231e8eee.js +57 -0
- package/dist/cjs/math-231e8eee.js.map +1 -0
- package/dist/cjs/mk-60e31920.js +68 -0
- package/dist/cjs/mk-60e31920.js.map +1 -0
- package/dist/cjs/nb-0f8e82a2.js +69 -0
- package/dist/cjs/nb-0f8e82a2.js.map +1 -0
- package/dist/cjs/nl-071eaf1e.js +69 -0
- package/dist/cjs/nl-071eaf1e.js.map +1 -0
- package/dist/cjs/observers-ddaadc65.js +50 -0
- package/dist/cjs/observers-ddaadc65.js.map +1 -0
- package/dist/cjs/openCloseComponent-1df07981.js +89 -0
- package/dist/cjs/openCloseComponent-1df07981.js.map +1 -0
- package/dist/cjs/pl-a1049aa0.js +116 -0
- package/dist/cjs/pl-a1049aa0.js.map +1 -0
- package/dist/cjs/pt-2eb8d754.js +69 -0
- package/dist/cjs/pt-2eb8d754.js.map +1 -0
- package/dist/cjs/pt-br-8628d53b.js +67 -0
- package/dist/cjs/pt-br-8628d53b.js.map +1 -0
- package/dist/cjs/resources-08d62cb4.js +26 -0
- package/dist/cjs/resources-08d62cb4.js.map +1 -0
- package/dist/cjs/resources-509fc363.js +414 -0
- package/dist/cjs/resources-509fc363.js.map +1 -0
- package/dist/cjs/resources-ae6f9a2f.js +29 -0
- package/dist/cjs/resources-ae6f9a2f.js.map +1 -0
- package/dist/cjs/resources-e08d9050.js +49 -0
- package/dist/cjs/resources-e08d9050.js.map +1 -0
- package/dist/cjs/resources-ea7ffed3.js +23 -0
- package/dist/cjs/resources-ea7ffed3.js.map +1 -0
- package/dist/cjs/resources-fb846c8e.js +26 -0
- package/dist/cjs/resources-fb846c8e.js.map +1 -0
- package/dist/cjs/resources-fee57d73.js +17 -0
- package/dist/cjs/resources-fee57d73.js.map +1 -0
- package/dist/cjs/ro-1da47cae.js +68 -0
- package/dist/cjs/ro-1da47cae.js.map +1 -0
- package/dist/cjs/ru-0944cd1e.js +128 -0
- package/dist/cjs/ru-0944cd1e.js.map +1 -0
- package/dist/cjs/sk-d989b9f0.js +150 -0
- package/dist/cjs/sk-d989b9f0.js.map +1 -0
- package/dist/cjs/sl-0ba33fe4.js +170 -0
- package/dist/cjs/sl-0ba33fe4.js.map +1 -0
- package/dist/cjs/sortableComponent-9129a7fc.js +2739 -0
- package/dist/cjs/sortableComponent-9129a7fc.js.map +1 -0
- package/dist/cjs/sr-cf1ebbe3.js +103 -0
- package/dist/cjs/sr-cf1ebbe3.js.map +1 -0
- package/dist/cjs/sv-83b98472.js +73 -0
- package/dist/cjs/sv-83b98472.js.map +1 -0
- package/dist/cjs/t9n-eac0e150.js +97 -0
- package/dist/cjs/t9n-eac0e150.js.map +1 -0
- package/dist/cjs/th-9c4f89c3.js +67 -0
- package/dist/cjs/th-9c4f89c3.js.map +1 -0
- package/dist/cjs/throttle-4a5a51bd.js +77 -0
- package/dist/cjs/throttle-4a5a51bd.js.map +1 -0
- package/dist/cjs/tr-054ff699.js +68 -0
- package/dist/cjs/tr-054ff699.js.map +1 -0
- package/dist/cjs/uk-5cd20eaa.js +106 -0
- package/dist/cjs/uk-5cd20eaa.js.map +1 -0
- package/dist/cjs/utils-8974a300.js +218 -0
- package/dist/cjs/utils-8974a300.js.map +1 -0
- package/dist/cjs/utils-be54e9ef.js +307 -0
- package/dist/cjs/utils-be54e9ef.js.map +1 -0
- package/dist/cjs/vi-5ab85df5.js +72 -0
- package/dist/cjs/vi-5ab85df5.js.map +1 -0
- package/dist/cjs/zh-cn-f78507bf.js +96 -0
- package/dist/cjs/zh-cn-f78507bf.js.map +1 -0
- package/dist/cjs/zh-hk-75809a50.js +73 -0
- package/dist/cjs/zh-hk-75809a50.js.map +1 -0
- package/dist/cjs/zh-tw-420bbe61.js +94 -0
- package/dist/cjs/zh-tw-420bbe61.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +7 -7
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -6
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -6
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +6 -6
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +6 -6
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +6 -6
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +7 -7
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +6 -6
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +16 -6
- package/dist/collection/components/color-picker/color-picker.js.map +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 +7 -12
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +19 -14
- 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 +6 -6
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +7 -7
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +6 -6
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +7 -7
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +7 -7
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +7 -7
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +6 -6
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +8 -7
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +6 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +6 -6
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +7 -7
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +6 -6
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +6 -6
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -6
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +6 -6
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +6 -6
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +6 -6
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +6 -6
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +7 -7
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +6 -6
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +7 -7
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +6 -6
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +6 -6
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +6 -6
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +10 -1
- package/dist/collection/components/tile/resources.js.map +1 -1
- package/dist/collection/components/tile/tile.css +77 -57
- package/dist/collection/components/tile/tile.e2e.js +9 -2
- package/dist/collection/components/tile/tile.e2e.js.map +1 -1
- package/dist/collection/components/tile/tile.js +53 -8
- package/dist/collection/components/tile/tile.js.map +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -6
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +6 -6
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +7 -7
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +7 -7
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +6 -6
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/action.js.map +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion-item.js.map +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block-section.js.map +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-block.js.map +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +17 -7
- package/dist/components/calcite-color-picker.js.map +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown-item.js.map +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-menu-item.js.map +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-notice.js.map +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control-item.js.map +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-select.js.map +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-slider.js.map +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper-item.js.map +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +32 -9
- package/dist/components/calcite-tile.js.map +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip-manager.js.map +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tip.js.map +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list-item.js.map +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox-item.js.map +1 -1
- package/dist/components/combobox.js +21 -16
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month-header.js.map +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/handle.js.map +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +2 -2
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +2 -2
- 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 +2 -2
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/loader.js.map +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/pick-list-item.js.map +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/radio-button.js.map +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/switch.js.map +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +2 -2
- package/dist/components/table-header.js.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-a9579669.js +102 -0
- package/dist/esm/ExpandToggle-a9579669.js.map +1 -0
- package/dist/esm/FloatingArrow-06434dfd.js +47 -0
- package/dist/esm/FloatingArrow-06434dfd.js.map +1 -0
- package/dist/esm/Heading-45150b9f.js +19 -0
- package/dist/esm/Heading-45150b9f.js.map +1 -0
- package/dist/esm/Validation-7b1fb10b.js +16 -0
- package/dist/esm/Validation-7b1fb10b.js.map +1 -0
- package/dist/esm/app-globals-8a011f87.js +59 -0
- package/dist/esm/app-globals-8a011f87.js.map +1 -0
- package/dist/esm/ar-5d066dd9.js +104 -0
- package/dist/esm/ar-5d066dd9.js.map +1 -0
- package/dist/esm/array-8adfbe4c.js +12 -0
- package/dist/esm/array-8adfbe4c.js.map +1 -0
- package/dist/esm/bg-51c36c27.js +82 -0
- package/dist/esm/bg-51c36c27.js.map +1 -0
- package/dist/esm/browser-79ab9ba6.js +18 -0
- package/dist/esm/browser-79ab9ba6.js.map +1 -0
- package/dist/esm/bs-b7c67b5d.js +51 -0
- package/dist/esm/bs-b7c67b5d.js.map +1 -0
- package/dist/esm/ca-d300659c.js +71 -0
- package/dist/esm/ca-d300659c.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js.map +1 -1
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-alert.entry.js.map +1 -1
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +17 -17
- package/dist/esm/calcite-block_2.entry.js.map +1 -1
- package/dist/esm/calcite-button.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +32 -22
- package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +42 -37
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +16 -16
- package/dist/esm/calcite-graph_2.entry.js.map +1 -1
- package/dist/esm/calcite-handle.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js.map +1 -1
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-84e7419d.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-84e7419d.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +16 -16
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js.map +1 -1
- package/dist/esm/calcite-menu_2.entry.js +11 -11
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +15 -15
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +18 -18
- package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +13 -13
- package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-switch.entry.js.map +1 -1
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +15 -15
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +33 -14
- package/dist/esm/calcite-tile.entry.js.map +1 -1
- package/dist/esm/calcite-tip_3.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js.map +1 -1
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +18 -18
- package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-4ce2e4e4.js +27 -0
- package/dist/esm/component-4ce2e4e4.js.map +1 -0
- package/dist/esm/conditionalSlot-0fdeb6e1.js +57 -0
- package/dist/esm/conditionalSlot-0fdeb6e1.js.map +1 -0
- package/dist/esm/cs-9309363a.js +147 -0
- package/dist/esm/cs-9309363a.js.map +1 -0
- package/dist/esm/da-3bc71870.js +66 -0
- package/dist/esm/da-3bc71870.js.map +1 -0
- package/dist/esm/de-at-2a55c676.js +90 -0
- package/dist/esm/de-at-2a55c676.js.map +1 -0
- package/dist/esm/de-cacd65f9.js +91 -0
- package/dist/esm/de-cacd65f9.js.map +1 -0
- package/dist/esm/de-ch-a71f8336.js +90 -0
- package/dist/esm/de-ch-a71f8336.js.map +1 -0
- package/dist/esm/debounce-8977a306.js +489 -0
- package/dist/esm/debounce-8977a306.js.map +1 -0
- package/dist/esm/dom-08b6614c.js +1053 -0
- package/dist/esm/dom-08b6614c.js.map +1 -0
- package/dist/esm/el-8de63bb4.js +66 -0
- package/dist/esm/el-8de63bb4.js.map +1 -0
- package/dist/esm/en-au-c6020f45.js +66 -0
- package/dist/esm/en-au-c6020f45.js.map +1 -0
- package/dist/esm/en-ca-68679ecf.js +65 -0
- package/dist/esm/en-ca-68679ecf.js.map +1 -0
- package/dist/esm/en-gb-511dbe86.js +69 -0
- package/dist/esm/en-gb-511dbe86.js.map +1 -0
- package/dist/esm/es-5e53c111.js +66 -0
- package/dist/esm/es-5e53c111.js.map +1 -0
- package/dist/esm/es-mx-e53886d7.js +65 -0
- package/dist/esm/es-mx-e53886d7.js.map +1 -0
- package/dist/esm/et-16d960fe.js +92 -0
- package/dist/esm/et-16d960fe.js.map +1 -0
- package/dist/esm/fi-4abaa7c5.js +115 -0
- package/dist/esm/fi-4abaa7c5.js.map +1 -0
- package/dist/esm/filter-4160ac90.js +760 -0
- package/dist/esm/filter-4160ac90.js.map +1 -0
- package/dist/esm/floating-ui-44acd5ac.js +1957 -0
- package/dist/esm/floating-ui-44acd5ac.js.map +1 -0
- package/dist/esm/focusTrapComponent-61a50162.js +1015 -0
- package/dist/esm/focusTrapComponent-61a50162.js.map +1 -0
- package/dist/esm/form-02ff3693.js +324 -0
- package/dist/esm/form-02ff3693.js.map +1 -0
- package/dist/esm/fr-612a10c0.js +68 -0
- package/dist/esm/fr-612a10c0.js.map +1 -0
- package/dist/esm/fr-ch-f561ba9e.js +66 -0
- package/dist/esm/fr-ch-f561ba9e.js.map +1 -0
- package/dist/esm/guid-d4e7d31e.js +21 -0
- package/dist/esm/guid-d4e7d31e.js.map +1 -0
- package/dist/esm/he-93084066.js +105 -0
- package/dist/esm/he-93084066.js.map +1 -0
- package/dist/esm/hi-c1ee6998.js +65 -0
- package/dist/esm/hi-c1ee6998.js.map +1 -0
- package/dist/esm/hr-a1733b35.js +80 -0
- package/dist/esm/hr-a1733b35.js.map +1 -0
- package/dist/esm/hu-eb6d5a71.js +88 -0
- package/dist/esm/hu-eb6d5a71.js.map +1 -0
- package/dist/esm/id-c9460265.js +66 -0
- package/dist/esm/id-c9460265.js.map +1 -0
- package/dist/esm/index-15780aed.js +206 -0
- package/dist/esm/index-15780aed.js.map +1 -0
- package/dist/esm/index-18848e61.js +73 -0
- package/dist/esm/index-18848e61.js.map +1 -0
- package/dist/esm/index-91edccbd.js +2620 -0
- package/dist/esm/index-91edccbd.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-f332f7c7.js +136 -0
- package/dist/esm/interactive-f332f7c7.js.map +1 -0
- package/dist/esm/it-6d730ae9.js +66 -0
- package/dist/esm/it-6d730ae9.js.map +1 -0
- package/dist/esm/it-ch-8300b303.js +66 -0
- package/dist/esm/it-ch-8300b303.js.map +1 -0
- package/dist/esm/ja-739424be.js +72 -0
- package/dist/esm/ja-739424be.js.map +1 -0
- package/dist/esm/key-1e81df28.js +13 -0
- package/dist/esm/key-1e81df28.js.map +1 -0
- package/dist/esm/ko-eb225971.js +72 -0
- package/dist/esm/ko-eb225971.js.map +1 -0
- package/dist/esm/label-94340ccf.js +176 -0
- package/dist/esm/label-94340ccf.js.map +1 -0
- package/dist/esm/loadable-e5b2c41c.js +86 -0
- package/dist/esm/loadable-e5b2c41c.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-3cc2794c.js +563 -0
- package/dist/esm/locale-3cc2794c.js.map +1 -0
- package/dist/esm/lt-08ab381b.js +97 -0
- package/dist/esm/lt-08ab381b.js.map +1 -0
- package/dist/esm/lv-c8dd6ba2.js +66 -0
- package/dist/esm/lv-c8dd6ba2.js.map +1 -0
- package/dist/esm/math-c90f2ffb.js +51 -0
- package/dist/esm/math-c90f2ffb.js.map +1 -0
- package/dist/esm/mk-1c744aa8.js +66 -0
- package/dist/esm/mk-1c744aa8.js.map +1 -0
- package/dist/esm/nb-9600b747.js +67 -0
- package/dist/esm/nb-9600b747.js.map +1 -0
- package/dist/esm/nl-6963ded3.js +67 -0
- package/dist/esm/nl-6963ded3.js.map +1 -0
- package/dist/esm/observers-de596d65.js +48 -0
- package/dist/esm/observers-de596d65.js.map +1 -0
- package/dist/esm/openCloseComponent-0327226c.js +87 -0
- package/dist/esm/openCloseComponent-0327226c.js.map +1 -0
- package/dist/esm/pl-3bede996.js +114 -0
- package/dist/esm/pl-3bede996.js.map +1 -0
- package/dist/esm/pt-324e29c4.js +67 -0
- package/dist/esm/pt-324e29c4.js.map +1 -0
- package/dist/esm/pt-br-3254a01f.js +65 -0
- package/dist/esm/pt-br-3254a01f.js.map +1 -0
- package/dist/esm/resources-0c9c16f6.js +25 -0
- package/dist/esm/resources-0c9c16f6.js.map +1 -0
- package/dist/esm/resources-3bf40292.js +45 -0
- package/dist/esm/resources-3bf40292.js.map +1 -0
- package/dist/esm/resources-671017cd.js +387 -0
- package/dist/esm/resources-671017cd.js.map +1 -0
- package/dist/esm/resources-6f697258.js +17 -0
- package/dist/esm/resources-6f697258.js.map +1 -0
- package/dist/esm/resources-7029ed8b.js +23 -0
- package/dist/esm/resources-7029ed8b.js.map +1 -0
- package/dist/esm/resources-d887fe6e.js +21 -0
- package/dist/esm/resources-d887fe6e.js.map +1 -0
- package/dist/esm/resources-fbc5360d.js +19 -0
- package/dist/esm/resources-fbc5360d.js.map +1 -0
- package/dist/esm/ro-7f704b11.js +66 -0
- package/dist/esm/ro-7f704b11.js.map +1 -0
- package/dist/esm/ru-d78bb193.js +126 -0
- package/dist/esm/ru-d78bb193.js.map +1 -0
- package/dist/esm/sk-ac76260c.js +148 -0
- package/dist/esm/sk-ac76260c.js.map +1 -0
- package/dist/esm/sl-57173e5e.js +168 -0
- package/dist/esm/sl-57173e5e.js.map +1 -0
- package/dist/esm/sortableComponent-c4702e67.js +2735 -0
- package/dist/esm/sortableComponent-c4702e67.js.map +1 -0
- package/dist/esm/sr-aa2c4cab.js +101 -0
- package/dist/esm/sr-aa2c4cab.js.map +1 -0
- package/dist/esm/sv-05b14250.js +71 -0
- package/dist/esm/sv-05b14250.js.map +1 -0
- package/dist/esm/t9n-ac00cf6e.js +92 -0
- package/dist/esm/t9n-ac00cf6e.js.map +1 -0
- package/dist/esm/th-5fe85139.js +65 -0
- package/dist/esm/th-5fe85139.js.map +1 -0
- package/dist/esm/throttle-ba9f0641.js +75 -0
- package/dist/esm/throttle-ba9f0641.js.map +1 -0
- package/dist/esm/tr-17e76665.js +66 -0
- package/dist/esm/tr-17e76665.js.map +1 -0
- package/dist/esm/uk-49d1609a.js +104 -0
- package/dist/esm/uk-49d1609a.js.map +1 -0
- package/dist/esm/utils-837c791d.js +289 -0
- package/dist/esm/utils-837c791d.js.map +1 -0
- package/dist/esm/utils-8e3b6c16.js +200 -0
- package/dist/esm/utils-8e3b6c16.js.map +1 -0
- package/dist/esm/vi-68b8c9d0.js +70 -0
- package/dist/esm/vi-68b8c9d0.js.map +1 -0
- package/dist/esm/zh-cn-a9819cbd.js +94 -0
- package/dist/esm/zh-cn-a9819cbd.js.map +1 -0
- package/dist/esm/zh-hk-5209e0e3.js +71 -0
- package/dist/esm/zh-hk-5209e0e3.js.map +1 -0
- package/dist/esm/zh-tw-b68883d2.js +92 -0
- package/dist/esm/zh-tw-b68883d2.js.map +1 -0
- package/dist/extras/docs-json.json +60 -2
- 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/combobox/combobox.d.ts +4 -3
- package/dist/types/components/tile/resources.d.ts +9 -0
- package/dist/types/components/tile/tile.d.ts +10 -3
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +660 -621
- package/package.json +2 -2
- package/dist/calcite/p-00b33d27.js +0 -7
- package/dist/calcite/p-01223da5.entry.js +0 -7
- package/dist/calcite/p-01223da5.entry.js.map +0 -1
- package/dist/calcite/p-01ce6c82.entry.js +0 -7
- package/dist/calcite/p-0294cb32.entry.js +0 -7
- package/dist/calcite/p-0294cb32.entry.js.map +0 -1
- package/dist/calcite/p-041acb71.js +0 -7
- package/dist/calcite/p-082040be.js +0 -7
- package/dist/calcite/p-086954cf.entry.js +0 -7
- package/dist/calcite/p-0944eb43.entry.js +0 -7
- package/dist/calcite/p-0d04e387.js +0 -7
- package/dist/calcite/p-0f7d03d1.js +0 -7
- package/dist/calcite/p-10acb648.js +0 -7
- package/dist/calcite/p-11d4c82a.js +0 -7
- package/dist/calcite/p-128a6263.js +0 -7
- package/dist/calcite/p-15ec4f27.js +0 -7
- package/dist/calcite/p-15fd0b18.js +0 -7
- package/dist/calcite/p-1e1fed0c.entry.js +0 -7
- package/dist/calcite/p-1e1fed0c.entry.js.map +0 -1
- package/dist/calcite/p-20db39dc.js +0 -7
- package/dist/calcite/p-21d84e50.js +0 -7
- package/dist/calcite/p-264f4332.entry.js +0 -7
- package/dist/calcite/p-264f4332.entry.js.map +0 -1
- package/dist/calcite/p-26cd3c63.js +0 -7
- package/dist/calcite/p-26f7f362.js +0 -7
- package/dist/calcite/p-299b2dc4.entry.js +0 -7
- package/dist/calcite/p-2b1358dd.entry.js +0 -7
- package/dist/calcite/p-2e3e6934.js +0 -7
- package/dist/calcite/p-2e8e9118.entry.js +0 -7
- package/dist/calcite/p-2e8e9118.entry.js.map +0 -1
- package/dist/calcite/p-30bc9f81.entry.js +0 -7
- package/dist/calcite/p-319afb8e.js +0 -7
- package/dist/calcite/p-31fd105d.entry.js +0 -7
- package/dist/calcite/p-31fd105d.entry.js.map +0 -1
- package/dist/calcite/p-32f0d2e4.entry.js +0 -7
- package/dist/calcite/p-32f0d2e4.entry.js.map +0 -1
- package/dist/calcite/p-3328f5ba.js +0 -7
- package/dist/calcite/p-3341a34a.js +0 -7
- package/dist/calcite/p-341f5dd5.js +0 -7
- package/dist/calcite/p-34a71bdb.js +0 -7
- package/dist/calcite/p-34feb62c.entry.js +0 -7
- package/dist/calcite/p-34feb62c.entry.js.map +0 -1
- package/dist/calcite/p-351ef8bc.js +0 -7
- package/dist/calcite/p-385fabe6.entry.js +0 -7
- package/dist/calcite/p-39613b4f.js +0 -7
- package/dist/calcite/p-39d8f5e0.entry.js +0 -7
- package/dist/calcite/p-39e3cd7c.js +0 -7
- package/dist/calcite/p-3a38726f.js +0 -7
- package/dist/calcite/p-3c663b9d.entry.js +0 -7
- package/dist/calcite/p-3c663b9d.entry.js.map +0 -1
- package/dist/calcite/p-3e9ca753.js +0 -7
- package/dist/calcite/p-401ec473.entry.js +0 -7
- package/dist/calcite/p-41c6c9db.entry.js +0 -7
- package/dist/calcite/p-4598dc66.entry.js +0 -7
- package/dist/calcite/p-471d1acf.js +0 -7
- package/dist/calcite/p-48b5b678.js +0 -7
- package/dist/calcite/p-49586b62.js +0 -7
- package/dist/calcite/p-499adfac.entry.js +0 -7
- package/dist/calcite/p-499adfac.entry.js.map +0 -1
- package/dist/calcite/p-4ca318c0.entry.js +0 -7
- package/dist/calcite/p-4dd08f5c.entry.js +0 -7
- package/dist/calcite/p-4dd08f5c.entry.js.map +0 -1
- package/dist/calcite/p-4e27599d.js +0 -7
- package/dist/calcite/p-50fae575.js +0 -7
- package/dist/calcite/p-51bb034f.entry.js +0 -7
- package/dist/calcite/p-51bb034f.entry.js.map +0 -1
- package/dist/calcite/p-541ed8e8.js +0 -7
- package/dist/calcite/p-55202d8e.entry.js +0 -7
- package/dist/calcite/p-566745a9.js +0 -7
- package/dist/calcite/p-5723d5de.entry.js +0 -7
- package/dist/calcite/p-582b93a0.js +0 -7
- package/dist/calcite/p-5886e529.entry.js +0 -7
- package/dist/calcite/p-58d1332e.js +0 -7
- package/dist/calcite/p-5b0d5824.js +0 -7
- package/dist/calcite/p-5b9f1e26.entry.js +0 -7
- package/dist/calcite/p-5b9f1e26.entry.js.map +0 -1
- package/dist/calcite/p-5bacd0a4.entry.js +0 -7
- package/dist/calcite/p-619f6b40.entry.js +0 -7
- package/dist/calcite/p-636cae83.entry.js +0 -7
- package/dist/calcite/p-636cae83.entry.js.map +0 -1
- package/dist/calcite/p-65704e9c.js +0 -7
- package/dist/calcite/p-6635e3a5.js +0 -7
- package/dist/calcite/p-69628498.entry.js +0 -7
- package/dist/calcite/p-69628498.entry.js.map +0 -1
- package/dist/calcite/p-6b48fd8f.js +0 -7
- package/dist/calcite/p-6ca4af5b.js +0 -7
- package/dist/calcite/p-72484322.js +0 -7
- package/dist/calcite/p-73e108be.js +0 -7
- package/dist/calcite/p-7ab6ded4.entry.js +0 -7
- package/dist/calcite/p-7ab6ded4.entry.js.map +0 -1
- package/dist/calcite/p-7bcfca23.js +0 -7
- package/dist/calcite/p-7bd1de8b.js +0 -7
- package/dist/calcite/p-7c6b37cb.js +0 -7
- package/dist/calcite/p-7c9b1cff.js +0 -7
- package/dist/calcite/p-7d4b1849.entry.js +0 -7
- package/dist/calcite/p-7d650111.js +0 -7
- package/dist/calcite/p-7dfa77d1.js +0 -7
- package/dist/calcite/p-7f5e15af.entry.js +0 -7
- package/dist/calcite/p-810b69a9.entry.js +0 -7
- package/dist/calcite/p-810b69a9.entry.js.map +0 -1
- package/dist/calcite/p-812d4433.js +0 -7
- package/dist/calcite/p-85355ac3.js +0 -7
- package/dist/calcite/p-88b0202c.js +0 -7
- package/dist/calcite/p-88eda241.js +0 -7
- package/dist/calcite/p-8dcbfce8.js +0 -7
- package/dist/calcite/p-9223fe05.js +0 -7
- package/dist/calcite/p-92816b80.entry.js +0 -7
- package/dist/calcite/p-9395c02e.js +0 -11
- package/dist/calcite/p-958e9564.entry.js +0 -7
- package/dist/calcite/p-9868153c.entry.js +0 -7
- package/dist/calcite/p-9868153c.entry.js.map +0 -1
- package/dist/calcite/p-99a20f25.entry.js +0 -7
- package/dist/calcite/p-9b44500a.entry.js +0 -7
- package/dist/calcite/p-9b4aed37.js +0 -7
- package/dist/calcite/p-9b565b18.js +0 -7
- package/dist/calcite/p-9bd3b0b6.js +0 -7
- package/dist/calcite/p-9bf3339b.entry.js +0 -7
- package/dist/calcite/p-9bf3339b.entry.js.map +0 -1
- package/dist/calcite/p-9e347276.js +0 -7
- package/dist/calcite/p-9f076d48.js +0 -7
- package/dist/calcite/p-9fe87a22.entry.js +0 -7
- package/dist/calcite/p-9fe87a22.entry.js.map +0 -1
- package/dist/calcite/p-a07af675.entry.js +0 -7
- package/dist/calcite/p-a07af675.entry.js.map +0 -1
- package/dist/calcite/p-a0ca104b.js +0 -7
- package/dist/calcite/p-a5ff208a.js +0 -7
- package/dist/calcite/p-a63dbb17.entry.js +0 -7
- package/dist/calcite/p-a6687bbe.js +0 -7
- package/dist/calcite/p-a6739f55.js +0 -7
- package/dist/calcite/p-aa0e172f.js +0 -7
- package/dist/calcite/p-abbb8e20.js +0 -7
- package/dist/calcite/p-abc5ea47.entry.js +0 -7
- package/dist/calcite/p-abc5ea47.entry.js.map +0 -1
- package/dist/calcite/p-aff88591.js +0 -7
- package/dist/calcite/p-b04460b0.js +0 -7
- package/dist/calcite/p-b06765b5.js +0 -7
- package/dist/calcite/p-b1aeb283.entry.js +0 -7
- package/dist/calcite/p-b1c541ce.js +0 -7
- package/dist/calcite/p-b3e72f62.js +0 -7
- package/dist/calcite/p-b4957e5a.js +0 -7
- package/dist/calcite/p-ba29ffe7.entry.js +0 -7
- package/dist/calcite/p-ba29ffe7.entry.js.map +0 -1
- package/dist/calcite/p-ba4c20f7.js +0 -7
- package/dist/calcite/p-bb9a7c14.entry.js +0 -7
- package/dist/calcite/p-be3588ed.entry.js +0 -7
- package/dist/calcite/p-be3588ed.entry.js.map +0 -1
- package/dist/calcite/p-bf3d56f4.entry.js +0 -7
- package/dist/calcite/p-c1905124.js +0 -7
- package/dist/calcite/p-c1f13ffc.entry.js +0 -7
- package/dist/calcite/p-c1f13ffc.entry.js.map +0 -1
- package/dist/calcite/p-c233af9a.js +0 -7
- package/dist/calcite/p-c5a8df34.js +0 -7
- package/dist/calcite/p-c6fd9a15.entry.js +0 -7
- package/dist/calcite/p-c6fd9a15.entry.js.map +0 -1
- package/dist/calcite/p-c827bdff.js +0 -7
- package/dist/calcite/p-cbabb3e9.entry.js +0 -7
- package/dist/calcite/p-cbabb3e9.entry.js.map +0 -1
- package/dist/calcite/p-cf6c103a.js +0 -8
- package/dist/calcite/p-d3aa19a3.js +0 -7
- package/dist/calcite/p-d4392514.entry.js +0 -7
- package/dist/calcite/p-d4392514.entry.js.map +0 -1
- package/dist/calcite/p-d55685ca.entry.js +0 -7
- package/dist/calcite/p-d55685ca.entry.js.map +0 -1
- package/dist/calcite/p-d5d23c62.js +0 -7
- package/dist/calcite/p-d6e4ab3a.js +0 -12
- package/dist/calcite/p-d746164d.js +0 -7
- package/dist/calcite/p-dc0027ba.entry.js +0 -7
- package/dist/calcite/p-dc8fb8e4.entry.js +0 -7
- package/dist/calcite/p-e2c60ff0.entry.js +0 -7
- package/dist/calcite/p-e4186f47.js +0 -7
- package/dist/calcite/p-e4298c9a.entry.js +0 -7
- package/dist/calcite/p-e4736736.js +0 -7
- package/dist/calcite/p-e47b629f.entry.js +0 -7
- package/dist/calcite/p-e47b629f.entry.js.map +0 -1
- package/dist/calcite/p-e585713f.entry.js +0 -7
- package/dist/calcite/p-e585713f.entry.js.map +0 -1
- package/dist/calcite/p-e589b26a.entry.js +0 -7
- package/dist/calcite/p-e589b26a.entry.js.map +0 -1
- package/dist/calcite/p-e6f9f5c1.js +0 -7
- package/dist/calcite/p-eb367998.entry.js +0 -7
- package/dist/calcite/p-eb367998.entry.js.map +0 -1
- package/dist/calcite/p-ee9909cb.entry.js +0 -7
- package/dist/calcite/p-f148f25b.js +0 -7
- package/dist/calcite/p-f23ed287.entry.js +0 -7
- package/dist/calcite/p-f23ed287.entry.js.map +0 -1
- package/dist/calcite/p-f320c3b0.entry.js +0 -7
- package/dist/calcite/p-f320c3b0.entry.js.map +0 -1
- package/dist/calcite/p-f42f46c0.js +0 -7
- package/dist/calcite/p-f60dd8b1.js +0 -7
- package/dist/calcite/p-f75bd725.entry.js +0 -7
- package/dist/calcite/p-f75bd725.entry.js.map +0 -1
- package/dist/calcite/p-f9c43b7f.entry.js +0 -7
- package/dist/calcite/p-f9c43b7f.entry.js.map +0 -1
- package/dist/calcite/p-f9d57a45.entry.js +0 -7
- package/dist/calcite/p-f9d57a45.entry.js.map +0 -1
- package/dist/calcite/p-fa8aa680.js +0 -7
- package/dist/calcite/p-fd880023.entry.js +0 -7
- package/dist/calcite/p-fd880023.entry.js.map +0 -1
- package/dist/calcite/p-fe4db0fa.js +0 -13
- package/dist/cjs/ExpandToggle-9521cee5.js +0 -110
- package/dist/cjs/ExpandToggle-9521cee5.js.map +0 -1
- package/dist/cjs/FloatingArrow-5525a51e.js +0 -49
- package/dist/cjs/FloatingArrow-5525a51e.js.map +0 -1
- package/dist/cjs/Heading-8294d389.js +0 -22
- package/dist/cjs/Heading-8294d389.js.map +0 -1
- package/dist/cjs/Validation-e5075693.js +0 -18
- package/dist/cjs/Validation-e5075693.js.map +0 -1
- package/dist/cjs/app-globals-b8263335.js +0 -61
- package/dist/cjs/app-globals-b8263335.js.map +0 -1
- package/dist/cjs/ar-ce7a2383.js +0 -106
- package/dist/cjs/ar-ce7a2383.js.map +0 -1
- package/dist/cjs/array-bfc7639a.js +0 -14
- package/dist/cjs/array-bfc7639a.js.map +0 -1
- package/dist/cjs/bg-d0860d48.js +0 -84
- package/dist/cjs/bg-d0860d48.js.map +0 -1
- package/dist/cjs/browser-ee8f4c43.js +0 -20
- package/dist/cjs/browser-ee8f4c43.js.map +0 -1
- package/dist/cjs/bs-89e33cf2.js +0 -53
- package/dist/cjs/bs-89e33cf2.js.map +0 -1
- package/dist/cjs/ca-91e0cc2c.js +0 -73
- package/dist/cjs/ca-91e0cc2c.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js.map +0 -1
- package/dist/cjs/component-031364d5.js +0 -30
- package/dist/cjs/component-031364d5.js.map +0 -1
- package/dist/cjs/conditionalSlot-a14208bb.js +0 -60
- package/dist/cjs/conditionalSlot-a14208bb.js.map +0 -1
- package/dist/cjs/cs-83a82bf0.js +0 -149
- package/dist/cjs/cs-83a82bf0.js.map +0 -1
- package/dist/cjs/da-55c03ccb.js +0 -68
- package/dist/cjs/da-55c03ccb.js.map +0 -1
- package/dist/cjs/de-at-2eff8fd4.js +0 -92
- package/dist/cjs/de-at-2eff8fd4.js.map +0 -1
- package/dist/cjs/de-ch-e6790116.js +0 -92
- package/dist/cjs/de-ch-e6790116.js.map +0 -1
- package/dist/cjs/de-eb7d5bc8.js +0 -93
- package/dist/cjs/de-eb7d5bc8.js.map +0 -1
- package/dist/cjs/debounce-47d0a428.js +0 -498
- package/dist/cjs/debounce-47d0a428.js.map +0 -1
- package/dist/cjs/dom-8a99a8f4.js +0 -1084
- package/dist/cjs/dom-8a99a8f4.js.map +0 -1
- package/dist/cjs/el-efe35c19.js +0 -68
- package/dist/cjs/el-efe35c19.js.map +0 -1
- package/dist/cjs/en-au-f06421f5.js +0 -68
- package/dist/cjs/en-au-f06421f5.js.map +0 -1
- package/dist/cjs/en-ca-8eaf5515.js +0 -67
- package/dist/cjs/en-ca-8eaf5515.js.map +0 -1
- package/dist/cjs/en-gb-96b411c0.js +0 -71
- package/dist/cjs/en-gb-96b411c0.js.map +0 -1
- package/dist/cjs/es-3d63f266.js +0 -68
- package/dist/cjs/es-3d63f266.js.map +0 -1
- package/dist/cjs/es-mx-d81c53b9.js +0 -67
- package/dist/cjs/es-mx-d81c53b9.js.map +0 -1
- package/dist/cjs/et-ec23d267.js +0 -94
- package/dist/cjs/et-ec23d267.js.map +0 -1
- package/dist/cjs/fi-5276d29d.js +0 -117
- package/dist/cjs/fi-5276d29d.js.map +0 -1
- package/dist/cjs/filter-a1f78854.js +0 -762
- package/dist/cjs/filter-a1f78854.js.map +0 -1
- package/dist/cjs/floating-ui-d49e931c.js +0 -1965
- package/dist/cjs/floating-ui-d49e931c.js.map +0 -1
- package/dist/cjs/focusTrapComponent-bab8f4fe.js +0 -1020
- package/dist/cjs/focusTrapComponent-bab8f4fe.js.map +0 -1
- package/dist/cjs/form-4234381c.js +0 -333
- package/dist/cjs/form-4234381c.js.map +0 -1
- package/dist/cjs/fr-2b67725c.js +0 -70
- package/dist/cjs/fr-2b67725c.js.map +0 -1
- package/dist/cjs/fr-ch-a5ad7198.js +0 -68
- package/dist/cjs/fr-ch-a5ad7198.js.map +0 -1
- package/dist/cjs/guid-f89b696d.js +0 -23
- package/dist/cjs/guid-f89b696d.js.map +0 -1
- package/dist/cjs/he-9f0588ed.js +0 -107
- package/dist/cjs/he-9f0588ed.js.map +0 -1
- package/dist/cjs/hi-0c6c9c73.js +0 -67
- package/dist/cjs/hi-0c6c9c73.js.map +0 -1
- package/dist/cjs/hr-e9527c1e.js +0 -82
- package/dist/cjs/hr-e9527c1e.js.map +0 -1
- package/dist/cjs/hu-de46526b.js +0 -90
- package/dist/cjs/hu-de46526b.js.map +0 -1
- package/dist/cjs/id-33482348.js +0 -68
- package/dist/cjs/id-33482348.js.map +0 -1
- package/dist/cjs/index-0adb367e.js +0 -208
- package/dist/cjs/index-0adb367e.js.map +0 -1
- package/dist/cjs/index-20993df4.js +0 -75
- package/dist/cjs/index-20993df4.js.map +0 -1
- package/dist/cjs/index-315596ec.js +0 -2655
- package/dist/cjs/index-315596ec.js.map +0 -1
- package/dist/cjs/interactive-1c587add.js +0 -141
- package/dist/cjs/interactive-1c587add.js.map +0 -1
- package/dist/cjs/it-8337d997.js +0 -68
- package/dist/cjs/it-8337d997.js.map +0 -1
- package/dist/cjs/it-ch-723d4507.js +0 -68
- package/dist/cjs/it-ch-723d4507.js.map +0 -1
- package/dist/cjs/ja-ebafccaf.js +0 -74
- package/dist/cjs/ja-ebafccaf.js.map +0 -1
- package/dist/cjs/key-ce27460f.js +0 -16
- package/dist/cjs/key-ce27460f.js.map +0 -1
- package/dist/cjs/ko-d9a9ed6f.js +0 -74
- package/dist/cjs/ko-d9a9ed6f.js.map +0 -1
- package/dist/cjs/label-c0757b28.js +0 -183
- package/dist/cjs/label-c0757b28.js.map +0 -1
- package/dist/cjs/loadable-583ec821.js +0 -91
- package/dist/cjs/loadable-583ec821.js.map +0 -1
- package/dist/cjs/locale-62430b46.js +0 -576
- package/dist/cjs/locale-62430b46.js.map +0 -1
- package/dist/cjs/lt-547ce7f8.js +0 -99
- package/dist/cjs/lt-547ce7f8.js.map +0 -1
- package/dist/cjs/lv-e3ab0dd4.js +0 -68
- package/dist/cjs/lv-e3ab0dd4.js.map +0 -1
- package/dist/cjs/math-687d3bf5.js +0 -57
- package/dist/cjs/math-687d3bf5.js.map +0 -1
- package/dist/cjs/mk-ac39e9ba.js +0 -68
- package/dist/cjs/mk-ac39e9ba.js.map +0 -1
- package/dist/cjs/nb-3862ed2b.js +0 -69
- package/dist/cjs/nb-3862ed2b.js.map +0 -1
- package/dist/cjs/nl-f26a536c.js +0 -69
- package/dist/cjs/nl-f26a536c.js.map +0 -1
- package/dist/cjs/observers-bd89a170.js +0 -50
- package/dist/cjs/observers-bd89a170.js.map +0 -1
- package/dist/cjs/openCloseComponent-7009664d.js +0 -89
- package/dist/cjs/openCloseComponent-7009664d.js.map +0 -1
- package/dist/cjs/pl-5604e39c.js +0 -116
- package/dist/cjs/pl-5604e39c.js.map +0 -1
- package/dist/cjs/pt-a96a7649.js +0 -69
- package/dist/cjs/pt-a96a7649.js.map +0 -1
- package/dist/cjs/pt-br-609918e6.js +0 -67
- package/dist/cjs/pt-br-609918e6.js.map +0 -1
- package/dist/cjs/resources-666c6581.js +0 -29
- package/dist/cjs/resources-666c6581.js.map +0 -1
- package/dist/cjs/resources-669bed34.js +0 -17
- package/dist/cjs/resources-669bed34.js.map +0 -1
- package/dist/cjs/resources-6e141ab6.js +0 -26
- package/dist/cjs/resources-6e141ab6.js.map +0 -1
- package/dist/cjs/resources-832813b8.js +0 -23
- package/dist/cjs/resources-832813b8.js.map +0 -1
- package/dist/cjs/resources-a1c3da44.js +0 -26
- package/dist/cjs/resources-a1c3da44.js.map +0 -1
- package/dist/cjs/resources-e461c8a7.js +0 -49
- package/dist/cjs/resources-e461c8a7.js.map +0 -1
- package/dist/cjs/resources-febc620c.js +0 -414
- package/dist/cjs/resources-febc620c.js.map +0 -1
- package/dist/cjs/ro-725fe836.js +0 -68
- package/dist/cjs/ro-725fe836.js.map +0 -1
- package/dist/cjs/ru-a37f21cf.js +0 -128
- package/dist/cjs/ru-a37f21cf.js.map +0 -1
- package/dist/cjs/sk-e114c05c.js +0 -150
- package/dist/cjs/sk-e114c05c.js.map +0 -1
- package/dist/cjs/sl-283645a8.js +0 -170
- package/dist/cjs/sl-283645a8.js.map +0 -1
- package/dist/cjs/sortableComponent-22945d97.js +0 -2739
- package/dist/cjs/sortableComponent-22945d97.js.map +0 -1
- package/dist/cjs/sr-d3eabb60.js +0 -103
- package/dist/cjs/sr-d3eabb60.js.map +0 -1
- package/dist/cjs/sv-e46ad4d6.js +0 -73
- package/dist/cjs/sv-e46ad4d6.js.map +0 -1
- package/dist/cjs/t9n-2471b90f.js +0 -97
- package/dist/cjs/t9n-2471b90f.js.map +0 -1
- package/dist/cjs/th-4253024f.js +0 -67
- package/dist/cjs/th-4253024f.js.map +0 -1
- package/dist/cjs/throttle-03ef5077.js +0 -77
- package/dist/cjs/throttle-03ef5077.js.map +0 -1
- package/dist/cjs/tr-f5fb29cd.js +0 -68
- package/dist/cjs/tr-f5fb29cd.js.map +0 -1
- package/dist/cjs/uk-97721767.js +0 -106
- package/dist/cjs/uk-97721767.js.map +0 -1
- package/dist/cjs/utils-81b10422.js +0 -218
- package/dist/cjs/utils-81b10422.js.map +0 -1
- package/dist/cjs/utils-ab09fa69.js +0 -307
- package/dist/cjs/utils-ab09fa69.js.map +0 -1
- package/dist/cjs/vi-2e04fc1f.js +0 -72
- package/dist/cjs/vi-2e04fc1f.js.map +0 -1
- package/dist/cjs/zh-cn-d75e1b83.js +0 -96
- package/dist/cjs/zh-cn-d75e1b83.js.map +0 -1
- package/dist/cjs/zh-hk-603ff2dc.js +0 -73
- package/dist/cjs/zh-hk-603ff2dc.js.map +0 -1
- package/dist/cjs/zh-tw-f769c4a6.js +0 -94
- package/dist/cjs/zh-tw-f769c4a6.js.map +0 -1
- package/dist/esm/ExpandToggle-3810effb.js +0 -102
- package/dist/esm/ExpandToggle-3810effb.js.map +0 -1
- package/dist/esm/FloatingArrow-e53a2129.js +0 -47
- package/dist/esm/FloatingArrow-e53a2129.js.map +0 -1
- package/dist/esm/Heading-11b44426.js +0 -19
- package/dist/esm/Heading-11b44426.js.map +0 -1
- package/dist/esm/Validation-67e15e5c.js +0 -16
- package/dist/esm/Validation-67e15e5c.js.map +0 -1
- package/dist/esm/app-globals-4152c05e.js +0 -59
- package/dist/esm/app-globals-4152c05e.js.map +0 -1
- package/dist/esm/ar-55bf6805.js +0 -104
- package/dist/esm/ar-55bf6805.js.map +0 -1
- package/dist/esm/array-1c5e5140.js +0 -12
- package/dist/esm/array-1c5e5140.js.map +0 -1
- package/dist/esm/bg-dd3894db.js +0 -82
- package/dist/esm/bg-dd3894db.js.map +0 -1
- package/dist/esm/browser-df09b947.js +0 -18
- package/dist/esm/browser-df09b947.js.map +0 -1
- package/dist/esm/bs-ea2c718f.js +0 -51
- package/dist/esm/bs-ea2c718f.js.map +0 -1
- package/dist/esm/ca-e09992d8.js +0 -71
- package/dist/esm/ca-e09992d8.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js.map +0 -1
- package/dist/esm/component-0539431e.js +0 -27
- package/dist/esm/component-0539431e.js.map +0 -1
- package/dist/esm/conditionalSlot-5f792007.js +0 -57
- package/dist/esm/conditionalSlot-5f792007.js.map +0 -1
- package/dist/esm/cs-a0e885ec.js +0 -147
- package/dist/esm/cs-a0e885ec.js.map +0 -1
- package/dist/esm/da-a4ec6339.js +0 -66
- package/dist/esm/da-a4ec6339.js.map +0 -1
- package/dist/esm/de-6eb42a98.js +0 -91
- package/dist/esm/de-6eb42a98.js.map +0 -1
- package/dist/esm/de-at-80e16904.js +0 -90
- package/dist/esm/de-at-80e16904.js.map +0 -1
- package/dist/esm/de-ch-c9f3a5f4.js +0 -90
- package/dist/esm/de-ch-c9f3a5f4.js.map +0 -1
- package/dist/esm/debounce-6853b96e.js +0 -489
- package/dist/esm/debounce-6853b96e.js.map +0 -1
- package/dist/esm/dom-e5f64712.js +0 -1053
- package/dist/esm/dom-e5f64712.js.map +0 -1
- package/dist/esm/el-c5b18675.js +0 -66
- package/dist/esm/el-c5b18675.js.map +0 -1
- package/dist/esm/en-au-8f1484e5.js +0 -66
- package/dist/esm/en-au-8f1484e5.js.map +0 -1
- package/dist/esm/en-ca-fce90580.js +0 -65
- package/dist/esm/en-ca-fce90580.js.map +0 -1
- package/dist/esm/en-gb-2b14b424.js +0 -69
- package/dist/esm/en-gb-2b14b424.js.map +0 -1
- package/dist/esm/es-403a9263.js +0 -66
- package/dist/esm/es-403a9263.js.map +0 -1
- package/dist/esm/es-mx-5b6fc56e.js +0 -65
- package/dist/esm/es-mx-5b6fc56e.js.map +0 -1
- package/dist/esm/et-030ba87f.js +0 -92
- package/dist/esm/et-030ba87f.js.map +0 -1
- package/dist/esm/fi-b0ab1580.js +0 -115
- package/dist/esm/fi-b0ab1580.js.map +0 -1
- package/dist/esm/filter-4633a870.js +0 -760
- package/dist/esm/filter-4633a870.js.map +0 -1
- package/dist/esm/floating-ui-101f0321.js +0 -1957
- package/dist/esm/floating-ui-101f0321.js.map +0 -1
- package/dist/esm/focusTrapComponent-d262d8ea.js +0 -1015
- package/dist/esm/focusTrapComponent-d262d8ea.js.map +0 -1
- package/dist/esm/form-e6d220a2.js +0 -324
- package/dist/esm/form-e6d220a2.js.map +0 -1
- package/dist/esm/fr-1a492056.js +0 -68
- package/dist/esm/fr-1a492056.js.map +0 -1
- package/dist/esm/fr-ch-8c47e261.js +0 -66
- package/dist/esm/fr-ch-8c47e261.js.map +0 -1
- package/dist/esm/guid-4f87cd10.js +0 -21
- package/dist/esm/guid-4f87cd10.js.map +0 -1
- package/dist/esm/he-b791bfeb.js +0 -105
- package/dist/esm/he-b791bfeb.js.map +0 -1
- package/dist/esm/hi-f90e5520.js +0 -65
- package/dist/esm/hi-f90e5520.js.map +0 -1
- package/dist/esm/hr-11494043.js +0 -80
- package/dist/esm/hr-11494043.js.map +0 -1
- package/dist/esm/hu-36dfc8eb.js +0 -88
- package/dist/esm/hu-36dfc8eb.js.map +0 -1
- package/dist/esm/id-ae4b2c05.js +0 -66
- package/dist/esm/id-ae4b2c05.js.map +0 -1
- package/dist/esm/index-54140c30.js +0 -2620
- package/dist/esm/index-54140c30.js.map +0 -1
- package/dist/esm/index-b5cf267b.js +0 -206
- package/dist/esm/index-b5cf267b.js.map +0 -1
- package/dist/esm/index-d9046c8f.js +0 -73
- package/dist/esm/index-d9046c8f.js.map +0 -1
- package/dist/esm/interactive-9254dd1a.js +0 -136
- package/dist/esm/interactive-9254dd1a.js.map +0 -1
- package/dist/esm/it-b4d84efc.js +0 -66
- package/dist/esm/it-b4d84efc.js.map +0 -1
- package/dist/esm/it-ch-0bba1334.js +0 -66
- package/dist/esm/it-ch-0bba1334.js.map +0 -1
- package/dist/esm/ja-cf5b848e.js +0 -72
- package/dist/esm/ja-cf5b848e.js.map +0 -1
- package/dist/esm/key-c5a2dce5.js +0 -13
- package/dist/esm/key-c5a2dce5.js.map +0 -1
- package/dist/esm/ko-18ae91c3.js +0 -72
- package/dist/esm/ko-18ae91c3.js.map +0 -1
- package/dist/esm/label-4f7be475.js +0 -176
- package/dist/esm/label-4f7be475.js.map +0 -1
- package/dist/esm/loadable-703938ac.js +0 -86
- package/dist/esm/loadable-703938ac.js.map +0 -1
- package/dist/esm/locale-b3dd17dc.js +0 -563
- package/dist/esm/locale-b3dd17dc.js.map +0 -1
- package/dist/esm/lt-566c53d5.js +0 -97
- package/dist/esm/lt-566c53d5.js.map +0 -1
- package/dist/esm/lv-2d686712.js +0 -66
- package/dist/esm/lv-2d686712.js.map +0 -1
- package/dist/esm/math-9204a56d.js +0 -51
- package/dist/esm/math-9204a56d.js.map +0 -1
- package/dist/esm/mk-0261f9fe.js +0 -66
- package/dist/esm/mk-0261f9fe.js.map +0 -1
- package/dist/esm/nb-5dcf8d83.js +0 -67
- package/dist/esm/nb-5dcf8d83.js.map +0 -1
- package/dist/esm/nl-bc7f280a.js +0 -67
- package/dist/esm/nl-bc7f280a.js.map +0 -1
- package/dist/esm/observers-339a84bb.js +0 -48
- package/dist/esm/observers-339a84bb.js.map +0 -1
- package/dist/esm/openCloseComponent-de30d208.js +0 -87
- package/dist/esm/openCloseComponent-de30d208.js.map +0 -1
- package/dist/esm/pl-516c0130.js +0 -114
- package/dist/esm/pl-516c0130.js.map +0 -1
- package/dist/esm/pt-38801a89.js +0 -67
- package/dist/esm/pt-38801a89.js.map +0 -1
- package/dist/esm/pt-br-58c13c23.js +0 -65
- package/dist/esm/pt-br-58c13c23.js.map +0 -1
- package/dist/esm/resources-3f0f4ee9.js +0 -387
- package/dist/esm/resources-3f0f4ee9.js.map +0 -1
- package/dist/esm/resources-47bad8e2.js +0 -45
- package/dist/esm/resources-47bad8e2.js.map +0 -1
- package/dist/esm/resources-605689f9.js +0 -23
- package/dist/esm/resources-605689f9.js.map +0 -1
- package/dist/esm/resources-c5611de1.js +0 -25
- package/dist/esm/resources-c5611de1.js.map +0 -1
- package/dist/esm/resources-cea160f3.js +0 -19
- package/dist/esm/resources-cea160f3.js.map +0 -1
- package/dist/esm/resources-da6536ba.js +0 -17
- package/dist/esm/resources-da6536ba.js.map +0 -1
- package/dist/esm/resources-e92e3f84.js +0 -21
- package/dist/esm/resources-e92e3f84.js.map +0 -1
- package/dist/esm/ro-7d401b18.js +0 -66
- package/dist/esm/ro-7d401b18.js.map +0 -1
- package/dist/esm/ru-f76a0c11.js +0 -126
- package/dist/esm/ru-f76a0c11.js.map +0 -1
- package/dist/esm/sk-2e7ba2e0.js +0 -148
- package/dist/esm/sk-2e7ba2e0.js.map +0 -1
- package/dist/esm/sl-baddf04f.js +0 -168
- package/dist/esm/sl-baddf04f.js.map +0 -1
- package/dist/esm/sortableComponent-a920089c.js +0 -2735
- package/dist/esm/sortableComponent-a920089c.js.map +0 -1
- package/dist/esm/sr-32f8aa4d.js +0 -101
- package/dist/esm/sr-32f8aa4d.js.map +0 -1
- package/dist/esm/sv-1c5d7c6d.js +0 -71
- package/dist/esm/sv-1c5d7c6d.js.map +0 -1
- package/dist/esm/t9n-416f93ba.js +0 -92
- package/dist/esm/t9n-416f93ba.js.map +0 -1
- package/dist/esm/th-fa1bc6b6.js +0 -65
- package/dist/esm/th-fa1bc6b6.js.map +0 -1
- package/dist/esm/throttle-c180a249.js +0 -75
- package/dist/esm/throttle-c180a249.js.map +0 -1
- package/dist/esm/tr-2775ebd9.js +0 -66
- package/dist/esm/tr-2775ebd9.js.map +0 -1
- package/dist/esm/uk-731884a9.js +0 -104
- package/dist/esm/uk-731884a9.js.map +0 -1
- package/dist/esm/utils-35e399d8.js +0 -200
- package/dist/esm/utils-35e399d8.js.map +0 -1
- package/dist/esm/utils-7c1d6125.js +0 -289
- package/dist/esm/utils-7c1d6125.js.map +0 -1
- package/dist/esm/vi-86d98c11.js +0 -70
- package/dist/esm/vi-86d98c11.js.map +0 -1
- package/dist/esm/zh-cn-d2fef501.js +0 -94
- package/dist/esm/zh-cn-d2fef501.js.map +0 -1
- package/dist/esm/zh-hk-7f540d06.js +0 -71
- package/dist/esm/zh-hk-7f540d06.js.map +0 -1
- package/dist/esm/zh-tw-0b96e532.js +0 -92
- package/dist/esm/zh-tw-0b96e532.js.map +0 -1
- /package/dist/calcite/{p-50fae575.js.map → p-04bf9ee0.js.map} +0 -0
- /package/dist/calcite/{p-85355ac3.js.map → p-077adace.js.map} +0 -0
- /package/dist/calcite/{p-88eda241.js.map → p-0aebc5e2.js.map} +0 -0
- /package/dist/calcite/{p-c233af9a.js.map → p-0b4fc200.js.map} +0 -0
- /package/dist/calcite/{p-0f7d03d1.js.map → p-0e2dd590.js.map} +0 -0
- /package/dist/calcite/{p-fa8aa680.js.map → p-0ff9607e.js.map} +0 -0
- /package/dist/calcite/{p-15ec4f27.js.map → p-11888bdf.js.map} +0 -0
- /package/dist/calcite/{p-b06765b5.js.map → p-19e704e4.js.map} +0 -0
- /package/dist/calcite/{p-7d4b1849.entry.js.map → p-1f5eabba.entry.js.map} +0 -0
- /package/dist/calcite/{p-aa0e172f.js.map → p-237e7376.js.map} +0 -0
- /package/dist/calcite/{p-3e9ca753.js.map → p-298dd034.js.map} +0 -0
- /package/dist/calcite/{p-d6e4ab3a.js.map → p-2a0f60c9.js.map} +0 -0
- /package/dist/calcite/{p-5b0d5824.js.map → p-2a7b59b3.js.map} +0 -0
- /package/dist/calcite/{p-086954cf.entry.js.map → p-2aacf166.entry.js.map} +0 -0
- /package/dist/calcite/{p-aff88591.js.map → p-2b05e96c.js.map} +0 -0
- /package/dist/calcite/{p-a6687bbe.js.map → p-2d9e3418.js.map} +0 -0
- /package/dist/calcite/{p-2e3e6934.js.map → p-3123136c.js.map} +0 -0
- /package/dist/calcite/{p-01ce6c82.entry.js.map → p-3623f210.entry.js.map} +0 -0
- /package/dist/calcite/{p-48b5b678.js.map → p-3ac4588f.js.map} +0 -0
- /package/dist/calcite/{p-9f076d48.js.map → p-3bb81127.js.map} +0 -0
- /package/dist/calcite/{p-c1905124.js.map → p-3c675720.js.map} +0 -0
- /package/dist/calcite/{p-bf3d56f4.entry.js.map → p-44f8178d.entry.js.map} +0 -0
- /package/dist/calcite/{p-0d04e387.js.map → p-45af6cec.js.map} +0 -0
- /package/dist/calcite/{p-9223fe05.js.map → p-45b93e33.js.map} +0 -0
- /package/dist/calcite/{p-e4186f47.js.map → p-4ef1e399.js.map} +0 -0
- /package/dist/calcite/{p-e4298c9a.entry.js.map → p-4f9c0e55.entry.js.map} +0 -0
- /package/dist/calcite/{p-566745a9.js.map → p-50ee23bf.js.map} +0 -0
- /package/dist/calcite/{p-5886e529.entry.js.map → p-533c97f3.entry.js.map} +0 -0
- /package/dist/calcite/{p-7bd1de8b.js.map → p-53cd0d17.js.map} +0 -0
- /package/dist/calcite/{p-9395c02e.js.map → p-5713e697.js.map} +0 -0
- /package/dist/calcite/{p-4ca318c0.entry.js.map → p-57e80471.entry.js.map} +0 -0
- /package/dist/calcite/{p-128a6263.js.map → p-57f5465e.js.map} +0 -0
- /package/dist/calcite/{p-082040be.js.map → p-5b80a986.js.map} +0 -0
- /package/dist/calcite/{p-812d4433.js.map → p-5b92b79a.js.map} +0 -0
- /package/dist/calcite/{p-a0ca104b.js.map → p-5bdc1461.js.map} +0 -0
- /package/dist/calcite/{p-34a71bdb.js.map → p-5ea2064c.js.map} +0 -0
- /package/dist/calcite/{p-39d8f5e0.entry.js.map → p-615349be.entry.js.map} +0 -0
- /package/dist/calcite/{p-958e9564.entry.js.map → p-637a4752.entry.js.map} +0 -0
- /package/dist/calcite/{p-abbb8e20.js.map → p-63e0bf39.js.map} +0 -0
- /package/dist/calcite/{p-88b0202c.js.map → p-64612172.js.map} +0 -0
- /package/dist/calcite/{p-341f5dd5.js.map → p-66df38c9.js.map} +0 -0
- /package/dist/calcite/{p-7d650111.js.map → p-68c9209b.js.map} +0 -0
- /package/dist/calcite/{p-41c6c9db.entry.js.map → p-6b9a90b3.entry.js.map} +0 -0
- /package/dist/calcite/{p-39613b4f.js.map → p-705f04ba.js.map} +0 -0
- /package/dist/calcite/{p-9b4aed37.js.map → p-70acda02.js.map} +0 -0
- /package/dist/calcite/{p-d5d23c62.js.map → p-71cec3a4.js.map} +0 -0
- /package/dist/calcite/{p-0944eb43.entry.js.map → p-765f7d15.entry.js.map} +0 -0
- /package/dist/calcite/{p-3341a34a.js.map → p-78427b05.js.map} +0 -0
- /package/dist/calcite/{p-58d1332e.js.map → p-7a32abca.js.map} +0 -0
- /package/dist/calcite/{p-bb9a7c14.entry.js.map → p-7cb32bfc.entry.js.map} +0 -0
- /package/dist/calcite/{p-471d1acf.js.map → p-7d92fea1.js.map} +0 -0
- /package/dist/calcite/{p-f148f25b.js.map → p-7fa28a1a.js.map} +0 -0
- /package/dist/calcite/{p-00b33d27.js.map → p-800cad55.js.map} +0 -0
- /package/dist/calcite/{p-6635e3a5.js.map → p-829c43a1.js.map} +0 -0
- /package/dist/calcite/{p-d3aa19a3.js.map → p-844c1caa.js.map} +0 -0
- /package/dist/calcite/{p-299b2dc4.entry.js.map → p-84946655.entry.js.map} +0 -0
- /package/dist/calcite/{p-99a20f25.entry.js.map → p-88d01ffd.entry.js.map} +0 -0
- /package/dist/calcite/{p-9e347276.js.map → p-897e1a2e.js.map} +0 -0
- /package/dist/calcite/{p-e6f9f5c1.js.map → p-8a08539c.js.map} +0 -0
- /package/dist/calcite/{p-9b44500a.entry.js.map → p-8af41380.entry.js.map} +0 -0
- /package/dist/calcite/{p-8dcbfce8.js.map → p-8d22af5c.js.map} +0 -0
- /package/dist/calcite/{p-5723d5de.entry.js.map → p-9111d38f.entry.js.map} +0 -0
- /package/dist/calcite/{p-7dfa77d1.js.map → p-992cd7cf.js.map} +0 -0
- /package/dist/calcite/{p-b04460b0.js.map → p-99d9f179.js.map} +0 -0
- /package/dist/calcite/{p-7bcfca23.js.map → p-9af44e5e.js.map} +0 -0
- /package/dist/calcite/{p-6ca4af5b.js.map → p-9b95254f.js.map} +0 -0
- /package/dist/calcite/{p-4e27599d.js.map → p-9e925631.js.map} +0 -0
- /package/dist/calcite/{p-15fd0b18.js.map → p-a38c5371.js.map} +0 -0
- /package/dist/calcite/{p-b1aeb283.entry.js.map → p-a3f078cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-a6739f55.js.map → p-a8373b69.js.map} +0 -0
- /package/dist/calcite/{p-a63dbb17.entry.js.map → p-a9ce2433.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf6c103a.js.map → p-aa4a7aa0.js.map} +0 -0
- /package/dist/calcite/{p-10acb648.js.map → p-b4352ddb.js.map} +0 -0
- /package/dist/calcite/{p-73e108be.js.map → p-b5a512a0.js.map} +0 -0
- /package/dist/calcite/{p-541ed8e8.js.map → p-b77f3a77.js.map} +0 -0
- /package/dist/calcite/{p-4598dc66.entry.js.map → p-b7a70295.entry.js.map} +0 -0
- /package/dist/calcite/{p-55202d8e.entry.js.map → p-b80c938f.entry.js.map} +0 -0
- /package/dist/calcite/{p-041acb71.js.map → p-bf26a6ed.js.map} +0 -0
- /package/dist/calcite/{p-2b1358dd.entry.js.map → p-bf4dbf61.entry.js.map} +0 -0
- /package/dist/calcite/{p-351ef8bc.js.map → p-bfab4536.js.map} +0 -0
- /package/dist/calcite/{p-f42f46c0.js.map → p-c00b8868.js.map} +0 -0
- /package/dist/calcite/{p-ee9909cb.entry.js.map → p-c3cd2929.entry.js.map} +0 -0
- /package/dist/calcite/{p-49586b62.js.map → p-c5c033e0.js.map} +0 -0
- /package/dist/calcite/{p-401ec473.entry.js.map → p-c5c51e20.entry.js.map} +0 -0
- /package/dist/calcite/{p-39e3cd7c.js.map → p-c5f2d6dd.js.map} +0 -0
- /package/dist/calcite/{p-e4736736.js.map → p-c825e1d7.js.map} +0 -0
- /package/dist/calcite/{p-9b565b18.js.map → p-cc3e3eb3.js.map} +0 -0
- /package/dist/calcite/{p-385fabe6.entry.js.map → p-ce0038df.entry.js.map} +0 -0
- /package/dist/calcite/{p-7f5e15af.entry.js.map → p-cf029a29.entry.js.map} +0 -0
- /package/dist/calcite/{p-65704e9c.js.map → p-d5c307b4.js.map} +0 -0
- /package/dist/calcite/{p-b1c541ce.js.map → p-d6c65989.js.map} +0 -0
- /package/dist/calcite/{p-26f7f362.js.map → p-d82edf1d.js.map} +0 -0
- /package/dist/calcite/{p-e2c60ff0.entry.js.map → p-d8733db2.entry.js.map} +0 -0
- /package/dist/calcite/{p-3328f5ba.js.map → p-da0a8316.js.map} +0 -0
- /package/dist/calcite/{p-fe4db0fa.js.map → p-da496453.js.map} +0 -0
- /package/dist/calcite/{p-319afb8e.js.map → p-dd0c9b04.js.map} +0 -0
- /package/dist/calcite/{p-92816b80.entry.js.map → p-de2f6d68.entry.js.map} +0 -0
- /package/dist/calcite/{p-5bacd0a4.entry.js.map → p-df41f307.entry.js.map} +0 -0
- /package/dist/calcite/{p-72484322.js.map → p-e14fd58f.js.map} +0 -0
- /package/dist/calcite/{p-21d84e50.js.map → p-e2c841ab.js.map} +0 -0
- /package/dist/calcite/{p-a5ff208a.js.map → p-e42f0886.js.map} +0 -0
- /package/dist/calcite/{p-20db39dc.js.map → p-e666f3f7.js.map} +0 -0
- /package/dist/calcite/{p-dc0027ba.entry.js.map → p-e8b4926d.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3e72f62.js.map → p-e93e2ffb.js.map} +0 -0
- /package/dist/calcite/{p-619f6b40.entry.js.map → p-e95ab15f.entry.js.map} +0 -0
- /package/dist/calcite/{p-c827bdff.js.map → p-eaa7bcc5.js.map} +0 -0
- /package/dist/calcite/{p-b4957e5a.js.map → p-ec4b4562.js.map} +0 -0
- /package/dist/calcite/{p-7c6b37cb.js.map → p-ef8fc86d.js.map} +0 -0
- /package/dist/calcite/{p-30bc9f81.entry.js.map → p-f01e9a8d.entry.js.map} +0 -0
- /package/dist/calcite/{p-f60dd8b1.js.map → p-f2fc0ffb.js.map} +0 -0
- /package/dist/calcite/{p-6b48fd8f.js.map → p-f4650a58.js.map} +0 -0
- /package/dist/calcite/{p-ba4c20f7.js.map → p-f501737a.js.map} +0 -0
- /package/dist/calcite/{p-c5a8df34.js.map → p-f55e1078.js.map} +0 -0
- /package/dist/calcite/{p-d746164d.js.map → p-f5919411.js.map} +0 -0
- /package/dist/calcite/{p-7c9b1cff.js.map → p-f740ae4e.js.map} +0 -0
- /package/dist/calcite/{p-11d4c82a.js.map → p-f798999b.js.map} +0 -0
- /package/dist/calcite/{p-582b93a0.js.map → p-f9b23542.js.map} +0 -0
- /package/dist/calcite/{p-3a38726f.js.map → p-fa0d1ed0.js.map} +0 -0
- /package/dist/calcite/{p-9bd3b0b6.js.map → p-fb46e1b7.js.map} +0 -0
- /package/dist/calcite/{p-dc8fb8e4.entry.js.map → p-fc5a3d05.entry.js.map} +0 -0
- /package/dist/calcite/{p-26cd3c63.js.map → p-fedca14d.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["slope","p0","p1","p2","dx","dx1","dy","dy1","m","m1","p","Math","sign","min","abs","slopeSingle","bezier","m0","t","x0","y0","x1","y1","h1","join","h2","translate","width","height","max","rangeX","rangeY","point","x","y","range","data","startX","startY","reduce","area","length","minX","minY","maxX","commands","acc","i","undefined","command","last","end","graphCss","Graph","this","graphId","guid","resizeObserver","createObserver","forceUpdate","connectedCallback","observe","el","disconnectedCallback","disconnect","render","colorStops","highlightMax","highlightMin","id","clientHeight","clientWidth","h","class","preserveAspectRatio","viewBox","rangeMin","rangeMax","currentMin","currentMax","hMinX","hMaxX","areaPath","fill","x2","y2","map","offset","color","opacity","d","mask","CSS","container","containerRange","graph","handle","handleExtension","handleLabel","handleLabelMinValue","handleLabelValue","hyphen","hyphenWrap","static","thumb","thumbActive","thumbContainer","thumbMinValue","thumbPrecise","thumbValue","tick","tickActive","tickLabel","tickMax","tickMin","ticks","track","trackRange","transformed","maxTickElementThreshold","sliderCss","isRange","value","Array","isArray","Slider","activeProp","onThumbBlur","onThumbFocus","event","currentTarget","getAttribute","onThumbPointerDown","pointerDownDragStart","onTrackPointerDown","dragUpdate","disabled","preventDefault","dragProp","clientX","pageX","minValueDragRange","maxValueDragRange","minMaxValueRange","newMinValue","newMaxValue","setValue","minValue","clamp","maxValue","pointerUpDragEnd","isPrimaryPointerButton","dragEnd","removeDragListeners","focusActiveHandle","lastDragPropValue","emitChange","storeTrackRef","node","trackEl","storeThumbRef","valueProp","minHandle","maxHandle","formatValue","numberStringFormatter","numberFormatOptions","locale","effectiveLocale","numberingSystem","useGrouping","groupSeparator","localize","toString","histogramWatcher","newHistogram","hasHistogram","ticksWatcher","tickValues","generateTickValues","valueHandler","setMinMaxFromValue","minMaxValueHandler","setValueFromMinMax","connectInteractive","connectLocalized","connectLabel","connectForm","disconnectInteractive","disconnectLabel","disconnectForm","disconnectLocalized","componentWillLoad","setUpLoadableComponent","snap","getClosestStep","histogram","afterConnectDefaultValueSet","componentDidLoad","setComponentLoaded","componentDidRender","labelHandles","adjustHostObscuredHandleLabel","precise","hyphenateCollidingRangeHandleLabels","hideObscuredBoundingTickLabels","updateHostInteraction","useMinValue","shouldUseMinValue","minInterval","getUnitInterval","maxInterval","mirror","shouldMirror","valueIsRange","thumbTypes","buildThumbType","renderThumb","type","thumbPlacement","includes","minThumbTypes","minThumb","Host","onTouchStart","handleTouchStart","InteractiveContainer","getLabelText","scale","renderGraph","ref","onPointerDown","style","left","right","tickOffset","activeTicks","renderTickLabel","HiddenFormInputSlot","component","isLabeled","isPrecise","isMinThumb","ariaLabel","minLabel","maxLabel","ariaValuenow","displayedValue","thumbStyle","thumbLabelClasses","labels","thumbContent","reverse","lastDragProp","key","onBlur","onFocus","role","tabIndex","histogramStops","labelTicks","isMinTickLabel","isMaxTickLabel","isAtEdge","shouldDisplayLabel","keyDownHandler","pageStep","step","isActivationKey","adjustment","directionFactor","isNaN","fixedDecimalAdjustment","Number","toFixed","decimalPlaces","pointerDownHandler","position","prop","inRange","closerToMax","dragStart","isThumbActive","shadowRoot","querySelector","setFocus","componentFocusable","focus","thumbTypeParts","push","onLabelClick","mirrored","getTickDensity","density","tickInterval","current","window","addEventListener","valueX","getClosestHandle","emitInput","calciteSliderInput","emit","calciteSliderChange","removeEventListener","values","valueChanged","Object","keys","forEach","propName","newValue","oldValue","dragging","getBoundingClientRect","percent","clampedValue","num","round","getDistanceX","getFontSizeForElement","element","getComputedStyle","getPropertyValue","match","name","label","labelStatic","labelTransformed","labelStaticBounds","labelStaticOffset","getHostOffset","transform","leftModifier","rightModifier","leftValueLabel","leftValueLabelStatic","leftValueLabelTransformed","leftValueLabelStaticHostOffset","rightValueLabel","rightValueLabelStatic","rightValueLabelTransformed","rightValueLabelStaticHostOffset","labelFontSize","labelTransformedOverlap","getRangeLabelOverlap","hyphenLabel","labelOffset","classList","add","leftValueLabelTranslate","leftValueLabelTransformedHostOffset","rightValueLabelTranslate","rightValueLabelTransformedHostOffset","remove","minTickLabel","maxTickLabel","isMinTickLabelObscured","isMaxTickLabelObscured","leftBounds","rightBounds","hostBounds","buffer","leftLabel","rightLabel","leftLabelBounds","rightLabelBounds","leftLabelFontSize","rangeLabelOverlap","minLabelBounds","handleBounds","intersects","maxLabelBounds"],"sources":["src/components/graph/util.ts","src/components/graph/graph.scss?tag=calcite-graph&encapsulation=shadow","src/components/graph/graph.tsx","src/components/slider/resources.ts","src/components/slider/slider.scss?tag=calcite-slider&encapsulation=shadow","src/components/slider/slider.tsx"],"sourcesContent":["import { DataSeries, Extent, Graph, Point, TranslateOptions, Translator } from \"../graph/interfaces\";\n\n/**\n * Calculate slope of the tangents\n * uses Steffen interpolation as it's monotonic\n * http://jrwalsh1.github.io/posts/interpolations/\n *\n * @param p0\n * @param p1\n * @param p2\n */\nfunction slope(p0: Point, p1: Point, p2: Point): number {\n const dx = p1[0] - p0[0];\n const dx1 = p2[0] - p1[0];\n const dy = p1[1] - p0[1];\n const dy1 = p2[1] - p1[1];\n const m = dy / (dx || (dx1 < 0 && 0));\n const m1 = dy1 / (dx1 || (dx < 0 && 0));\n const p = (m * dx1 + m1 * dx) / (dx + dx1);\n return (Math.sign(m) + Math.sign(m1)) * Math.min(Math.abs(m), Math.abs(m1), 0.5 * Math.abs(p)) || 0;\n}\n\n/**\n * Calculate slope for just one tangent (single-sided)\n *\n * @param p0\n * @param p1\n * @param m\n */\nfunction slopeSingle(p0: Point, p1: Point, m: number): number {\n const dx = p1[0] - p0[0];\n const dy = p1[1] - p0[1];\n return dx ? ((3 * dy) / dx - m) / 2 : m;\n}\n\n/**\n * Given two points and their tangent slopes,\n * calculate the bezier handle coordinates and return draw command.\n *\n * Translates Hermite Spline to Bézier curve:\n * https://stackoverflow.com/questions/42574940/\n *\n * @param p0\n * @param p1\n * @param m0\n * @param m1\n * @param t\n */\nfunction bezier(p0: Point, p1: Point, m0: number, m1: number, t: Translator): string {\n const [x0, y0] = p0;\n const [x1, y1] = p1;\n const dx = (x1 - x0) / 3;\n const h1 = t([x0 + dx, y0 + dx * m0]).join(\",\");\n const h2 = t([x1 - dx, y1 - dx * m1]).join(\",\");\n const p = t([x1, y1]).join(\",\");\n return `C ${h1} ${h2} ${p}`;\n}\n\n/**\n * Generate a function which will translate a point\n * from the data coordinate space to svg viewbox oriented pixels\n *\n * @param root0\n * @param root0.width\n * @param root0.height\n * @param root0.min\n * @param root0.max\n */\nexport function translate({ width, height, min, max }: TranslateOptions): Translator {\n const rangeX = max[0] - min[0];\n const rangeY = max[1] - min[1];\n return (point) => {\n const x = ((point[0] - min[0]) / rangeX) * width;\n const y = height - (point[1] / rangeY) * height;\n return [x, y];\n };\n}\n\n/**\n * Get the min and max values from the dataset\n *\n * @param data\n */\nexport function range(data: DataSeries): Extent {\n const [startX, startY] = data[0];\n const min: Point = [startX, startY];\n const max: Point = [startX, startY];\n return data.reduce(\n ({ min, max }, [x, y]) => ({\n min: [Math.min(min[0], x), Math.min(min[1], y)],\n max: [Math.max(max[0], x), Math.max(max[1], y)],\n }),\n { min, max },\n );\n}\n\n/**\n * Generate drawing commands for an area graph\n * returns a string can can be passed directly to a path element's `d` attribute\n *\n * @param root0\n * @param root0.data\n * @param root0.min\n * @param root0.max\n * @param root0.t\n */\nexport function area({ data, min, max, t }: Graph): string {\n if (data.length === 0) {\n return \"\";\n }\n\n // important points for beginning and ending the path\n const [startX, startY] = t(data[0]);\n const [minX, minY] = t(min);\n const [maxX] = t(max);\n\n // keep track of previous slope/points\n let m: number;\n let p0: Point;\n let p1: Point;\n\n // iterate over data points, calculating command for each\n const commands = data.reduce((acc, point, i) => {\n p0 = data[i - 2];\n p1 = data[i - 1];\n if (i > 1) {\n const m1 = slope(p0, p1, point);\n const m0 = m === undefined ? slopeSingle(p0, p1, m1) : m;\n const command = bezier(p0, p1, m0, m1, t);\n m = m1;\n return `${acc} ${command}`;\n }\n return acc;\n }, `M ${minX},${minY} L ${minX},${startY} L ${startX},${startY}`);\n\n // close the path\n const last = data[data.length - 1];\n const end = bezier(p1, last, m, slopeSingle(p1, last, m), t);\n return `${commands} ${end} L ${maxX},${minY} Z`;\n}\n",":host {\n @apply block;\n block-size: 100%;\n}\n\n.svg {\n fill: currentColor;\n stroke: transparent;\n @apply m-0 block h-full w-full p-0;\n\n .graph-path--highlight {\n fill: var(--calcite-color-brand);\n @apply opacity-50;\n }\n}\n\n@include base-component();\n","import { Component, Element, forceUpdate, h, Prop, VNode } from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { createObserver } from \"../../utils/observers\";\nimport { ColorStop, DataSeries, Point } from \"./interfaces\";\nimport { area, range, translate } from \"./util\";\n\n@Component({\n tag: \"calcite-graph\",\n styleUrl: \"graph.scss\",\n shadow: true,\n})\nexport class Graph {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * Array of tuples describing a single data point ([x, y])\n * These data points should be sorted by x-axis value.\n */\n @Prop() data: DataSeries = [];\n\n /**\n * Array of values describing a single color stop ([offset, color, opacity])\n * These color stops should be sorted by offset value.\n */\n @Prop() colorStops: ColorStop[];\n\n /** Start of highlight color if highlighting range. */\n @Prop() highlightMin: number;\n\n /** End of highlight color if highlighting range. */\n @Prop() highlightMax: number;\n\n /** Lowest point of the range. */\n @Prop({ reflect: true }) min!: number;\n\n /** Highest point of the range. */\n @Prop({ reflect: true }) max!: number;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.resizeObserver?.observe(this.el);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): VNode {\n const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;\n const id = this.graphId;\n const { clientHeight: height, clientWidth: width } = el;\n\n // if we have no data, return empty svg\n if (!data || data.length === 0) {\n return (\n <svg\n aria-hidden=\"true\"\n class=\"svg\"\n height={height}\n preserveAspectRatio=\"none\"\n viewBox={`0 0 ${width} ${height}`}\n width={width}\n />\n );\n }\n\n const { min: rangeMin, max: rangeMax } = range(data);\n\n let currentMin: Point = rangeMin;\n let currentMax: Point = rangeMax;\n\n if (min < rangeMin[0] || min > rangeMin[0]) {\n currentMin = [min, 0];\n }\n\n if (max > rangeMax[0] || max < rangeMax[0]) {\n currentMax = [max, rangeMax[1]];\n }\n\n const t = translate({ min: currentMin, max: currentMax, width, height });\n const [hMinX] = t([highlightMin, currentMax[1]]);\n const [hMaxX] = t([highlightMax, currentMax[1]]);\n const areaPath = area({ data, min: rangeMin, max: rangeMax, t });\n const fill = colorStops ? `url(#linear-gradient-${id})` : undefined;\n return (\n <svg\n aria-hidden=\"true\"\n class=\"svg\"\n height={height}\n preserveAspectRatio=\"none\"\n viewBox={`0 0 ${width} ${height}`}\n width={width}\n >\n {colorStops ? (\n <defs>\n <linearGradient id={`linear-gradient-${id}`} x1=\"0\" x2=\"1\" y1=\"0\" y2=\"0\">\n {colorStops.map(({ offset, color, opacity }) => (\n <stop offset={`${offset * 100}%`} stop-color={color} stop-opacity={opacity} />\n ))}\n </linearGradient>\n </defs>\n ) : null}\n\n {highlightMin !== undefined ? (\n [\n <mask height=\"100%\" id={`${id}1`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M 0,0\n L ${hMinX - 1},0\n L ${hMinX - 1},${height}\n L 0,${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <mask height=\"100%\" id={`${id}2`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M ${hMinX + 1},0\n L ${hMaxX - 1},0\n L ${hMaxX - 1},${height}\n L ${hMinX + 1}, ${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <mask height=\"100%\" id={`${id}3`} width=\"100%\" x=\"0%\" y=\"0%\">\n <path\n d={`\n M ${hMaxX + 1},0\n L ${width},0\n L ${width},${height}\n L ${hMaxX + 1}, ${height}\n Z\n `}\n fill=\"white\"\n />\n </mask>,\n\n <path class=\"graph-path\" d={areaPath} fill={fill} mask={`url(#${id}1)`} />,\n <path class=\"graph-path--highlight\" d={areaPath} fill={fill} mask={`url(#${id}2)`} />,\n <path class=\"graph-path\" d={areaPath} fill={fill} mask={`url(#${id}3)`} />,\n ]\n ) : (\n <path class=\"graph-path\" d={areaPath} fill={fill} />\n )}\n </svg>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteGraphElement;\n\n private graphId = `calcite-graph-${guid()}`;\n\n private resizeObserver = createObserver(\"resize\", () => forceUpdate(this));\n}\n","export const CSS = {\n container: \"container\",\n containerRange: \"container--range\",\n graph: \"graph\",\n handle: \"handle\",\n handleExtension: \"handle-extension\",\n handleLabel: \"handle__label\",\n handleLabelMinValue: \"handle__label--minValue\",\n handleLabelValue: \"handle__label--value\",\n hyphen: \"hyphen\",\n hyphenWrap: \"hyphen--wrap\",\n static: \"static\",\n thumb: \"thumb\",\n thumbActive: \"thumb--active\",\n thumbContainer: \"thumb-container\",\n thumbMinValue: \"thumb--minValue\",\n thumbPrecise: \"thumb--precise\",\n thumbValue: \"thumb--value\",\n tick: \"tick\",\n tickActive: \"tick--active\",\n tickLabel: \"tick__label\",\n tickMax: \"tick__label--max\",\n tickMin: \"tick__label--min\",\n ticks: \"ticks\",\n track: \"track\",\n trackRange: \"track__range\",\n transformed: \"transformed\",\n};\n\nexport const maxTickElementThreshold = 250;\n",".scale--s {\n --calcite-slider-handle-size: theme(\"spacing[2.5]\");\n --calcite-slider-handle-extension-height: 0.4rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--3);\n .handle__label,\n .tick__label {\n @apply leading-3;\n }\n}\n\n.scale--m {\n --calcite-slider-handle-size: theme(\"spacing[3.5]\");\n --calcite-slider-handle-extension-height: 0.5rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--2);\n .handle__label,\n .tick__label {\n @apply leading-4;\n }\n}\n\n.scale--l {\n --calcite-slider-handle-size: 1rem;\n --calcite-slider-handle-extension-height: 0.65rem;\n --calcite-slider-container-font-size: var(--calcite-font-size--1);\n .handle__label,\n .tick__label {\n @apply leading-4;\n }\n}\n\n.handle__label,\n.tick__label {\n @apply text-color-2 font-medium;\n font-size: var(--calcite-slider-container-font-size);\n}\n\n:host {\n @apply block;\n}\n\n.container {\n @apply relative block break-normal;\n padding-inline: calc(var(--calcite-slider-handle-size) * 0.5);\n padding-block: calc(var(--calcite-slider-handle-size) * 0.5);\n margin-block: calc(var(--calcite-slider-handle-size) * 0.5);\n margin-inline: 0;\n --calcite-slider-full-handle-height: calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );\n touch-action: none;\n // disable browser swipe navigation to prevent interference with the slide thumb following a touch gesture\n}\n\n@include disabled() {\n .track__range,\n .tick--active {\n background-color: var(--calcite-color-text-3);\n }\n}\n\n.scale--s {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.375rem;\n }\n}\n.scale--m {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.5rem;\n }\n}\n.scale--l {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -0.55rem;\n }\n}\n\n:host([precise]:not([has-histogram])) {\n .container .thumb--value {\n --calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1);\n }\n}\n\n.thumb-container {\n @apply relative max-w-full;\n}\n\n.thumb {\n --calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * 0.5);\n @apply font-inherit\n absolute\n m-0\n flex\n cursor-pointer\n flex-col\n items-center\n border-none\n bg-transparent\n p-0\n outline-none;\n transform: translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));\n\n .handle__label {\n &.static,\n &.transformed {\n @apply absolute\n top-0\n bottom-0\n opacity-0;\n }\n &.hyphen::after {\n content: \"\\2014\";\n display: inline-block;\n inline-size: 1em;\n }\n &.hyphen--wrap {\n display: flex;\n }\n }\n\n .handle {\n @apply focus-base\n bg-foreground-1\n box-border\n rounded-full;\n block-size: var(--calcite-slider-handle-size);\n inline-size: var(--calcite-slider-handle-size);\n box-shadow: 0 0 0 2px var(--calcite-color-text-3) inset;\n transition:\n border var(--calcite-internal-animation-timing-medium) ease,\n background-color var(--calcite-internal-animation-timing-medium) ease,\n box-shadow var(--calcite-animation-timing) ease;\n }\n\n .handle-extension {\n @apply w-0.5;\n block-size: var(--calcite-slider-handle-extension-height);\n background-color: var(--calcite-color-text-3);\n }\n\n &:hover {\n .handle {\n box-shadow: 0 0 0 3px var(--calcite-color-brand) inset;\n }\n .handle-extension {\n @apply bg-brand;\n }\n }\n\n &:focus {\n .handle {\n @apply focus-outset;\n }\n .handle-extension {\n @apply bg-brand;\n }\n }\n\n &.thumb--minValue {\n transform: translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));\n }\n\n &.thumb--precise {\n --calcite-slider-thumb-y-offset: -0.125rem;\n }\n}\n\n:host([label-handles]) {\n .thumb {\n --calcite-slider-thumb-x-offset: 50%;\n }\n &:host(:not([has-histogram])) {\n .scale--s {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -1.4375rem;\n }\n }\n .scale--m {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -1.875rem;\n }\n }\n .scale--l {\n .thumb:not(.thumb--precise) {\n --calcite-slider-thumb-y-offset: -2rem;\n }\n }\n }\n}\n\n:host([has-histogram][label-handles]),\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise {\n .handle__label {\n margin-block-start: 0.5em;\n }\n}\n:host(:not([has-histogram]):not([precise])),\n:host([label-handles]:not([has-histogram])) .thumb--value {\n .handle__label {\n margin-block-end: 0.5em;\n }\n}\n\n:host([label-handles][precise]) {\n &:host(:not([has-histogram])) .scale--s .thumb--value {\n --calcite-slider-thumb-y-offset: -2.075rem;\n }\n &:host(:not([has-histogram])) .scale--m .thumb--value {\n --calcite-slider-thumb-y-offset: -2.75rem;\n }\n &:host(:not([has-histogram])) .scale--l .thumb--value {\n --calcite-slider-thumb-y-offset: -3.0625rem;\n }\n}\n\n.thumb:focus,\n.thumb--active {\n .handle {\n @apply bg-brand;\n box-shadow: 0 0 8px 0 rgb(0 0 0 / 16%); // shadow 1 press\n }\n}\n\n.thumb:hover.thumb--precise:after,\n.thumb:focus.thumb--precise:after,\n.thumb--active.thumb--precise:after {\n @apply bg-brand;\n}\n\n.track {\n @apply relative h-0.5 rounded-none;\n background-color: var(--calcite-color-border-2);\n transition: all var(--calcite-internal-animation-timing-medium) ease-in;\n}\n\n.track__range {\n @apply bg-brand\n absolute\n top-0\n h-0.5;\n}\n.container--range {\n .track__range {\n &:hover {\n cursor: ew-resize;\n }\n &:after {\n @apply absolute w-full;\n content: \"\";\n inset-block-start: calc(calc(var(--calcite-slider-full-handle-height) * 0.5) * -1);\n block-size: calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height));\n }\n }\n}\n\n@media (forced-colors: active) {\n .thumb {\n outline-width: 0;\n outline-offset: 0;\n }\n .handle {\n @apply outline-none;\n }\n .thumb:focus .handle,\n .thumb .handle-extension,\n .thumb:hover .handle-extension,\n .thumb:focus .handle-extension,\n .thumb:active .handle-extension {\n background-color: canvasText;\n }\n .track {\n background-color: canvasText;\n }\n .track__range {\n background-color: highlight;\n }\n}\n\n.tick {\n @apply absolute\n h-1\n w-0.5\n border\n border-solid;\n background-color: var(--calcite-color-border-input);\n border-color: var(--calcite-color-foreground-1);\n inset-block-start: -2px;\n pointer-events: none;\n margin-inline-start: calc(-1 * theme(\"margin[0.5]\"));\n}\n\n.tick--active {\n @apply bg-brand;\n}\n\n.tick__label {\n @apply pointer-events-none\n mt-3.5\n flex\n justify-center;\n}\n\n.tick__label--min {\n transition: opacity var(--calcite-animation-timing);\n}\n\n.tick__label--max {\n transition: opacity var(--calcite-internal-animation-timing-fast);\n}\n\n:host([has-histogram][label-handles]),\n:host([has-histogram][precise]) {\n .tick__label--min,\n .tick__label--max {\n @apply text-color-3 font-normal;\n }\n}\n\n.graph {\n color: var(--calcite-color-foreground-3);\n block-size: 48px;\n}\n\n// Ensure we have enough space on variants with text elements to prevent overlap\n:host([label-ticks][ticks]) {\n .container {\n // match tick__label top margin + font-size\n padding-block-end: calc(theme(\"margin[3.5]\") + var(--calcite-slider-container-font-size));\n }\n}\n:host([has-histogram]) {\n &:host([precise][label-handles]) {\n .container {\n padding-block-end: calc(var(--calcite-slider-full-handle-height) + 1em);\n }\n }\n &:host([label-handles]:not([precise])) {\n .container {\n padding-block-end: calc(calc(var(--calcite-slider-handle-size) * 0.5) + 1em);\n }\n }\n &:host([precise]:not([label-handles])) {\n .container {\n padding-block-end: var(--calcite-slider-full-handle-height);\n }\n }\n}\n:host(:not([has-histogram])) {\n &:host([precise]:not([label-handles])) {\n .container {\n padding-block-start: var(--calcite-slider-full-handle-height);\n }\n .container--range {\n padding-block-end: var(--calcite-slider-full-handle-height);\n }\n }\n &:host([label-handles]:not([precise])) {\n .container {\n padding-block-start: calc(var(--calcite-slider-full-handle-height) + 4px);\n }\n }\n &:host([label-handles][precise]) {\n .container {\n padding-block-start: calc(\n var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px\n );\n }\n .container--range {\n padding-block-end: calc(\n var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px\n );\n }\n }\n}\n\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 State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\n\nimport { intersects, isPrimaryPointerButton } 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 { isActivationKey } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n} from \"../../utils/locale\";\nimport { clamp, decimalPlaces } from \"../../utils/math\";\nimport { ColorStop, DataSeries } from \"../graph/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { CSS, maxTickElementThreshold } from \"./resources\";\nimport { ActiveSliderProperty, SetValueProperty, SideOffset, ThumbType } from \"./interfaces\";\n\nfunction isRange(value: number | number[]): value is number[] {\n return Array.isArray(value);\n}\n\n@Component({\n tag: \"calcite-slider\",\n styleUrl: \"slider.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Slider\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n LocalizedComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The `id` of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * When `true`, number values are displayed with a group separator corresponding to the language and country format.\n */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /** When `true`, indicates a histogram is present. */\n @Prop({ reflect: true, mutable: true }) hasHistogram = false;\n\n /**\n * A list of the histogram's x,y coordinates within the component's `min` and `max`. Displays above the component's track.\n *\n * @see [DataSeries](https://github.com/Esri/calcite-design-system/blob/main/src/components/graph/interfaces.ts#L5)\n */\n @Prop() histogram: DataSeries;\n\n @Watch(\"histogram\")\n histogramWatcher(newHistogram: DataSeries): void {\n this.hasHistogram = !!newHistogram;\n }\n\n /**\n * A set of single color stops for a histogram, sorted by offset ascending.\n */\n @Prop() histogramStops: ColorStop[];\n\n /** When `true`, displays label handles with their numeric value. */\n @Prop({ reflect: true }) labelHandles = false;\n\n /** When `true` and `ticks` is specified, displays label tick marks with their numeric value. */\n @Prop({ reflect: true }) labelTicks = false;\n\n /** The component's maximum selectable value. */\n @Prop({ reflect: true }) max = 100;\n\n /** For multiple selections, the accessible name for the second handle, such as `\"Temperature, upper bound\"`. */\n @Prop() maxLabel: string;\n\n /** For multiple selections, the component's upper value. */\n @Prop({ mutable: true }) maxValue: number;\n\n /** The component's minimum selectable value. */\n @Prop({ reflect: true }) min = 0;\n\n /** Accessible name for first (or only) handle, such as `\"Temperature, lower bound\"`. */\n @Prop() minLabel: string;\n\n /** For multiple selections, the component's lower value. */\n @Prop({ mutable: true }) minValue: number;\n\n /**\n * When `true`, the slider will display values from high to low.\n *\n * Note that this value will be ignored if the slider has an associated histogram.\n */\n @Prop({ reflect: true }) mirrored = false;\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 * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop() numberingSystem: NumberingSystem;\n\n /** Specifies the interval to move with the page up, or page down keys. */\n @Prop({ reflect: true }) pageStep: number;\n\n /** When `true`, sets a finer point for handles. */\n @Prop({ reflect: true }) precise = false;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n */\n @Prop({ reflect: true }) required = false;\n\n /** When `true`, enables snap selection in coordination with `step` via a mouse. */\n @Prop({ reflect: true }) snap = false;\n\n /** Specifies the interval to move with the up, or down keys. */\n @Prop({ reflect: true }) step = 1;\n\n /** Displays tick marks on the number line at a specified interval. */\n @Prop({ reflect: true }) ticks: number;\n\n @Watch(\"ticks\")\n ticksWatcher(): void {\n this.tickValues = this.generateTickValues();\n }\n\n /** The component's value. */\n @Prop({ reflect: true, mutable: true }) value: null | number | number[] = 0;\n\n @Watch(\"value\")\n valueHandler(): void {\n this.setMinMaxFromValue();\n }\n\n @Watch(\"minValue\")\n @Watch(\"maxValue\")\n minMaxValueHandler(): void {\n this.setValueFromMinMax();\n }\n\n /**\n * Specifies the size of the component.\n */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n this.setMinMaxFromValue();\n this.setValueFromMinMax();\n connectLabel(this);\n connectForm(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectLocalized(this);\n this.removeDragListeners();\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n if (!isRange(this.value)) {\n this.value = this.snap ? this.getClosestStep(this.value) : this.clamp(this.value);\n }\n this.ticksWatcher();\n this.histogramWatcher(this.histogram);\n afterConnectDefaultValueSet(this, this.value);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n if (this.labelHandles) {\n this.adjustHostObscuredHandleLabel(\"value\");\n if (isRange(this.value)) {\n this.adjustHostObscuredHandleLabel(\"minValue\");\n if (!(this.precise && !this.hasHistogram)) {\n this.hyphenateCollidingRangeHandleLabels();\n }\n }\n }\n this.hideObscuredBoundingTickLabels();\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const id = this.el.id || this.guid;\n const value = isRange(this.value) ? this.maxValue : this.value;\n const min = this.minValue || this.min;\n const useMinValue = this.shouldUseMinValue();\n const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;\n const maxInterval = this.getUnitInterval(value) * 100;\n const mirror = this.shouldMirror();\n const valueIsRange = isRange(this.value);\n\n const thumbTypes = this.buildThumbType(\"max\");\n const thumb = this.renderThumb({\n type: thumbTypes,\n thumbPlacement: thumbTypes.includes(\"histogram\") ? \"below\" : \"above\",\n maxInterval,\n minInterval,\n mirror,\n });\n\n const minThumbTypes = this.buildThumbType(\"min\");\n const minThumb =\n valueIsRange &&\n this.renderThumb({\n type: minThumbTypes,\n thumbPlacement:\n minThumbTypes.includes(\"histogram\") || minThumbTypes.includes(\"precise\")\n ? \"below\"\n : \"above\",\n maxInterval,\n minInterval,\n mirror,\n });\n\n return (\n <Host id={id} onTouchStart={this.handleTouchStart}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-label={getLabelText(this)}\n class={{\n [CSS.container]: true,\n [CSS.containerRange]: valueIsRange,\n [`scale--${this.scale}`]: true,\n }}\n >\n {this.renderGraph()}\n <div\n class={CSS.track}\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.storeTrackRef}\n >\n <div\n class={CSS.trackRange}\n onPointerDown={this.onTrackPointerDown}\n style={{\n left: `${mirror ? 100 - maxInterval : minInterval}%`,\n right: `${mirror ? minInterval : 100 - maxInterval}%`,\n }}\n />\n <div class={CSS.ticks}>\n {this.tickValues.map((tick) => {\n const tickOffset = `${this.getUnitInterval(tick) * 100}%`;\n let activeTicks = tick >= min && tick <= value;\n if (useMinValue) {\n activeTicks = tick >= this.minValue && tick <= this.maxValue;\n }\n\n return (\n <span\n class={{\n [CSS.tick]: true,\n [CSS.tickActive]: activeTicks,\n }}\n style={{\n left: mirror ? \"\" : tickOffset,\n right: mirror ? tickOffset : \"\",\n }}\n >\n {this.renderTickLabel(tick)}\n </span>\n );\n })}\n </div>\n </div>\n <div class={CSS.thumbContainer}>\n {minThumb}\n {thumb}\n <HiddenFormInputSlot component={this} />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n private renderThumb({\n type,\n mirror,\n thumbPlacement,\n minInterval,\n maxInterval,\n }: {\n maxInterval: number;\n minInterval: number;\n mirror: boolean;\n thumbPlacement: \"above\" | \"below\";\n type: string;\n }) {\n const isLabeled = type.includes(\"labeled\");\n const isPrecise = type.includes(\"precise\");\n const isMinThumb = type.includes(\"min\");\n\n const valueIsRange = isRange(this.value);\n const value = isMinThumb\n ? this.minValue\n : valueIsRange\n ? this.maxValue\n : (this.value as number);\n const valueProp = isMinThumb ? \"minValue\" : valueIsRange ? \"maxValue\" : \"value\";\n const ariaLabel = isMinThumb ? this.minLabel : valueIsRange ? this.maxLabel : this.minLabel;\n const ariaValuenow = isMinThumb ? this.minValue : value;\n const displayedValue = isMinThumb ? this.formatValue(this.minValue) : this.formatValue(value);\n const thumbStyle: SideOffset = isMinThumb\n ? { left: `${mirror ? 100 - minInterval : minInterval}%` }\n : { right: `${mirror ? maxInterval : 100 - maxInterval}%` };\n const thumbLabelClasses = `${CSS.handleLabel} ${\n isMinThumb ? CSS.handleLabelMinValue : CSS.handleLabelValue\n }`;\n\n const labels = isLabeled\n ? [\n <span aria-hidden=\"true\" class={thumbLabelClasses}>\n {displayedValue}\n </span>,\n <span aria-hidden=\"true\" class={`${thumbLabelClasses} ${CSS.static}`}>\n {displayedValue}\n </span>,\n <span aria-hidden=\"true\" class={`${thumbLabelClasses} ${CSS.transformed}`}>\n {displayedValue}\n </span>,\n ]\n : [];\n\n const thumbContent: VNode[] = [\n ...labels,\n <div class={CSS.handle} />,\n isPrecise && <div class={CSS.handleExtension} />,\n ];\n\n if (thumbPlacement === \"below\") {\n thumbContent.reverse();\n }\n\n return (\n <div\n aria-disabled={this.disabled}\n aria-label={ariaLabel}\n aria-orientation=\"horizontal\"\n aria-valuemax={this.max}\n aria-valuemin={this.min}\n aria-valuenow={ariaValuenow}\n class={{\n [CSS.thumb]: true,\n [CSS.thumbValue]: !isMinThumb,\n [CSS.thumbActive]: this.lastDragProp !== \"minMaxValue\" && this.dragProp === valueProp,\n [CSS.thumbPrecise]: isPrecise,\n [CSS.thumbMinValue]: isMinThumb,\n }}\n data-value-prop={valueProp}\n key={type}\n onBlur={this.onThumbBlur}\n onFocus={this.onThumbFocus}\n onPointerDown={this.onThumbPointerDown}\n role=\"slider\"\n style={thumbStyle}\n tabIndex={0}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.storeThumbRef}\n >\n {thumbContent}\n </div>\n );\n }\n\n private renderGraph(): VNode {\n return this.histogram ? (\n <calcite-graph\n class={CSS.graph}\n colorStops={this.histogramStops}\n data={this.histogram}\n highlightMax={isRange(this.value) ? this.maxValue : this.value}\n highlightMin={isRange(this.value) ? this.minValue : this.min}\n max={this.max}\n min={this.min}\n />\n ) : null;\n }\n\n private renderTickLabel(tick: number): VNode {\n const { hasHistogram, labelHandles, labelTicks, max, min, precise, value } = this;\n const valueIsRange = isRange(value);\n const isMinTickLabel = tick === min;\n const isMaxTickLabel = tick === max;\n const isAtEdge = isMinTickLabel || isMaxTickLabel;\n\n const shouldDisplayLabel =\n labelTicks &&\n ((!hasHistogram && (isAtEdge || !precise || !valueIsRange)) ||\n (hasHistogram && (isAtEdge || (!precise && !labelHandles))));\n\n return shouldDisplayLabel ? (\n <span\n class={{\n [CSS.tickLabel]: true,\n [CSS.tickMin]: isMinTickLabel,\n [CSS.tickMax]: isMaxTickLabel,\n }}\n >\n {this.formatValue(tick)}\n </span>\n ) : null;\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n const mirror = this.shouldMirror();\n const { activeProp, max, min, pageStep, step } = this;\n const value = this[activeProp];\n const { key } = event;\n\n if (isActivationKey(key)) {\n event.preventDefault();\n return;\n }\n\n let adjustment: number;\n\n if (key === \"ArrowUp\" || key === \"ArrowRight\") {\n const directionFactor = mirror && key === \"ArrowRight\" ? -1 : 1;\n adjustment = value + step * directionFactor;\n } else if (key === \"ArrowDown\" || key === \"ArrowLeft\") {\n const directionFactor = mirror && key === \"ArrowLeft\" ? -1 : 1;\n adjustment = value - step * directionFactor;\n } else if (key === \"PageUp\") {\n if (pageStep) {\n adjustment = value + pageStep;\n }\n } else if (key === \"PageDown\") {\n if (pageStep) {\n adjustment = value - pageStep;\n }\n } else if (key === \"Home\") {\n adjustment = min;\n } else if (key === \"End\") {\n adjustment = max;\n }\n if (isNaN(adjustment)) {\n return;\n }\n event.preventDefault();\n const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));\n this.setValue({\n [activeProp as SetValueProperty]: this.clamp(fixedDecimalAdjustment, activeProp),\n });\n }\n\n @Listen(\"pointerdown\")\n pointerDownHandler(event: PointerEvent): void {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n const x = event.clientX || event.pageX;\n const position = this.translate(x);\n let prop: ActiveSliderProperty = \"value\";\n if (isRange(this.value)) {\n const inRange = position >= this.minValue && position <= this.maxValue;\n if (inRange && this.lastDragProp === \"minMaxValue\") {\n prop = \"minMaxValue\";\n } else {\n const closerToMax = Math.abs(this.maxValue - position) < Math.abs(this.minValue - position);\n prop = closerToMax || position > this.maxValue ? \"maxValue\" : \"minValue\";\n }\n }\n this.lastDragPropValue = this[prop];\n this.dragStart(prop);\n const isThumbActive = this.el.shadowRoot.querySelector(`.${CSS.thumb}:active`);\n if (!isThumbActive) {\n this.setValue({ [prop as SetValueProperty]: this.clamp(position, prop) });\n }\n this.focusActiveHandle(x);\n }\n\n handleTouchStart(event: TouchEvent): void {\n // needed to prevent extra click at the end of a handle drag\n event.preventDefault();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /**\n * Fires on all updates to the component.\n *\n * Note: Fires frequently during drag. To perform\n * expensive operations consider using a debounce or throttle to avoid\n * locking up the main thread.\n */\n @Event({ cancelable: false }) calciteSliderInput: EventEmitter<void>;\n\n /**\n * Fires when the thumb is released on the component.\n *\n * Note: To constantly listen to the drag event,\n * use `calciteSliderInput` instead.\n */\n @Event({ cancelable: false }) calciteSliderChange: EventEmitter<void>;\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 const handle = this.minHandle ? this.minHandle : this.maxHandle;\n handle?.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteSliderElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Slider[\"value\"];\n\n private activeProp: ActiveSliderProperty = \"value\";\n\n private guid = `calcite-slider-${guid()}`;\n\n private dragProp: ActiveSliderProperty;\n\n private lastDragProp: ActiveSliderProperty;\n\n private lastDragPropValue: number;\n\n private minHandle: HTMLDivElement;\n\n private maxHandle: HTMLDivElement;\n\n private trackEl: HTMLDivElement;\n\n @State() effectiveLocale = \"\";\n\n @State() private minMaxValueRange: number = null;\n\n @State() private minValueDragRange: number = null;\n\n @State() private maxValueDragRange: number = null;\n\n @State() private tickValues: number[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private buildThumbType(type: \"min\" | \"max\"): ThumbType {\n const thumbTypeParts: string[] = [type];\n\n if (this.labelHandles) {\n thumbTypeParts.push(\"labeled\");\n }\n\n if (this.precise) {\n thumbTypeParts.push(\"precise\");\n }\n\n if (this.hasHistogram) {\n thumbTypeParts.push(\"histogram\");\n }\n\n return thumbTypeParts.join(\"-\") as ThumbType;\n }\n\n setValueFromMinMax(): void {\n const { minValue, maxValue } = this;\n\n if (typeof minValue === \"number\" && typeof maxValue === \"number\") {\n this.value = [minValue, maxValue];\n }\n }\n\n setMinMaxFromValue(): void {\n const { value } = this;\n\n if (isRange(value)) {\n this.minValue = value[0];\n this.maxValue = value[1];\n }\n }\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private shouldMirror(): boolean {\n return this.mirrored && !this.hasHistogram;\n }\n\n private shouldUseMinValue(): boolean {\n if (!isRange(this.value)) {\n return false;\n }\n return (\n (this.hasHistogram && this.maxValue === 0) || (!this.hasHistogram && this.minValue === 0)\n );\n }\n\n private getTickDensity(): number {\n const density = (this.max - this.min) / this.ticks / maxTickElementThreshold;\n\n return density < 1 ? 1 : density;\n }\n\n private generateTickValues(): number[] {\n const tickInterval = this.ticks ?? 0;\n\n if (tickInterval <= 0) {\n return [];\n }\n\n const ticks: number[] = [this.min];\n const density = this.getTickDensity();\n const tickOffset = tickInterval * density;\n let current = this.min;\n\n while (current < this.max) {\n current += tickOffset;\n ticks.push(Math.min(current, this.max));\n }\n\n if (!ticks.includes(this.max)) {\n ticks.push(this.max);\n }\n\n return ticks;\n }\n\n private onThumbBlur = () => {\n this.activeProp = null;\n };\n\n private onThumbFocus = (event: FocusEvent) => {\n const thumb = event.currentTarget as HTMLElement;\n this.activeProp = thumb.getAttribute(\"data-value-prop\") as ActiveSliderProperty;\n };\n\n private onThumbPointerDown = (event: PointerEvent) => {\n const thumb = event.currentTarget as HTMLElement;\n this.pointerDownDragStart(event, thumb.getAttribute(\"data-value-prop\") as ActiveSliderProperty);\n };\n\n private onTrackPointerDown = (event: PointerEvent) => {\n this.pointerDownDragStart(event, \"minMaxValue\");\n };\n\n private pointerDownDragStart(event: PointerEvent, prop: ActiveSliderProperty): void {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n this.dragStart(prop);\n }\n\n private dragStart(prop: ActiveSliderProperty): void {\n this.dragProp = prop;\n this.lastDragProp = this.dragProp;\n this.activeProp = prop;\n window.addEventListener(\"pointermove\", this.dragUpdate);\n window.addEventListener(\"pointerup\", this.pointerUpDragEnd);\n window.addEventListener(\"pointercancel\", this.dragEnd);\n }\n\n private focusActiveHandle(valueX: number): void {\n switch (this.dragProp) {\n case \"minValue\":\n this.minHandle.focus();\n break;\n case \"maxValue\":\n case \"value\":\n this.maxHandle.focus();\n break;\n case \"minMaxValue\":\n this.getClosestHandle(valueX).focus();\n break;\n default:\n break;\n }\n }\n\n private dragUpdate = (event: PointerEvent): void => {\n if (this.disabled) {\n return;\n }\n\n event.preventDefault();\n if (this.dragProp) {\n const value = this.translate(event.clientX || event.pageX);\n if (isRange(this.value) && this.dragProp === \"minMaxValue\") {\n if (this.minValueDragRange && this.maxValueDragRange && this.minMaxValueRange) {\n const newMinValue = value - this.minValueDragRange;\n const newMaxValue = value + this.maxValueDragRange;\n if (\n newMaxValue <= this.max &&\n newMinValue >= this.min &&\n newMaxValue - newMinValue === this.minMaxValueRange\n ) {\n this.setValue({\n minValue: this.clamp(newMinValue, \"minValue\"),\n maxValue: this.clamp(newMaxValue, \"maxValue\"),\n });\n }\n } else {\n this.minValueDragRange = value - this.minValue;\n this.maxValueDragRange = this.maxValue - value;\n this.minMaxValueRange = this.maxValue - this.minValue;\n }\n } else {\n this.setValue({ [this.dragProp as SetValueProperty]: this.clamp(value, this.dragProp) });\n }\n }\n };\n\n private emitInput(): void {\n this.calciteSliderInput.emit();\n }\n\n private emitChange(): void {\n this.calciteSliderChange.emit();\n }\n\n private pointerUpDragEnd = (event: PointerEvent): void => {\n if (this.disabled || !isPrimaryPointerButton(event)) {\n return;\n }\n\n this.dragEnd(event);\n };\n\n private dragEnd = (event: PointerEvent): void => {\n if (this.disabled) {\n return;\n }\n\n this.removeDragListeners();\n this.focusActiveHandle(event.clientX);\n if (this.lastDragPropValue != this[this.dragProp]) {\n this.emitChange();\n }\n this.dragProp = null;\n this.lastDragPropValue = null;\n this.minValueDragRange = null;\n this.maxValueDragRange = null;\n this.minMaxValueRange = null;\n };\n\n private removeDragListeners() {\n window.removeEventListener(\"pointermove\", this.dragUpdate);\n window.removeEventListener(\"pointerup\", this.pointerUpDragEnd);\n window.removeEventListener(\"pointercancel\", this.dragEnd);\n }\n\n /**\n * Set prop value(s) if changed at the component level\n *\n * @param {object} values - a set of key/value pairs delineating what properties in the component to update\n */\n private setValue(\n values: Partial<{\n [Property in keyof Pick<Slider, \"maxValue\" | \"minValue\" | \"value\">]: number;\n }>,\n ): void {\n let valueChanged: boolean;\n\n Object.keys(values).forEach((propName) => {\n const newValue = values[propName];\n\n if (!valueChanged) {\n const oldValue = this[propName];\n valueChanged = oldValue !== newValue;\n }\n\n this[propName] = newValue;\n });\n\n if (!valueChanged) {\n return;\n }\n\n const dragging = this.dragProp;\n if (!dragging) {\n this.emitChange();\n }\n this.emitInput();\n }\n\n private storeTrackRef = (node: HTMLDivElement): void => {\n this.trackEl = node;\n };\n\n private storeThumbRef = (el: HTMLDivElement): void => {\n if (!el) {\n return;\n }\n\n const valueProp = el.getAttribute(\"data-value-prop\") as ActiveSliderProperty;\n valueProp === \"minValue\" ? (this.minHandle = el) : (this.maxHandle = el);\n };\n\n /**\n * If number is outside range, constrain to min or max\n *\n * @param value\n * @param prop\n * @internal\n */\n private clamp(value: number, prop?: ActiveSliderProperty): number {\n value = clamp(value, this.min, this.max);\n\n // ensure that maxValue and minValue don't swap positions\n if (prop === \"maxValue\") {\n value = Math.max(value, this.minValue);\n }\n if (prop === \"minValue\") {\n value = Math.min(value, this.maxValue);\n }\n return value;\n }\n\n /**\n * Translate a pixel position to value along the range\n *\n * @param x\n * @internal\n */\n private translate(x: number): number {\n const range = this.max - this.min;\n const { left, width } = this.trackEl.getBoundingClientRect();\n const percent = (x - left) / width;\n const mirror = this.shouldMirror();\n const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));\n let value = Number(clampedValue.toFixed(decimalPlaces(this.step)));\n if (this.snap && this.step) {\n value = this.getClosestStep(value);\n }\n return value;\n }\n\n /**\n * Get closest allowed value along stepped values\n *\n * @param num\n * @internal\n */\n private getClosestStep(num: number): number {\n num = Number(this.clamp(num).toFixed(decimalPlaces(this.step)));\n if (this.step) {\n const step = Math.round(num / this.step) * this.step;\n num = Number(this.clamp(step).toFixed(decimalPlaces(this.step)));\n }\n return num;\n }\n\n private getClosestHandle(valueX: number): HTMLDivElement {\n return this.getDistanceX(this.maxHandle, valueX) > this.getDistanceX(this.minHandle, valueX)\n ? this.minHandle\n : this.maxHandle;\n }\n\n private getDistanceX(el: HTMLDivElement, valueX: number): number {\n return Math.abs(el.getBoundingClientRect().left - valueX);\n }\n\n private getFontSizeForElement(element: HTMLElement): number {\n return Number(window.getComputedStyle(element).getPropertyValue(\"font-size\").match(/\\d+/)[0]);\n }\n\n /**\n * Get position of value along range as fractional value\n *\n * @param num\n * @return {number} number in the unit interval [0,1]\n * @internal\n */\n private getUnitInterval(num: number): number {\n num = this.clamp(num);\n const range = this.max - this.min;\n return (num - this.min) / range;\n }\n\n private adjustHostObscuredHandleLabel(name: \"value\" | \"minValue\"): void {\n const label: HTMLSpanElement = this.el.shadowRoot.querySelector(`.handle__label--${name}`);\n const labelStatic: HTMLSpanElement = this.el.shadowRoot.querySelector(\n `.handle__label--${name}.static`,\n );\n const labelTransformed: HTMLSpanElement = this.el.shadowRoot.querySelector(\n `.handle__label--${name}.transformed`,\n );\n const labelStaticBounds = labelStatic.getBoundingClientRect();\n const labelStaticOffset = this.getHostOffset(labelStaticBounds.left, labelStaticBounds.right);\n label.style.transform = `translateX(${labelStaticOffset}px)`;\n labelTransformed.style.transform = `translateX(${labelStaticOffset}px)`;\n }\n\n private hyphenateCollidingRangeHandleLabels(): void {\n const { shadowRoot } = this.el;\n\n const mirror = this.shouldMirror();\n const leftModifier = mirror ? \"value\" : \"minValue\";\n const rightModifier = mirror ? \"minValue\" : \"value\";\n\n const leftValueLabel: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}`,\n );\n const leftValueLabelStatic: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}.static`,\n );\n const leftValueLabelTransformed: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${leftModifier}.transformed`,\n );\n const leftValueLabelStaticHostOffset = this.getHostOffset(\n leftValueLabelStatic.getBoundingClientRect().left,\n leftValueLabelStatic.getBoundingClientRect().right,\n );\n\n const rightValueLabel: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}`,\n );\n const rightValueLabelStatic: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}.static`,\n );\n const rightValueLabelTransformed: HTMLSpanElement = shadowRoot.querySelector(\n `.handle__label--${rightModifier}.transformed`,\n );\n const rightValueLabelStaticHostOffset = this.getHostOffset(\n rightValueLabelStatic.getBoundingClientRect().left,\n rightValueLabelStatic.getBoundingClientRect().right,\n );\n\n const labelFontSize = this.getFontSizeForElement(leftValueLabel);\n const labelTransformedOverlap = this.getRangeLabelOverlap(\n leftValueLabelTransformed,\n rightValueLabelTransformed,\n );\n\n const hyphenLabel = leftValueLabel;\n const labelOffset = labelFontSize / 2;\n\n if (labelTransformedOverlap > 0) {\n hyphenLabel.classList.add(CSS.hyphen, CSS.hyphenWrap);\n if (rightValueLabelStaticHostOffset === 0 && leftValueLabelStaticHostOffset === 0) {\n // Neither handle overlaps the host boundary\n let leftValueLabelTranslate = labelTransformedOverlap / 2 - labelOffset;\n leftValueLabelTranslate =\n Math.sign(leftValueLabelTranslate) === -1\n ? Math.abs(leftValueLabelTranslate)\n : -leftValueLabelTranslate;\n\n const leftValueLabelTransformedHostOffset = this.getHostOffset(\n leftValueLabelTransformed.getBoundingClientRect().left +\n leftValueLabelTranslate -\n labelOffset,\n leftValueLabelTransformed.getBoundingClientRect().right +\n leftValueLabelTranslate -\n labelOffset,\n );\n\n let rightValueLabelTranslate = labelTransformedOverlap / 2;\n const rightValueLabelTransformedHostOffset = this.getHostOffset(\n rightValueLabelTransformed.getBoundingClientRect().left + rightValueLabelTranslate,\n rightValueLabelTransformed.getBoundingClientRect().right + rightValueLabelTranslate,\n );\n\n if (leftValueLabelTransformedHostOffset !== 0) {\n leftValueLabelTranslate += leftValueLabelTransformedHostOffset;\n rightValueLabelTranslate += leftValueLabelTransformedHostOffset;\n }\n\n if (rightValueLabelTransformedHostOffset !== 0) {\n leftValueLabelTranslate += rightValueLabelTransformedHostOffset;\n rightValueLabelTranslate += rightValueLabelTransformedHostOffset;\n }\n\n leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${\n leftValueLabelTranslate - labelOffset\n }px)`;\n rightValueLabel.style.transform = `translateX(${rightValueLabelTranslate}px)`;\n rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelTranslate}px)`;\n } else if (leftValueLabelStaticHostOffset > 0 || rightValueLabelStaticHostOffset > 0) {\n // labels overlap host boundary on the left side\n leftValueLabel.style.transform = `translateX(${\n leftValueLabelStaticHostOffset + labelOffset\n }px)`;\n rightValueLabel.style.transform = `translateX(${\n labelTransformedOverlap + rightValueLabelStaticHostOffset\n }px)`;\n rightValueLabelTransformed.style.transform = `translateX(${\n labelTransformedOverlap + rightValueLabelStaticHostOffset\n }px)`;\n } else if (leftValueLabelStaticHostOffset < 0 || rightValueLabelStaticHostOffset < 0) {\n // labels overlap host boundary on the right side\n let leftValueLabelTranslate =\n Math.abs(leftValueLabelStaticHostOffset) + labelTransformedOverlap - labelOffset;\n leftValueLabelTranslate =\n Math.sign(leftValueLabelTranslate) === -1\n ? Math.abs(leftValueLabelTranslate)\n : -leftValueLabelTranslate;\n leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${\n leftValueLabelTranslate - labelOffset\n }px)`;\n }\n } else {\n hyphenLabel.classList.remove(CSS.hyphen, CSS.hyphenWrap);\n leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;\n leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;\n rightValueLabel.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;\n rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;\n }\n }\n\n /**\n * Hides bounding tick labels that are obscured by either handle.\n */\n private hideObscuredBoundingTickLabels(): void {\n const valueIsRange = isRange(this.value);\n if (!this.hasHistogram && !valueIsRange && !this.labelHandles && !this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && this.labelHandles && !this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && !this.labelHandles && this.precise) {\n return;\n }\n if (!this.hasHistogram && !valueIsRange && this.labelHandles && this.precise) {\n return;\n }\n if (!this.hasHistogram && valueIsRange && !this.precise) {\n return;\n }\n if (this.hasHistogram && !this.precise && !this.labelHandles) {\n return;\n }\n\n const minHandle: HTMLDivElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.thumbMinValue}`,\n );\n const maxHandle: HTMLDivElement | null = this.el.shadowRoot.querySelector(`.${CSS.thumbValue}`);\n\n const minTickLabel: HTMLSpanElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.tickMin}`,\n );\n const maxTickLabel: HTMLSpanElement | null = this.el.shadowRoot.querySelector(\n `.${CSS.tickMax}`,\n );\n\n if (!minHandle && maxHandle && minTickLabel && maxTickLabel) {\n minTickLabel.style.opacity = this.isMinTickLabelObscured(minTickLabel, maxHandle) ? \"0\" : \"1\";\n maxTickLabel.style.opacity = this.isMaxTickLabelObscured(maxTickLabel, maxHandle) ? \"0\" : \"1\";\n }\n\n if (minHandle && maxHandle && minTickLabel && maxTickLabel) {\n minTickLabel.style.opacity =\n this.isMinTickLabelObscured(minTickLabel, minHandle) ||\n this.isMinTickLabelObscured(minTickLabel, maxHandle)\n ? \"0\"\n : \"1\";\n maxTickLabel.style.opacity =\n this.isMaxTickLabelObscured(maxTickLabel, minHandle) ||\n (this.isMaxTickLabelObscured(maxTickLabel, maxHandle) && this.hasHistogram)\n ? \"0\"\n : \"1\";\n }\n }\n\n /**\n * Returns an integer representing the number of pixels to offset on the left or right side based on desired position behavior.\n *\n * @param leftBounds\n * @param rightBounds\n * @internal\n */\n private getHostOffset(leftBounds: number, rightBounds: number): number {\n const hostBounds = this.el.getBoundingClientRect();\n const buffer = 7;\n\n if (leftBounds + buffer < hostBounds.left) {\n return hostBounds.left - leftBounds - buffer;\n }\n\n if (rightBounds - buffer > hostBounds.right) {\n return -(rightBounds - hostBounds.right) + buffer;\n }\n\n return 0;\n }\n\n /**\n * Returns an integer representing the number of pixels that the two given span elements are overlapping, taking into account\n * a space in between the two spans equal to the font-size set on them to account for the space needed to render a hyphen.\n *\n * @param leftLabel\n * @param rightLabel\n */\n private getRangeLabelOverlap(leftLabel: HTMLSpanElement, rightLabel: HTMLSpanElement): number {\n const leftLabelBounds = leftLabel.getBoundingClientRect();\n const rightLabelBounds = rightLabel.getBoundingClientRect();\n const leftLabelFontSize = this.getFontSizeForElement(leftLabel);\n const rangeLabelOverlap = leftLabelBounds.right + leftLabelFontSize - rightLabelBounds.left;\n\n return Math.max(rangeLabelOverlap, 0);\n }\n\n /**\n * Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle div element.\n *\n * @param minLabel\n * @param handle\n */\n private isMinTickLabelObscured(minLabel: HTMLSpanElement, handle: HTMLDivElement): boolean {\n const minLabelBounds = minLabel.getBoundingClientRect();\n const handleBounds = handle.getBoundingClientRect();\n return intersects(minLabelBounds, handleBounds);\n }\n\n /**\n * Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle div element.\n *\n * @param maxLabel\n * @param handle\n */\n private isMaxTickLabelObscured(maxLabel: HTMLSpanElement, handle: HTMLDivElement): boolean {\n const maxLabelBounds = maxLabel.getBoundingClientRect();\n const handleBounds = handle.getBoundingClientRect();\n return intersects(maxLabelBounds, handleBounds);\n }\n\n /**\n * Returns a string representing the localized label value based if the groupSeparator prop is parsed.\n *\n * @param value\n */\n private formatValue = (value: number): string => {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n\n return numberStringFormatter.localize(value.toString());\n };\n}\n"],"mappings":";;;;;+kBAWA,SAASA,EAAMC,EAAWC,EAAWC,GACnC,MAAMC,EAAKF,EAAG,GAAKD,EAAG,GACtB,MAAMI,EAAMF,EAAG,GAAKD,EAAG,GACvB,MAAMI,EAAKJ,EAAG,GAAKD,EAAG,GACtB,MAAMM,EAAMJ,EAAG,GAAKD,EAAG,GACvB,MAAMM,EAAIF,GAAMF,GAAOC,EAAM,GAAK,GAClC,MAAMI,EAAKF,GAAOF,GAAQD,EAAK,GAAK,GACpC,MAAMM,GAAKF,EAAIH,EAAMI,EAAKL,IAAOA,EAAKC,GACtC,OAAQM,KAAKC,KAAKJ,GAAKG,KAAKC,KAAKH,IAAOE,KAAKE,IAAIF,KAAKG,IAAIN,GAAIG,KAAKG,IAAIL,GAAK,GAAME,KAAKG,IAAIJ,KAAO,CACpG,CASA,SAASK,EAAYd,EAAWC,EAAWM,GACzC,MAAMJ,EAAKF,EAAG,GAAKD,EAAG,GACtB,MAAMK,EAAKJ,EAAG,GAAKD,EAAG,GACtB,OAAOG,GAAO,EAAIE,EAAMF,EAAKI,GAAK,EAAIA,CACxC,CAeA,SAASQ,EAAOf,EAAWC,EAAWe,EAAYR,EAAYS,GAC5D,MAAOC,EAAIC,GAAMnB,EACjB,MAAOoB,EAAIC,GAAMpB,EACjB,MAAME,GAAMiB,EAAKF,GAAM,EACvB,MAAMI,EAAKL,EAAE,CAACC,EAAKf,EAAIgB,EAAKhB,EAAKa,IAAKO,KAAK,KAC3C,MAAMC,EAAKP,EAAE,CAACG,EAAKjB,EAAIkB,EAAKlB,EAAKK,IAAKe,KAAK,KAC3C,MAAMd,EAAIQ,EAAE,CAACG,EAAIC,IAAKE,KAAK,KAC3B,MAAO,KAAKD,KAAME,KAAMf,GAC1B,C,SAYgBgB,GAAUC,MAAEA,EAAKC,OAAEA,EAAMf,IAAEA,EAAGgB,IAAEA,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EAAiB7H,EAASsE,wBAChC,MAAMwD,EAAelR,EAAO0N,wBAC5B,OAAOyD,EAAWF,EAAgBC,E,CAS5B,sBAAAZ,CAAuBjH,EAA2BrJ,GACxD,MAAMoR,EAAiB/H,EAASqE,wBAChC,MAAMwD,EAAelR,EAAO0N,wBAC5B,OAAOyD,EAAWC,EAAgBF,E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.5.0-next.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as n,g as o}from"./p-aa4a7aa0.js";import{t as s,i as a,l as r,d as c}from"./p-2a0f60c9.js";import{f as l,c as d,d as h,a as p,F as m,r as u}from"./p-fb46e1b7.js";import{g as f}from"./p-2b05e96c.js";import{c as g,u as b,d as w,I as v}from"./p-45af6cec.js";import{i as k}from"./p-5bdc1461.js";import{c as x,s as y,a as z}from"./p-705f04ba.js";import{c as D}from"./p-8d22af5c.js";import{o as I}from"./p-2a7b59b3.js";import{g as C}from"./p-f4650a58.js";import"./p-b4352ddb.js";import"./p-c00b8868.js";import"./p-0b4fc200.js";const E={dropdownTrigger:"trigger"};const H=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const P=class{constructor(i){t(this,i);this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=e(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6);this.items=[];this.groups=[];this.mutationObserver=D("mutation",(()=>this.updateItems()));this.resizeObserver=D("resize",(t=>this.resizeObserverCallback(t)));this.openTransitionProp="opacity";this.guid=`calcite-dropdown-${f()}`;this.defaultAssignedElements=[];this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:true});this.updateItems()};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?l(e,t):null};this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:true});this.reposition(true)};this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]);this.updateSelectedItems();this.reposition(true);this.items.forEach((t=>t.scale=this.scale))};this.updateGroups=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e;this.updateItems()};this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;if(e===this.referenceEl){this.setDropdownWidth()}else if(e===this.scrollerEl){this.setMaxScrollerHeight()}}))};this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this;const i=t?.clientWidth;if(!i||!e){return}e.style.minWidth=`${i}px`};this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t){return}this.reposition(true);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"";this.reposition(true)};this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t);this.scrollerEl=t;this.transitionEl=t};this.setReferenceEl=t=>{this.referenceEl=t;d(this,this.referenceEl,this.floatingEl);this.resizeObserver.observe(t)};this.setFloatingEl=t=>{this.floatingEl=t;d(this,this.referenceEl,this.floatingEl)};this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl)){return}const{defaultPrevented:e,key:i}=t;if(e){return}if(this.open){if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&i==="Tab"){this.closeCalciteDropdown();t.preventDefault();return}}if(k(i)){this.openCalciteDropdown();t.preventDefault()}else if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])};this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem();this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)};this.openCalciteDropdown=()=>{this.open=!this.open;if(this.open){this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}};this.open=false;this.closeOnSelectDisabled=false;this.disabled=false;this.flipPlacements=undefined;this.maxItems=0;this.overlayPositioning="absolute";this.placement=h;this.selectedItems=[];this.type="click";this.widthScale=undefined;this.scale="m"}openHandler(){I(this);if(this.disabled){this.open=false;return}this.reposition(true)}handleDisabledChange(t){if(!t){this.open=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}async setFocus(){await x(this);this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition(true);if(this.open){this.openHandler();I(this)}g(this);this.updateItems();d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){y(this)}componentDidLoad(){z(this);this.reposition(true)}componentDidRender(){b(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();w(this);p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(n,null,i(v,{disabled:this.disabled},i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":s(t),"aria-haspopup":"menu",name:E.dropdownTrigger,onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":s(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{["calcite-dropdown-content"]:true,[m.animation]:true,[m.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups})))))}async reposition(t=false){const{floatingEl:e,referenceEl:i,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return u(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},t)}closeCalciteDropdownOnClick(t){if(this.disabled||!a(t)||!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown();t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){if(t.composedPath().includes(this.el)){return}this.open=false}pointerEnterHandler(){if(this.disabled||this.type!=="hover"){return}this.openCalciteDropdown()}pointerLeaveHandler(){if(this.disabled||this.type!=="hover"){return}this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail;const i=e.target;const n=this.getTraversableItems();switch(e.key){case"Tab":this.open=false;this.updateTabIndexOfItems(i);break;case"ArrowDown":r(n,i,"next");break;case"ArrowUp":r(n,i,"previous");break;case"Home":r(n,i,"first");break;case"End":r(n,i,"last");break}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.closeOnSelectDisabled||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i=0;let n=0;let o;this.groups.forEach((e=>{if(t>0&&i<t){Array.from(e.children).forEach(((e,s)=>{if(s===0){if(isNaN(o)){o=e.offsetTop}n+=o}if(i<t){n+=e.offsetHeight;i+=1}}))}}));return e.length>t?n:0}closeCalciteDropdown(t=true){this.open=false;if(t){c(this.triggers[0])}}getFocusableElement(t){if(!t){return}c(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};P.style=H;const j={container:"container",containerLink:"container--link",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon-end",iconStart:"dropdown-item-icon-start",itemContent:"dropdown-item-content",link:"dropdown-link"};const O=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const A=class{constructor(i){t(this,i);this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))};this.mutationObserver=D("mutation",(()=>this.updateItems()));this.groupTitle=undefined;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:true})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[j.container]:true,[`${j.container}--${this.scale}`]:true}},e,t,i("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};A.style=O;const $=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const S=class{constructor(i){t(this,i);this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6);this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6);this.disabled=false;this.href=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.label=undefined;this.rel=undefined;this.selected=false;this.target=undefined;this.selectionMode="single";this.scale="m"}async setFocus(){await x(this);this.el?.focus()}componentWillLoad(){y(this);this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}componentDidRender(){b(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a,scale:r}=this;const c=i("calcite-icon",{class:j.iconStart,flipRtl:a==="start"||a==="both",icon:this.iconStart,scale:C(this.scale)});const l=i("span",{class:j.itemContent},i("slot",null));const d=i("calcite-icon",{class:j.iconEnd,flipRtl:a==="end"||a==="both",icon:this.iconEnd,scale:C(this.scale)});const h=this.iconStart&&this.iconEnd?[c,l,d]:this.iconStart?[c,l]:this.iconEnd?[l,d]:l;const p=!t?h:i("a",{"aria-label":o,class:j.link,href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},h);const m=t?null:e==="single"?"menuitemradio":e==="multiple"?"menuitemcheckbox":"menuitem";const u=e!=="none"?s(this.selected):null;const{disabled:f}=this;return i(n,{"aria-checked":u,"aria-label":!t?o:"",role:m,tabIndex:f?-1:0},i(v,{disabled:f},i("div",{class:{[j.container]:true,[j.containerLink]:!!t,[`${j.container}--${r}`]:true,[j.containerMulti]:e==="multiple",[j.containerSingle]:e==="single",[j.containerNone]:e==="none"}},e!=="none"?i("calcite-icon",{class:j.icon,icon:e==="multiple"?"check":"bullet-point",scale:C(this.scale)}):null,p)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}}updateActiveItemOnChange(t){const e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}}determineActiveItem(){switch(this.selectionMode){case"multiple":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit();this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};S.style=$;export{P as calcite_dropdown,A as calcite_dropdown_group,S as calcite_dropdown_item};
|
|
7
|
+
//# sourceMappingURL=p-27fcee6a.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SLOTS","dropdownTrigger","dropdownCss","Dropdown","this","items","groups","mutationObserver","createObserver","updateItems","resizeObserver","entries","resizeObserverCallback","openTransitionProp","guid","defaultAssignedElements","slotChangeHandler","event","target","assignedElements","flatten","setFilteredPlacements","el","flipPlacements","filteredFlipPlacements","filterComputedPlacements","updateTriggers","triggers","reposition","map","group","Array","from","querySelectorAll","reduce","previousValue","currentValue","updateSelectedItems","forEach","item","scale","updateGroups","filter","matches","entry","referenceEl","setDropdownWidth","scrollerEl","setMaxScrollerHeight","referenceElWidth","clientWidth","style","minWidth","maxScrollerHeight","getMaxScrollerHeight","maxHeight","setScrollerAndTransitionEl","observe","transitionEl","setReferenceEl","connectFloatingUI","floatingEl","setFloatingEl","keyDownHandler","composedPath","includes","defaultPrevented","key","open","closeCalciteDropdown","preventDefault","shiftKey","isActivationKey","openCalciteDropdown","focusOnFirstActiveOrFirstItem","getFocusableElement","getTraversableItems","find","selected","toggleOpenEnd","removeEventListener","addEventListener","defaultMenuPlacement","openHandler","onToggleOpenCloseComponent","disabled","handleDisabledChange","value","flipPlacementsHandler","maxItemsHandler","overlayPositioningHandler","placementHandler","handlePropsChange","setFocus","componentFocusable","focus","connectedCallback","childList","subtree","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnect","disconnectInteractive","disconnectFloatingUI","render","h","Host","InteractiveContainer","class","id","onClick","onKeyDown","ref","toAriaBoolean","name","onSlotchange","FloatingCSS","animation","animationActive","role","delayed","placement","overlayPositioning","type","closeCalciteDropdownOnClick","isPrimaryPointerButton","closeCalciteDropdownOnEvent","stopPropagation","closeCalciteDropdownOnOpenEvent","pointerEnterHandler","pointerLeaveHandler","hidden","calciteInternalDropdownItemKeyEvent","keyboardEvent","detail","traversableItems","updateTabIndexOfItems","focusElementInGroup","handleItemSelect","calciteDropdownSelect","emit","closeOnSelectDisabled","requestedDropdownGroup","selectionMode","onBeforeOpen","calciteDropdownBeforeOpen","onOpen","calciteDropdownOpen","onBeforeClose","calciteDropdownBeforeClose","onClose","calciteDropdownClose","selectedItems","maxItems","itemsToProcess","groupHeaderHeight","children","index","isNaN","offsetTop","offsetHeight","length","focusTrigger","focusElement","tabIndex","CSS","container","containerLink","containerMulti","containerSingle","containerNone","icon","iconEnd","iconStart","itemContent","link","dropdownGroupCss","DropdownGroup","groupPosition","getGroupPosition","groupTitle","dropdownSeparator","updateActiveItemOnChange","requestedDropdownItem","calciteInternalDropdownItemChange","prototype","indexOf","call","parentElement","dropdownItemCss","DropdownItem","initialize","href","label","iconFlipRtl","iconStartEl","flipRtl","getIconScale","contentNode","iconEndEl","slottedContent","contentEl","rel","childLink","itemRole","itemAria","emitRequestedItem","click","calciteInternalDropdownCloseRequest","parentEmittedChange","parentDropdownGroupEl","determineActiveItem","closest","calciteDropdownItemSelect","calciteInternalDropdownItemSelect"],"sources":["src/components/dropdown/resources.ts","src/components/dropdown/dropdown.scss?tag=calcite-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx","src/components/dropdown-item/resources.ts","src/components/dropdown-group/dropdown-group.scss?tag=calcite-dropdown-group&encapsulation=shadow","src/components/dropdown-group/dropdown-group.tsx","src/components/dropdown-item/dropdown-item.scss?tag=calcite-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["export const SLOTS = {\n dropdownTrigger: \"trigger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-dropdown-width: Specifies the width of the component's wrapper.\n */\n\n:host {\n @apply inline-block;\n}\n\n@include disabled();\n\n:host .calcite-dropdown-wrapper {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".calcite-dropdown-wrapper\");\n:host([open]) .calcite-dropdown-wrapper {\n @include floatingUIWrapperActive();\n}\n\n:host .calcite-dropdown-content {\n @apply bg-foreground-1\n w-auto\n overflow-y-auto\n overflow-x-hidden\n max-h-menu;\n inline-size: var(--calcite-dropdown-width);\n}\n.calcite-trigger-container {\n @apply relative flex flex-auto h-full;\n @include word-break;\n}\n\n@media (forced-colors: active) {\n /* use real border since box-shadow is removed in high contrast mode */\n :host([open]) .calcite-dropdown-wrapper {\n border: 1px solid canvasText;\n }\n}\n\n// width\n:host([width-scale=\"s\"]) {\n --calcite-dropdown-width: theme(\"spacing.48\");\n}\n:host([width-scale=\"m\"]) {\n --calcite-dropdown-width: theme(\"spacing.56\");\n}\n:host([width-scale=\"l\"]) {\n --calcite-dropdown-width: theme(\"spacing.64\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ItemKeyboardEvent } from \"./interfaces\";\n\nimport {\n focusElement,\n focusElementInGroup,\n isPrimaryPointerButton,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n MenuPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.\n * @slot trigger - A slot for the element that triggers the `calcite-dropdown`.\n */\n@Component({\n tag: \"calcite-dropdown\",\n styleUrl: \"dropdown.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Dropdown\n implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, displays and positions the component.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.reposition(true);\n }\n\n /**\n * When `true`, the component will remain open after a selection is made.\n *\n * If the `selectionMode` of the selected `calcite-dropdown-item`'s containing `calcite-dropdown-group` is `\"none\"`, the component will always close.\n *\n */\n @Prop({ reflect: true }) closeOnSelectDisabled = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scroller.\n * Value must be greater than `0`, and does not include `groupTitle`'s from `calcite-dropdown-group`.\n */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Determines where the component will be positioned relative to the container element.\n *\n * @default \"bottom-start\"\n */\n @Prop({ reflect: true }) placement: MenuPlacement = defaultMenuPlacement;\n\n @Watch(\"placement\")\n placementHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteDropdownItemElement[] = [];\n\n /**\n * Specifies the action to open the component from the container element.\n */\n @Prop({ reflect: true }) type: \"hover\" | \"click\" = \"click\";\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.setFilteredPlacements();\n this.reposition(true);\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectInteractive(this);\n this.updateItems();\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.reposition(true);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n render(): VNode {\n const { open, guid } = this;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n class=\"calcite-trigger-container\"\n id={`${guid}-menubutton`}\n onClick={this.openCalciteDropdown}\n onKeyDown={this.keyDownHandler}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setReferenceEl}\n >\n <slot\n aria-controls={`${guid}-menu`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"menu\"\n name={SLOTS.dropdownTrigger}\n onSlotchange={this.updateTriggers}\n />\n </div>\n <div\n aria-hidden={toAriaBoolean(!open)}\n class=\"calcite-dropdown-wrapper\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setFloatingEl}\n >\n <div\n aria-labelledby={`${guid}-menubutton`}\n class={{\n [\"calcite-dropdown-content\"]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n }}\n id={`${guid}-menu`}\n role=\"menu\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setScrollerAndTransitionEl}\n >\n <slot onSlotchange={this.updateGroups} />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed,\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when a `calcite-dropdown-item`'s selection changes. */\n @Event({ cancelable: false }) calciteDropdownSelect: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownOpen: EventEmitter<void>;\n\n @Listen(\"pointerdown\", { target: \"window\" })\n closeCalciteDropdownOnClick(event: PointerEvent): void {\n if (\n this.disabled ||\n !isPrimaryPointerButton(event) ||\n !this.open ||\n event.composedPath().includes(this.el)\n ) {\n return;\n }\n\n this.closeCalciteDropdown(false);\n }\n\n @Listen(\"calciteInternalDropdownCloseRequest\")\n closeCalciteDropdownOnEvent(event: Event): void {\n this.closeCalciteDropdown();\n event.stopPropagation();\n }\n\n @Listen(\"calciteDropdownOpen\", { target: \"window\" })\n closeCalciteDropdownOnOpenEvent(event: Event): void {\n if (event.composedPath().includes(this.el)) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"pointerenter\")\n pointerEnterHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.openCalciteDropdown();\n }\n\n @Listen(\"pointerleave\")\n pointerLeaveHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.closeCalciteDropdown();\n }\n\n private getTraversableItems(): HTMLCalciteDropdownItemElement[] {\n return this.items.filter((item) => !item.disabled && !item.hidden);\n }\n\n @Listen(\"calciteInternalDropdownItemKeyEvent\")\n calciteInternalDropdownItemKeyEvent(event: CustomEvent<ItemKeyboardEvent>): void {\n const { keyboardEvent } = event.detail;\n const target = keyboardEvent.target as HTMLCalciteDropdownItemElement;\n const traversableItems = this.getTraversableItems();\n\n switch (keyboardEvent.key) {\n case \"Tab\":\n this.open = false;\n this.updateTabIndexOfItems(target);\n break;\n case \"ArrowDown\":\n focusElementInGroup(traversableItems, target, \"next\");\n break;\n case \"ArrowUp\":\n focusElementInGroup(traversableItems, target, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(traversableItems, target, \"first\");\n break;\n case \"End\":\n focusElementInGroup(traversableItems, target, \"last\");\n break;\n }\n\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n handleItemSelect(event: CustomEvent<RequestedItem>): void {\n this.updateSelectedItems();\n event.stopPropagation();\n this.calciteDropdownSelect.emit();\n if (\n !this.closeOnSelectDisabled ||\n event.detail.requestedDropdownGroup.selectionMode === \"none\"\n ) {\n this.closeCalciteDropdown();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownElement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n private items: HTMLCalciteDropdownItemElement[] = [];\n\n private groups: HTMLCalciteDropdownGroupElement[] = [];\n\n /** trigger elements */\n private triggers: HTMLElement[];\n\n floatingEl: HTMLDivElement;\n\n referenceEl: HTMLDivElement;\n\n private scrollerEl: HTMLDivElement;\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n resizeObserver = createObserver(\"resize\", (entries) => this.resizeObserverCallback(entries));\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n guid = `calcite-dropdown-${guid()}`;\n\n defaultAssignedElements: Element[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n slotChangeHandler = (event: Event): void => {\n this.defaultAssignedElements = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n });\n\n this.updateItems();\n };\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n updateTriggers = (event: Event): void => {\n this.triggers = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n }) as HTMLElement[];\n\n this.reposition(true);\n };\n\n updateItems = (): void => {\n this.items = this.groups\n .map((group) => Array.from(group?.querySelectorAll(\"calcite-dropdown-item\")))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n this.updateSelectedItems();\n\n this.reposition(true);\n\n this.items.forEach((item) => (item.scale = this.scale));\n };\n\n updateGroups = (event: Event): void => {\n const groups = (event.target as HTMLSlotElement)\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-dropdown-group\")) as HTMLCalciteDropdownGroupElement[];\n\n this.groups = groups;\n\n this.updateItems();\n };\n\n resizeObserverCallback = (entries: ResizeObserverEntry[]): void => {\n entries.forEach((entry) => {\n const { target } = entry;\n if (target === this.referenceEl) {\n this.setDropdownWidth();\n } else if (target === this.scrollerEl) {\n this.setMaxScrollerHeight();\n }\n });\n };\n\n setDropdownWidth = (): void => {\n const { referenceEl, scrollerEl } = this;\n const referenceElWidth = referenceEl?.clientWidth;\n\n if (!referenceElWidth || !scrollerEl) {\n return;\n }\n\n scrollerEl.style.minWidth = `${referenceElWidth}px`;\n };\n\n setMaxScrollerHeight = (): void => {\n const { scrollerEl } = this;\n if (!scrollerEl) {\n return;\n }\n\n this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n this.reposition(true);\n };\n\n setScrollerAndTransitionEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.scrollerEl = el;\n\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.calciteDropdownBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteDropdownOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteDropdownBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteDropdownClose.emit();\n }\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n this.resizeObserver.observe(el);\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!event.composedPath().includes(this.referenceEl)) {\n return;\n }\n\n const { defaultPrevented, key } = event;\n\n if (defaultPrevented) {\n return;\n }\n\n if (this.open) {\n if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n } else if (event.shiftKey && key === \"Tab\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n }\n }\n\n if (isActivationKey(key)) {\n this.openCalciteDropdown();\n event.preventDefault();\n } else if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n }\n };\n\n private updateSelectedItems(): void {\n this.selectedItems = this.items.filter((item) => item.selected);\n }\n\n private getMaxScrollerHeight(): number {\n const { maxItems, items } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n let groupHeaderHeight: number;\n\n this.groups.forEach((group) => {\n if (maxItems > 0 && itemsToProcess < maxItems) {\n Array.from(group.children).forEach((item: HTMLCalciteDropdownItemElement, index) => {\n if (index === 0) {\n if (isNaN(groupHeaderHeight)) {\n groupHeaderHeight = item.offsetTop;\n }\n\n maxScrollerHeight += groupHeaderHeight;\n }\n\n if (itemsToProcess < maxItems) {\n maxScrollerHeight += item.offsetHeight;\n itemsToProcess += 1;\n }\n });\n }\n });\n\n return items.length > maxItems ? maxScrollerHeight : 0;\n }\n\n private closeCalciteDropdown(focusTrigger = true) {\n this.open = false;\n\n if (focusTrigger) {\n focusElement(this.triggers[0]);\n }\n }\n\n private focusOnFirstActiveOrFirstItem = (): void => {\n this.getFocusableElement(\n this.getTraversableItems().find((item) => item.selected) || this.items[0],\n );\n };\n\n private getFocusableElement(item: HTMLCalciteDropdownItemElement): void {\n if (!item) {\n return;\n }\n\n focusElement(item);\n }\n\n private toggleOpenEnd = (): void => {\n this.focusOnFirstActiveOrFirstItem();\n this.el.removeEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n };\n\n private openCalciteDropdown = () => {\n this.open = !this.open;\n if (this.open) {\n this.el.addEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n }\n };\n\n private updateTabIndexOfItems(target: HTMLCalciteDropdownItemElement): void {\n this.items.forEach((item: HTMLCalciteDropdownItemElement) => {\n item.tabIndex = target !== item ? -1 : 0;\n });\n }\n}\n","export const CSS = {\n container: \"container\",\n containerLink: \"container--link\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\",\n icon: \"dropdown-item-icon\",\n iconEnd: \"dropdown-item-icon-end\",\n iconStart: \"dropdown-item-icon-start\",\n itemContent: \"dropdown-item-content\",\n link: \"dropdown-link\",\n};\n",":host {\n // we make the host relative, so items can consistently compute their offsetTop based on the group\n @apply block relative;\n}\n\n.container {\n text-align: start;\n}\n\n.container--s {\n @apply text-n2h;\n .dropdown-title {\n @apply p-2;\n }\n}\n\n.container--m {\n @apply text-n1h;\n .dropdown-title {\n @apply p-3;\n }\n}\n\n.container--l {\n @apply text-0h;\n .dropdown-title {\n @apply p-4;\n }\n}\n\n.dropdown-title {\n @apply border-color-3\n text-color-2\n -mb-px\n block\n cursor-default\n break-words\n border-0\n border-b\n border-solid\n font-bold;\n}\n\n.dropdown-separator {\n @apply block h-px;\n background-color: theme(\"borderColor.color.3\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS } from \"../dropdown-item/resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-item`s.\n */\n@Component({\n tag: \"calcite-dropdown-group\",\n styleUrl: \"dropdown-group.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class DropdownGroup {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies and displays a group title. */\n @Prop({ reflect: true }) groupTitle: string;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection, and\n *\n * `\"none\"` does not allow any selections.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> =\n \"single\";\n\n @Watch(\"selectionMode\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemChange: EventEmitter<RequestedItem>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.updateItems();\n this.mutationObserver?.observe(this.el, { childList: true });\n }\n\n componentWillLoad(): void {\n this.groupPosition = this.getGroupPosition();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n const groupTitle = this.groupTitle ? (\n <span aria-hidden=\"true\" class=\"dropdown-title\">\n {this.groupTitle}\n </span>\n ) : null;\n\n const dropdownSeparator =\n this.groupPosition > 0 ? <div class=\"dropdown-separator\" role=\"separator\" /> : null;\n\n return (\n <Host aria-label={this.groupTitle} role=\"group\">\n <div\n class={{\n [CSS.container]: true,\n [`${CSS.container}--${this.scale}`]: true,\n }}\n >\n {dropdownSeparator}\n {groupTitle}\n <slot />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n updateActiveItemOnChange(event: CustomEvent): void {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteInternalDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem,\n });\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownGroupElement;\n\n /** position of group within a dropdown */\n private groupPosition: number;\n\n /** the requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** the requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n private updateItems = (): void => {\n Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\")).forEach(\n (item) => (item.selectionMode = this.selectionMode),\n );\n };\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private getGroupPosition(): number {\n return Array.prototype.indexOf.call(\n this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"),\n this.el,\n );\n }\n}\n",".container--s {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l {\n @apply text-0h py-2.5;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n// none-selection mode\n.container--s.container--none-selection {\n padding-inline-start: theme(\"padding.1\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--m.container--none-selection {\n padding-inline-start: theme(\"padding.2\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--l.container--none-selection {\n padding-inline-start: theme(\"padding.3\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n@mixin itemStyling {\n @apply text-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n items-center;\n}\n\n.container {\n @include itemStyling;\n text-align: start;\n}\n\n.dropdown-item-content {\n @apply flex-auto py-0.5;\n padding-inline-end: theme(\"margin.auto\");\n padding-inline-start: theme(\"margin.1\");\n}\n\n//focus\n:host,\n.container--link a {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset outline-none;\n}\n\n// when used as link move styling anchor\n.container--link {\n @apply p-0;\n & a {\n @include itemStyling;\n }\n}\n\n.container--s .dropdown-link {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m .dropdown-link {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l .dropdown-link {\n @apply text-0h py-3;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n:host(:hover:not([disabled])),\n:host(:active:not([disabled])) {\n .container {\n @apply bg-foreground-2 text-color-1 no-underline;\n }\n\n .container--link .dropdown-link {\n @apply text-color-1;\n }\n}\n\n:host(:active:not([disabled])) .container {\n @apply bg-foreground-3;\n}\n\n:host(:focus) .container {\n @apply text-color-1 no-underline;\n}\n\n:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link {\n @apply text-color-1 font-medium;\n & calcite-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n// item icon\n.dropdown-item-icon {\n @apply absolute\n opacity-0\n duration-150\n ease-in-out;\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.1\");\n}\n\n.container--m .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.2\");\n}\n\n.container--l .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.3\");\n}\n\n:host(:hover:not([disabled])) .dropdown-item-icon {\n color: theme(\"borderColor.color.1\");\n @apply opacity-100;\n}\n\n:host([selected]) .dropdown-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n}\n\n// icon start & end\n.container--s {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.2\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.2\");\n }\n}\n\n.container--m {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.3\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.3\");\n }\n}\n\n.container--l {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.4\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { ItemKeyboardEvent } from \"../dropdown/interfaces\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { FlipContext, Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\n\n/**\n * @slot - A slot for adding text.\n */\n@Component({\n tag: \"calcite-dropdown-item\",\n styleUrl: \"dropdown-item.scss\",\n shadow: true,\n})\nexport class DropdownItem implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n *\n * Determines if the component will render as an anchor.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the relationship to the linked document defined in `href`. */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** Specifies the frame or window to open the linked document. */\n @Prop({ reflect: true }) target: string;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is selected. */\n @Event({ cancelable: false }) calciteDropdownItemSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemSelect: EventEmitter<RequestedItem>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalDropdownItemKeyEvent: EventEmitter<ItemKeyboardEvent>;\n\n /** @internal */\n @Event({ cancelable: false }) calciteInternalDropdownCloseRequest: EventEmitter<void>;\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.el?.focus();\n }\n\n /**\n * Specifies the selection mode inherited from `calcite-dropdown-group`, defaults to `single`:\n * - `multiple` allows any number of selected items,\n * - `single` allows only one selection (default),\n * - `none` doesn't allow for any selection.\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> = \"single\";\n\n /**\n * Specifies the size of the component inherited from `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n this.initialize();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.initialize();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const { href, selectionMode, label, iconFlipRtl, scale } = this;\n\n const iconStartEl = (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"start\" || iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n const contentNode = (\n <span class={CSS.itemContent}>\n <slot />\n </span>\n );\n const iconEndEl = (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"end\" || iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const slottedContent =\n this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, contentNode]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n\n const contentEl = !href ? (\n slottedContent\n ) : (\n <a\n aria-label={label}\n class={CSS.link}\n href={href}\n rel={this.rel}\n tabIndex={-1}\n target={this.target}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.childLink = el)}\n >\n {slottedContent}\n </a>\n );\n\n const itemRole = href\n ? null\n : selectionMode === \"single\"\n ? \"menuitemradio\"\n : selectionMode === \"multiple\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n\n const itemAria = selectionMode !== \"none\" ? toAriaBoolean(this.selected) : null;\n const { disabled } = this;\n\n return (\n <Host\n aria-checked={itemAria}\n aria-label={!href ? label : \"\"}\n role={itemRole}\n tabIndex={disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={disabled}>\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerLink]: !!href,\n [`${CSS.container}--${scale}`]: true,\n [CSS.containerMulti]: selectionMode === \"multiple\",\n [CSS.containerSingle]: selectionMode === \"single\",\n [CSS.containerNone]: selectionMode === \"none\",\n }}\n >\n {selectionMode !== \"none\" ? (\n <calcite-icon\n class={CSS.icon}\n icon={selectionMode === \"multiple\" ? \"check\" : \"bullet-point\"}\n scale={getIconScale(this.scale)}\n />\n ) : null}\n {contentEl}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"click\") onClick(): void {\n this.emitRequestedItem();\n }\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n event.preventDefault();\n break;\n case \"Escape\":\n this.calciteInternalDropdownCloseRequest.emit();\n event.preventDefault();\n break;\n case \"Tab\":\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n event.preventDefault();\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n }\n }\n\n @Listen(\"calciteInternalDropdownItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownItemElement;\n\n /** id of containing group */\n private parentDropdownGroupEl: HTMLCalciteDropdownGroupElement;\n\n /** requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n /** if href is requested, track the rendered child link*/\n private childLink: HTMLAnchorElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private initialize(): void {\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.selected = false;\n }\n }\n\n private determineActiveItem(): void {\n switch (this.selectionMode) {\n case \"multiple\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = !this.selected;\n }\n break;\n\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = true;\n } else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.selected = false;\n }\n break;\n\n case \"none\":\n this.selected = false;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteDropdownItemSelect.emit();\n this.calciteInternalDropdownItemSelect.emit({\n requestedDropdownItem: this.el,\n requestedDropdownGroup: this.parentDropdownGroupEl,\n });\n }\n}\n"],"mappings":";;;;;uiBAAO,MAAMA,EAAQ,CACnBC,gBAAiB,WCDnB,MAAMC,EAAc,6/D,MCiEPC,EAAQ,M,sVAoXXC,KAAAC,MAA0C,GAE1CD,KAAAE,OAA4C,GAWpDF,KAAAG,iBAAmBC,EAAe,YAAY,IAAMJ,KAAKK,gBAEzDL,KAAAM,eAAiBF,EAAe,UAAWG,GAAYP,KAAKQ,uBAAuBD,KAEnFP,KAAAS,mBAAqB,UAIrBT,KAAAU,KAAO,oBAAoBA,MAE3BV,KAAAW,wBAAqC,GAQrCX,KAAAY,kBAAqBC,IACnBb,KAAKW,wBAA2BE,EAAMC,OAA2BC,iBAAiB,CAChFC,QAAS,OAGXhB,KAAKK,aAAa,EAGpBL,KAAAiB,sBAAwB,KACtB,MAAMC,GAAEA,EAAEC,eAAEA,GAAmBnB,KAE/BA,KAAKoB,uBAAyBD,EAC1BE,EAAyBF,EAAgBD,GACzC,IA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0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.5.0-next.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as e,a as t}from"./p-b4352ddb.js";function o(){const{classList:o}=document.body;const n=window.matchMedia("(prefers-color-scheme: dark)").matches;const d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light";const c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:true,detail:{mode:e}}));const i=e=>{s!==e&&c(e);s=e};let s=d();c(s);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light")));new MutationObserver((()=>i(d()))).observe(document.body,{attributes:true,attributeFilter:["class"]})}function n(){const e=typeof window!=="undefined"&&typeof location!=="undefined"&&typeof document!=="undefined"&&window.location===location&&window.document===document;if(e){if(document.readyState==="interactive"){o()}else{document.addEventListener("DOMContentLoaded",(()=>o()),{once:true})}}}const d=n;export{d as g};
|
|
7
|
+
//# sourceMappingURL=p-298dd034.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.5.0-next.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-aa4a7aa0.js";import{b as a,t as n,e as l,h as r}from"./p-2a0f60c9.js";import{g as c}from"./p-f4650a58.js";import{s as h,a as d,c as u}from"./p-705f04ba.js";import{N as m,c as p,d as g}from"./p-9e925631.js";import{o as f}from"./p-2a7b59b3.js";import{c as b,s as v,d as k,u as w}from"./p-3c675720.js";import{K as x}from"./p-bfab4536.js";import"./p-2b05e96c.js";import"./p-b4352ddb.js";import"./p-5bdc1461.js";import"./p-8d22af5c.js";const y={slow:14e3,medium:1e4,fast:6e3};const z={actionsEnd:"actions-end",title:"title",message:"message",link:"link"};const C={actionsEnd:"actions-end",close:"close",container:"container",containerBottom:"container--bottom",containerBottomEnd:"container--bottom-end",containerBottomStart:"container--bottom-start",containerQueued:"container--queued",containerTop:"container--top",containerTopEnd:"container--top-end",containerTopStart:"container--top-start",content:"content",contentContainer:"content-container",dismissProgress:"dismiss-progress",footer:"footer",icon:"icon",containerSlottedInShell:"container--slotted-in-shell",queueCount:"queue-count",queueCountActive:"queue-count--active",textContainer:"text-container"};const q=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const j=class{constructor(i){t(this,i);this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6);this.calciteAlertClose=e(this,"calciteAlertClose",6);this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6);this.calciteAlertOpen=e(this,"calciteAlertOpen",6);this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6);this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6);this.autoCloseTimeoutId=null;this.totalOpenTime=0;this.totalHoverTime=0;this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.closeAlert=()=>{this.autoCloseTimeoutId=null;this.queued=false;this.open=false;this.queue=this.queue.filter((t=>t!==this.el));this.determineActiveAlert();this.calciteInternalAlertSync.emit({queue:this.queue})};this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)};this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId);this.totalOpenTime=Date.now()-this.initialOpenTime;this.lastMouseOverBegin=Date.now()};this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin;const e=y[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t;this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)};this.open=false;this.autoClose=false;this.autoCloseDuration="medium";this.kind="brand";this.icon=undefined;this.iconFlipRtl=false;this.label=undefined;this.numberingSystem=undefined;this.placement="bottom";this.scale="m";this.messages=undefined;this.messageOverrides=undefined;this.slottedInShell=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.numberStringFormatter=new m;this.hasEndActions=false;this.queue=[];this.queueLength=0;this.queued=false}openHandler(){f(this);if(this.open&&!this.queued){this.calciteInternalAlertRegister.emit()}if(!this.open){this.queue=this.queue.filter((t=>t!==this.el));this.calciteInternalAlertSync.emit({queue:this.queue})}}onMessagesChange(){}updateDuration(){if(this.autoClose&&this.autoCloseTimeoutId){window.clearTimeout(this.autoCloseTimeoutId);this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration])}}connectedCallback(){p(this);b(this);const t=this.open;if(t&&!this.queued){this.calciteInternalAlertRegister.emit()}this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){h(this);await v(this);if(this.open){f(this)}}componentDidLoad(){d(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}}));window.clearTimeout(this.autoCloseTimeoutId);window.clearTimeout(this.queueTimeout);g(this);k(this);this.slottedInShell=false}render(){const{open:t,autoClose:e,label:o,placement:a,queued:l}=this;const c=e?"alert":"alertdialog";const h=!t;const d=r(x,this.icon,this.kind);const u=this.queueLength>1;return i(s,{"aria-hidden":n(h),"aria-label":o,"calcite-hydrated-hidden":h,role:c},i("div",{class:{[C.container]:true,[C.containerQueued]:l,[`${C.container}--${a}`]:true,[C.containerSlottedInShell]:this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},d&&this.renderIcon(d),i("div",{class:C.textContainer},i("slot",{name:z.title}),i("slot",{name:z.message}),i("slot",{name:z.link})),this.renderActionsEnd(),u?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&e?i("div",{class:C.dismissProgress}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:C.close,key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=this.queueLength>2?this.queueLength-1:1;const e=this.numberStringFormatter.numberFormatter.format(t);return i("div",{class:{[C.queueCount]:true,[C.queueCountActive]:this.queueLength>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:C.actionsEnd},i("slot",{name:z.actionsEnd,onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:C.icon},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){if(this.queue!==t.detail.queue){this.queue=t.detail.queue}this.queueLength=this.queue.length;this.determineActiveAlert();t.stopPropagation()}alertRegister(){if(this.open&&!this.queue.includes(this.el)){this.queued=true;this.queue.push(this.el)}this.calciteInternalAlertSync.emit({queue:this.queue});this.determineActiveAlert()}alertUnregister(t){const e=this.queue.filter((e=>e!==t.detail.alert));this.queue=e;window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:e}}))}async setFocus(){await u(this);const t=l(this.el,{selector:"calcite-link"});if(!this.closeButton&&!t){return}else if(t){return t.setFocus()}else if(this.closeButton){this.closeButton.focus()}}effectiveLocaleChange(){w(this,this.effectiveLocale);this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}determineActiveAlert(){if(this.queue?.[0]===this.el){this.openAlert();if(this.autoClose&&!this.autoCloseTimeoutId){this.initialOpenTime=Date.now();this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration])}}else{return}}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout);this.queueTimeout=window.setTimeout((()=>this.queued=false),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};j.style=q;export{j as calcite_alert};
|
|
7
|
+
//# sourceMappingURL=p-29a072e5.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["DURATIONS","slow","medium","fast","SLOTS","actionsEnd","title","message","link","CSS","close","container","containerBottom","containerBottomEnd","containerBottomStart","containerQueued","containerTop","containerTopEnd","containerTopStart","content","contentContainer","dismissProgress","footer","icon","containerSlottedInShell","queueCount","queueCountActive","textContainer","alertCss","Alert","this","autoCloseTimeoutId","totalOpenTime","totalHoverTime","openTransitionProp","setTransitionEl","el","transitionEl","closeAlert","queued","open","queue","filter","determineActiveAlert","calciteInternalAlertSync","emit","actionsEndSlotChangeHandler","event","hasEndActions","slotChangeHasAssignedElement","handleMouseOver","window","clearTimeout","Date","now","initialOpenTime","lastMouseOverBegin","handleMouseLeave","hoverDuration","timeRemaining","autoCloseDuration","setTimeout","NumberStringFormat","openHandler","onToggleOpenCloseComponent","calciteInternalAlertRegister","onMessagesChange","updateDuration","autoClose","connectedCallback","connectLocalized","connectMessages","numberStringFormatter","numberFormatOptions","locale","effectiveLocale","numberingSystem","signDisplay","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","disconnectedCallback","dispatchEvent","CustomEvent","detail","alert","queueTimeout","disconnectLocalized","disconnectMessages","slottedInShell","render","label","placement","role","hidden","effectiveIcon","setRequestedIcon","KindIcons","kind","hasQueuedAlerts","queueLength","h","Host","toAriaBoolean","class","onPointerEnter","onPointerLeave","ref","renderIcon","name","renderActionsEnd","renderQueueCount","renderCloseButton","messages","key","onClick","type","closeButton","scale","getIconScale","queueNumber","queueText","numberFormatter","format","value","onSlotchange","flipRtl","iconFlipRtl","alertSync","length","stopPropagation","alertRegister","includes","push","alertUnregister","setFocus","componentFocusable","alertLinkEl","getSlotted","selector","focus","effectiveLocaleChange","updateMessages","numberingSystemChange","openAlert","onBeforeOpen","calciteAlertBeforeOpen","onOpen","calciteAlertOpen","onBeforeClose","calciteAlertBeforeClose","onClose","calciteAlertClose"],"sources":["src/components/alert/resources.ts","src/components/alert/alert.scss?tag=calcite-alert&encapsulation=shadow","src/components/alert/alert.tsx"],"sourcesContent":["export const DURATIONS = {\n slow: 14000,\n medium: 10000,\n fast: 6000,\n};\n\nexport const SLOTS = {\n actionsEnd: \"actions-end\",\n title: \"title\",\n message: \"message\",\n link: \"link\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"close\",\n container: \"container\",\n containerBottom: \"container--bottom\",\n containerBottomEnd: \"container--bottom-end\",\n containerBottomStart: \"container--bottom-start\",\n containerQueued: \"container--queued\",\n containerTop: \"container--top\",\n containerTopEnd: \"container--top-end\",\n containerTopStart: \"container--top-start\",\n content: \"content\",\n contentContainer: \"content-container\",\n dismissProgress: \"dismiss-progress\",\n footer: \"footer\",\n icon: \"icon\",\n containerSlottedInShell: \"container--slotted-in-shell\",\n queueCount: \"queue-count\",\n queueCountActive: \"queue-count--active\",\n textContainer: \"text-container\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-alert-width: Specifies the width of the component.\n */\n\n$border-style: 1px solid var(--calcite-color-border-3);\n\n:host {\n --calcite-alert-edge-distance: theme(\"spacing.8\");\n --calcite-alert-dismiss-progress-background: var(--calcite-color-transparent-tint);\n @apply block;\n}\n\n.container {\n @apply bg-foreground-1\n box-border\n fixed\n flex\n items-center\n justify-center\n min-w-min\n mx-auto\n my-0\n opacity-0\n pointer-events-none\n shadow-2\n text-start\n w-full\n z-toast;\n\n border-radius: var(--calcite-border-radius);\n border-block-start: 0 solid transparent;\n border-inline: $border-style;\n border-block-end: $border-style;\n inline-size: var(--calcite-alert-width);\n max-inline-size: calc(100% - (var(--calcite-alert-edge-distance) * 2));\n transition:\n var(--calcite-internal-animation-timing-slow) $easing-function,\n opacity var(--calcite-internal-animation-timing-slow) $easing-function,\n all var(--calcite-animation-timing) ease-in-out;\n\n &--bottom,\n &--top {\n inset-inline-end: 0;\n inset-inline-start: 0;\n }\n &[class*=\"bottom\"] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), 0);\n inset-block-end: var(--calcite-alert-edge-distance);\n }\n &[class*=\"top\"] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);\n inset-block-start: var(--calcite-alert-edge-distance);\n }\n &[class*=\"start\"] {\n inset-inline-start: var(--calcite-alert-edge-distance);\n inset-inline-end: auto;\n }\n &[class*=\"end\"] {\n inset-inline-end: var(--calcite-alert-edge-distance);\n inset-inline-start: auto;\n }\n}\n\n.icon {\n @apply flex flex-col items-center justify-center p-0;\n margin-block: auto;\n margin-inline-end: auto;\n padding-inline-start: var(--calcite-alert-spacing-token-large);\n}\n\n.close {\n @apply bg-transparent border-none cursor-pointer flex items-center justify-end outline-none self-stretch text-color-3;\n -webkit-appearance: none;\n padding: var(--calcite-alert-spacing-token-large);\n\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\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.queue-count {\n @apply bg-foreground-1\n cursor-default\n flex\n font-medium\n invisible\n items-center\n justify-around\n min-w-min\n opacity-0\n overflow-hidden\n self-stretch\n text-center\n text-color-2\n transition-default;\n border-inline: 0 solid transparent;\n border-start-end-radius: 0;\n\n &--active {\n @apply visible opacity-100;\n }\n}\n\n.dismiss-progress {\n @apply absolute\n block\n w-full\n overflow-hidden;\n inset-inline: 0;\n inset-block-start: -2px;\n block-size: 2px;\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n &:after {\n @apply absolute\n top-0\n block;\n block-size: 2px;\n content: \"\";\n background-color: var(--calcite-alert-dismiss-progress-background);\n inset-inline-end: 0;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n.text-container {\n @apply box-border flex flex-auto min-w-0 flex-col break-words;\n padding-block: var(--calcite-alert-spacing-token-small);\n padding-inline: var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small);\n}\n\n.footer {\n @apply flex justify-end pt-px relative self-stretch w-auto;\n block-size: inherit;\n}\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-alert-width: 40em;\n --calcite-alert-spacing-token-small: theme(\"spacing.2\");\n --calcite-alert-spacing-token-large: theme(\"spacing.3\");\n --calcite-alert-footer-height: theme(\"height.8\");\n --calcite-alert-footer-divider-gap: theme(\"spacing[0.5]\");\n\n @include slotted(\"title\", \"*\") {\n @apply text-n1-wrap;\n }\n @include slotted(\"message\", \"*\") {\n @apply text-n2-wrap;\n }\n @include slotted(\"link\", \"*\") {\n @apply text-n2-wrap;\n }\n .queue-count {\n @apply mx-2;\n }\n .container {\n --calcite-alert-min-height: 3.5rem;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-alert-width: 50em;\n --calcite-alert-spacing-token-small: theme(\"spacing.3\");\n --calcite-alert-spacing-token-large: theme(\"spacing.4\");\n --calcite-alert-footer-height: theme(\"height.12\");\n --calcite-alert-footer-divider-gap: theme(\"spacing.1\");\n\n @include slotted(\"title\", \"*\") {\n @apply text-0-wrap;\n }\n @include slotted(\"message\", \"*\") {\n @apply text-n1-wrap;\n }\n @include slotted(\"link\", \"*\") {\n @apply text-n1-wrap;\n }\n .queue-count {\n @apply mx-3;\n }\n .container {\n --calcite-alert-min-height: 4.1875rem;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-alert-width: 60em;\n --calcite-alert-spacing-token-small: theme(\"spacing.4\");\n --calcite-alert-spacing-token-large: theme(\"spacing.5\");\n --calcite-alert-footer-height: theme(\"height.16\");\n --calcite-alert-footer-divider-gap: theme(\"spacing.2\");\n\n @include slotted(\"title\", \"*\") {\n @apply text-1-wrap mb-1;\n }\n @include slotted(\"message\", \"*\") {\n @apply text-0-wrap;\n }\n @include slotted(\"link\", \"*\") {\n @apply text-0-wrap;\n }\n .queue-count {\n @apply mx-4;\n }\n .container {\n --calcite-alert-min-height: 5.625rem;\n }\n}\n\n:host([open]) {\n .container:not(.container--queued) {\n @apply border-t-2 opacity-100;\n pointer-events: initial;\n &[class*=\"bottom\"] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);\n }\n &[class*=\"top\"] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), inherit);\n }\n }\n}\n\n:host([auto-close]) > .queue-count {\n border-inline-end: 0 solid transparent;\n}\n\n@include slotted(\"title\", \"*\") {\n @apply text-0-wrap\n text-color-1\n font-medium;\n}\n\n@include slotted(\"message\", \"*\") {\n @apply text-n1-wrap\n text-color-2\n m-0\n inline\n font-normal;\n margin-inline-end: theme(\"margin.2\");\n}\n\n@include slotted(\"link\", \"*\") {\n @apply text-color-link inline-flex;\n}\n\n$alertKinds:\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 $alertKind in $alertKinds {\n $name: nth($alertKind, 1);\n $kind: nth($alertKind, 2);\n\n :host([kind=\"#{$name}\"]) {\n .container {\n border-block-start-color: $kind;\n\n & .icon {\n color: $kind;\n }\n }\n }\n}\n\n$alertDurations:\n \"fast\" 6000ms,\n \"medium\" 10000ms,\n \"slow\" 14000ms;\n\n@each $alertDuration in $alertDurations {\n $name: nth($alertDuration, 1);\n $duration: nth($alertDuration, 2);\n\n :host([auto-close-duration=\"#{$name}\"]) .dismiss-progress:after {\n animation: dismissProgress $duration ease-out;\n }\n :host(:hover[auto-close-duration=\"#{$name}\"]) .dismiss-progress:after {\n animation-play-state: paused;\n }\n}\n\n@keyframes dismissProgress {\n 0% {\n @apply w-0 opacity-75;\n }\n 100% {\n @apply w-full opacity-100;\n }\n}\n\n/**\n * Conditional styles for when Alert is slotted in Shell\n */\n.container--slotted-in-shell {\n @apply absolute;\n}\n\n@include base-component();\n@include calciteHydratedHidden();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n getSlotted,\n setRequestedIcon,\n slotChangeHasAssignedElement,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport { MenuPlacement } from \"../../utils/floating-ui\";\nimport { getIconScale } from \"../../utils/component\";\n\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n NumberingSystem,\n NumberStringFormat,\n} from \"../../utils/locale\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { AlertMessages } from \"./assets/alert/t9n\";\nimport { AlertDuration, Sync, Unregister } from \"./interfaces\";\nimport { CSS, DURATIONS, SLOTS } from \"./resources\";\n\n/**\n * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned\n * at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.\n */\n\n/**\n * @slot title - A slot for adding a title to the component.\n * @slot message - A slot for adding main text to the component.\n * @slot link - A slot for adding a `calcite-action` to take from the component 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 fewer actions.\n */\n\n@Component({\n tag: \"calcite-alert\",\n styleUrl: \"alert.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Alert implements OpenCloseComponent, LoadableComponent, T9nComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, displays and positions the component. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n if (this.open && !this.queued) {\n this.calciteInternalAlertRegister.emit();\n }\n if (!this.open) {\n this.queue = this.queue.filter((el) => el !== this.el);\n this.calciteInternalAlertSync.emit({ queue: this.queue });\n }\n }\n\n /** When `true`, the component closes automatically. Recommended for passive, non-blocking alerts. */\n @Prop({ reflect: true }) autoClose = false;\n\n /** Specifies the duration before the component automatically closes - only use with `autoClose`. */\n @Prop({ reflect: true }) autoCloseDuration: AlertDuration = \"medium\";\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 /**\n * When `true`, shows a default recommended icon. Alternatively,\n * 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 an accessible name for the component. */\n @Prop() label!: string;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop({ reflect: true }) numberingSystem: NumberingSystem;\n\n /** Specifies the placement of the component. */\n @Prop({ reflect: true }) placement: MenuPlacement = \"bottom\";\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\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: AlertMessages;\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<AlertMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\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({ mutable: true }) slottedInShell: boolean;\n\n @Watch(\"autoCloseDuration\")\n updateDuration(): void {\n if (this.autoClose && this.autoCloseTimeoutId) {\n window.clearTimeout(this.autoCloseTimeoutId);\n this.autoCloseTimeoutId = window.setTimeout(\n () => this.closeAlert(),\n DURATIONS[this.autoCloseDuration],\n );\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectLocalized(this);\n connectMessages(this);\n\n const open = this.open;\n if (open && !this.queued) {\n this.calciteInternalAlertRegister.emit();\n }\n\n this.numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n signDisplay: \"always\",\n };\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n window.dispatchEvent(\n new CustomEvent<Unregister>(\"calciteInternalAlertUnregister\", {\n detail: { alert: this.el },\n }),\n );\n window.clearTimeout(this.autoCloseTimeoutId);\n window.clearTimeout(this.queueTimeout);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n const { open, autoClose, label, placement, queued } = this;\n const role = autoClose ? \"alert\" : \"alertdialog\";\n const hidden = !open;\n const effectiveIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n const hasQueuedAlerts = this.queueLength > 1;\n\n return (\n <Host\n aria-hidden={toAriaBoolean(hidden)}\n aria-label={label}\n calcite-hydrated-hidden={hidden}\n role={role}\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerQueued]: queued,\n [`${CSS.container}--${placement}`]: true,\n [CSS.containerSlottedInShell]: this.slottedInShell,\n }}\n onPointerEnter={this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null}\n onPointerLeave={this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null}\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 {effectiveIcon && this.renderIcon(effectiveIcon)}\n <div class={CSS.textContainer}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {this.renderActionsEnd()}\n {hasQueuedAlerts ? this.renderQueueCount() : null}\n {this.renderCloseButton()}\n {open && !queued && autoClose ? <div class={CSS.dismissProgress} /> : null}\n </div>\n </Host>\n );\n }\n\n private renderCloseButton(): VNode {\n return (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n key=\"close\"\n onClick={this.closeAlert}\n type=\"button\"\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\n private renderQueueCount(): VNode {\n const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;\n const queueText = this.numberStringFormatter.numberFormatter.format(queueNumber);\n\n return (\n <div\n class={{\n [CSS.queueCount]: true,\n [CSS.queueCountActive]: this.queueLength > 1,\n }}\n key=\"queue-count\"\n >\n <calcite-chip scale={this.scale} value={queueText}>\n {queueText}\n </calcite-chip>\n </div>\n );\n }\n\n private renderActionsEnd(): VNode {\n return (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} onSlotchange={this.actionsEndSlotChangeHandler} />\n </div>\n );\n }\n\n private renderIcon(icon: string): VNode {\n return (\n <div class={CSS.icon}>\n <calcite-icon flipRtl={this.iconFlipRtl} icon={icon} scale={getIconScale(this.scale)} />\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 }) calciteAlertBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteAlertClose: 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 }) calciteAlertBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteAlertOpen: EventEmitter<void>;\n\n /**\n * Fires to sync queue when opened or closed.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAlertSync: EventEmitter<Sync>;\n\n /**\n * Fires when the component is added to DOM - used to receive initial queue.\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalAlertRegister: EventEmitter<void>;\n\n // when an alert is opened or closed, update queue and determine active alert\n @Listen(\"calciteInternalAlertSync\", { target: \"window\" })\n alertSync(event: CustomEvent): void {\n if (this.queue !== event.detail.queue) {\n this.queue = event.detail.queue;\n }\n this.queueLength = this.queue.length;\n this.determineActiveAlert();\n event.stopPropagation();\n }\n\n // when an alert is first registered, trigger a queue sync\n @Listen(\"calciteInternalAlertRegister\", { target: \"window\" })\n alertRegister(): void {\n if (this.open && !this.queue.includes(this.el as HTMLCalciteAlertElement)) {\n this.queued = true;\n this.queue.push(this.el as HTMLCalciteAlertElement);\n }\n this.calciteInternalAlertSync.emit({ queue: this.queue });\n this.determineActiveAlert();\n }\n\n // Event is dispatched on the window because the element is not in the DOM so bubbling won't occur.\n @Listen(\"calciteInternalAlertUnregister\", { target: \"window\" })\n alertUnregister(event: CustomEvent<Unregister>): void {\n const queue = this.queue.filter((el) => el !== event.detail.alert);\n this.queue = queue;\n\n window.dispatchEvent(\n new CustomEvent<Sync>(\"calciteInternalAlertSync\", {\n detail: { queue },\n }),\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's \"close\" button, the first focusable item. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const alertLinkEl: HTMLCalciteLinkElement = getSlotted(this.el, { selector: \"calcite-link\" });\n\n if (!this.closeButton && !alertLinkEl) {\n return;\n } else if (alertLinkEl) {\n return alertLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteAlertElement;\n\n @State() defaultMessages: AlertMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n this.numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n signDisplay: \"always\",\n };\n }\n\n @State() numberStringFormatter = new NumberStringFormat();\n\n @Watch(\"numberingSystem\")\n numberingSystemChange(): void {\n this.numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n signDisplay: \"always\",\n };\n }\n\n @State() hasEndActions = false;\n\n /** the list of queued alerts */\n @State() queue: HTMLCalciteAlertElement[] = [];\n\n /** the count of queued alerts */\n @State() queueLength = 0;\n\n /** is the alert queued */\n @State() queued = false;\n\n private autoCloseTimeoutId: number = null;\n\n private closeButton: HTMLButtonElement;\n\n private initialOpenTime: number;\n\n private lastMouseOverBegin: number;\n\n private queueTimeout: number;\n\n private totalOpenTime = 0;\n\n private totalHoverTime = 0;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n };\n\n /** determine which alert is active */\n private determineActiveAlert(): void {\n if (this.queue?.[0] === this.el) {\n this.openAlert();\n if (this.autoClose && !this.autoCloseTimeoutId) {\n this.initialOpenTime = Date.now();\n this.autoCloseTimeoutId = window.setTimeout(\n () => this.closeAlert(),\n DURATIONS[this.autoCloseDuration],\n );\n }\n } else {\n return;\n }\n }\n\n /** close and emit calciteInternalAlertSync event with the updated queue payload */\n private closeAlert = (): void => {\n this.autoCloseTimeoutId = null;\n this.queued = false;\n this.open = false;\n this.queue = this.queue.filter((el) => el !== this.el);\n this.determineActiveAlert();\n this.calciteInternalAlertSync.emit({ queue: this.queue });\n };\n\n onBeforeOpen(): void {\n this.calciteAlertBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteAlertOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteAlertBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteAlertClose.emit();\n }\n\n /** remove queued class after animation completes */\n private openAlert(): void {\n window.clearTimeout(this.queueTimeout);\n this.queueTimeout = window.setTimeout(() => (this.queued = false), 300);\n }\n\n private actionsEndSlotChangeHandler = (event: Event): void => {\n this.hasEndActions = slotChangeHasAssignedElement(event);\n };\n\n private handleMouseOver = (): void => {\n window.clearTimeout(this.autoCloseTimeoutId);\n this.totalOpenTime = Date.now() - this.initialOpenTime;\n this.lastMouseOverBegin = Date.now();\n };\n\n private handleMouseLeave = (): void => {\n const hoverDuration = Date.now() - this.lastMouseOverBegin;\n const timeRemaining =\n DURATIONS[this.autoCloseDuration] - this.totalOpenTime + this.totalHoverTime;\n this.totalHoverTime = this.totalHoverTime ? hoverDuration + this.totalHoverTime : hoverDuration;\n this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), timeRemaining);\n };\n}\n"],"mappings":";;;;;keAAO,MAAMA,EAAY,CACvBC,KA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