@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-modal.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,iBAAiB;IAChC,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,oBAAoB;IACrC,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,kBAAkB;;;IAIlC,WAAW,EAAE,qBAAqB;IAClC,aAAa,EAAE,uBAAuB;IACtC,WAAW,EAAE,qBAAqB;IAClC,aAAa,EAAE,uBAAuB;CACvC,CAAC;AASK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG;CACX,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB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,EAAE,4BAA4B,CAAC,CAAC;KACtF;;;;;;;;;;;;;;;","names":[],"sources":["src/components/modal/resources.ts","src/components/modal/modal.scss?tag=calcite-modal&encapsulation=shadow","src/components/modal/modal.tsx"],"sourcesContent":["export const CSS = {\n modal: \"modal\",\n title: \"title\",\n header: \"header\",\n footer: \"footer\",\n scrim: \"scrim\",\n back: \"back\",\n close: \"close\",\n secondary: \"secondary\",\n primary: \"primary\",\n container: \"container\",\n containerOpen: \"container--open\",\n content: \"content\",\n contentNoFooter: \"content--no-footer\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n slottedInShell: \"slotted-in-shell\",\n\n // these classes help apply the animation in phases to only set transform on open/close\n // this helps avoid a positioning issue for any floating-ui-owning children\n openingIdle: \"modal--opening-idle\",\n openingActive: \"modal--opening-active\",\n closingIdle: \"modal--closing-idle\",\n closingActive: \"modal--closing-active\",\n};\n\nexport const DURATIONS = {\n slow: 14000,\n medium: 10000,\n fast: 6000,\n test: 300 / 1000,\n};\n\nexport const ICONS = {\n close: \"x\",\n};\n\nexport const SLOTS = {\n content: \"content\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n header: \"header\",\n back: \"back\",\n secondary: \"secondary\",\n primary: \"primary\",\n};\n","@import \"~@esri/calcite-design-tokens/dist/scss/core\";\n\n/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-modal-content-background: Specifies the background color of content placed in the component's `\"content\"` slot.\n * @prop --calcite-modal-content-padding: Specifies the padding of the component's `\"content\"` slot.\n * @prop --calcite-modal-scrim-background: Specifies the background color of the component's scrim.\n * @prop --calcite-modal-width: Specifies the width of the component, using `px`, `em`, `rem`, `vw`, or `%`. Will never exceed the width of the viewport. Will not apply if `fullscreen` if set.\n * @prop --calcite-modal-height: Specifies the height of the component, using `px`, `em`, `rem`, `vh`, or `%`. Will never exceed the height of the viewport. Will not apply if `fullscreen` if set.\n *\n */\n\n:host {\n --calcite-modal-scrim-background: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n:host {\n @apply absolute flex inset-0 opacity-0 z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n // the modal should always use a dark scrim, regardless of light / dark mode - matches value in global.scss\n --calcite-modal-scrim-background-internal: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n.content-top[hidden],\n.content-bottom[hidden] {\n @apply hidden;\n}\n\n.container {\n @apply text-color-2\n fixed\n inset-0\n flex\n items-center\n justify-center\n overflow-y-hidden\n opacity-0\n z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n}\n\n:host([scale=\"s\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.3\");\n --calcite-modal-padding-large-internal: theme(\"spacing.4\");\n --calcite-modal-title-text-internal: theme(\"fontSize.1h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.n1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.4\");\n --calcite-modal-padding-large-internal: theme(\"spacing.5\");\n --calcite-modal-title-text-internal: theme(\"fontSize.2h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.0\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.5\");\n --calcite-modal-padding-large-internal: theme(\"spacing.6\");\n --calcite-modal-title-text-internal: theme(\"fontSize.3h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.1\");\n}\n\n.scrim {\n --calcite-scrim-background: var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));\n @apply fixed inset-0 flex overflow-y-hidden;\n}\n\n.modal {\n @apply shadow-2-sm\n bg-foreground-1\n pointer-events-none\n float-none\n m-6\n box-border\n flex\n w-full\n flex-col\n overflow-hidden\n rounded\n opacity-0\n z-modal;\n -webkit-overflow-scrolling: touch;\n visibility: hidden;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n\n --calcite-modal-hidden-position: translate3d(0, 20px, 0);\n --calcite-modal-shown-position: translate3d(0, 0, 0);\n\n &--opening {\n &-idle {\n transform: var(--calcite-modal-hidden-position);\n }\n &-active {\n transform: var(--calcite-modal-shown-position);\n }\n }\n\n &--closing {\n &-idle {\n transform: var(--calcite-modal-shown-position);\n }\n &-active {\n transform: var(--calcite-modal-hidden-position);\n }\n }\n}\n\n:host([opened]) {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n}\n\n.container--open {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n .modal {\n @apply pointer-events-auto visible opacity-100;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear,\n opacity var(--calcite-internal-animation-timing-slow) $easing-function,\n max-inline-size var(--calcite-internal-animation-timing-slow) $easing-function,\n max-block-size var(--calcite-internal-animation-timing-slow) $easing-function;\n transition-delay: 0ms;\n }\n}\n\n/**\n * Header\n */\n.header {\n @apply bg-foreground-1\n border-color-3\n flex\n min-w-0\n max-w-full\n rounded-t\n border-0\n border-b\n border-solid\n z-header;\n flex: 0 0 auto;\n}\n\n.close {\n @apply text-color-3\n transition-default\n focus-base\n order-2\n m-0\n cursor-pointer\n appearance-none\n border-none\n bg-transparent;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-internal);\n flex: 0 0 auto;\n calcite-icon {\n @apply pointer-events-none;\n vertical-align: -2px;\n }\n &:focus {\n @apply focus-inset;\n }\n &:hover,\n &:focus,\n &:active {\n @apply bg-foreground-2 text-color-1;\n }\n}\n\n.title {\n @apply order-1 flex min-w-0 items-center;\n flex: 1 1 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n@include slotted(\"header\", \"*\") {\n @apply text-color-1 m-0 font-normal;\n font-size: var(--calcite-modal-title-text-internal);\n}\n\n/**\n * Content area\n */\n.content {\n @apply relative box-border block h-full overflow-auto p-0;\n background-color: var(--calcite-modal-content-background, theme(\"colors.background.foreground.1\"));\n max-block-size: 100%;\n padding: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));\n}\n\n.content-top,\n.content-bottom {\n @apply bg-foreground-1 border-color-3 border-solid border-0 z-header flex;\n flex: 0 0 auto;\n padding: var(--calcite-modal-padding-internal);\n}\n\n.content-top {\n @apply min-w-0 max-w-full border-b;\n}\n\n.content-bottom {\n @apply mt-auto box-border w-full justify-between border-t;\n}\n\n.content-top:not(.header ~ .content-top) {\n @apply rounded-t;\n}\n\n.content-bottom:not(.content-bottom ~ .footer),\n.content--no-footer {\n @apply rounded-b;\n}\n\n@include slotted(\"content\", \"*\") {\n font-size: var(--calcite-modal-context-text-internal);\n}\n\n/**\n * Footer\n */\n.footer {\n @apply bg-foreground-1\n border-color-3\n mt-auto\n box-border\n flex\n w-full\n justify-between\n rounded-b\n border-0\n border-t\n border-solid\n z-header;\n flex: 0 0 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n.footer--hide-back .back,\n.footer--hide-secondary .secondary {\n @apply hidden;\n}\n\n.back {\n @apply block;\n margin-inline-end: auto;\n}\n\n.secondary {\n @apply mx-1 block;\n}\n\nslot[name=\"primary\"] {\n @apply block;\n}\n\n/**\n * Sizes\n */\n@mixin modal-size($size, $width) {\n :host([width-scale=\"#{$size}\"]) .modal {\n @apply max-h-full max-w-full;\n inline-size: var(--calcite-modal-width, $width);\n block-size: var(--calcite-modal-height, auto);\n }\n\n @media screen and (max-width: $width + 2 * $baseline) {\n :host([width-scale=\"#{$size}\"]) {\n .modal {\n @apply m-0 h-full max-h-full w-full max-w-full;\n }\n .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n }\n :host([width-scale=\"#{$size}\"][docked]) .container {\n align-items: flex-end;\n }\n }\n}\n\n:host([width=\"small\"]) .modal {\n @apply w-auto;\n}\n\n@include modal-size(\"s\", 32rem);\n@include modal-size(\"m\", 48rem);\n@include modal-size(\"l\", 94rem);\n\n/**\n * Fullscreen\n */\n:host([fullscreen]) {\n .modal {\n @apply m-0 max-h-full max-w-full h-full w-full rounded-none;\n --calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);\n --calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);\n }\n .content {\n @apply max-h-full;\n flex: 1 1 auto;\n }\n}\n\n:host([opened][fullscreen]) {\n .header,\n .footer,\n .content-top,\n .content-bottom {\n border-radius: 0;\n }\n}\n\n/**\n * Docked\n */\n:host([docked]) {\n .modal {\n block-size: var(--calcite-modal-height, auto);\n }\n .content {\n @apply h-auto;\n flex: 1 1 auto;\n }\n}\n\n/**\n * Kinds\n */\n:host([kind=\"brand\"]) .modal {\n @apply border-color-brand;\n}\n\n:host([kind=\"danger\"]) .modal {\n @apply border-color-danger;\n}\n\n:host([kind=\"info\"]) .modal {\n @apply border-color-info;\n}\n\n:host([kind=\"success\"]) .modal {\n @apply border-color-success;\n}\n\n:host([kind=\"warning\"]) .modal {\n @apply border-color-warning;\n}\n\n:host([kind=\"brand\"]),\n:host([kind=\"danger\"]),\n:host([kind=\"info\"]),\n:host([kind=\"success\"]),\n:host([kind=\"warning\"]) {\n .modal {\n @apply border-0 border-t-4 border-solid;\n }\n .header,\n .content-top {\n @apply rounded rounded-b-none;\n }\n}\n\n/**\n * Tablet\n */\n@media screen and (max-width: $viewport-medium) {\n @include slotted(\"header\", \"content-top\", \"*\") {\n @apply text-1;\n }\n .footer,\n .content-bottom {\n @apply sticky bottom-0;\n }\n}\n\n/**\n * Mobile\n */\n@media screen and (max-width: $viewport-small) {\n .footer,\n .content-bottom {\n @apply flex-col;\n }\n .back,\n .secondary {\n @apply m-0 mb-1;\n }\n}\n\n/**\n * Conditional styles for when Modal is slotted in Shell\n */\n\n.container.slotted-in-shell {\n position: absolute;\n pointer-events: auto;\n calcite-scrim {\n position: absolute;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n ensureId,\n focusFirstTabbable,\n getSlotted,\n slotChangeHasAssignedElement,\n} from \"../../utils/dom\";\nimport {\n activateFocusTrap,\n connectFocusTrap,\n deactivateFocusTrap,\n FocusTrap,\n FocusTrapComponent,\n updateFocusTrapElements,\n} from \"../../utils/focusTrapComponent\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { Kind, Scale } from \"../interfaces\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { ModalMessages } from \"./assets/modal/t9n\";\n\nimport { componentOnReady, getIconScale } from \"../../utils/component\";\n\nlet totalOpenModals: number = 0;\nlet initialDocumentOverflowStyle: string = \"\";\n\n/**\n * @slot header - A slot for adding header text.\n * @slot content - A slot for adding the component's content.\n * @slot content-top - A slot for adding content to the component's sticky header, where content remains at the top of the component when scrolling up and down.\n * @slot content-bottom - A slot for adding content to the component's sticky footer, where content remains at the bottom of the component when scrolling up and down.\n * @slot primary - A slot for adding a primary button.\n * @slot secondary - A slot for adding a secondary button.\n * @slot back - A slot for adding a back button.\n */\n\n@Component({\n tag: \"calcite-modal\",\n styleUrl: \"modal.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Modal\n implements\n ConditionalSlotComponent,\n OpenCloseComponent,\n FocusTrapComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) opened = false;\n\n /** Passes a function to run before the component closes. */\n @Prop() beforeClose: (el: HTMLCalciteModalElement) => Promise<void>;\n\n /** When `true`, disables the component's close button. */\n @Prop({ reflect: true }) closeButtonDisabled = false;\n\n /**\n * When `true`, prevents focus trapping.\n */\n @Prop({ reflect: true }) focusTrapDisabled = false;\n\n @Watch(\"focusTrapDisabled\")\n handleFocusTrapDisabled(focusTrapDisabled: boolean): void {\n if (!this.open) {\n return;\n }\n\n focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);\n }\n\n /** When `true`, disables the closing of the component when clicked outside. */\n @Prop({ reflect: true }) outsideCloseDisabled = false;\n\n /** When `true`, prevents the component from expanding to the entire screen on mobile devices. */\n @Prop({ reflect: true }) docked: boolean;\n\n /** When `true`, disables the default close on escape behavior. */\n @Prop({ reflect: true }) escapeDisabled = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) widthScale: Scale = \"m\";\n\n /** Sets the component to always be fullscreen. Overrides `widthScale` and `--calcite-modal-width` / `--calcite-modal-height`. */\n @Prop({ reflect: true }) fullscreen: boolean;\n\n /** Specifies the kind of the component, which will apply to top border. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\", Kind>;\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: ModalMessages;\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<ModalMessages>;\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 //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n // when modal initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n this.openModal();\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.cssVarObserver?.observe(this.el, { attributeFilter: [\"style\"] });\n this.updateSizeCssVars();\n this.updateFooterVisibility();\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n connectFocusTrap(this);\n }\n\n disconnectedCallback(): void {\n this.removeOverflowHiddenClass();\n this.mutationObserver?.disconnect();\n this.cssVarObserver?.disconnect();\n disconnectConditionalSlotComponent(this);\n deactivateFocusTrap(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n return (\n <Host\n aria-describedby={this.contentId}\n aria-labelledby={this.titleId}\n aria-modal=\"true\"\n role=\"dialog\"\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerOpen]: this.opened,\n [CSS.slottedInShell]: this.slottedInShell,\n }}\n >\n <calcite-scrim class={CSS.scrim} onClick={this.handleOutsideClose} />\n {this.renderStyle()}\n <div\n class={{\n [CSS.modal]: true,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n <div class={CSS.header}>\n {this.renderCloseButton()}\n <header class={CSS.title}>\n <slot name={CSS.header} />\n </header>\n </div>\n {this.renderContentTop()}\n <div\n class={{\n [CSS.content]: true,\n [CSS.contentNoFooter]: !this.hasFooter,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.modalContent = el)}\n >\n <slot name={SLOTS.content} />\n </div>\n {this.renderContentBottom()}\n {this.renderFooter()}\n </div>\n </div>\n </Host>\n );\n }\n\n renderFooter(): VNode {\n return this.hasFooter ? (\n <div class={CSS.footer} key=\"footer\">\n <span class={CSS.back}>\n <slot name={SLOTS.back} />\n </span>\n <span class={CSS.secondary}>\n <slot name={SLOTS.secondary} />\n </span>\n <span class={CSS.primary}>\n <slot name={SLOTS.primary} />\n </span>\n </div>\n ) : null;\n }\n\n renderContentTop(): VNode {\n return (\n <div class={CSS.contentTop} hidden={!this.hasContentTop}>\n <slot name={SLOTS.contentTop} onSlotchange={this.contentTopSlotChangeHandler} />\n </div>\n );\n }\n\n renderContentBottom(): VNode {\n return (\n <div class={CSS.contentBottom} hidden={!this.hasContentBottom}>\n <slot name={SLOTS.contentBottom} onSlotchange={this.contentBottomSlotChangeHandler} />\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return !this.closeButtonDisabled ? (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n key=\"button\"\n onClick={this.handleCloseClick}\n title={this.messages.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n renderStyle(): VNode {\n if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {\n return (\n <style>\n {`.${CSS.container} {\n ${this.docked && this.cssWidth ? `align-items: center !important;` : \"\"}\n }\n .${CSS.modal} {\n block-size: ${this.cssHeight ? this.cssHeight : \"auto\"} !important;\n ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : \"\"}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${CSS.container} {\n ${this.docked ? `align-items: flex-end !important;` : \"\"}\n }\n .${CSS.modal} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${!this.docked ? `block-size: 100% !important;` : \"\"}\n ${!this.docked ? `border-radius: 0 !important;` : \"\"}\n ${\n this.docked\n ? `border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`\n : \"\"\n }\n }\n }\n `}\n </style>\n );\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n ignoreOpenChange = false;\n\n @Element() el: HTMLCalciteModalElement;\n\n modalContent: HTMLDivElement;\n\n initialOverflowCSS: string;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () =>\n this.handleMutationObserver(),\n );\n\n private cssVarObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.updateSizeCssVars();\n });\n\n titleId: string;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n focusTrap: FocusTrap;\n\n closeButtonEl: HTMLButtonElement;\n\n contentId: string;\n\n @State() cssWidth: string | number;\n\n @State() cssHeight: string | number;\n\n @State() hasFooter = true;\n\n @State() hasContentTop = false;\n\n @State() hasContentBottom = false;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ModalMessages;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\", { target: \"window\" })\n handleEscape(event: KeyboardEvent): void {\n if (this.open && !this.escapeDisabled && event.key === \"Escape\" && !event.defaultPrevented) {\n this.open = false;\n event.preventDefault();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteModalBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteModalClose: 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 }) calciteModalBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteModalOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's \"close\" button (the first focusable item).\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n /**\n * Updates the element(s) that are used within the focus-trap of the component.\n */\n @Method()\n async updateFocusTrapElements(): Promise<void> {\n updateFocusTrapElements(this);\n }\n\n /**\n * Sets the scroll top of the component's content.\n *\n * @param top\n * @param left\n */\n @Method()\n async scrollContent(top = 0, left = 0): Promise<void> {\n if (this.modalContent) {\n if (this.modalContent.scrollTo) {\n this.modalContent.scrollTo({ top, left, behavior: \"smooth\" });\n } else {\n this.modalContent.scrollTop = top;\n this.modalContent.scrollLeft = left;\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.transitionEl.classList.add(CSS.openingActive);\n this.calciteModalBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);\n this.calciteModalOpen.emit();\n activateFocusTrap(this);\n }\n\n onBeforeClose(): void {\n this.transitionEl.classList.add(CSS.closingActive);\n this.calciteModalBeforeClose.emit();\n }\n\n onClose(): void {\n this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);\n this.calciteModalClose.emit();\n deactivateFocusTrap(this);\n }\n\n @Watch(\"open\")\n toggleModal(value: boolean): void {\n if (this.ignoreOpenChange) {\n return;\n }\n\n if (value) {\n this.openModal();\n } else {\n this.closeModal();\n }\n }\n\n @Watch(\"opened\")\n handleOpenedChange(value: boolean): void {\n const idleClass = value ? CSS.openingIdle : CSS.closingIdle;\n this.transitionEl.classList.add(idleClass);\n onToggleOpenCloseComponent(this);\n }\n\n private openEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calciteModalOpen\", this.openEnd);\n };\n\n private handleCloseClick = () => {\n this.open = false;\n };\n\n private async openModal(): Promise<void> {\n await componentOnReady(this.el);\n this.el.addEventListener(\"calciteModalOpen\", this.openEnd);\n this.opened = true;\n const titleEl = getSlotted(this.el, SLOTS.header);\n const contentEl = getSlotted(this.el, SLOTS.content);\n\n this.titleId = ensureId(titleEl);\n this.contentId = ensureId(contentEl);\n\n if (!this.slottedInShell) {\n if (totalOpenModals === 0) {\n initialDocumentOverflowStyle = document.documentElement.style.overflow;\n }\n\n totalOpenModals++;\n // use an inline style instead of a utility class to avoid global class declarations.\n document.documentElement.style.setProperty(\"overflow\", \"hidden\");\n }\n }\n\n private handleOutsideClose = (): void => {\n if (this.outsideCloseDisabled) {\n return;\n }\n\n this.open = false;\n };\n\n closeModal = async (): Promise<void> => {\n if (this.beforeClose) {\n try {\n await this.beforeClose(this.el);\n } catch (_error) {\n // close prevented\n requestAnimationFrame(() => {\n this.ignoreOpenChange = true;\n this.open = true;\n this.ignoreOpenChange = false;\n });\n return;\n }\n }\n\n totalOpenModals--;\n this.opened = false;\n this.removeOverflowHiddenClass();\n };\n\n private removeOverflowHiddenClass(): void {\n document.documentElement.style.setProperty(\"overflow\", initialDocumentOverflowStyle);\n }\n\n private handleMutationObserver = (): void => {\n this.updateFooterVisibility();\n this.updateFocusTrapElements();\n };\n\n private updateFooterVisibility = (): void => {\n this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);\n };\n\n private updateSizeCssVars = (): void => {\n this.cssWidth = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-width\");\n this.cssHeight = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-height\");\n };\n\n private contentTopSlotChangeHandler = (event: Event): void => {\n this.hasContentTop = slotChangeHasAssignedElement(event);\n };\n\n private contentBottomSlotChangeHandler = (event: Event): void => {\n this.hasContentBottom = slotChangeHasAssignedElement(event);\n };\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-modal.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,iBAAiB;IAChC,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,oBAAoB;IACrC,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,cAAc,EAAE,kBAAkB;;;IAIlC,WAAW,EAAE,qBAAqB;IAClC,aAAa,EAAE,uBAAuB;IACtC,WAAW,EAAE,qBAAqB;IAClC,aAAa,EAAE,uBAAuB;CACvC,CAAC;AASK,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,GAAG;CACX,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB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CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;SAClE;KACF;IA8BO,yBAAyB;QAC/B,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,4BAA4B,CAAC,CAAC;KACtF;;;;;;;;;;;;;;;","names":[],"sources":["src/components/modal/resources.ts","src/components/modal/modal.scss?tag=calcite-modal&encapsulation=shadow","src/components/modal/modal.tsx"],"sourcesContent":["export const CSS = {\n modal: \"modal\",\n title: \"title\",\n header: \"header\",\n footer: \"footer\",\n scrim: \"scrim\",\n back: \"back\",\n close: \"close\",\n secondary: \"secondary\",\n primary: \"primary\",\n container: \"container\",\n containerOpen: \"container--open\",\n content: \"content\",\n contentNoFooter: \"content--no-footer\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n slottedInShell: \"slotted-in-shell\",\n\n // these classes help apply the animation in phases to only set transform on open/close\n // this helps avoid a positioning issue for any floating-ui-owning children\n openingIdle: \"modal--opening-idle\",\n openingActive: \"modal--opening-active\",\n closingIdle: \"modal--closing-idle\",\n closingActive: \"modal--closing-active\",\n};\n\nexport const DURATIONS = {\n slow: 14000,\n medium: 10000,\n fast: 6000,\n test: 300 / 1000,\n};\n\nexport const ICONS = {\n close: \"x\",\n};\n\nexport const SLOTS = {\n content: \"content\",\n contentBottom: \"content-bottom\",\n contentTop: \"content-top\",\n header: \"header\",\n back: \"back\",\n secondary: \"secondary\",\n primary: \"primary\",\n};\n","@import \"~@esri/calcite-design-tokens/dist/scss/core\";\n\n/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-modal-content-background: Specifies the background color of content placed in the component's `\"content\"` slot.\n * @prop --calcite-modal-content-padding: Specifies the padding of the component's `\"content\"` slot.\n * @prop --calcite-modal-scrim-background: Specifies the background color of the component's scrim.\n * @prop --calcite-modal-width: Specifies the width of the component, using `px`, `em`, `rem`, `vw`, or `%`. Will never exceed the width of the viewport. Will not apply if `fullscreen` if set.\n * @prop --calcite-modal-height: Specifies the height of the component, using `px`, `em`, `rem`, `vh`, or `%`. Will never exceed the height of the viewport. Will not apply if `fullscreen` if set.\n *\n */\n\n:host {\n --calcite-modal-scrim-background: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n:host {\n @apply absolute flex inset-0 opacity-0 z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n // the modal should always use a dark scrim, regardless of light / dark mode - matches value in global.scss\n --calcite-modal-scrim-background-internal: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)};\n}\n\n.content-top[hidden],\n.content-bottom[hidden] {\n @apply hidden;\n}\n\n.container {\n @apply text-color-2\n fixed\n inset-0\n flex\n items-center\n justify-center\n overflow-y-hidden\n opacity-0\n z-overlay;\n visibility: hidden !important;\n transition:\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n}\n\n:host([scale=\"s\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.3\");\n --calcite-modal-padding-large-internal: theme(\"spacing.4\");\n --calcite-modal-title-text-internal: theme(\"fontSize.1h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.n1\");\n}\n\n:host([scale=\"m\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.4\");\n --calcite-modal-padding-large-internal: theme(\"spacing.5\");\n --calcite-modal-title-text-internal: theme(\"fontSize.2h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.0\");\n}\n\n:host([scale=\"l\"]) {\n --calcite-modal-padding-internal: theme(\"spacing.5\");\n --calcite-modal-padding-large-internal: theme(\"spacing.6\");\n --calcite-modal-title-text-internal: theme(\"fontSize.3h\");\n --calcite-modal-content-text-internal: theme(\"fontSize.1\");\n}\n\n.scrim {\n --calcite-scrim-background: var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));\n @apply fixed inset-0 flex overflow-y-hidden;\n}\n\n.modal {\n @apply shadow-2-sm\n bg-foreground-1\n pointer-events-none\n float-none\n m-6\n box-border\n flex\n w-full\n flex-col\n overflow-hidden\n rounded\n opacity-0\n z-modal;\n -webkit-overflow-scrolling: touch;\n visibility: hidden;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear var(--calcite-internal-animation-timing-slow),\n opacity var(--calcite-internal-animation-timing-slow) $easing-function;\n\n --calcite-modal-hidden-position: translate3d(0, 20px, 0);\n --calcite-modal-shown-position: translate3d(0, 0, 0);\n\n &--opening {\n &-idle {\n transform: var(--calcite-modal-hidden-position);\n }\n &-active {\n transform: var(--calcite-modal-shown-position);\n }\n }\n\n &--closing {\n &-idle {\n transform: var(--calcite-modal-shown-position);\n }\n &-active {\n transform: var(--calcite-modal-hidden-position);\n }\n }\n}\n\n:host([opened]) {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n}\n\n.container--open {\n @apply opacity-100;\n visibility: visible !important;\n transition-delay: 0ms;\n .modal {\n @apply pointer-events-auto visible opacity-100;\n transition:\n transform var(--calcite-internal-animation-timing-slow) $easing-function,\n visibility 0ms linear,\n opacity var(--calcite-internal-animation-timing-slow) $easing-function,\n max-inline-size var(--calcite-internal-animation-timing-slow) $easing-function,\n max-block-size var(--calcite-internal-animation-timing-slow) $easing-function;\n transition-delay: 0ms;\n }\n}\n\n/**\n * Header\n */\n.header {\n @apply bg-foreground-1\n border-color-3\n flex\n min-w-0\n max-w-full\n rounded-t\n border-0\n border-b\n border-solid\n z-header;\n flex: 0 0 auto;\n}\n\n.close {\n @apply text-color-3\n transition-default\n focus-base\n order-2\n m-0\n cursor-pointer\n appearance-none\n border-none\n bg-transparent;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-internal);\n flex: 0 0 auto;\n calcite-icon {\n @apply pointer-events-none;\n vertical-align: -2px;\n }\n &:focus {\n @apply focus-inset;\n }\n &:hover,\n &:focus,\n &:active {\n @apply bg-foreground-2 text-color-1;\n }\n}\n\n.title {\n @apply order-1 flex min-w-0 items-center;\n flex: 1 1 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n@include slotted(\"header\", \"*\") {\n @apply text-color-1 m-0 font-normal;\n font-size: var(--calcite-modal-title-text-internal);\n}\n\n/**\n * Content area\n */\n.content {\n @apply relative box-border block h-full overflow-auto p-0;\n background-color: var(--calcite-modal-content-background, theme(\"colors.background.foreground.1\"));\n max-block-size: 100%;\n padding: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));\n}\n\n.content-top,\n.content-bottom {\n @apply bg-foreground-1 border-color-3 border-solid border-0 z-header flex;\n flex: 0 0 auto;\n padding: var(--calcite-modal-padding-internal);\n}\n\n.content-top {\n @apply min-w-0 max-w-full border-b;\n}\n\n.content-bottom {\n @apply mt-auto box-border w-full justify-between border-t;\n}\n\n.content-top:not(.header ~ .content-top) {\n @apply rounded-t;\n}\n\n.content-bottom:not(.content-bottom ~ .footer),\n.content--no-footer {\n @apply rounded-b;\n}\n\n@include slotted(\"content\", \"*\") {\n font-size: var(--calcite-modal-context-text-internal);\n}\n\n/**\n * Footer\n */\n.footer {\n @apply bg-foreground-1\n border-color-3\n mt-auto\n box-border\n flex\n w-full\n justify-between\n rounded-b\n border-0\n border-t\n border-solid\n z-header;\n flex: 0 0 auto;\n padding-block: var(--calcite-modal-padding-internal);\n padding-inline: var(--calcite-modal-padding-large-internal);\n}\n\n.footer--hide-back .back,\n.footer--hide-secondary .secondary {\n @apply hidden;\n}\n\n.back {\n @apply block;\n margin-inline-end: auto;\n}\n\n.secondary {\n @apply mx-1 block;\n}\n\nslot[name=\"primary\"] {\n @apply block;\n}\n\n/**\n * Sizes\n */\n@mixin modal-size($size, $width) {\n :host([width-scale=\"#{$size}\"]) .modal {\n @apply max-h-full max-w-full;\n inline-size: var(--calcite-modal-width, $width);\n block-size: var(--calcite-modal-height, auto);\n }\n\n @media screen and (max-width: $width + 2 * $baseline) {\n :host([width-scale=\"#{$size}\"]) {\n .modal {\n @apply m-0 h-full max-h-full w-full max-w-full;\n }\n .content {\n flex: 1 1 auto;\n max-block-size: unset;\n }\n }\n :host([width-scale=\"#{$size}\"][docked]) .container {\n align-items: flex-end;\n }\n }\n}\n\n:host([width=\"small\"]) .modal {\n @apply w-auto;\n}\n\n@include modal-size(\"s\", 32rem);\n@include modal-size(\"m\", 48rem);\n@include modal-size(\"l\", 94rem);\n\n/**\n * Fullscreen\n */\n:host([fullscreen]) {\n .modal {\n @apply m-0 max-h-full max-w-full h-full w-full rounded-none;\n --calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);\n --calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);\n }\n .content {\n @apply max-h-full;\n flex: 1 1 auto;\n }\n}\n\n:host([opened][fullscreen]) {\n .header,\n .footer,\n .content-top,\n .content-bottom {\n border-radius: 0;\n }\n}\n\n/**\n * Docked\n */\n:host([docked]) {\n .modal {\n block-size: var(--calcite-modal-height, auto);\n }\n .content {\n @apply h-auto;\n flex: 1 1 auto;\n }\n}\n\n/**\n * Kinds\n */\n:host([kind=\"brand\"]) .modal {\n @apply border-color-brand;\n}\n\n:host([kind=\"danger\"]) .modal {\n @apply border-color-danger;\n}\n\n:host([kind=\"info\"]) .modal {\n @apply border-color-info;\n}\n\n:host([kind=\"success\"]) .modal {\n @apply border-color-success;\n}\n\n:host([kind=\"warning\"]) .modal {\n @apply border-color-warning;\n}\n\n:host([kind=\"brand\"]),\n:host([kind=\"danger\"]),\n:host([kind=\"info\"]),\n:host([kind=\"success\"]),\n:host([kind=\"warning\"]) {\n .modal {\n @apply border-0 border-t-4 border-solid;\n }\n .header,\n .content-top {\n @apply rounded rounded-b-none;\n }\n}\n\n/**\n * Tablet\n */\n@media screen and (max-width: $viewport-medium) {\n @include slotted(\"header\", \"content-top\", \"*\") {\n @apply text-1;\n }\n .footer,\n .content-bottom {\n @apply sticky bottom-0;\n }\n}\n\n/**\n * Mobile\n */\n@media screen and (max-width: $viewport-small) {\n .footer,\n .content-bottom {\n @apply flex-col;\n }\n .back,\n .secondary {\n @apply m-0 mb-1;\n }\n}\n\n/**\n * Conditional styles for when Modal is slotted in Shell\n */\n\n.container.slotted-in-shell {\n position: absolute;\n pointer-events: auto;\n calcite-scrim {\n position: absolute;\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport {\n ensureId,\n focusFirstTabbable,\n getSlotted,\n slotChangeHasAssignedElement,\n} from \"../../utils/dom\";\nimport {\n activateFocusTrap,\n connectFocusTrap,\n deactivateFocusTrap,\n FocusTrap,\n FocusTrapComponent,\n updateFocusTrapElements,\n} from \"../../utils/focusTrapComponent\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { Kind, Scale } from \"../interfaces\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\n\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { ModalMessages } from \"./assets/modal/t9n\";\n\nimport { componentOnReady, getIconScale } from \"../../utils/component\";\n\nlet totalOpenModals: number = 0;\nlet initialDocumentOverflowStyle: string = \"\";\n\n/**\n * @slot header - A slot for adding header text.\n * @slot content - A slot for adding the component's content.\n * @slot content-top - A slot for adding content to the component's sticky header, where content remains at the top of the component when scrolling up and down.\n * @slot content-bottom - A slot for adding content to the component's sticky footer, where content remains at the bottom of the component when scrolling up and down.\n * @slot primary - A slot for adding a primary button.\n * @slot secondary - A slot for adding a secondary button.\n * @slot back - A slot for adding a back button.\n */\n\n@Component({\n tag: \"calcite-modal\",\n styleUrl: \"modal.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Modal\n implements\n ConditionalSlotComponent,\n OpenCloseComponent,\n FocusTrapComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is.\n *\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) opened = false;\n\n /** Passes a function to run before the component closes. */\n @Prop() beforeClose: (el: HTMLCalciteModalElement) => Promise<void>;\n\n /** When `true`, disables the component's close button. */\n @Prop({ reflect: true }) closeButtonDisabled = false;\n\n /**\n * When `true`, prevents focus trapping.\n */\n @Prop({ reflect: true }) focusTrapDisabled = false;\n\n @Watch(\"focusTrapDisabled\")\n handleFocusTrapDisabled(focusTrapDisabled: boolean): void {\n if (!this.open) {\n return;\n }\n\n focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);\n }\n\n /** When `true`, disables the closing of the component when clicked outside. */\n @Prop({ reflect: true }) outsideCloseDisabled = false;\n\n /** When `true`, prevents the component from expanding to the entire screen on mobile devices. */\n @Prop({ reflect: true }) docked: boolean;\n\n /** When `true`, disables the default close on escape behavior. */\n @Prop({ reflect: true }) escapeDisabled = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) widthScale: Scale = \"m\";\n\n /** Sets the component to always be fullscreen. Overrides `widthScale` and `--calcite-modal-width` / `--calcite-modal-height`. */\n @Prop({ reflect: true }) fullscreen: boolean;\n\n /** Specifies the kind of the component, which will apply to top border. */\n @Prop({ reflect: true }) kind: Extract<\"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\", Kind>;\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: ModalMessages;\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<ModalMessages>;\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 //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n // when modal initially renders, if active was set we need to open as watcher doesn't fire\n if (this.open) {\n this.openModal();\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.cssVarObserver?.observe(this.el, { attributeFilter: [\"style\"] });\n this.updateSizeCssVars();\n this.updateFooterVisibility();\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n connectFocusTrap(this);\n }\n\n disconnectedCallback(): void {\n this.removeOverflowHiddenClass();\n this.mutationObserver?.disconnect();\n this.cssVarObserver?.disconnect();\n disconnectConditionalSlotComponent(this);\n deactivateFocusTrap(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.slottedInShell = false;\n }\n\n render(): VNode {\n return (\n <Host\n aria-describedby={this.contentId}\n aria-labelledby={this.titleId}\n aria-modal=\"true\"\n role=\"dialog\"\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerOpen]: this.opened,\n [CSS.slottedInShell]: this.slottedInShell,\n }}\n >\n <calcite-scrim class={CSS.scrim} onClick={this.handleOutsideClose} />\n {this.renderStyle()}\n <div\n class={{\n [CSS.modal]: true,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n <div class={CSS.header}>\n {this.renderCloseButton()}\n <header class={CSS.title}>\n <slot name={CSS.header} />\n </header>\n </div>\n {this.renderContentTop()}\n <div\n class={{\n [CSS.content]: true,\n [CSS.contentNoFooter]: !this.hasFooter,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.modalContent = el)}\n >\n <slot name={SLOTS.content} />\n </div>\n {this.renderContentBottom()}\n {this.renderFooter()}\n </div>\n </div>\n </Host>\n );\n }\n\n renderFooter(): VNode {\n return this.hasFooter ? (\n <div class={CSS.footer} key=\"footer\">\n <span class={CSS.back}>\n <slot name={SLOTS.back} />\n </span>\n <span class={CSS.secondary}>\n <slot name={SLOTS.secondary} />\n </span>\n <span class={CSS.primary}>\n <slot name={SLOTS.primary} />\n </span>\n </div>\n ) : null;\n }\n\n renderContentTop(): VNode {\n return (\n <div class={CSS.contentTop} hidden={!this.hasContentTop}>\n <slot name={SLOTS.contentTop} onSlotchange={this.contentTopSlotChangeHandler} />\n </div>\n );\n }\n\n renderContentBottom(): VNode {\n return (\n <div class={CSS.contentBottom} hidden={!this.hasContentBottom}>\n <slot name={SLOTS.contentBottom} onSlotchange={this.contentBottomSlotChangeHandler} />\n </div>\n );\n }\n\n renderCloseButton(): VNode {\n return !this.closeButtonDisabled ? (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n key=\"button\"\n onClick={this.handleCloseClick}\n title={this.messages.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButtonEl = el)}\n >\n <calcite-icon icon={ICONS.close} scale={getIconScale(this.scale)} />\n </button>\n ) : null;\n }\n\n renderStyle(): VNode {\n if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {\n return (\n <style>\n {`.${CSS.container} {\n ${this.docked && this.cssWidth ? `align-items: center !important;` : \"\"}\n }\n .${CSS.modal} {\n block-size: ${this.cssHeight ? this.cssHeight : \"auto\"} !important;\n ${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : \"\"}\n ${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : \"\"}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${CSS.container} {\n ${this.docked ? `align-items: flex-end !important;` : \"\"}\n }\n .${CSS.modal} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${!this.docked ? `block-size: 100% !important;` : \"\"}\n ${!this.docked ? `border-radius: 0 !important;` : \"\"}\n ${\n this.docked\n ? `border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`\n : \"\"\n }\n }\n }\n `}\n </style>\n );\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n ignoreOpenChange = false;\n\n @Element() el: HTMLCalciteModalElement;\n\n modalContent: HTMLDivElement;\n\n initialOverflowCSS: string;\n\n private mutationObserver: MutationObserver = createObserver(\"mutation\", () =>\n this.handleMutationObserver(),\n );\n\n private cssVarObserver: MutationObserver = createObserver(\"mutation\", () => {\n this.updateSizeCssVars();\n });\n\n titleId: string;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n focusTrap: FocusTrap;\n\n closeButtonEl: HTMLButtonElement;\n\n contentId: string;\n\n @State() cssWidth: string | number;\n\n @State() cssHeight: string | number;\n\n @State() hasFooter = true;\n\n @State() hasContentTop = false;\n\n @State() hasContentBottom = false;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ModalMessages;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"keydown\", { target: \"window\" })\n handleEscape(event: KeyboardEvent): void {\n if (this.open && !this.escapeDisabled && event.key === \"Escape\" && !event.defaultPrevented) {\n this.open = false;\n event.preventDefault();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteModalBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteModalClose: 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 }) calciteModalBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteModalOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's \"close\" button (the first focusable item).\n *\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n /**\n * Updates the element(s) that are used within the focus-trap of the component.\n */\n @Method()\n async updateFocusTrapElements(): Promise<void> {\n updateFocusTrapElements(this);\n }\n\n /**\n * Sets the scroll top of the component's content.\n *\n * @param top\n * @param left\n */\n @Method()\n async scrollContent(top = 0, left = 0): Promise<void> {\n if (this.modalContent) {\n if (this.modalContent.scrollTo) {\n this.modalContent.scrollTo({ top, left, behavior: \"smooth\" });\n } else {\n this.modalContent.scrollTop = top;\n this.modalContent.scrollLeft = left;\n }\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private setTransitionEl = (el: HTMLDivElement): void => {\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.transitionEl.classList.add(CSS.openingActive);\n this.calciteModalBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.transitionEl.classList.remove(CSS.openingIdle, CSS.openingActive);\n this.calciteModalOpen.emit();\n activateFocusTrap(this);\n }\n\n onBeforeClose(): void {\n this.transitionEl.classList.add(CSS.closingActive);\n this.calciteModalBeforeClose.emit();\n }\n\n onClose(): void {\n this.transitionEl.classList.remove(CSS.closingIdle, CSS.closingActive);\n this.calciteModalClose.emit();\n deactivateFocusTrap(this);\n }\n\n @Watch(\"open\")\n toggleModal(value: boolean): void {\n if (this.ignoreOpenChange) {\n return;\n }\n\n if (value) {\n this.openModal();\n } else {\n this.closeModal();\n }\n }\n\n @Watch(\"opened\")\n handleOpenedChange(value: boolean): void {\n const idleClass = value ? CSS.openingIdle : CSS.closingIdle;\n this.transitionEl.classList.add(idleClass);\n onToggleOpenCloseComponent(this);\n }\n\n private openEnd = (): void => {\n this.setFocus();\n this.el.removeEventListener(\"calciteModalOpen\", this.openEnd);\n };\n\n private handleCloseClick = () => {\n this.open = false;\n };\n\n private async openModal(): Promise<void> {\n await componentOnReady(this.el);\n this.el.addEventListener(\"calciteModalOpen\", this.openEnd);\n this.opened = true;\n const titleEl = getSlotted(this.el, SLOTS.header);\n const contentEl = getSlotted(this.el, SLOTS.content);\n\n this.titleId = ensureId(titleEl);\n this.contentId = ensureId(contentEl);\n\n if (!this.slottedInShell) {\n if (totalOpenModals === 0) {\n initialDocumentOverflowStyle = document.documentElement.style.overflow;\n }\n\n totalOpenModals++;\n // use an inline style instead of a utility class to avoid global class declarations.\n document.documentElement.style.setProperty(\"overflow\", \"hidden\");\n }\n }\n\n private handleOutsideClose = (): void => {\n if (this.outsideCloseDisabled) {\n return;\n }\n\n this.open = false;\n };\n\n closeModal = async (): Promise<void> => {\n if (this.beforeClose) {\n try {\n await this.beforeClose(this.el);\n } catch (_error) {\n // close prevented\n requestAnimationFrame(() => {\n this.ignoreOpenChange = true;\n this.open = true;\n this.ignoreOpenChange = false;\n });\n return;\n }\n }\n\n totalOpenModals--;\n this.opened = false;\n this.removeOverflowHiddenClass();\n };\n\n private removeOverflowHiddenClass(): void {\n document.documentElement.style.setProperty(\"overflow\", initialDocumentOverflowStyle);\n }\n\n private handleMutationObserver = (): void => {\n this.updateFooterVisibility();\n this.updateFocusTrapElements();\n };\n\n private updateFooterVisibility = (): void => {\n this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);\n };\n\n private updateSizeCssVars = (): void => {\n this.cssWidth = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-width\");\n this.cssHeight = getComputedStyle(this.el).getPropertyValue(\"--calcite-modal-height\");\n };\n\n private contentTopSlotChangeHandler = (event: Event): void => {\n this.hasContentTop = slotChangeHasAssignedElement(event);\n };\n\n private contentBottomSlotChangeHandler = (event: Event): void => {\n this.hasContentBottom = slotChangeHasAssignedElement(event);\n };\n}\n"],"version":3}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.
|
|
4
|
+
* v2.5.0-next.0
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as slotChangeHasAssignedElement } from './dom-
|
|
8
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-91edccbd.js';
|
|
7
|
+
import { b as slotChangeHasAssignedElement } from './dom-08b6614c.js';
|
|
8
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-e5b2c41c.js';
|
|
9
|
+
import './guid-d4e7d31e.js';
|
|
10
|
+
import './resources-0c9c16f6.js';
|
|
11
11
|
|
|
12
12
|
const CSS$2 = {
|
|
13
13
|
container: "container",
|
|
@@ -167,7 +167,7 @@ const CSS$1 = {
|
|
|
167
167
|
icon: "icon",
|
|
168
168
|
};
|
|
169
169
|
|
|
170
|
-
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor:focus{outline:2px solid 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 )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
170
|
+
const navigationLogoCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor: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 )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
171
171
|
|
|
172
172
|
const CalciteNavigationLogo = class {
|
|
173
173
|
constructor(hostRef) {
|
|
@@ -234,7 +234,7 @@ const CSS = {
|
|
|
234
234
|
button: "button",
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-ui-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
237
|
+
const navigationUserCss = ":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite--color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-ui-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
238
238
|
|
|
239
239
|
const CalciteNavigationUser = class {
|
|
240
240
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-navigation.calcite-navigation-logo.calcite-navigation-user.entry.js","mappings":";;;;;;;;;;;AAAO,MAAMA,KAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,mBAAmB;IACrC,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,sBAAsB;IACpC,WAAW,EAAE,qBAAqB;CACnC,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,SAAS,EAAE,WAAW;CACvB;;ACxBD,MAAM,aAAa,GAAG,quDAAquD;;MCsC9uD,iBAAiB;;;;;;;;;QAuFpB,uBAAkB,GAAG;YAC3B,IAAI,CAAC,6BAA6B,CAAC,IAAI,EAAE,CAAC;SA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;;;;;;IAgBD,iBAAiB;QACf,sBAAsB,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,gBAAgB;QACd,kBAAkB,CAAC,IAAI,CAAC,CAAC;KAC1B;;;;;;IAQD,MAAM;QACJ,QACE,EAAC,IAAI,QACH,4BAAoB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,IAC/C,mCACa,IAAI,CAAC,QAAQ,EACxB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,aAChB,IAAI,CAAC,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACvB,EACD,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,YAAY,KACrD,WAAK,KAAK,EAAE,GAAG,CAAC,aAAa,IAC1B,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,EACA,IAAI,CAAC,QAAQ,KACZ,YAAM,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,QAAQ,IACzC,IAAI,CAAC,QAAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n text={this.label}\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: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** A description for the component, which displays below the `heading`.*/\n @Prop() description: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n render(): VNode {\n const { heading, description, thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {(heading || description) && (\n <div class={CSS.container}>\n {heading && (\n <span\n aria-label={this.heading}\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n >\n {heading}\n </span>\n )}\n {description && (\n <span aria-label={this.description} class={CSS.description} key={CSS.description}>\n {description}\n </span>\n )}\n </div>\n )}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n font-sans\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-navigation.calcite-navigation-logo.calcite-navigation-user.entry.js","mappings":";;;;;;;;;;;AAAO,MAAMA,KAAG,GAAG;IACjB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEK,MAAM,KAAK,GAAG;IACnB,I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AAQ,CACT,CACR,CACG,CACP,CACM,CACJ,EACP;KACH;;;;;;;;","names":["CSS"],"sources":["src/components/navigation/resources.ts","src/components/navigation/navigation.scss?tag=calcite-navigation&encapsulation=shadow","src/components/navigation/navigation.tsx","src/components/navigation-logo/resources.ts","src/components/navigation-logo/navigation-logo.scss?tag=calcite-navigation-logo&encapsulation=shadow","src/components/navigation-logo/navigation-logo.tsx","src/components/navigation-user/resources.ts","src/components/navigation-user/navigation-user.scss?tag=calcite-navigation-user&encapsulation=shadow","src/components/navigation-user/navigation-user.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerContent: \"container-content\",\n hasProgress: \"progress-bar\",\n hide: \"hide\",\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n};\n\nexport const SLOTS = {\n logo: \"logo\",\n user: \"user\",\n progress: \"progress\",\n navigationAction: \"navigation-action\",\n contentStart: \"content-start\",\n contentEnd: \"content-end\",\n contentCenter: \"content-center\",\n navSecondary: \"navigation-secondary\",\n navTertiary: \"navigation-tertiary\",\n};\n\nexport const ICONS = {\n hamburger: \"hamburger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-navigation-width: Specifies the width of the component's content area.\n * @prop --calcite-navigation-background: Specifies the background color of the component.\n * @prop --calcite-navigation-border-color: Specifies the border color of the component.\n */\n\n@include base-component();\n\n.container {\n @apply flex\n flex-col\n mx-auto\n w-full;\n margin-block: 0;\n margin-inline: auto;\n background-color: var(--calcite-navigation-background, var(--calcite-color-foreground-1));\n &.primary,\n &.secondary,\n &.tertiary {\n border-block-end: 1px solid;\n border-block-end-color: var(--calcite-navigation-border-color, var(--calcite-color-border-3));\n }\n}\n\n.user,\n.logo {\n @apply flex;\n}\n\n.hide {\n @apply hidden;\n}\n\n.primary {\n @apply h-16;\n}\n\n.secondary {\n @apply h-12;\n}\n\n.tertiary {\n @apply h-12;\n}\n\n.container-content {\n @apply flex\n w-full\n h-full\n mx-auto;\n margin-block: 0;\n inline-size: var(--calcite-navigation-width, 100%);\n max-inline-size: 100%;\n &.progress-bar {\n margin-block-start: 0.125rem;\n }\n}\n\nslot[name] {\n @apply flex flex-row;\n}\n\nslot[name=\"navigation-secondary\"]::slotted(calcite-navigation),\nslot[name=\"navigation-tertiary\"]::slotted(calcite-navigation) {\n @apply w-full;\n}\n\nslot[name=\"content-start\"]::slotted(*),\nslot[name=\"content-center\"]::slotted(*),\nslot[name=\"content-end\"]::slotted(*) {\n @apply flex flex-row items-center;\n}\n\nslot[name=\"progress\"],\nslot[name=\"progress\"] calcite-progress {\n inset-block-start: 0;\n inset-inline: 0;\n}\nslot[name=\"content-end\"] {\n @apply ms-auto;\n}\n\nslot[name=\"content-start\"] {\n @apply me-auto;\n}\n\nslot[name=\"content-end\"],\nslot[name=\"logo\"] ~ slot[name=\"user\"],\nslot[name=\"user\"]:only-child {\n @apply ms-auto;\n}\n\nslot[name=\"content-center\"] {\n @apply ms-auto me-auto;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-center\"] {\n @apply ms-0;\n}\n\nslot[name=\"content-start\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"content-end\"],\nslot[name=\"content-center\"] ~ slot[name=\"user\"],\nslot[name=\"content-end\"] ~ slot[name=\"user\"] {\n @apply m-0;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n VNode,\n Method,\n} from \"@stencil/core\";\nimport { slotChangeHasAssignedElement } from \"../../utils/dom\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n/**\n * @slot logo - A slot for adding a `calcite-logo` component to the primary navigation level.\n * @slot user - A slot for adding a `calcite-user` component to the primary navigation level.\n * @slot progress - A slot for adding a `calcite-progress` component to the primary navigation level.\n * @slot navigation-action - A slot for adding a `calcite-action` component to the primary navigation level.\n * @slot content-start - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the start position of any navigation level.\n * @slot content-center - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the center position of the primary navigation level.\n * @slot content-end - A slot for adding a `calcite-menu`, `calcite-action`, or other interactive elements in the end position of any navigation level.\n * @slot navigation-secondary - A slot for adding a `calcite-navigation` component in the secondary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n * @slot navigation-tertiary - A slot for adding a `calcite-navigation` component in the tertiary navigation level. Components rendered here will not display `calcite-navigation-logo` or `calcite-navigation-user` components.\n */\n@Component({\n tag: \"calcite-navigation\",\n styleUrl: \"navigation.scss\",\n shadow: true,\n})\nexport class CalciteNavigation implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `navigationAction` is `true`, specifies the label of the `calcite-action`.\n */\n @Prop() label: string;\n\n /**\n * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.\n */\n @Prop({ reflect: true }) navigationAction = false;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationElement;\n\n @State() logoSlotHasElements: boolean;\n\n @State() navigationActionSlotHasElements: boolean;\n\n @State() primaryContentCenterSlotHasElements: boolean;\n\n @State() primaryContentEndSlotHasElements: boolean;\n\n @State() primaryContentStartSlotHasElements: boolean;\n\n @State() progressSlotHasElement: boolean;\n\n @State() secondarySlotHasElements: boolean;\n\n @State() tertiarySlotHasElements: boolean;\n\n @State() userSlotHasElements: boolean;\n\n navigationActionEl: HTMLCalciteActionElement;\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, emits when the displayed action selection changes. */\n @Event({ cancelable: false }) calciteNavigationActionSelect: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** When `navigationAction` is `true`, sets focus on the component's action element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n return this.navigationActionEl?.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private actionClickHandler = () => {\n this.calciteNavigationActionSelect.emit();\n };\n\n private handleUserSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.userSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleLogoSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.logoSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentStartSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentEndSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleContentCenterSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.primaryContentCenterSlotHasElements = slotChangeHasAssignedElement(event);\n }\n };\n\n private handleSecondarySlotChange = (event: Event): void => {\n this.secondarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleTertiarySlotChange = (event: Event): void => {\n this.tertiarySlotHasElements = slotChangeHasAssignedElement(event);\n };\n\n private handleMenuActionSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.navigationActionSlotHasElements = slotChangeHasAssignedElement(event);\n if (this.navigationActionSlotHasElements) {\n this.navigationAction = false;\n }\n }\n };\n\n private handleProgressSlotChange = (event: Event): void => {\n if (this.isPrimaryLevel()) {\n this.progressSlotHasElement = slotChangeHasAssignedElement(event);\n }\n };\n\n private isPrimaryLevel(): boolean {\n return this.el.slot !== SLOTS.navSecondary && this.el.slot !== SLOTS.navTertiary;\n }\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMenuAction(): VNode {\n return (\n <slot name={SLOTS.navigationAction} onSlotchange={this.handleMenuActionSlotChange}>\n {this.navigationAction && (\n <calcite-action\n icon={ICONS.hamburger}\n onClick={this.actionClickHandler}\n text={this.label}\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: HTMLCalciteActionElement) => (this.navigationActionEl = el)}\n />\n )}\n </slot>\n );\n }\n\n render(): VNode {\n const primaryLevelHasElements =\n this.logoSlotHasElements ||\n this.userSlotHasElements ||\n this.navigationActionSlotHasElements ||\n this.primaryContentCenterSlotHasElements ||\n this.primaryContentEndSlotHasElements ||\n this.primaryContentStartSlotHasElements ||\n this.navigationAction;\n const slotName = this.el.slot;\n return (\n <Host>\n <div\n class={{\n [CSS.container]: true,\n [CSS.secondary]: slotName === SLOTS.navSecondary,\n [CSS.tertiary]: slotName === SLOTS.navTertiary,\n [CSS.primary]: primaryLevelHasElements,\n }}\n >\n <div class={{ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true }}>\n <slot name={SLOTS.progress} onSlotchange={this.handleProgressSlotChange} />\n </div>\n <div\n class={{ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement }}\n >\n {this.renderMenuAction()}\n <div class={{ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true }}>\n <slot name={SLOTS.logo} onSlotchange={this.handleLogoSlotChange} />\n </div>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n <slot name={SLOTS.contentCenter} onSlotchange={this.handleContentCenterSlotChange} />\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n <div class={{ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true }}>\n <slot name={SLOTS.user} onSlotchange={this.handleUserSlotChange} />\n </div>\n </div>\n </div>\n\n <Fragment>\n <slot name={SLOTS.navSecondary} onSlotchange={this.handleSecondarySlotChange} />\n <slot name={SLOTS.navTertiary} onSlotchange={this.handleTertiarySlotChange} />\n </Fragment>\n </Host>\n );\n }\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n description: \"description\",\n anchor: \"anchor\",\n image: \"image\",\n standalone: \"standalone\",\n icon: \"icon\",\n};\n",":host {\n @apply inline-flex outline-none;\n}\n\n.anchor {\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n no-underline\n text-0h;\n border-block-end: 2px solid transparent;\n}\n\n.anchor:hover,\n.anchor:focus {\n @apply bg-foreground-2;\n}\n.anchor:focus {\n @apply focus-inset;\n}\n\n.anchor:active {\n @apply bg-foreground-3;\n}\n\n.image,\n.icon {\n @apply flex h-7 m-0 px-4;\n}\n\n.image ~ .icon {\n @apply ps-0;\n}\n\n.image ~ .container,\n.icon ~ .container {\n @apply ps-0;\n}\n\n:host(:active) .anchor {\n @apply text-color-1;\n}\n\n:host([active]) .anchor {\n @apply text-color-1;\n border-color: var(--calcite-color-brand);\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.container {\n @apply flex\n flex-col\n truncate\n text-start\n px-4\n mt-0.5;\n}\n\n.heading {\n @apply text-0\n ms-0\n truncate\n text-color-1\n font-medium;\n}\n\n.standalone {\n @apply text-1;\n}\n\n.description {\n @apply text-color-2 truncate;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-logo\",\n styleUrl: \"navigation-logo.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationLogo implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted. */\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the URL destination of the component, which can be set as an absolute or relative path.*/\n @Prop({ reflect: true }) href: string;\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */\n @Prop() label: string;\n\n /**\n * Defines the relationship between the `href` value and the current document.\n *\n * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)\n */\n @Prop({ reflect: true }) rel: string;\n\n /** A description for the component, which displays below the `heading`.*/\n @Prop() description: string;\n\n /**\n * Specifies where to open the linked document defined in the `href` property.\n *\n * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)\n */\n @Prop({ reflect: true }) target: string;\n\n /** Specifies heading text for the component, such as a product or organization name.*/\n @Prop() heading: string;\n\n /** Specifies the `src` to an image. */\n @Prop() thumbnail: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (this.href) {\n this.el.focus();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationLogoElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n private renderIcon(): VNode {\n /** Icon scale is not variable as the component does not have a scale property */\n return <calcite-icon class={CSS.icon} flipRtl={this.iconFlipRtl} icon={this.icon} scale=\"l\" />;\n }\n\n render(): VNode {\n const { heading, description, thumbnail } = this;\n return (\n <Host>\n <a class={CSS.anchor} href={this.href} rel={this.rel} target={this.target}>\n {thumbnail && <img alt={this.label || \"\"} class={CSS.image} src={thumbnail} />}\n {this.icon && this.renderIcon()}\n {(heading || description) && (\n <div class={CSS.container}>\n {heading && (\n <span\n aria-label={this.heading}\n class={{\n [CSS.heading]: true,\n [CSS.standalone]: !this.description,\n }}\n key={CSS.heading}\n >\n {heading}\n </span>\n )}\n {description && (\n <span aria-label={this.description} class={CSS.description} key={CSS.description}>\n {description}\n </span>\n )}\n </div>\n )}\n </a>\n </Host>\n );\n }\n}\n","export const CSS = {\n textContainer: \"text-container\",\n fullName: \"full-name\",\n username: \"username\",\n button: \"button\",\n};\n",":host {\n @apply inline-flex outline-none;\n & .button {\n background-color: transparent;\n border: none;\n @apply flex\n m-0\n items-center\n justify-center\n cursor-pointer\n transition-default\n focus-base\n font-sans\n text-0h;\n border-block-end: 2px solid transparent;\n }\n}\n\n:host(:hover) .button,\n:host(:focus) .button {\n @apply bg-foreground-2;\n}\n\n:host(:focus) .button {\n @apply focus-inset;\n}\n\n:host(:active) .button {\n @apply bg-foreground-3 text-color-1;\n}\n\ncalcite-avatar {\n @apply px-4;\n}\n\ncalcite-avatar ~ .text-container {\n @apply ps-0;\n}\n\n:host([active]) .button {\n @apply text-color-1 border-color-brand;\n --calcite-ui-icon-color: var(--calcite-color-brand);\n}\n\n.text-container {\n @apply flex\n flex-col\n text-start\n px-4\n mt-0.5;\n}\n\n.full-name {\n @apply text-0\n ms-0\n text-color-1\n font-medium;\n}\n\n.username {\n @apply text-color-2;\n font-size: var(--calcite-font-size--1);\n}\n\n@include base-component();\n","import { Component, Element, h, Host, Prop, VNode, Method } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport {\n LoadableComponent,\n componentFocusable,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\n@Component({\n tag: \"calcite-navigation-user\",\n styleUrl: \"navigation-user.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class CalciteNavigationUser implements LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, the component is highlighted.*/\n @Prop({ reflect: true }) active: boolean;\n\n /** Specifies the full name of the user.*/\n @Prop() fullName: string;\n\n /** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies.*/\n @Prop() label: string;\n\n /** When `true`, hides the `fullName` and `username` contents.*/\n @Prop({ reflect: true }) textDisabled = false;\n\n /** Specifies the `src` to an image (remember to add a token if the user is private).*/\n @Prop() thumbnail: string;\n\n /** Specifies the unique id of the user.*/\n @Prop() userId: string;\n\n /** Specifies the username of the user.*/\n @Prop() username: string;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNavigationUserElement;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n return (\n <Host>\n <button aria-label={this.label} class={CSS.button}>\n <calcite-avatar\n full-name={this.fullName}\n label={this.label}\n thumbnail={this.thumbnail}\n user-id={this.userId}\n username={this.username}\n />\n {(this.fullName || this.username) && !this.textDisabled && (\n <div class={CSS.textContainer}>\n {this.fullName && (\n <span class={CSS.fullName} key={CSS.fullName}>\n {this.fullName}\n </span>\n )}\n {this.username && (\n <span class={CSS.username} key={CSS.username}>\n {this.username}\n </span>\n )}\n </div>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v2.
|
|
4
|
+
* v2.5.0-next.0
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
8
|
-
import { h as setRequestedIcon, e as getSlotted } from './dom-
|
|
9
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-
|
|
10
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
11
|
-
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-
|
|
12
|
-
import { K as KindIcons } from './resources-
|
|
13
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-
|
|
14
|
-
import { g as getIconScale } from './component-
|
|
15
|
-
import './observers-
|
|
16
|
-
import './guid-
|
|
17
|
-
import './resources-
|
|
18
|
-
import './key-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-91edccbd.js';
|
|
7
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0fdeb6e1.js';
|
|
8
|
+
import { h as setRequestedIcon, e as getSlotted } from './dom-08b6614c.js';
|
|
9
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-e5b2c41c.js';
|
|
10
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-3cc2794c.js';
|
|
11
|
+
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n-ac00cf6e.js';
|
|
12
|
+
import { K as KindIcons } from './resources-6f697258.js';
|
|
13
|
+
import { o as onToggleOpenCloseComponent } from './openCloseComponent-0327226c.js';
|
|
14
|
+
import { g as getIconScale } from './component-4ce2e4e4.js';
|
|
15
|
+
import './observers-de596d65.js';
|
|
16
|
+
import './guid-d4e7d31e.js';
|
|
17
|
+
import './resources-0c9c16f6.js';
|
|
18
|
+
import './key-1e81df28.js';
|
|
19
19
|
|
|
20
20
|
const SLOTS = {
|
|
21
21
|
title: "title",
|
|
@@ -31,7 +31,7 @@ const CSS = {
|
|
|
31
31
|
icon: "notice-icon",
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const noticeCss = ":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
34
|
+
const noticeCss = ":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-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 )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";
|
|
35
35
|
|
|
36
36
|
const Notice = class {
|
|
37
37
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SA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AAC,CAAC;QAE/B,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;QAE3D,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,YAAY,EAAE;YACtC,OAAO;SACR;QACD,IAAI,YAAY,EAAE;YAChB,OAAO,YAAY,CAAC,QAAQ,EAAE,CAAC;SAChC;aAAM,IAAI,IAAI,CAAC,WAAW,EAAE;YAC3B,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;SAC1B;KACF;IAED,aAAa;QACX,IAAI,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAAC;KACtC;IAED,YAAY;QACV,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: NoticeMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|
|
1
|
+
{"file":"calcite-notice.entry.js","mappings":";;;;;;;;;;;;;;;;;;;AAAO,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG;IACjB,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,aAAa;CACpB;;ACbD,MAAM,SAAS,GAAG,qmMAAqmM;;MC2D1mM,MAAM;;;;;;;QA4MT,oBAAe,GAAG,CAAC,EAAe;YACxC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB,CAAC;;;;;;QAOM,UAAK,GAAG;YACd,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;SACnB,CAAC;QAyBF,uBAAkB,GAAG,SAAS,CAAC;oBAjOgB,KAAK;oBAWhD,OAAO;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,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAAC;KACtC;IAED,YAAY;QACV,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO;QACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,MAAM;QACJ,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAgCD,qBAAqB;QACnB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAC5C;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notice/resources.ts","src/components/notice/notice.scss?tag=calcite-notice&encapsulation=shadow","src/components/notice/notice.tsx"],"sourcesContent":["export const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\",\n};\n\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-notice-width: The width of the component.\n */\n\n// scale variables\n:host([scale=\"s\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.2\");\n --calcite-notice-spacing-token-large: theme(\"spacing.3\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n2-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n2-wrap my-0.5;\n }\n .notice-close {\n // specific padding for close button to align with calcite-action small-scale spacing\n @apply p-2;\n }\n}\n\n:host([scale=\"m\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.3\");\n --calcite-notice-spacing-token-large: theme(\"spacing.4\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-n1-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-n1-wrap my-0.5;\n }\n}\n\n:host([scale=\"l\"]) {\n --calcite-notice-spacing-token-small: theme(\"spacing.4\");\n --calcite-notice-spacing-token-large: theme(\"spacing.5\");\n @include slotted(\"title\", \"*\", \".container\") {\n @apply text-1-wrap my-0.5;\n }\n @include slotted(\"message\", \"*\", \".container\") {\n @apply text-0-wrap my-0.5;\n }\n ::slotted(calcite-link) {\n @apply text-0-wrap my-0.5;\n }\n}\n\n:host([width=\"auto\"]) {\n --calcite-notice-width: theme(\"width.auto\");\n}\n\n:host([width=\"half\"]) {\n --calcite-notice-width: theme(\"width[1/2]\");\n}\n\n:host([width=\"full\"]) {\n --calcite-notice-width: theme(\"width.full\");\n}\n\n:host {\n @apply mx-auto hidden max-w-full items-center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n @apply bg-foreground-1\n pointer-events-none\n my-0\n box-border\n hidden\n w-full\n opacity-0\n transition-default;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n// focus styles\n.notice-close {\n @apply focus-base;\n &:focus {\n @apply focus-inset;\n }\n}\n\n:host {\n @apply flex;\n}\n\n:host([open]) .container {\n @apply shadow-1\n pointer-events-auto\n flex\n max-h-full\n items-center\n border-2\n opacity-100;\n}\n\n@include slotted(\"title\", \"*\", \".container\") {\n @apply text-color-1 m-0 font-medium;\n}\n\n@include slotted(\"message\", \"*\", \".container\") {\n @apply text-color-2 m-0 inline font-normal;\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n@mixin notice-element-base() {\n @apply transition-default box-border;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-content {\n @include notice-element-base;\n @apply flex min-w-0 flex-col break-words;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n\n &:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n }\n &:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n }\n}\n\n.notice-icon {\n @apply flex items-center;\n @include notice-element-base;\n}\n\n.notice-close {\n @apply text-color-3 flex cursor-pointer items-center self-stretch border-none bg-transparent outline-none;\n @include notice-element-base;\n -webkit-appearance: none;\n\n &:hover,\n &:focus {\n @apply bg-foreground-2 text-color-1;\n }\n\n &:active {\n @apply bg-foreground-3;\n }\n}\n\n.actions-end {\n @apply flex self-stretch;\n}\n\n$noticeKinds:\n \"brand\" var(--calcite-color-brand),\n \"info\" var(--calcite-color-status-info),\n \"danger\" var(--calcite-color-status-danger),\n \"success\" var(--calcite-color-status-success),\n \"warning\" var(--calcite-color-status-warning);\n\n@each $noticeKind in $noticeKinds {\n $name: nth($noticeKind, 1);\n $kind: nth($noticeKind, 2);\n\n :host([kind=\"#{$name}\"]) .container {\n border-color: $kind;\n & .notice-icon {\n color: $kind;\n }\n }\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Kind, Scale, Width } from \"../interfaces\";\nimport { KindIcons } from \"../resources\";\nimport { NoticeMessages } from \"./assets/notice/t9n\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { getIconScale } from \"../../utils/component\";\n\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally closable - useful for keeping track of whether or not a user has closed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding a `calcite-action` to take, such as: \"undo\", \"try again\", \"link to page\", etc.\n * @slot actions-end - A slot for adding `calcite-action`s to the end of the component. It is recommended to use two or less actions.\n */\n\n@Component({\n tag: \"calcite-notice\",\n styleUrl: \"notice.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Notice\n implements\n ConditionalSlotComponent,\n LoadableComponent,\n T9nComponent,\n LocalizedComponent,\n OpenCloseComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n\n /** When `true`, the component is visible. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n }\n\n /** Specifies the kind of the component, which will apply to top border and icon. */\n @Prop({ reflect: true }) kind: Extract<\n \"brand\" | \"danger\" | \"info\" | \"success\" | \"warning\",\n Kind\n > = \"brand\";\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the width of the component. */\n @Prop({ reflect: true }) width: Width = \"auto\";\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: NoticeMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<NoticeMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"icon\")\n @Watch(\"kind\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectConditionalSlotComponent(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.requestedIcon = setRequestedIcon(KindIcons, this.icon, this.kind);\n await setUpMessages(this);\n if (this.open) {\n onToggleOpenCloseComponent(this);\n }\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n render(): VNode {\n const { el } = this;\n const closeButton = (\n <button\n aria-label={this.messages.close}\n class={CSS.close}\n onClick={this.close}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.closeButton = el)}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n\n return (\n <div\n class={CSS.container}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setTransitionEl}\n >\n {this.requestedIcon ? (\n <div class={CSS.icon}>\n <calcite-icon\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n </div>\n ) : null}\n <div class={CSS.content}>\n <slot name={SLOTS.title} />\n <slot name={SLOTS.message} />\n <slot name={SLOTS.link} />\n </div>\n {hasActionEnd ? (\n <div class={CSS.actionsEnd}>\n <slot name={SLOTS.actionsEnd} />\n </div>\n ) : null}\n {this.closable ? closeButton : null}\n </div>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteNoticeBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeClose: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteNoticeOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n return noticeLinkEl.setFocus();\n } else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n\n onBeforeClose(): void {\n this.calciteNoticeBeforeClose.emit();\n }\n\n onBeforeOpen(): void {\n this.calciteNoticeBeforeOpen.emit();\n }\n\n onClose(): void {\n this.calciteNoticeClose.emit();\n }\n\n onOpen(): void {\n this.calciteNoticeOpen.emit();\n }\n\n private setTransitionEl = (el: HTMLElement): void => {\n this.transitionEl = el;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n private close = (): void => {\n this.open = false;\n };\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteNoticeElement;\n\n /** The close button element. */\n private closeButton?: HTMLButtonElement;\n\n /** The computed icon to render. */\n private requestedIcon?: string;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: NoticeMessages;\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLElement;\n}\n"],"version":3}
|