@esri/calcite-components 1.5.0-next.0 → 1.5.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/p-009b2815.js +6 -0
- package/dist/calcite/{p-37ddbcdf.entry.js → p-02f2afb5.entry.js} +2 -2
- package/dist/calcite/p-04c1d8e4.entry.js +6 -0
- package/dist/calcite/{p-8bcb6511.js → p-0593eb33.js} +1 -1
- package/dist/calcite/{p-2d00d6bb.js → p-07974044.js} +1 -1
- package/dist/calcite/p-08adc2c8.entry.js +6 -0
- package/dist/calcite/p-0a2f0d5c.entry.js +6 -0
- package/dist/calcite/p-0a4b4b69.js +6 -0
- package/dist/calcite/{p-a6f88c45.entry.js → p-0b6648e5.entry.js} +2 -2
- package/dist/calcite/p-0e9eb706.entry.js +6 -0
- package/dist/calcite/{p-2d999e9d.entry.js → p-10c1ee32.entry.js} +2 -2
- package/dist/calcite/p-13464270.js +6 -0
- package/dist/calcite/{p-891f1adf.entry.js → p-185367ec.entry.js} +2 -2
- package/dist/calcite/p-1a48fe90.entry.js +6 -0
- package/dist/calcite/{p-7f3639f3.js → p-1b3d3a98.js} +1 -1
- package/dist/calcite/{p-efbc719a.js → p-1da65bff.js} +1 -1
- package/dist/calcite/p-1f1633a4.js +6 -0
- package/dist/calcite/{p-106d80ff.entry.js → p-21d34f78.entry.js} +2 -2
- package/dist/calcite/p-226c147b.js +6 -0
- package/dist/calcite/p-22e69f05.js +6 -0
- package/dist/calcite/p-2356c226.entry.js +6 -0
- package/dist/calcite/{p-f4ff2444.js → p-248b09f3.js} +1 -1
- package/dist/calcite/p-250f5f1d.js +6 -0
- package/dist/calcite/p-25939b44.entry.js +6 -0
- package/dist/calcite/p-26ff8257.js +6 -0
- package/dist/calcite/{p-41e746a3.js → p-27863f70.js} +2 -2
- package/dist/calcite/p-2c6222ab.js +6 -0
- package/dist/calcite/{p-9a000173.js → p-2c637090.js} +3 -3
- package/dist/calcite/p-2e4ccee6.entry.js +6 -0
- package/dist/calcite/p-2e7c1e63.js +6 -0
- package/dist/calcite/p-30c929e3.entry.js +6 -0
- package/dist/calcite/p-338db205.js +6 -0
- package/dist/calcite/{p-4256ce72.js → p-3666329d.js} +2 -2
- package/dist/calcite/{p-75937a38.js → p-36b02daf.js} +1 -1
- package/dist/calcite/p-378effaa.js +6 -0
- package/dist/calcite/{p-3530df33.entry.js → p-39c78d61.entry.js} +2 -2
- package/dist/calcite/p-3ccb9094.js +6 -0
- package/dist/calcite/p-4111269d.entry.js +6 -0
- package/dist/calcite/p-4239ff60.js +6 -0
- package/dist/calcite/p-439a5758.js +6 -0
- package/dist/calcite/{p-d103a595.js → p-447792c0.js} +2 -2
- package/dist/calcite/p-47ebedce.entry.js +6 -0
- package/dist/calcite/{p-5734031c.entry.js → p-48f345ad.entry.js} +2 -2
- package/dist/calcite/{p-bf8ce5e2.js → p-497e9490.js} +1 -1
- package/dist/calcite/p-4a80e813.js +6 -0
- package/dist/calcite/{p-d6b0b457.js → p-53047265.js} +1 -1
- package/dist/calcite/p-56ae9ae2.entry.js +6 -0
- package/dist/calcite/p-5b1df99c.entry.js +6 -0
- package/dist/calcite/{p-dff4ad85.js → p-5d509f73.js} +1 -1
- package/dist/calcite/p-6000474d.js +6 -0
- package/dist/calcite/p-601e6686.js +6 -0
- package/dist/calcite/p-60e0df72.js +6 -0
- package/dist/calcite/p-622f1ba7.js +6 -0
- package/dist/calcite/{p-df28bd80.entry.js → p-62ef726d.entry.js} +2 -2
- package/dist/calcite/p-637f18b3.js +6 -0
- package/dist/calcite/{p-99bd5304.js → p-643760cd.js} +1 -1
- package/dist/calcite/p-69c0dff0.entry.js +6 -0
- package/dist/calcite/p-6bc0ee2a.entry.js +6 -0
- package/dist/calcite/p-710d652b.entry.js +6 -0
- package/dist/calcite/p-713aa40a.js +6 -0
- package/dist/calcite/p-71a80d9c.js +6 -0
- package/dist/calcite/p-72cfb910.js +6 -0
- package/dist/calcite/p-7304b129.js +6 -0
- package/dist/calcite/p-7389b779.js +6 -0
- package/dist/calcite/p-752bdaea.entry.js +6 -0
- package/dist/calcite/{p-06cc0f03.js → p-77dcb1b3.js} +1 -1
- package/dist/calcite/p-79cf9a50.entry.js +6 -0
- package/dist/calcite/p-7a6ff0f1.js +6 -0
- package/dist/calcite/p-7ccb3067.js +6 -0
- package/dist/calcite/p-7d88bc53.entry.js +6 -0
- package/dist/calcite/p-7eef9fb3.entry.js +6 -0
- package/dist/calcite/p-806601c7.entry.js +6 -0
- package/dist/calcite/p-8365c4f2.js +6 -0
- package/dist/calcite/{p-b4757027.entry.js → p-85fbc80a.entry.js} +2 -2
- package/dist/calcite/p-86c4288b.js +6 -0
- package/dist/calcite/{p-35c0d84e.js → p-87cb6caa.js} +1 -1
- package/dist/calcite/p-89b3591a.entry.js +6 -0
- package/dist/calcite/p-8abceca2.js +6 -0
- package/dist/calcite/{p-e0f2d088.entry.js → p-8b59f122.entry.js} +2 -2
- package/dist/calcite/p-8c072fe6.js +6 -0
- package/dist/calcite/p-90bfb41d.entry.js +6 -0
- package/dist/calcite/{p-ed8c1f6a.entry.js → p-90d0a4d6.entry.js} +2 -2
- package/dist/calcite/p-9203113d.entry.js +6 -0
- package/dist/calcite/p-952bf2cd.js +6 -0
- package/dist/calcite/p-9593e1f9.entry.js +6 -0
- package/dist/calcite/p-95af4ca6.js +6 -0
- package/dist/calcite/p-9621dc3d.entry.js +6 -0
- package/dist/calcite/p-98e377a7.js +6 -0
- package/dist/calcite/p-9bb0d6a1.js +6 -0
- package/dist/calcite/p-9bb8d973.js +6 -0
- package/dist/calcite/{p-2c0b6cac.js → p-9d20754b.js} +2 -2
- package/dist/calcite/p-9e801922.entry.js +6 -0
- package/dist/calcite/p-a12e8e1b.entry.js +6 -0
- package/dist/calcite/p-a18f72d9.entry.js +6 -0
- package/dist/calcite/p-a3219c80.entry.js +6 -0
- package/dist/calcite/{p-9fe43f5f.js → p-a486b294.js} +2 -2
- package/dist/calcite/{p-01e6319e.js → p-a7515261.js} +1 -1
- package/dist/calcite/{p-21e9a8a5.entry.js → p-a7f0a1ad.entry.js} +2 -2
- package/dist/calcite/p-acd53a3d.entry.js +6 -0
- package/dist/calcite/p-ae17f167.entry.js +6 -0
- package/dist/calcite/p-b0194f1c.js +6 -0
- package/dist/calcite/{p-df33878c.js → p-b0d08631.js} +2 -2
- package/dist/calcite/p-b1d6ccfc.entry.js +6 -0
- package/dist/calcite/{p-8066065e.entry.js → p-b448269e.entry.js} +2 -2
- package/dist/calcite/p-b534273f.entry.js +6 -0
- package/dist/calcite/p-b765b963.entry.js +6 -0
- package/dist/calcite/p-b7ab94f7.js +6 -0
- package/dist/calcite/p-b80948fe.entry.js +6 -0
- package/dist/calcite/p-b811cbfe.js +6 -0
- package/dist/calcite/p-b9438138.js +6 -0
- package/dist/calcite/p-bca7786e.entry.js +6 -0
- package/dist/calcite/p-bf1ec764.js +6 -0
- package/dist/calcite/p-c0ecdc77.js +6 -0
- package/dist/calcite/p-c31511a4.js +6 -0
- package/dist/calcite/{p-80533be7.js → p-c31f46f9.js} +2 -2
- package/dist/calcite/p-c5a09832.js +6 -0
- package/dist/calcite/p-c960bc96.js +6 -0
- package/dist/calcite/p-ca8cc20e.entry.js +6 -0
- package/dist/calcite/p-cbf13653.entry.js +6 -0
- package/dist/calcite/{p-95d68201.js → p-cd1ee477.js} +2 -2
- package/dist/calcite/{p-79d83c0e.js → p-ceb4c931.js} +2 -2
- package/dist/calcite/p-cfd10f3e.js +6 -0
- package/dist/calcite/{p-0364fa56.js → p-d05e5931.js} +1 -1
- package/dist/calcite/p-d8839a42.js +6 -0
- package/dist/calcite/p-daef4807.js +6 -0
- package/dist/calcite/p-db5d3568.entry.js +6 -0
- package/dist/calcite/p-dc9f0e2f.js +6 -0
- package/dist/calcite/{p-92b97a4f.js → p-deaa5c6e.js} +2 -2
- package/dist/calcite/p-e54830c9.entry.js +6 -0
- package/dist/calcite/p-e68678be.entry.js +6 -0
- package/dist/calcite/p-e81318c0.js +6 -0
- package/dist/calcite/{p-3e0c63b1.js → p-e84f5ea7.js} +2 -2
- package/dist/calcite/{p-f55f35e2.js → p-e8880b82.js} +2 -2
- package/dist/calcite/p-e8f98cad.js +6 -0
- package/dist/calcite/p-eb6ce775.js +6 -0
- package/dist/calcite/p-ecf15ba7.js +6 -0
- package/dist/calcite/{p-7b26cc1c.entry.js → p-ed41d7be.entry.js} +2 -2
- package/dist/calcite/p-f0a4fb1c.entry.js +6 -0
- package/dist/calcite/{p-88d3c6bc.entry.js → p-f0b9a991.entry.js} +2 -2
- package/dist/calcite/p-f1836535.entry.js +6 -0
- package/dist/calcite/{p-acd123b3.entry.js → p-f2a314c8.entry.js} +2 -2
- package/dist/calcite/p-f2c059e9.entry.js +6 -0
- package/dist/calcite/p-f2d8d3e2.js +6 -0
- package/dist/calcite/p-f77e9d63.js +6 -0
- package/dist/calcite/p-f8da7c37.js +6 -0
- package/dist/calcite/p-fc1c96b9.entry.js +6 -0
- package/dist/calcite/{p-fde1e0c4.entry.js → p-fca49af0.entry.js} +2 -2
- package/dist/calcite/{p-e5f8c705.js → p-fe334709.js} +1 -1
- package/dist/calcite/p-ff1f4f2d.entry.js +6 -0
- package/dist/calcite/{p-89583e39.entry.js → p-ff5aa8ee.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-116aab4e.js → ExpandToggle-84b7195c.js} +5 -5
- package/dist/cjs/{FloatingArrow-f201efca.js → FloatingArrow-92682b60.js} +2 -2
- package/dist/cjs/{Heading-c6d79f19.js → Heading-c9622c73.js} +2 -2
- package/dist/cjs/{app-globals-188e6447.js → app-globals-0197152b.js} +2 -2
- package/dist/cjs/{ar-6f445e62.js → ar-057d0135.js} +16 -15
- package/dist/cjs/{array-56f02477.js → array-ac309ecc.js} +1 -1
- package/dist/cjs/{bg-c2b7459c.js → bg-12b0ac46.js} +16 -15
- package/dist/cjs/browser-13db55af.js +19 -0
- package/dist/cjs/{bs-bb9e388e.js → bs-19741f8c.js} +16 -15
- package/dist/cjs/{ca-e98a690d.js → ca-906127c4.js} +16 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- 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 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite-button.cjs.entry.js +16 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +20 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +14 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +16 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-da5fb134.js → calcite-input-time-picker.calcite-time-picker-f15b8a68.js} +62 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-input.cjs.entry.js +16 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +14 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +31 -36
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +44 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +11 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +26 -12
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +14 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-33847150.js → composed-offset-position.esm-869d8a76.js} +1 -1
- package/dist/cjs/{conditionalSlot-950ffb23.js → conditionalSlot-63b19e25.js} +3 -3
- package/dist/cjs/{cs-cc1246b2.js → cs-1017e11b.js} +16 -15
- package/dist/cjs/{da-eb3baa5e.js → da-6f605ddd.js} +16 -15
- package/dist/cjs/{de-38a484d5.js → de-8b83b2aa.js} +16 -15
- package/dist/cjs/{de-at-4bd2150a.js → de-at-9b6befda.js} +16 -15
- package/dist/cjs/{de-ch-60a228d4.js → de-ch-89b68831.js} +16 -15
- package/dist/cjs/{debounce-60e39ebe.js → debounce-1eb5fae2.js} +1 -1
- package/dist/cjs/{dom-ef71cdcc.js → dom-42dabaf2.js} +3 -3
- package/dist/cjs/{el-d1ff0ed1.js → el-15bb7d34.js} +16 -15
- package/dist/cjs/{en-au-eac0fb07.js → en-au-239a6657.js} +16 -15
- package/dist/cjs/{en-ca-f4ea400d.js → en-ca-b7b30541.js} +16 -15
- package/dist/cjs/{en-gb-c4206bd0.js → en-gb-a3628c92.js} +16 -15
- package/dist/cjs/{es-0e1f2635.js → es-c7fa206a.js} +16 -15
- package/dist/cjs/{es-mx-e716c88e.js → es-mx-84a64b47.js} +16 -15
- package/dist/cjs/{et-e2956599.js → et-70c57f77.js} +16 -15
- package/dist/cjs/{fi-c7a74263.js → fi-b9a105df.js} +16 -15
- package/dist/cjs/{filter-5ebc882d.js → filter-e702266b.js} +2 -2
- package/dist/cjs/{floating-ui-c810c7f8.js → floating-ui-6d60268d.js} +16 -24
- package/dist/cjs/{focusTrapComponent-1092be83.js → focusTrapComponent-69c80ef0.js} +2 -2
- package/dist/cjs/{form-8e28c75e.js → form-bc18d8c5.js} +3 -3
- package/dist/cjs/{fr-fd7b9081.js → fr-0efb8d91.js} +16 -15
- package/dist/cjs/{fr-ch-5fef0619.js → fr-ch-b34ca4e1.js} +16 -15
- package/dist/cjs/{guid-7b68a68f.js → guid-13035076.js} +1 -1
- package/dist/cjs/{he-f1fcc5a7.js → he-5706bff2.js} +16 -15
- package/dist/cjs/{hi-db8e2a49.js → hi-b1548147.js} +16 -15
- package/dist/cjs/{hr-1aea4cc0.js → hr-83898a11.js} +16 -15
- package/dist/cjs/{hu-506d084c.js → hu-514951a0.js} +16 -15
- package/dist/cjs/{id-b066c926.js → id-acd8a39d.js} +16 -15
- package/dist/cjs/{index-c3cbd8d1.js → index-b91c10b3.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-7ff38ff7.js +142 -0
- package/dist/cjs/{it-1388592d.js → it-cca7c760.js} +16 -15
- package/dist/cjs/{it-ch-29731c96.js → it-ch-c42d7e19.js} +16 -15
- package/dist/cjs/{ja-1f2de4d8.js → ja-fe87ff1c.js} +16 -15
- package/dist/cjs/{key-d0cad9b0.js → key-3fc8a11f.js} +1 -1
- package/dist/cjs/{ko-97540d8c.js → ko-8f4dadd2.js} +16 -15
- package/dist/cjs/{label-37fd1e62.js → label-678a4785.js} +2 -2
- package/dist/cjs/{loadable-5de11b60.js → loadable-99302fa8.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-6da1f412.js → locale-094508f4.js} +4 -4
- package/dist/cjs/{lt-fd098ebc.js → lt-b0acac32.js} +16 -15
- package/dist/cjs/{lv-3afcf0c2.js → lv-afa48cad.js} +16 -15
- package/dist/cjs/{math-2cb85f3d.js → math-59198773.js} +1 -1
- package/dist/cjs/{mk-ebca513a.js → mk-7a53edfe.js} +16 -15
- package/dist/cjs/{nb-4af5765b.js → nb-ffe8cba6.js} +16 -15
- package/dist/cjs/{nl-17730524.js → nl-faa5db30.js} +16 -15
- package/dist/cjs/{observers-0e22ec57.js → observers-481d4a66.js} +1 -1
- package/dist/cjs/{openCloseComponent-b9c05536.js → openCloseComponent-0bde404e.js} +2 -2
- package/dist/cjs/{pl-6ea1de71.js → pl-5c002238.js} +16 -15
- package/dist/cjs/{pt-37594a74.js → pt-1f5e54e5.js} +16 -15
- package/dist/cjs/{pt-br-95f679e9.js → pt-br-da69c115.js} +16 -15
- package/dist/cjs/{resources-a6ec2855.js → resources-1c27e741.js} +1 -1
- package/dist/cjs/{resources-5820ff7a.js → resources-1d7aaca8.js} +1 -1
- package/dist/cjs/{resources-378f1c2e.js → resources-30cab3c7.js} +1 -1
- package/dist/cjs/{resources-cd3d8dcf.js → resources-46ce085b.js} +5 -5
- package/dist/cjs/{resources-ddaceaf9.js → resources-588d425d.js} +1 -1
- package/dist/cjs/{resources-1944aa33.js → resources-90dd6ceb.js} +1 -1
- package/dist/cjs/{ro-24bf7ea0.js → ro-e04fb1e6.js} +16 -15
- package/dist/cjs/{ru-4421387c.js → ru-e7b0e1de.js} +16 -15
- package/dist/cjs/{sk-7603c81b.js → sk-10c4a9b8.js} +16 -15
- package/dist/cjs/{sl-9ae16b72.js → sl-d2b5a3d7.js} +16 -15
- package/dist/cjs/{sortableComponent-86a155f2.js → sortableComponent-71a4da4a.js} +2 -2
- package/dist/cjs/{sr-d3eccd1f.js → sr-b98773f1.js} +16 -15
- package/dist/cjs/{sv-3ca21ded.js → sv-b4369047.js} +16 -15
- package/dist/cjs/{t9n-815b3355.js → t9n-ac1691f4.js} +3 -3
- package/dist/cjs/{th-e0cf9592.js → th-6a24b050.js} +16 -15
- package/dist/cjs/{throttle-8673f9c4.js → throttle-7e348ba1.js} +2 -2
- package/dist/cjs/{tr-87fc38dd.js → tr-178c510c.js} +16 -15
- package/dist/cjs/{uk-bcbc70c7.js → uk-7841700c.js} +16 -15
- package/dist/cjs/{utils-30c2a335.js → utils-29a19aab.js} +3 -3
- package/dist/cjs/{utils-438915e6.js → utils-b179d25d.js} +1 -1
- package/dist/cjs/{vi-da43bc8d.js → vi-db7b8657.js} +16 -15
- package/dist/cjs/{zh-cn-d1305334.js → zh-cn-9354886c.js} +16 -15
- package/dist/cjs/{zh-hk-ec809af5.js → zh-hk-0cb1f9f8.js} +16 -15
- package/dist/cjs/{zh-tw-b4969927.js → zh-tw-1128405e.js} +16 -15
- package/dist/collection/components/accordion/accordion.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.js +4 -2
- package/dist/collection/components/action/resources.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.js +1 -1
- package/dist/collection/components/action-group/resources.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.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +4 -2
- package/dist/collection/components/block/resources.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.js +4 -2
- package/dist/collection/components/button/resources.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.js +4 -2
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +4 -2
- package/dist/collection/components/color-picker/color-picker.js +4 -2
- 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-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.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +4 -2
- 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.js +4 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- 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.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-day/date-picker-day.js +8 -2
- 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.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -3
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.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.js +8 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +4 -2
- package/dist/collection/components/filter/resources.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.js +4 -2
- 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/XButton.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.js +1 -1
- package/dist/collection/components/handle/resources.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/inline-editable/inline-editable.js +4 -2
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +4 -2
- package/dist/collection/components/input-date-picker/resources.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.js +4 -2
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -2
- package/dist/collection/components/input-time-picker/resources.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.js +8 -2
- package/dist/collection/components/list/list.css +4 -6
- package/dist/collection/components/list/list.js +10 -21
- package/dist/collection/components/list/resources.js +1 -6
- package/dist/collection/components/list-item/list-item.js +4 -2
- 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.js +6 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.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/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.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.js +1 -1
- package/dist/collection/components/navigation-logo/resources.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.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.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.js +4 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +4 -2
- 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-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.js +4 -2
- 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.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +4 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +4 -2
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +6 -1
- package/dist/collection/components/scrim/scrim.js +34 -3
- package/dist/collection/components/segmented-control/segmented-control.js +4 -2
- package/dist/collection/components/segmented-control-item/resources.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.js +4 -2
- package/dist/collection/components/shell/resources.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.js +1 -1
- package/dist/collection/components/shell-panel/resources.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.js +4 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +4 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +8 -2
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +4 -2
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/tab.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.js +4 -2
- package/dist/collection/components/tabs/resources.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.js +4 -2
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +4 -2
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -2
- package/dist/collection/components/tile-select-group/tile-select-group.js +8 -2
- package/dist/collection/components/time-picker/resources.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.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.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.js +1 -1
- package/dist/collection/components/tooltip/utils.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.js +4 -2
- 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.js +4 -2
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +4 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +14 -0
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +13 -21
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +78 -9
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.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/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.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/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +4 -2
- 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/browser.js +16 -0
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +4 -2
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-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-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +4 -2
- 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 +4 -2
- 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 +4 -2
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +4 -2
- package/dist/components/calcite-combobox.js +4 -2
- 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 +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +8 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +4 -2
- 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 +4 -2
- package/dist/components/calcite-input-date-picker.js +4 -2
- 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 +4 -2
- package/dist/components/calcite-input-time-picker.js +4 -2
- 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 +6 -2
- package/dist/components/calcite-list-item.js +4 -2
- package/dist/components/calcite-list.js +21 -40
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +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 +4 -2
- 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 +4 -2
- package/dist/components/calcite-rating.js +4 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +4 -2
- package/dist/components/calcite-select.js +4 -2
- 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 +4 -2
- package/dist/components/calcite-sortable-list.js +4 -2
- package/dist/components/calcite-split-button.js +8 -2
- package/dist/components/calcite-stack.js +98 -2
- package/dist/components/calcite-stepper-item.js +4 -2
- 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-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +4 -2
- package/dist/components/calcite-tile-select-group.js +8 -2
- package/dist/components/calcite-tile-select.js +4 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +4 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +4 -2
- package/dist/components/calcite-value-list.js +4 -2
- package/dist/components/checkbox.js +4 -2
- package/dist/components/chip.js +4 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.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 +8 -2
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +5 -3
- 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 +4 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +13 -21
- 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 +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/input-number.js +4 -2
- package/dist/components/input.js +4 -2
- package/dist/components/interactive.js +80 -10
- 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 +8 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +4 -2
- package/dist/components/pick-list-item.js +4 -2
- 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/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +38 -2
- 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/sv.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +4 -2
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +4 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.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-0a7087b8.js → ExpandToggle-eea2109c.js} +5 -5
- package/dist/esm/{FloatingArrow-c9f4fc75.js → FloatingArrow-5f2a46fa.js} +2 -2
- package/dist/esm/{Heading-f950922a.js → Heading-c11cdc37.js} +2 -2
- package/dist/esm/{app-globals-d9d6ab59.js → app-globals-e0a623b7.js} +2 -2
- package/dist/esm/{ar-e49ff10a.js → ar-cef1dde5.js} +16 -15
- package/dist/esm/{array-69a89828.js → array-acbeed62.js} +1 -1
- package/dist/esm/{bg-e212a304.js → bg-9b44401c.js} +16 -15
- package/dist/esm/browser-5b51d471.js +16 -0
- package/dist/esm/{bs-fc1baefd.js → bs-a27c8bf0.js} +16 -15
- package/dist/esm/{ca-75b1bc87.js → ca-65fb7537.js} +16 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- 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 -11
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -12
- package/dist/esm/calcite-button.entry.js +16 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +13 -10
- package/dist/esm/calcite-chip-group.entry.js +11 -8
- package/dist/esm/calcite-chip.entry.js +15 -12
- package/dist/esm/calcite-color-picker_3.entry.js +18 -15
- package/dist/esm/calcite-combobox_3.entry.js +23 -18
- package/dist/esm/calcite-date-picker_4.entry.js +20 -13
- package/dist/esm/calcite-dropdown_3.entry.js +16 -13
- package/dist/esm/calcite-fab.entry.js +14 -7
- package/dist/esm/calcite-filter.entry.js +16 -13
- package/dist/esm/calcite-flow-item.entry.js +15 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +16 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -12
- package/dist/esm/calcite-input-date-picker.entry.js +21 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +16 -13
- package/dist/esm/calcite-input-text.entry.js +16 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-2d72c577.js → calcite-input-time-picker.calcite-time-picker-ad0bcf24.js} +62 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
- package/dist/esm/calcite-input.entry.js +16 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +14 -7
- package/dist/esm/calcite-list_3.entry.js +31 -36
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +13 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +17 -14
- package/dist/esm/calcite-pick-list_3.entry.js +21 -16
- package/dist/esm/calcite-popover.entry.js +17 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +13 -10
- package/dist/esm/calcite-rating.entry.js +16 -13
- package/dist/esm/calcite-scrim.entry.js +44 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +11 -8
- package/dist/esm/calcite-split-button.entry.js +11 -4
- package/dist/esm/calcite-stack.entry.js +20 -6
- package/dist/esm/calcite-stepper_2.entry.js +13 -10
- package/dist/esm/calcite-switch.entry.js +13 -10
- package/dist/esm/calcite-tab_4.entry.js +13 -10
- package/dist/esm/calcite-text-area.entry.js +18 -15
- package/dist/esm/calcite-tile-select_2.entry.js +14 -5
- package/dist/esm/calcite-tile.entry.js +11 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +10 -9
- package/dist/esm/calcite-tree_2.entry.js +12 -9
- package/dist/esm/calcite-value-list_2.entry.js +21 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-2d5f0481.js → composed-offset-position.esm-a93f1605.js} +1 -1
- package/dist/esm/{conditionalSlot-4816e296.js → conditionalSlot-ecfe1ebc.js} +3 -3
- package/dist/esm/{cs-48de7534.js → cs-fceef9a7.js} +16 -15
- package/dist/esm/{da-60c1988f.js → da-ce6e44a1.js} +16 -15
- package/dist/esm/{de-237bd34d.js → de-3dbd4c82.js} +16 -15
- package/dist/esm/{de-at-b8a0ab53.js → de-at-8f8448b6.js} +16 -15
- package/dist/esm/{de-ch-91b89465.js → de-ch-e612ac0d.js} +16 -15
- package/dist/esm/{debounce-db02f2cf.js → debounce-9571c7e8.js} +1 -1
- package/dist/esm/{dom-399ce2a4.js → dom-80fa9ebb.js} +3 -3
- package/dist/esm/{el-e707e759.js → el-75cf46b3.js} +16 -15
- package/dist/esm/{en-au-54f9e7b4.js → en-au-4bb2b262.js} +16 -15
- package/dist/esm/{en-ca-e40d8b33.js → en-ca-a1a11e06.js} +16 -15
- package/dist/esm/{en-gb-e9a3e715.js → en-gb-4d8d02c8.js} +16 -15
- package/dist/esm/{es-2fb4628d.js → es-fe478c8e.js} +16 -15
- package/dist/esm/{es-mx-69281470.js → es-mx-d68cea08.js} +16 -15
- package/dist/esm/{et-27226140.js → et-57544106.js} +16 -15
- package/dist/esm/{fi-6c8a3e71.js → fi-3c6f37fa.js} +16 -15
- package/dist/esm/{filter-c7d821eb.js → filter-025296b0.js} +2 -2
- package/dist/esm/{floating-ui-63ac58bc.js → floating-ui-d44c6b7a.js} +16 -24
- package/dist/esm/{focusTrapComponent-29332d58.js → focusTrapComponent-a1345901.js} +2 -2
- package/dist/esm/{form-47cea73a.js → form-9c275054.js} +3 -3
- package/dist/esm/{fr-8ff84220.js → fr-0c7ebe58.js} +16 -15
- package/dist/esm/{fr-ch-c236c164.js → fr-ch-235dc628.js} +16 -15
- package/dist/esm/{guid-6fefb808.js → guid-daec2c55.js} +1 -1
- package/dist/esm/{he-69b2f958.js → he-61422d53.js} +16 -15
- package/dist/esm/{hi-d7418879.js → hi-31d7e854.js} +16 -15
- package/dist/esm/{hr-8157d11f.js → hr-bb8d02da.js} +16 -15
- package/dist/esm/{hu-bff446b4.js → hu-40c67d8a.js} +16 -15
- package/dist/esm/{id-cbfb0f53.js → id-242878a3.js} +16 -15
- package/dist/esm/{index-2d4d65c0.js → index-6e7d6f56.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-8d2ae5e3.js +138 -0
- package/dist/esm/{it-dbcc44bf.js → it-8427791f.js} +16 -15
- package/dist/esm/{it-ch-d6449c6b.js → it-ch-05662049.js} +16 -15
- package/dist/esm/{ja-49cbd232.js → ja-0bd1e93f.js} +16 -15
- package/dist/esm/{key-dd77cdfa.js → key-d72fcd57.js} +1 -1
- package/dist/esm/{ko-be962434.js → ko-d8f1952a.js} +16 -15
- package/dist/esm/{label-d6ca00c5.js → label-be1153d7.js} +2 -2
- package/dist/esm/{loadable-bee21000.js → loadable-3dad5c05.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-785d58ec.js → locale-81eea538.js} +4 -4
- package/dist/esm/{lt-e8f61142.js → lt-f843cd42.js} +16 -15
- package/dist/esm/{lv-bc0dea8b.js → lv-57a0c207.js} +16 -15
- package/dist/esm/{math-00a04463.js → math-7f973104.js} +1 -1
- package/dist/esm/{mk-72e8e6cb.js → mk-e25f7921.js} +16 -15
- package/dist/esm/{nb-e2ab0426.js → nb-54cfbed9.js} +16 -15
- package/dist/esm/{nl-0d5aad3f.js → nl-0e7abdff.js} +16 -15
- package/dist/esm/{observers-a21fa8b4.js → observers-eb4861d8.js} +1 -1
- package/dist/esm/{openCloseComponent-095026c7.js → openCloseComponent-e378352f.js} +2 -2
- package/dist/esm/{pl-d114afb0.js → pl-a2f03b53.js} +16 -15
- package/dist/esm/{pt-br-0a227632.js → pt-br-3a63cbea.js} +16 -15
- package/dist/esm/{pt-026db4c3.js → pt-ed3a6ada.js} +16 -15
- package/dist/esm/{resources-f598793f.js → resources-1447ec86.js} +1 -1
- package/dist/esm/{resources-ba14c406.js → resources-1dc11a69.js} +1 -1
- package/dist/esm/{resources-277a2fb0.js → resources-2886fb44.js} +1 -1
- package/dist/esm/{resources-fc73efcf.js → resources-555d2604.js} +5 -5
- package/dist/esm/{resources-ef349255.js → resources-6810cd3b.js} +1 -1
- package/dist/esm/{resources-915980aa.js → resources-e0eb52e1.js} +1 -1
- package/dist/esm/{ro-a496e1fa.js → ro-aa2665e8.js} +16 -15
- package/dist/esm/{ru-3f96cc9e.js → ru-1c8d4af1.js} +16 -15
- package/dist/esm/{sk-44c2e652.js → sk-e9a35722.js} +16 -15
- package/dist/esm/{sl-aec5cf49.js → sl-dcab6585.js} +16 -15
- package/dist/esm/{sortableComponent-77088e26.js → sortableComponent-affbaac7.js} +2 -2
- package/dist/esm/{sr-f0f6343a.js → sr-588d2355.js} +16 -15
- package/dist/esm/{sv-70330b37.js → sv-28a4771c.js} +16 -15
- package/dist/esm/{t9n-8e50f009.js → t9n-e3d3c650.js} +3 -3
- package/dist/esm/{th-1646931f.js → th-951c30f1.js} +16 -15
- package/dist/esm/{throttle-c5bcc62f.js → throttle-9cb9c964.js} +2 -2
- package/dist/esm/{tr-8feca3d2.js → tr-a2e039d6.js} +16 -15
- package/dist/esm/{uk-63c9f28e.js → uk-06878908.js} +16 -15
- package/dist/esm/{utils-850683bc.js → utils-4de9cdc5.js} +1 -1
- package/dist/esm/{utils-b06aa9eb.js → utils-732e76b1.js} +3 -3
- package/dist/esm/{vi-134b7652.js → vi-06d82b31.js} +16 -15
- package/dist/esm/{zh-cn-830ac4a8.js → zh-cn-45dcda14.js} +16 -15
- package/dist/esm/{zh-hk-f56737cb.js → zh-hk-8466bd3d.js} +16 -15
- package/dist/esm/{zh-tw-85f7e98d.js → zh-tw-c0dcdc36.js} +16 -15
- 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/types/components/date-picker-day/date-picker-day.d.ts +2 -0
- package/dist/types/components/fab/fab.d.ts +2 -0
- package/dist/types/components/link/link.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +0 -6
- package/dist/types/components/list/resources.d.ts +0 -5
- package/dist/types/components/list-item-group/list-item-group.d.ts +1 -0
- package/dist/types/components/scrim/resources.d.ts +4 -0
- package/dist/types/components/scrim/scrim.d.ts +7 -0
- package/dist/types/components/split-button/split-button.d.ts +2 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -0
- package/dist/types/utils/browser.d.ts +11 -0
- package/dist/types/utils/floating-ui.d.ts +1 -0
- package/dist/types/utils/interactive.d.ts +16 -0
- package/hydrate/index.js +474 -268
- package/package.json +2 -2
- package/dist/calcite/p-01bdd24a.entry.js +0 -6
- package/dist/calcite/p-02d8f15d.js +0 -6
- package/dist/calcite/p-07be9dcd.js +0 -6
- package/dist/calcite/p-07f32e22.entry.js +0 -6
- package/dist/calcite/p-0f9fe7d1.js +0 -6
- package/dist/calcite/p-10148cb7.entry.js +0 -6
- package/dist/calcite/p-106c4aa9.entry.js +0 -6
- package/dist/calcite/p-123ee796.js +0 -6
- package/dist/calcite/p-16dc6564.entry.js +0 -6
- package/dist/calcite/p-1ee5f812.js +0 -6
- package/dist/calcite/p-24e26952.entry.js +0 -6
- package/dist/calcite/p-27691ea0.js +0 -6
- package/dist/calcite/p-29695334.js +0 -6
- package/dist/calcite/p-2b007465.entry.js +0 -6
- package/dist/calcite/p-2ff49892.js +0 -6
- package/dist/calcite/p-30d89bb2.js +0 -6
- package/dist/calcite/p-3422ea7e.js +0 -6
- package/dist/calcite/p-37273f80.js +0 -6
- package/dist/calcite/p-39b5e66f.entry.js +0 -6
- package/dist/calcite/p-3c8f379b.js +0 -6
- package/dist/calcite/p-3f6b6bcb.js +0 -6
- package/dist/calcite/p-3fb6f2a2.entry.js +0 -6
- package/dist/calcite/p-408aced5.entry.js +0 -6
- package/dist/calcite/p-4505d3e7.entry.js +0 -6
- package/dist/calcite/p-4a8ac497.entry.js +0 -6
- package/dist/calcite/p-4b9f2b3f.js +0 -6
- package/dist/calcite/p-4cef44d2.js +0 -6
- package/dist/calcite/p-4fc85df1.entry.js +0 -6
- package/dist/calcite/p-5022dbe3.js +0 -6
- package/dist/calcite/p-5286e3cf.js +0 -6
- package/dist/calcite/p-532be370.entry.js +0 -6
- package/dist/calcite/p-536ab01f.entry.js +0 -6
- package/dist/calcite/p-55ad3e78.js +0 -6
- package/dist/calcite/p-58dd603a.entry.js +0 -6
- package/dist/calcite/p-5c7987db.entry.js +0 -6
- package/dist/calcite/p-5e3e2fb8.entry.js +0 -6
- package/dist/calcite/p-5f999d7e.js +0 -6
- package/dist/calcite/p-60373449.entry.js +0 -6
- package/dist/calcite/p-643ae308.js +0 -6
- package/dist/calcite/p-688398da.entry.js +0 -6
- package/dist/calcite/p-6cbf6d04.js +0 -6
- package/dist/calcite/p-6e985f0c.js +0 -6
- package/dist/calcite/p-6f0972de.entry.js +0 -6
- package/dist/calcite/p-70575807.js +0 -6
- package/dist/calcite/p-7366dced.entry.js +0 -6
- package/dist/calcite/p-76d78f1c.entry.js +0 -6
- package/dist/calcite/p-79edea65.entry.js +0 -6
- package/dist/calcite/p-7a444759.entry.js +0 -6
- package/dist/calcite/p-7a8a82b5.js +0 -6
- package/dist/calcite/p-7c767378.js +0 -6
- package/dist/calcite/p-7c89a5c7.js +0 -6
- package/dist/calcite/p-800ce1dd.entry.js +0 -6
- package/dist/calcite/p-82a0dc86.js +0 -6
- package/dist/calcite/p-8392cf7c.entry.js +0 -6
- package/dist/calcite/p-84717bd1.js +0 -6
- package/dist/calcite/p-8794d868.entry.js +0 -6
- package/dist/calcite/p-8e48f3ad.js +0 -6
- package/dist/calcite/p-90b2a64b.entry.js +0 -6
- package/dist/calcite/p-9232cbab.entry.js +0 -6
- package/dist/calcite/p-94d01218.js +0 -6
- package/dist/calcite/p-96a2cc21.entry.js +0 -6
- package/dist/calcite/p-96ec27e6.entry.js +0 -6
- package/dist/calcite/p-97bfe0cc.js +0 -6
- package/dist/calcite/p-9853db31.entry.js +0 -6
- package/dist/calcite/p-9c791f91.js +0 -6
- package/dist/calcite/p-9dd10e86.entry.js +0 -6
- package/dist/calcite/p-a0711327.js +0 -6
- package/dist/calcite/p-a5f5d835.js +0 -6
- package/dist/calcite/p-a643b46d.entry.js +0 -6
- package/dist/calcite/p-aa55627d.js +0 -6
- package/dist/calcite/p-afbb1942.js +0 -6
- package/dist/calcite/p-b243f66b.entry.js +0 -6
- package/dist/calcite/p-b5c7d6ad.js +0 -6
- package/dist/calcite/p-bb6a3b01.entry.js +0 -6
- package/dist/calcite/p-bea5b5ba.js +0 -6
- package/dist/calcite/p-c02e1544.js +0 -6
- package/dist/calcite/p-c113791d.js +0 -6
- package/dist/calcite/p-c1c97119.js +0 -6
- package/dist/calcite/p-c1fdf919.js +0 -6
- package/dist/calcite/p-c2ba582d.entry.js +0 -6
- package/dist/calcite/p-ce9cc38c.entry.js +0 -6
- package/dist/calcite/p-d0f4ad20.js +0 -6
- package/dist/calcite/p-d6815c9b.js +0 -6
- package/dist/calcite/p-d6b20ae0.js +0 -6
- package/dist/calcite/p-d7f5a02a.js +0 -6
- package/dist/calcite/p-d85c67dd.js +0 -6
- package/dist/calcite/p-d8a7c43d.js +0 -6
- package/dist/calcite/p-de7ad736.entry.js +0 -6
- package/dist/calcite/p-e14ff242.entry.js +0 -6
- package/dist/calcite/p-e20a7580.js +0 -6
- package/dist/calcite/p-ebc1a5db.entry.js +0 -6
- package/dist/calcite/p-ee377773.js +0 -6
- package/dist/calcite/p-ef1bffd5.js +0 -6
- package/dist/calcite/p-f032e5af.js +0 -6
- package/dist/calcite/p-f0491893.entry.js +0 -6
- package/dist/calcite/p-f0c915f4.js +0 -6
- package/dist/calcite/p-f2120011.entry.js +0 -6
- package/dist/calcite/p-f4e219b6.entry.js +0 -6
- package/dist/calcite/p-f8be7de2.entry.js +0 -6
- package/dist/calcite/p-f8e1674b.js +0 -6
- package/dist/calcite/p-f99859f4.entry.js +0 -6
- package/dist/calcite/p-fe44fb31.js +0 -6
- package/dist/calcite/p-ff64be2f.js +0 -6
- package/dist/calcite/p-ff8f31f1.js +0 -6
- package/dist/cjs/interactive-05fabe1b.js +0 -70
- package/dist/cjs/resources-5099972b.js +0 -24
- package/dist/components/stack.js +0 -104
- package/dist/esm/interactive-27b5cb55.js +0 -68
- package/dist/esm/resources-5f717891.js +0 -21
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.
|
|
4
|
+
* v1.5.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6915,7 +6915,7 @@ const focusElementInGroup = (elements, currentElement, destination, cycle = true
|
|
|
6915
6915
|
return focusTarget;
|
|
6916
6916
|
};
|
|
6917
6917
|
|
|
6918
|
-
const SLOTS$
|
|
6918
|
+
const SLOTS$x = {
|
|
6919
6919
|
actionsStart: "actions-start",
|
|
6920
6920
|
actionsEnd: "actions-end"
|
|
6921
6921
|
};
|
|
@@ -6990,11 +6990,11 @@ class AccordionItem {
|
|
|
6990
6990
|
// --------------------------------------------------------------------------
|
|
6991
6991
|
renderActionsStart() {
|
|
6992
6992
|
const { el } = this;
|
|
6993
|
-
return getSlotted(el, SLOTS$
|
|
6993
|
+
return getSlotted(el, SLOTS$x.actionsStart) ? (hAsync("div", { class: CSS$16.actionsStart }, hAsync("slot", { name: SLOTS$x.actionsStart }))) : null;
|
|
6994
6994
|
}
|
|
6995
6995
|
renderActionsEnd() {
|
|
6996
6996
|
const { el } = this;
|
|
6997
|
-
return getSlotted(el, SLOTS$
|
|
6997
|
+
return getSlotted(el, SLOTS$x.actionsEnd) ? (hAsync("div", { class: CSS$16.actionsEnd }, hAsync("slot", { name: SLOTS$x.actionsEnd }))) : null;
|
|
6998
6998
|
}
|
|
6999
6999
|
render() {
|
|
7000
7000
|
const { iconFlipRtl } = this;
|
|
@@ -7088,6 +7088,21 @@ class AccordionItem {
|
|
|
7088
7088
|
}; }
|
|
7089
7089
|
}
|
|
7090
7090
|
|
|
7091
|
+
function getUserAgentData() {
|
|
7092
|
+
return navigator.userAgentData;
|
|
7093
|
+
}
|
|
7094
|
+
function getUserAgentString() {
|
|
7095
|
+
const uaData = getUserAgentData();
|
|
7096
|
+
return uaData?.brands
|
|
7097
|
+
? uaData.brands.map(({ brand, version }) => `${brand}/${version}`).join(" ")
|
|
7098
|
+
: navigator.userAgent;
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
7102
|
+
const isFirefox = /firefox/i.test(getUserAgentString());
|
|
7103
|
+
const interactiveElementToParent = isFirefox
|
|
7104
|
+
? new WeakMap()
|
|
7105
|
+
: null;
|
|
7091
7106
|
function interceptedClick() {
|
|
7092
7107
|
const { disabled } = this;
|
|
7093
7108
|
if (!disabled) {
|
|
@@ -7095,11 +7110,21 @@ function interceptedClick() {
|
|
|
7095
7110
|
}
|
|
7096
7111
|
}
|
|
7097
7112
|
function onPointerDown(event) {
|
|
7098
|
-
|
|
7099
|
-
|
|
7113
|
+
const interactiveElement = event.target;
|
|
7114
|
+
if (isFirefox && !interactiveElementToParent.get(interactiveElement)) {
|
|
7115
|
+
return;
|
|
7116
|
+
}
|
|
7117
|
+
const { disabled } = interactiveElement;
|
|
7118
|
+
if (disabled) {
|
|
7119
|
+
// prevent click from moving focus on host
|
|
7120
|
+
event.preventDefault();
|
|
7121
|
+
}
|
|
7100
7122
|
}
|
|
7101
7123
|
const nonBubblingWhenDisabledMouseEvents = ["mousedown", "mouseup", "click"];
|
|
7102
7124
|
function onNonBubblingWhenDisabledMouseEvent(event) {
|
|
7125
|
+
if (isFirefox && !interactiveElementToParent.get(event.target)) {
|
|
7126
|
+
return;
|
|
7127
|
+
}
|
|
7103
7128
|
const { disabled } = event.target;
|
|
7104
7129
|
// prevent disallowed mouse events from being emitted on the disabled host (per https://github.com/whatwg/html/issues/5886)
|
|
7105
7130
|
//⚠ we generally avoid stopping propagation of events, but this is needed to adhere to the intended spec changes above ⚠
|
|
@@ -7129,14 +7154,10 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
7129
7154
|
if (component.el.contains(document.activeElement)) {
|
|
7130
7155
|
document.activeElement.blur();
|
|
7131
7156
|
}
|
|
7132
|
-
component
|
|
7133
|
-
component.el.addEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7134
|
-
nonBubblingWhenDisabledMouseEvents.forEach((event) => component.el.addEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7157
|
+
blockInteraction(component);
|
|
7135
7158
|
return;
|
|
7136
7159
|
}
|
|
7137
|
-
component
|
|
7138
|
-
component.el.removeEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7139
|
-
nonBubblingWhenDisabledMouseEvents.forEach((event) => component.el.removeEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7160
|
+
restoreInteraction(component);
|
|
7140
7161
|
if (typeof hostIsTabbable === "function") {
|
|
7141
7162
|
component.el.setAttribute("tabindex", hostIsTabbable.call(component) ? "0" : "-1");
|
|
7142
7163
|
}
|
|
@@ -7149,6 +7170,63 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
7149
7170
|
else ;
|
|
7150
7171
|
component.el.removeAttribute("aria-disabled");
|
|
7151
7172
|
}
|
|
7173
|
+
function blockInteraction(component) {
|
|
7174
|
+
component.el.click = interceptedClick;
|
|
7175
|
+
addInteractionListeners(isFirefox ? getParentElement(component) : component.el);
|
|
7176
|
+
}
|
|
7177
|
+
function addInteractionListeners(element) {
|
|
7178
|
+
if (!element) {
|
|
7179
|
+
// this path is only applicable to Firefox
|
|
7180
|
+
return;
|
|
7181
|
+
}
|
|
7182
|
+
element.addEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7183
|
+
nonBubblingWhenDisabledMouseEvents.forEach((event) => element.addEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7184
|
+
}
|
|
7185
|
+
function getParentElement(component) {
|
|
7186
|
+
return interactiveElementToParent.get(component.el);
|
|
7187
|
+
}
|
|
7188
|
+
function restoreInteraction(component) {
|
|
7189
|
+
delete component.el.click; // fallback on HTMLElement.prototype.click
|
|
7190
|
+
removeInteractionListeners(isFirefox ? getParentElement(component) : component.el);
|
|
7191
|
+
}
|
|
7192
|
+
function removeInteractionListeners(element) {
|
|
7193
|
+
if (!element) {
|
|
7194
|
+
// this path is only applicable to Firefox
|
|
7195
|
+
return;
|
|
7196
|
+
}
|
|
7197
|
+
element.removeEventListener("pointerdown", onPointerDown, captureOnlyOptions);
|
|
7198
|
+
nonBubblingWhenDisabledMouseEvents.forEach((event) => element.removeEventListener(event, onNonBubblingWhenDisabledMouseEvent, captureOnlyOptions));
|
|
7199
|
+
}
|
|
7200
|
+
/**
|
|
7201
|
+
* This utility helps disable components consistently in Firefox.
|
|
7202
|
+
*
|
|
7203
|
+
* It needs to be called in `connectedCallback` and is only needed for Firefox as it does not call capture event listeners before non-capture ones (see https://bugzilla.mozilla.org/show_bug.cgi?id=1731504).
|
|
7204
|
+
*
|
|
7205
|
+
* @param component
|
|
7206
|
+
*/
|
|
7207
|
+
function connectInteractive(component) {
|
|
7208
|
+
if (!component.disabled || !isFirefox) {
|
|
7209
|
+
return;
|
|
7210
|
+
}
|
|
7211
|
+
const parent = component.el.parentElement || component.el; /* assume element is host if it has no parent when connected */
|
|
7212
|
+
interactiveElementToParent.set(component.el, parent);
|
|
7213
|
+
blockInteraction(component);
|
|
7214
|
+
}
|
|
7215
|
+
/**
|
|
7216
|
+
* This utility restores interactivity to disabled components consistently in Firefox.
|
|
7217
|
+
*
|
|
7218
|
+
* It needs to be called in `disconnectedCallback` and is only needed for Firefox as it does not call capture event listeners before non-capture ones (see https://bugzilla.mozilla.org/show_bug.cgi?id=1731504).
|
|
7219
|
+
*
|
|
7220
|
+
* @param component
|
|
7221
|
+
*/
|
|
7222
|
+
function disconnectInteractive(component) {
|
|
7223
|
+
if (!isFirefox) {
|
|
7224
|
+
return;
|
|
7225
|
+
}
|
|
7226
|
+
// always remove on disconnect as render or connect will restore it
|
|
7227
|
+
interactiveElementToParent.delete(component.el);
|
|
7228
|
+
restoreInteraction(component);
|
|
7229
|
+
}
|
|
7152
7230
|
|
|
7153
7231
|
const resolveMap = new WeakMap();
|
|
7154
7232
|
const promiseMap = new WeakMap();
|
|
@@ -7800,7 +7878,7 @@ const CSS$15 = {
|
|
|
7800
7878
|
textContainer: "text-container",
|
|
7801
7879
|
textContainerVisible: "text-container--visible"
|
|
7802
7880
|
};
|
|
7803
|
-
const SLOTS$
|
|
7881
|
+
const SLOTS$w = {
|
|
7804
7882
|
tooltip: "tooltip"
|
|
7805
7883
|
};
|
|
7806
7884
|
|
|
@@ -7862,6 +7940,7 @@ class Action {
|
|
|
7862
7940
|
//
|
|
7863
7941
|
// --------------------------------------------------------------------------
|
|
7864
7942
|
connectedCallback() {
|
|
7943
|
+
connectInteractive(this);
|
|
7865
7944
|
connectLocalized(this);
|
|
7866
7945
|
connectMessages(this);
|
|
7867
7946
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -7873,6 +7952,7 @@ class Action {
|
|
|
7873
7952
|
setComponentLoaded(this);
|
|
7874
7953
|
}
|
|
7875
7954
|
disconnectedCallback() {
|
|
7955
|
+
disconnectInteractive(this);
|
|
7876
7956
|
disconnectLocalized(this);
|
|
7877
7957
|
disconnectMessages(this);
|
|
7878
7958
|
this.mutationObserver?.disconnect();
|
|
@@ -7931,7 +8011,7 @@ class Action {
|
|
|
7931
8011
|
};
|
|
7932
8012
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7933
8013
|
// eslint-disable-next-line react/jsx-sort-props
|
|
7934
|
-
ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$
|
|
8014
|
+
ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$w.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
|
|
7935
8015
|
}
|
|
7936
8016
|
static get assetsDirs() { return ["assets"]; }
|
|
7937
8017
|
get el() { return getElement(this); }
|
|
@@ -9232,7 +9312,7 @@ function throttle$1(func, wait, options) {
|
|
|
9232
9312
|
});
|
|
9233
9313
|
}
|
|
9234
9314
|
|
|
9235
|
-
const SLOTS$
|
|
9315
|
+
const SLOTS$v = {
|
|
9236
9316
|
menuActions: "menu-actions",
|
|
9237
9317
|
menuTooltip: "menu-tooltip"
|
|
9238
9318
|
};
|
|
@@ -9244,7 +9324,7 @@ const CSS$14 = {
|
|
|
9244
9324
|
menu: "menu",
|
|
9245
9325
|
defaultTrigger: "default-trigger"
|
|
9246
9326
|
};
|
|
9247
|
-
const SLOTS$
|
|
9327
|
+
const SLOTS$u = {
|
|
9248
9328
|
tooltip: "tooltip",
|
|
9249
9329
|
trigger: "trigger"
|
|
9250
9330
|
};
|
|
@@ -9271,7 +9351,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
|
|
|
9271
9351
|
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
9272
9352
|
};
|
|
9273
9353
|
const queryActions = (el) => {
|
|
9274
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$
|
|
9354
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$u.trigger : true);
|
|
9275
9355
|
};
|
|
9276
9356
|
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
9277
9357
|
let needToSlotCount = overflowCount;
|
|
@@ -9279,7 +9359,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
9279
9359
|
let slottedWithinGroupCount = 0;
|
|
9280
9360
|
const groupActions = queryActions(group).reverse();
|
|
9281
9361
|
groupActions.forEach((groupAction) => {
|
|
9282
|
-
if (groupAction.slot === SLOTS$
|
|
9362
|
+
if (groupAction.slot === SLOTS$v.menuActions) {
|
|
9283
9363
|
groupAction.removeAttribute("slot");
|
|
9284
9364
|
groupAction.textEnabled = expanded;
|
|
9285
9365
|
}
|
|
@@ -9289,7 +9369,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
9289
9369
|
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
9290
9370
|
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
9291
9371
|
groupAction.textEnabled = true;
|
|
9292
|
-
groupAction.setAttribute("slot", SLOTS$
|
|
9372
|
+
groupAction.setAttribute("slot", SLOTS$v.menuActions);
|
|
9293
9373
|
slottedWithinGroupCount++;
|
|
9294
9374
|
if (slottedWithinGroupCount > 1) {
|
|
9295
9375
|
needToSlotCount--;
|
|
@@ -9311,7 +9391,7 @@ function getCalcitePosition(position, el) {
|
|
|
9311
9391
|
}
|
|
9312
9392
|
function toggleChildActionText({ el, expanded }) {
|
|
9313
9393
|
queryActions(el)
|
|
9314
|
-
.filter((el) => el.slot !== SLOTS$
|
|
9394
|
+
.filter((el) => el.slot !== SLOTS$v.menuActions)
|
|
9315
9395
|
.forEach((action) => (action.textEnabled = expanded));
|
|
9316
9396
|
el.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((el) => (el.expanded = expanded));
|
|
9317
9397
|
}
|
|
@@ -9343,7 +9423,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9343
9423
|
const CSS$13 = {
|
|
9344
9424
|
actionGroupBottom: "action-group--bottom"
|
|
9345
9425
|
};
|
|
9346
|
-
const SLOTS$
|
|
9426
|
+
const SLOTS$t = {
|
|
9347
9427
|
bottomActions: "bottom-actions",
|
|
9348
9428
|
expandTooltip: "expand-tooltip"
|
|
9349
9429
|
};
|
|
@@ -9394,7 +9474,7 @@ class ActionBar {
|
|
|
9394
9474
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
9395
9475
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
9396
9476
|
this.setGroupLayout(actionGroups);
|
|
9397
|
-
const groupCount = getSlotted(el, SLOTS$
|
|
9477
|
+
const groupCount = getSlotted(el, SLOTS$t.bottomActions) || !expandDisabled
|
|
9398
9478
|
? actionGroups.length + 1
|
|
9399
9479
|
: actionGroups.length;
|
|
9400
9480
|
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
@@ -9524,11 +9604,11 @@ class ActionBar {
|
|
|
9524
9604
|
// --------------------------------------------------------------------------
|
|
9525
9605
|
renderBottomActionGroup() {
|
|
9526
9606
|
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
|
9527
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
9607
|
+
const tooltip = getSlotted(el, SLOTS$t.expandTooltip);
|
|
9528
9608
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9529
9609
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9530
9610
|
ref: this.setExpandToggleRef })) : null;
|
|
9531
|
-
return getSlotted(el, SLOTS$
|
|
9611
|
+
return getSlotted(el, SLOTS$t.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.bottomActions }), hAsync("slot", { name: SLOTS$t.expandTooltip }), expandToggleNode)) : null;
|
|
9532
9612
|
}
|
|
9533
9613
|
render() {
|
|
9534
9614
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9644,13 +9724,13 @@ class ActionGroup {
|
|
|
9644
9724
|
// --------------------------------------------------------------------------
|
|
9645
9725
|
renderTooltip() {
|
|
9646
9726
|
const { el } = this;
|
|
9647
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
9648
|
-
return hasTooltip ? hAsync("slot", { name: SLOTS$
|
|
9727
|
+
const hasTooltip = getSlotted(el, SLOTS$v.menuTooltip);
|
|
9728
|
+
return hasTooltip ? hAsync("slot", { name: SLOTS$v.menuTooltip, slot: SLOTS$u.tooltip }) : null;
|
|
9649
9729
|
}
|
|
9650
9730
|
renderMenu() {
|
|
9651
9731
|
const { el, expanded, menuOpen, scale, layout, messages } = this;
|
|
9652
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
9653
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$j.menu, scale: scale, slot: SLOTS$
|
|
9732
|
+
const hasMenuItems = getSlotted(el, SLOTS$v.menuActions);
|
|
9733
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$j.menu, scale: scale, slot: SLOTS$u.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$v.menuActions }), this.renderTooltip())) : null;
|
|
9654
9734
|
}
|
|
9655
9735
|
render() {
|
|
9656
9736
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -9934,7 +10014,7 @@ class ActionMenu {
|
|
|
9934
10014
|
}
|
|
9935
10015
|
renderMenuButton() {
|
|
9936
10016
|
const { label, scale, expanded } = this;
|
|
9937
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$
|
|
10017
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$u.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$14.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9938
10018
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9939
10019
|
ref: this.setDefaultMenuButtonEl })));
|
|
9940
10020
|
return menuButtonSlot;
|
|
@@ -9946,7 +10026,7 @@ class ActionMenu {
|
|
|
9946
10026
|
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$14.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9947
10027
|
}
|
|
9948
10028
|
render() {
|
|
9949
|
-
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$
|
|
10029
|
+
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$u.tooltip, onSlotchange: this.updateTooltip })));
|
|
9950
10030
|
}
|
|
9951
10031
|
isValidKey(key, supportedKeys) {
|
|
9952
10032
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -9983,7 +10063,7 @@ const CSS$12 = {
|
|
|
9983
10063
|
actionGroupBottom: "action-group--bottom",
|
|
9984
10064
|
container: "container"
|
|
9985
10065
|
};
|
|
9986
|
-
const SLOTS$
|
|
10066
|
+
const SLOTS$s = {
|
|
9987
10067
|
expandTooltip: "expand-tooltip"
|
|
9988
10068
|
};
|
|
9989
10069
|
|
|
@@ -10095,11 +10175,11 @@ class ActionPad {
|
|
|
10095
10175
|
// --------------------------------------------------------------------------
|
|
10096
10176
|
renderBottomActionGroup() {
|
|
10097
10177
|
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout } = this;
|
|
10098
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
10178
|
+
const tooltip = getSlotted(el, SLOTS$s.expandTooltip);
|
|
10099
10179
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
10100
10180
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10101
10181
|
ref: this.setExpandToggleRef })) : null;
|
|
10102
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$
|
|
10182
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$s.expandTooltip }), expandToggleNode)) : null;
|
|
10103
10183
|
}
|
|
10104
10184
|
render() {
|
|
10105
10185
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$12.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
@@ -10232,7 +10312,7 @@ const DURATIONS = {
|
|
|
10232
10312
|
medium: 10000,
|
|
10233
10313
|
fast: 6000
|
|
10234
10314
|
};
|
|
10235
|
-
const SLOTS$
|
|
10315
|
+
const SLOTS$r = {
|
|
10236
10316
|
actionsEnd: "actions-end",
|
|
10237
10317
|
title: "title",
|
|
10238
10318
|
message: "message",
|
|
@@ -10304,7 +10384,7 @@ class Alert {
|
|
|
10304
10384
|
};
|
|
10305
10385
|
this.open = false;
|
|
10306
10386
|
this.autoClose = false;
|
|
10307
|
-
this.autoCloseDuration =
|
|
10387
|
+
this.autoCloseDuration = "medium";
|
|
10308
10388
|
this.kind = "brand";
|
|
10309
10389
|
this.icon = undefined;
|
|
10310
10390
|
this.iconFlipRtl = false;
|
|
@@ -10391,7 +10471,7 @@ class Alert {
|
|
|
10391
10471
|
const { open, autoClose, label, placement, queued, requestedIcon, iconFlipRtl } = this;
|
|
10392
10472
|
const role = autoClose ? "alert" : "alertdialog";
|
|
10393
10473
|
const hidden = !open;
|
|
10394
|
-
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$
|
|
10474
|
+
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$r.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
|
|
10395
10475
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
10396
10476
|
container: true,
|
|
10397
10477
|
queued,
|
|
@@ -10399,7 +10479,7 @@ class Alert {
|
|
|
10399
10479
|
[CSS$11.slottedInShell]: this.slottedInShell
|
|
10400
10480
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10401
10481
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10402
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$
|
|
10482
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$r.title }), hAsync("slot", { name: SLOTS$r.message }), hAsync("slot", { name: SLOTS$r.link })), hAsync("div", { class: CSS$11.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10403
10483
|
}
|
|
10404
10484
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10405
10485
|
alertSync(event) {
|
|
@@ -10876,7 +10956,7 @@ const CSS$10 = {
|
|
|
10876
10956
|
invalid: "invalid",
|
|
10877
10957
|
loading: "loading"
|
|
10878
10958
|
};
|
|
10879
|
-
const SLOTS$
|
|
10959
|
+
const SLOTS$q = {
|
|
10880
10960
|
icon: "icon",
|
|
10881
10961
|
control: "control",
|
|
10882
10962
|
headerMenuActions: "header-menu-actions"
|
|
@@ -10938,10 +11018,12 @@ class Block {
|
|
|
10938
11018
|
// --------------------------------------------------------------------------
|
|
10939
11019
|
connectedCallback() {
|
|
10940
11020
|
connectConditionalSlotComponent(this);
|
|
11021
|
+
connectInteractive(this);
|
|
10941
11022
|
connectLocalized(this);
|
|
10942
11023
|
connectMessages(this);
|
|
10943
11024
|
}
|
|
10944
11025
|
disconnectedCallback() {
|
|
11026
|
+
disconnectInteractive(this);
|
|
10945
11027
|
disconnectLocalized(this);
|
|
10946
11028
|
disconnectMessages(this);
|
|
10947
11029
|
disconnectConditionalSlotComponent(this);
|
|
@@ -10966,8 +11048,8 @@ class Block {
|
|
|
10966
11048
|
const { el, status } = this;
|
|
10967
11049
|
const showingLoadingStatus = this.loading && !this.open;
|
|
10968
11050
|
const statusIcon = showingLoadingStatus ? ICONS$g.refresh : ICONS$g[status];
|
|
10969
|
-
const hasIcon = getSlotted(el, SLOTS$
|
|
10970
|
-
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$
|
|
11051
|
+
const hasIcon = getSlotted(el, SLOTS$q.icon) || statusIcon;
|
|
11052
|
+
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$q.icon })) : (hAsync("calcite-icon", { class: {
|
|
10971
11053
|
[CSS$10.statusIcon]: true,
|
|
10972
11054
|
[CSS$10.valid]: status == "valid",
|
|
10973
11055
|
[CSS$10.invalid]: status == "invalid",
|
|
@@ -10983,13 +11065,13 @@ class Block {
|
|
|
10983
11065
|
const { collapsible, el, loading, open, messages } = this;
|
|
10984
11066
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10985
11067
|
const headerContent = (hAsync("header", { class: CSS$10.header }, this.renderIcon(), this.renderTitle()));
|
|
10986
|
-
const hasControl = !!getSlotted(el, SLOTS$
|
|
10987
|
-
const hasMenuActions = !!getSlotted(el, SLOTS$
|
|
11068
|
+
const hasControl = !!getSlotted(el, SLOTS$q.control);
|
|
11069
|
+
const hasMenuActions = !!getSlotted(el, SLOTS$q.headerMenuActions);
|
|
10988
11070
|
const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
|
|
10989
11071
|
const { guid } = this;
|
|
10990
11072
|
const regionId = `${guid}-region`;
|
|
10991
11073
|
const buttonId = `${guid}-button`;
|
|
10992
|
-
const headerNode = (hAsync("div", { class: CSS$10.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$
|
|
11074
|
+
const headerNode = (hAsync("div", { class: CSS$10.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$q.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$q.headerMenuActions }))) : null));
|
|
10993
11075
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10994
11076
|
[CSS$10.container]: true
|
|
10995
11077
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
@@ -11645,6 +11727,7 @@ class Button {
|
|
|
11645
11727
|
//
|
|
11646
11728
|
//--------------------------------------------------------------------------
|
|
11647
11729
|
async connectedCallback() {
|
|
11730
|
+
connectInteractive(this);
|
|
11648
11731
|
connectLocalized(this);
|
|
11649
11732
|
connectMessages(this);
|
|
11650
11733
|
this.hasLoader = this.loading;
|
|
@@ -11654,6 +11737,7 @@ class Button {
|
|
|
11654
11737
|
}
|
|
11655
11738
|
disconnectedCallback() {
|
|
11656
11739
|
this.mutationObserver?.disconnect();
|
|
11740
|
+
disconnectInteractive(this);
|
|
11657
11741
|
disconnectLabel(this);
|
|
11658
11742
|
disconnectLocalized(this);
|
|
11659
11743
|
disconnectMessages(this);
|
|
@@ -12297,7 +12381,7 @@ const CSS$Y = {
|
|
|
12297
12381
|
secondary: "secondary",
|
|
12298
12382
|
tertiary: "tertiary"
|
|
12299
12383
|
};
|
|
12300
|
-
const SLOTS$
|
|
12384
|
+
const SLOTS$p = {
|
|
12301
12385
|
logo: "logo",
|
|
12302
12386
|
user: "user",
|
|
12303
12387
|
progress: "progress",
|
|
@@ -12415,7 +12499,7 @@ class CalciteNavigation {
|
|
|
12415
12499
|
setComponentLoaded(this);
|
|
12416
12500
|
}
|
|
12417
12501
|
isPrimaryLevel() {
|
|
12418
|
-
return this.el.slot !== SLOTS$
|
|
12502
|
+
return this.el.slot !== SLOTS$p.navSecondary && this.el.slot !== SLOTS$p.navTertiary;
|
|
12419
12503
|
}
|
|
12420
12504
|
//--------------------------------------------------------------------------
|
|
12421
12505
|
//
|
|
@@ -12423,7 +12507,7 @@ class CalciteNavigation {
|
|
|
12423
12507
|
//
|
|
12424
12508
|
//--------------------------------------------------------------------------
|
|
12425
12509
|
renderMenuAction() {
|
|
12426
|
-
return (hAsync("slot", { name: SLOTS$
|
|
12510
|
+
return (hAsync("slot", { name: SLOTS$p.navigationAction, onSlotchange: this.handleMenuActionSlotChange }, this.navigationAction && (hAsync("calcite-action", { icon: ICONS$e.hamburger, onClick: this.actionClickHandler, text: this.label,
|
|
12427
12511
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12428
12512
|
ref: (el) => (this.navigationActionEl = el) }))));
|
|
12429
12513
|
}
|
|
@@ -12438,10 +12522,10 @@ class CalciteNavigation {
|
|
|
12438
12522
|
const slotName = this.el.slot;
|
|
12439
12523
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
12440
12524
|
[CSS$Y.container]: true,
|
|
12441
|
-
[CSS$Y.secondary]: slotName === SLOTS$
|
|
12442
|
-
[CSS$Y.tertiary]: slotName === SLOTS$
|
|
12525
|
+
[CSS$Y.secondary]: slotName === SLOTS$p.navSecondary,
|
|
12526
|
+
[CSS$Y.tertiary]: slotName === SLOTS$p.navTertiary,
|
|
12443
12527
|
[CSS$Y.primary]: primaryLevelHasElements
|
|
12444
|
-
} }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$
|
|
12528
|
+
} }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$p.progress]: true } }, hAsync("slot", { name: SLOTS$p.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Y.containerContent]: true, [CSS$Y.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Y.hide]: !this.logoSlotHasElements, [SLOTS$p.logo]: true } }, hAsync("slot", { name: SLOTS$p.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$p.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$p.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$p.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Y.hide]: !this.userSlotHasElements, [SLOTS$p.user]: true } }, hAsync("slot", { name: SLOTS$p.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$p.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$p.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
|
|
12445
12529
|
}
|
|
12446
12530
|
get el() { return getElement(this); }
|
|
12447
12531
|
static get style() { return navigationCss; }
|
|
@@ -12625,7 +12709,7 @@ const CSS$V = {
|
|
|
12625
12709
|
checkboxWrapper: "checkbox-wrapper",
|
|
12626
12710
|
thumbnailWrapper: "thumbnail-wrapper"
|
|
12627
12711
|
};
|
|
12628
|
-
const SLOTS$
|
|
12712
|
+
const SLOTS$o = {
|
|
12629
12713
|
thumbnail: "thumbnail",
|
|
12630
12714
|
title: "title",
|
|
12631
12715
|
subtitle: "subtitle",
|
|
@@ -12711,24 +12795,24 @@ class Card {
|
|
|
12711
12795
|
this.calciteCardSelect.emit();
|
|
12712
12796
|
}
|
|
12713
12797
|
renderThumbnail() {
|
|
12714
|
-
return getSlotted(this.el, SLOTS$
|
|
12798
|
+
return getSlotted(this.el, SLOTS$o.thumbnail) ? (hAsync("section", { class: CSS$V.thumbnailWrapper }, hAsync("slot", { name: SLOTS$o.thumbnail }))) : null;
|
|
12715
12799
|
}
|
|
12716
12800
|
renderCheckbox() {
|
|
12717
12801
|
return (hAsync("calcite-label", { class: CSS$V.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
12718
12802
|
}
|
|
12719
12803
|
renderHeader() {
|
|
12720
12804
|
const { el } = this;
|
|
12721
|
-
const title = getSlotted(el, SLOTS$
|
|
12722
|
-
const subtitle = getSlotted(el, SLOTS$
|
|
12805
|
+
const title = getSlotted(el, SLOTS$o.title);
|
|
12806
|
+
const subtitle = getSlotted(el, SLOTS$o.subtitle);
|
|
12723
12807
|
const hasHeader = title || subtitle;
|
|
12724
|
-
return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$
|
|
12808
|
+
return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.subtitle }))) : null;
|
|
12725
12809
|
}
|
|
12726
12810
|
renderFooter() {
|
|
12727
12811
|
const { el } = this;
|
|
12728
|
-
const startFooter = getSlotted(el, SLOTS$
|
|
12729
|
-
const endFooter = getSlotted(el, SLOTS$
|
|
12812
|
+
const startFooter = getSlotted(el, SLOTS$o.footerStart);
|
|
12813
|
+
const endFooter = getSlotted(el, SLOTS$o.footerEnd);
|
|
12730
12814
|
const hasFooter = startFooter || endFooter;
|
|
12731
|
-
return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$
|
|
12815
|
+
return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$o.footerStart }), hAsync("slot", { name: SLOTS$o.footerEnd }))) : null;
|
|
12732
12816
|
}
|
|
12733
12817
|
static get assetsDirs() { return ["assets"]; }
|
|
12734
12818
|
get el() { return getElement(this); }
|
|
@@ -12843,10 +12927,12 @@ class Checkbox {
|
|
|
12843
12927
|
//--------------------------------------------------------------------------
|
|
12844
12928
|
connectedCallback() {
|
|
12845
12929
|
this.guid = this.el.id || `calcite-checkbox-${guid()}`;
|
|
12930
|
+
connectInteractive(this);
|
|
12846
12931
|
connectLabel(this);
|
|
12847
12932
|
connectForm(this);
|
|
12848
12933
|
}
|
|
12849
12934
|
disconnectedCallback() {
|
|
12935
|
+
disconnectInteractive(this);
|
|
12850
12936
|
disconnectLabel(this);
|
|
12851
12937
|
disconnectForm(this);
|
|
12852
12938
|
}
|
|
@@ -12910,7 +12996,7 @@ const CSS$U = {
|
|
|
12910
12996
|
nonInteractive: "non-interactive",
|
|
12911
12997
|
isCircle: "is-circle"
|
|
12912
12998
|
};
|
|
12913
|
-
const SLOTS$
|
|
12999
|
+
const SLOTS$n = {
|
|
12914
13000
|
image: "image"
|
|
12915
13001
|
};
|
|
12916
13002
|
const ICONS$d = {
|
|
@@ -12990,6 +13076,7 @@ class Chip {
|
|
|
12990
13076
|
// --------------------------------------------------------------------------
|
|
12991
13077
|
connectedCallback() {
|
|
12992
13078
|
connectConditionalSlotComponent(this);
|
|
13079
|
+
connectInteractive(this);
|
|
12993
13080
|
connectLocalized(this);
|
|
12994
13081
|
connectMessages(this);
|
|
12995
13082
|
this.setupTextContentObserver();
|
|
@@ -13002,6 +13089,7 @@ class Chip {
|
|
|
13002
13089
|
}
|
|
13003
13090
|
disconnectedCallback() {
|
|
13004
13091
|
disconnectConditionalSlotComponent(this);
|
|
13092
|
+
disconnectInteractive(this);
|
|
13005
13093
|
disconnectLocalized(this);
|
|
13006
13094
|
disconnectMessages(this);
|
|
13007
13095
|
}
|
|
@@ -13063,7 +13151,7 @@ class Chip {
|
|
|
13063
13151
|
//
|
|
13064
13152
|
//--------------------------------------------------------------------------
|
|
13065
13153
|
renderChipImage() {
|
|
13066
|
-
return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$
|
|
13154
|
+
return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$n.image, onSlotchange: this.handleSlotImageChange })));
|
|
13067
13155
|
}
|
|
13068
13156
|
renderSelectionIcon() {
|
|
13069
13157
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -13224,9 +13312,11 @@ class ChipGroup {
|
|
|
13224
13312
|
//
|
|
13225
13313
|
//--------------------------------------------------------------------------
|
|
13226
13314
|
connectedCallback() {
|
|
13315
|
+
connectInteractive(this);
|
|
13227
13316
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
13228
13317
|
}
|
|
13229
13318
|
componentDidRender() {
|
|
13319
|
+
disconnectInteractive(this);
|
|
13230
13320
|
updateHostInteraction(this);
|
|
13231
13321
|
}
|
|
13232
13322
|
componentDidLoad() {
|
|
@@ -16018,6 +16108,7 @@ class ColorPicker {
|
|
|
16018
16108
|
await setUpMessages(this);
|
|
16019
16109
|
}
|
|
16020
16110
|
connectedCallback() {
|
|
16111
|
+
connectInteractive(this);
|
|
16021
16112
|
connectLocalized(this);
|
|
16022
16113
|
connectMessages(this);
|
|
16023
16114
|
}
|
|
@@ -16027,6 +16118,7 @@ class ColorPicker {
|
|
|
16027
16118
|
disconnectedCallback() {
|
|
16028
16119
|
document.removeEventListener("pointermove", this.globalPointerMoveHandler);
|
|
16029
16120
|
document.removeEventListener("pointerup", this.globalPointerUpHandler);
|
|
16121
|
+
disconnectInteractive(this);
|
|
16030
16122
|
disconnectLocalized(this);
|
|
16031
16123
|
disconnectMessages(this);
|
|
16032
16124
|
}
|
|
@@ -18978,6 +19070,7 @@ class Combobox {
|
|
|
18978
19070
|
//
|
|
18979
19071
|
// --------------------------------------------------------------------------
|
|
18980
19072
|
connectedCallback() {
|
|
19073
|
+
connectInteractive(this);
|
|
18981
19074
|
connectLocalized(this);
|
|
18982
19075
|
connectMessages(this);
|
|
18983
19076
|
this.internalValueChangeFlag = true;
|
|
@@ -19013,6 +19106,7 @@ class Combobox {
|
|
|
19013
19106
|
disconnectedCallback() {
|
|
19014
19107
|
this.mutationObserver?.disconnect();
|
|
19015
19108
|
this.resizeObserver?.disconnect();
|
|
19109
|
+
disconnectInteractive(this);
|
|
19016
19110
|
disconnectLabel(this);
|
|
19017
19111
|
disconnectForm(this);
|
|
19018
19112
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -19478,9 +19572,11 @@ class ComboboxItem {
|
|
|
19478
19572
|
this.ancestors = getAncestors(this.el);
|
|
19479
19573
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
19480
19574
|
connectConditionalSlotComponent(this);
|
|
19575
|
+
connectInteractive(this);
|
|
19481
19576
|
}
|
|
19482
19577
|
disconnectedCallback() {
|
|
19483
19578
|
disconnectConditionalSlotComponent(this);
|
|
19579
|
+
disconnectInteractive(this);
|
|
19484
19580
|
}
|
|
19485
19581
|
componentDidRender() {
|
|
19486
19582
|
updateHostInteraction(this);
|
|
@@ -20375,9 +20471,15 @@ class DatePickerDay {
|
|
|
20375
20471
|
const dayLabel = this.dateTimeFormat.format(this.value);
|
|
20376
20472
|
return (hAsync(Host, { "aria-disabled": toAriaBoolean(this.disabled), "aria-label": dayLabel, "aria-selected": toAriaBoolean(this.active), id: dayId, onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "button" }, hAsync("div", { "aria-hidden": "true", class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, hAsync("div", { class: "day-wrapper" }, hAsync("span", { class: "day" }, hAsync("span", { class: "text" }, formattedDay))))));
|
|
20377
20473
|
}
|
|
20474
|
+
connectedCallback() {
|
|
20475
|
+
connectInteractive(this);
|
|
20476
|
+
}
|
|
20378
20477
|
componentDidRender() {
|
|
20379
20478
|
updateHostInteraction(this, this.isTabbable);
|
|
20380
20479
|
}
|
|
20480
|
+
disconnectedCallback() {
|
|
20481
|
+
disconnectInteractive(this);
|
|
20482
|
+
}
|
|
20381
20483
|
isTabbable() {
|
|
20382
20484
|
return this.active;
|
|
20383
20485
|
}
|
|
@@ -20972,7 +21074,7 @@ class DatePickerMonthHeader {
|
|
|
20972
21074
|
}; }
|
|
20973
21075
|
}
|
|
20974
21076
|
|
|
20975
|
-
const SLOTS$
|
|
21077
|
+
const SLOTS$m = {
|
|
20976
21078
|
dropdownTrigger: "trigger"
|
|
20977
21079
|
};
|
|
20978
21080
|
|
|
@@ -21182,6 +21284,7 @@ class Dropdown {
|
|
|
21182
21284
|
if (this.open) {
|
|
21183
21285
|
this.openHandler(this.open);
|
|
21184
21286
|
}
|
|
21287
|
+
connectInteractive(this);
|
|
21185
21288
|
connectOpenCloseComponent(this);
|
|
21186
21289
|
}
|
|
21187
21290
|
componentWillLoad() {
|
|
@@ -21196,15 +21299,16 @@ class Dropdown {
|
|
|
21196
21299
|
}
|
|
21197
21300
|
disconnectedCallback() {
|
|
21198
21301
|
this.mutationObserver?.disconnect();
|
|
21199
|
-
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
21200
21302
|
this.resizeObserver?.disconnect();
|
|
21303
|
+
disconnectInteractive(this);
|
|
21304
|
+
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
21201
21305
|
disconnectOpenCloseComponent(this);
|
|
21202
21306
|
}
|
|
21203
21307
|
render() {
|
|
21204
21308
|
const { open, guid } = this;
|
|
21205
21309
|
return (hAsync(Host, null, hAsync("div", { class: "calcite-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler,
|
|
21206
21310
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21207
|
-
ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$
|
|
21311
|
+
ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$m.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper",
|
|
21208
21312
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21209
21313
|
ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
21210
21314
|
["calcite-dropdown-content"]: true,
|
|
@@ -21696,6 +21800,9 @@ class Fab {
|
|
|
21696
21800
|
// Lifecycle
|
|
21697
21801
|
//
|
|
21698
21802
|
//--------------------------------------------------------------------------
|
|
21803
|
+
connectedCallback() {
|
|
21804
|
+
connectInteractive(this);
|
|
21805
|
+
}
|
|
21699
21806
|
componentWillLoad() {
|
|
21700
21807
|
setUpLoadableComponent(this);
|
|
21701
21808
|
}
|
|
@@ -21705,6 +21812,9 @@ class Fab {
|
|
|
21705
21812
|
componentDidRender() {
|
|
21706
21813
|
updateHostInteraction(this);
|
|
21707
21814
|
}
|
|
21815
|
+
disconnectedCallback() {
|
|
21816
|
+
disconnectInteractive(this);
|
|
21817
|
+
}
|
|
21708
21818
|
// --------------------------------------------------------------------------
|
|
21709
21819
|
//
|
|
21710
21820
|
// Methods
|
|
@@ -21828,6 +21938,7 @@ class Filter {
|
|
|
21828
21938
|
await setUpMessages(this);
|
|
21829
21939
|
}
|
|
21830
21940
|
connectedCallback() {
|
|
21941
|
+
connectInteractive(this);
|
|
21831
21942
|
connectLocalized(this);
|
|
21832
21943
|
connectMessages(this);
|
|
21833
21944
|
}
|
|
@@ -21835,6 +21946,7 @@ class Filter {
|
|
|
21835
21946
|
updateHostInteraction(this);
|
|
21836
21947
|
}
|
|
21837
21948
|
disconnectedCallback() {
|
|
21949
|
+
disconnectInteractive(this);
|
|
21838
21950
|
disconnectLocalized(this);
|
|
21839
21951
|
disconnectMessages(this);
|
|
21840
21952
|
}
|
|
@@ -22050,7 +22162,7 @@ const ICONS$a = {
|
|
|
22050
22162
|
backLeft: "chevron-left",
|
|
22051
22163
|
backRight: "chevron-right"
|
|
22052
22164
|
};
|
|
22053
|
-
const SLOTS$
|
|
22165
|
+
const SLOTS$l = {
|
|
22054
22166
|
actionBar: "action-bar",
|
|
22055
22167
|
headerActionsStart: "header-actions-start",
|
|
22056
22168
|
headerActionsEnd: "header-actions-end",
|
|
@@ -22068,7 +22180,7 @@ const ICONS$9 = {
|
|
|
22068
22180
|
backLeft: "chevron-left",
|
|
22069
22181
|
backRight: "chevron-right"
|
|
22070
22182
|
};
|
|
22071
|
-
const SLOTS$
|
|
22183
|
+
const SLOTS$k = {
|
|
22072
22184
|
actionBar: "action-bar",
|
|
22073
22185
|
headerActionsStart: "header-actions-start",
|
|
22074
22186
|
headerActionsEnd: "header-actions-end",
|
|
@@ -22145,6 +22257,7 @@ class FlowItem {
|
|
|
22145
22257
|
//
|
|
22146
22258
|
//--------------------------------------------------------------------------
|
|
22147
22259
|
connectedCallback() {
|
|
22260
|
+
connectInteractive(this);
|
|
22148
22261
|
connectLocalized(this);
|
|
22149
22262
|
connectMessages(this);
|
|
22150
22263
|
}
|
|
@@ -22156,6 +22269,7 @@ class FlowItem {
|
|
|
22156
22269
|
updateHostInteraction(this);
|
|
22157
22270
|
}
|
|
22158
22271
|
disconnectedCallback() {
|
|
22272
|
+
disconnectInteractive(this);
|
|
22159
22273
|
disconnectLocalized(this);
|
|
22160
22274
|
disconnectMessages(this);
|
|
22161
22275
|
}
|
|
@@ -22216,7 +22330,7 @@ class FlowItem {
|
|
|
22216
22330
|
const label = messages.back;
|
|
22217
22331
|
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll,
|
|
22218
22332
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22219
|
-
ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$
|
|
22333
|
+
ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$k.actionBar, slot: SLOTS$l.actionBar }), hAsync("slot", { name: SLOTS$k.headerActionsStart, slot: SLOTS$l.headerActionsStart }), hAsync("slot", { name: SLOTS$k.headerActionsEnd, slot: SLOTS$l.headerActionsEnd }), hAsync("slot", { name: SLOTS$k.headerContent, slot: SLOTS$l.headerContent }), hAsync("slot", { name: SLOTS$k.headerMenuActions, slot: SLOTS$l.headerMenuActions }), hAsync("slot", { name: SLOTS$k.fab, slot: SLOTS$l.fab }), hAsync("slot", { name: SLOTS$k.footerActions, slot: SLOTS$l.footerActions }), hAsync("slot", { name: SLOTS$k.footer, slot: SLOTS$l.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { closeOnClick: true, label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
|
|
22220
22334
|
}
|
|
22221
22335
|
static get assetsDirs() { return ["assets"]; }
|
|
22222
22336
|
get el() { return getElement(this); }
|
|
@@ -22823,6 +22937,7 @@ class InlineEditable {
|
|
|
22823
22937
|
//
|
|
22824
22938
|
//--------------------------------------------------------------------------
|
|
22825
22939
|
connectedCallback() {
|
|
22940
|
+
connectInteractive(this);
|
|
22826
22941
|
connectLabel(this);
|
|
22827
22942
|
connectLocalized(this);
|
|
22828
22943
|
connectMessages(this);
|
|
@@ -22837,6 +22952,7 @@ class InlineEditable {
|
|
|
22837
22952
|
setComponentLoaded(this);
|
|
22838
22953
|
}
|
|
22839
22954
|
disconnectedCallback() {
|
|
22955
|
+
disconnectInteractive(this);
|
|
22840
22956
|
disconnectLabel(this);
|
|
22841
22957
|
disconnectLocalized(this);
|
|
22842
22958
|
disconnectMessages(this);
|
|
@@ -22965,7 +23081,7 @@ const INPUT_TYPE_ICONS = {
|
|
|
22965
23081
|
time: "clock",
|
|
22966
23082
|
search: "search"
|
|
22967
23083
|
};
|
|
22968
|
-
const SLOTS$
|
|
23084
|
+
const SLOTS$j = {
|
|
22969
23085
|
action: "action"
|
|
22970
23086
|
};
|
|
22971
23087
|
|
|
@@ -23362,6 +23478,7 @@ class Input {
|
|
|
23362
23478
|
//
|
|
23363
23479
|
//--------------------------------------------------------------------------
|
|
23364
23480
|
connectedCallback() {
|
|
23481
|
+
connectInteractive(this);
|
|
23365
23482
|
connectLocalized(this);
|
|
23366
23483
|
connectMessages(this);
|
|
23367
23484
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -23384,6 +23501,7 @@ class Input {
|
|
|
23384
23501
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
23385
23502
|
}
|
|
23386
23503
|
disconnectedCallback() {
|
|
23504
|
+
disconnectInteractive(this);
|
|
23387
23505
|
disconnectLabel(this);
|
|
23388
23506
|
disconnectForm(this);
|
|
23389
23507
|
disconnectLocalized(this);
|
|
@@ -23561,7 +23679,7 @@ class Input {
|
|
|
23561
23679
|
: null;
|
|
23562
23680
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$B.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23563
23681
|
? numberButtonsHorizontalDown
|
|
23564
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$B.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$B.actionWrapper }, hAsync("slot", { name: SLOTS$
|
|
23682
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$B.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$B.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
23565
23683
|
? numberButtonsVertical
|
|
23566
23684
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
23567
23685
|
? numberButtonsHorizontalUp
|
|
@@ -24844,6 +24962,7 @@ class InputDatePicker {
|
|
|
24844
24962
|
//
|
|
24845
24963
|
// --------------------------------------------------------------------------
|
|
24846
24964
|
connectedCallback() {
|
|
24965
|
+
connectInteractive(this);
|
|
24847
24966
|
connectLocalized(this);
|
|
24848
24967
|
const { open } = this;
|
|
24849
24968
|
open && this.openHandler(open);
|
|
@@ -24893,6 +25012,7 @@ class InputDatePicker {
|
|
|
24893
25012
|
}
|
|
24894
25013
|
disconnectedCallback() {
|
|
24895
25014
|
deactivateFocusTrap(this);
|
|
25015
|
+
disconnectInteractive(this);
|
|
24896
25016
|
disconnectLabel(this);
|
|
24897
25017
|
disconnectForm(this);
|
|
24898
25018
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -25201,7 +25321,7 @@ const CSS$z = {
|
|
|
25201
25321
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
25202
25322
|
numberButtonItem: "number-button-item"
|
|
25203
25323
|
};
|
|
25204
|
-
const SLOTS$
|
|
25324
|
+
const SLOTS$i = {
|
|
25205
25325
|
action: "action"
|
|
25206
25326
|
};
|
|
25207
25327
|
|
|
@@ -25554,6 +25674,7 @@ class InputNumber {
|
|
|
25554
25674
|
//
|
|
25555
25675
|
//--------------------------------------------------------------------------
|
|
25556
25676
|
connectedCallback() {
|
|
25677
|
+
connectInteractive(this);
|
|
25557
25678
|
connectLocalized(this);
|
|
25558
25679
|
connectMessages(this);
|
|
25559
25680
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -25577,6 +25698,7 @@ class InputNumber {
|
|
|
25577
25698
|
setComponentLoaded(this);
|
|
25578
25699
|
}
|
|
25579
25700
|
disconnectedCallback() {
|
|
25701
|
+
disconnectInteractive(this);
|
|
25580
25702
|
disconnectLabel(this);
|
|
25581
25703
|
disconnectForm(this);
|
|
25582
25704
|
disconnectLocalized(this);
|
|
@@ -25707,7 +25829,7 @@ class InputNumber {
|
|
|
25707
25829
|
ref: this.setChildNumberElRef }));
|
|
25708
25830
|
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25709
25831
|
? numberButtonsHorizontalDown
|
|
25710
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$
|
|
25832
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
25711
25833
|
? numberButtonsHorizontalUp
|
|
25712
25834
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
25713
25835
|
}
|
|
@@ -25787,7 +25909,7 @@ const CSS$y = {
|
|
|
25787
25909
|
actionWrapper: "action-wrapper",
|
|
25788
25910
|
resizeIconWrapper: "resize-icon-wrapper"
|
|
25789
25911
|
};
|
|
25790
|
-
const SLOTS$
|
|
25912
|
+
const SLOTS$h = {
|
|
25791
25913
|
action: "action"
|
|
25792
25914
|
};
|
|
25793
25915
|
|
|
@@ -25985,6 +26107,7 @@ class InputText {
|
|
|
25985
26107
|
//
|
|
25986
26108
|
//--------------------------------------------------------------------------
|
|
25987
26109
|
connectedCallback() {
|
|
26110
|
+
connectInteractive(this);
|
|
25988
26111
|
connectLocalized(this);
|
|
25989
26112
|
connectMessages(this);
|
|
25990
26113
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -26000,6 +26123,7 @@ class InputText {
|
|
|
26000
26123
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
26001
26124
|
}
|
|
26002
26125
|
disconnectedCallback() {
|
|
26126
|
+
disconnectInteractive(this);
|
|
26003
26127
|
disconnectLabel(this);
|
|
26004
26128
|
disconnectForm(this);
|
|
26005
26129
|
disconnectLocalized(this);
|
|
@@ -26083,7 +26207,7 @@ class InputText {
|
|
|
26083
26207
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
26084
26208
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26085
26209
|
ref: this.setChildElRef }));
|
|
26086
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$
|
|
26210
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
26087
26211
|
}
|
|
26088
26212
|
static get assetsDirs() { return ["assets"]; }
|
|
26089
26213
|
get el() { return getElement(this); }
|
|
@@ -27845,6 +27969,7 @@ class InputTimePicker {
|
|
|
27845
27969
|
//
|
|
27846
27970
|
//--------------------------------------------------------------------------
|
|
27847
27971
|
connectedCallback() {
|
|
27972
|
+
connectInteractive(this);
|
|
27848
27973
|
connectLocalized(this);
|
|
27849
27974
|
if (isValidTime(this.value)) {
|
|
27850
27975
|
this.setValueDirectly(this.value);
|
|
@@ -27872,6 +27997,7 @@ class InputTimePicker {
|
|
|
27872
27997
|
}
|
|
27873
27998
|
}
|
|
27874
27999
|
disconnectedCallback() {
|
|
28000
|
+
disconnectInteractive(this);
|
|
27875
28001
|
disconnectLabel(this);
|
|
27876
28002
|
disconnectForm(this);
|
|
27877
28003
|
disconnectLocalized(this);
|
|
@@ -28040,6 +28166,9 @@ class Link {
|
|
|
28040
28166
|
// Lifecycle
|
|
28041
28167
|
//
|
|
28042
28168
|
//--------------------------------------------------------------------------
|
|
28169
|
+
connectedCallback() {
|
|
28170
|
+
connectInteractive(this);
|
|
28171
|
+
}
|
|
28043
28172
|
componentWillLoad() {
|
|
28044
28173
|
setUpLoadableComponent(this);
|
|
28045
28174
|
}
|
|
@@ -28049,6 +28178,9 @@ class Link {
|
|
|
28049
28178
|
componentDidRender() {
|
|
28050
28179
|
updateHostInteraction(this);
|
|
28051
28180
|
}
|
|
28181
|
+
disconnectedCallback() {
|
|
28182
|
+
disconnectInteractive(this);
|
|
28183
|
+
}
|
|
28052
28184
|
render() {
|
|
28053
28185
|
const { download, el } = this;
|
|
28054
28186
|
const dir = getElementDir(el);
|
|
@@ -28133,7 +28265,7 @@ const CSS$v = {
|
|
|
28133
28265
|
selectionContainer: "selection-container",
|
|
28134
28266
|
openContainer: "open-container"
|
|
28135
28267
|
};
|
|
28136
|
-
const SLOTS$
|
|
28268
|
+
const SLOTS$g = {
|
|
28137
28269
|
actionsStart: "actions-start",
|
|
28138
28270
|
contentStart: "content-start",
|
|
28139
28271
|
content: "content",
|
|
@@ -28178,32 +28310,12 @@ const CSS$u = {
|
|
|
28178
28310
|
container: "container",
|
|
28179
28311
|
table: "table",
|
|
28180
28312
|
scrim: "scrim",
|
|
28181
|
-
stack: "stack",
|
|
28182
28313
|
tableContainer: "table-container",
|
|
28183
28314
|
sticky: "sticky-pos"
|
|
28184
28315
|
};
|
|
28185
28316
|
const debounceTimeout = 0;
|
|
28186
|
-
const SLOTS$g = {
|
|
28187
|
-
filterActionsStart: "filter-actions-start",
|
|
28188
|
-
filterActionsEnd: "filter-actions-end"
|
|
28189
|
-
};
|
|
28190
28317
|
|
|
28191
|
-
const
|
|
28192
|
-
container: "container",
|
|
28193
|
-
actionsStart: "actions-start",
|
|
28194
|
-
contentStart: "content-start",
|
|
28195
|
-
content: "content",
|
|
28196
|
-
contentEnd: "content-end",
|
|
28197
|
-
actionsEnd: "actions-end"
|
|
28198
|
-
};
|
|
28199
|
-
const SLOTS$f = {
|
|
28200
|
-
actionsStart: "actions-start",
|
|
28201
|
-
contentStart: "content-start",
|
|
28202
|
-
contentEnd: "content-end",
|
|
28203
|
-
actionsEnd: "actions-end"
|
|
28204
|
-
};
|
|
28205
|
-
|
|
28206
|
-
const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-list{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-list{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-h *.sc-calcite-list,.sc-calcite-list-h[disabled] .sc-calcite-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%;border-collapse:collapse}/*!@.stack*/.stack.sc-calcite-list{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-foreground-1)}/*!@.sticky-pos th*/.sticky-pos.sc-calcite-list th.sc-calcite-list{padding:0px}";
|
|
28318
|
+
const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-list{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-list{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-h *.sc-calcite-list,.sc-calcite-list-h[disabled] .sc-calcite-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%;border-collapse:collapse}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}/*!@.sticky-pos th*/.sticky-pos.sc-calcite-list th.sc-calcite-list{padding:0px}/*!@calcite-filter*/calcite-filter.sc-calcite-list{margin-block-end:1px}";
|
|
28207
28319
|
|
|
28208
28320
|
const listItemSelector = "calcite-list-item";
|
|
28209
28321
|
const parentSelector = "calcite-list-item-group, calcite-list-item";
|
|
@@ -28211,8 +28323,6 @@ const parentSelector = "calcite-list-item-group, calcite-list-item";
|
|
|
28211
28323
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
28212
28324
|
*
|
|
28213
28325
|
* @slot - A slot for adding `calcite-list-item` elements.
|
|
28214
|
-
* @slot filter-actions-start - A slot for adding actionable `calcite-action` elements before the filter component.
|
|
28215
|
-
* @slot filter-actions-end - A slot for adding actionable `calcite-action` elements after the filter component.
|
|
28216
28326
|
*/
|
|
28217
28327
|
class List$1 {
|
|
28218
28328
|
constructor(hostRef) {
|
|
@@ -28230,12 +28340,6 @@ class List$1 {
|
|
|
28230
28340
|
this.handleDefaultSlotChange = (event) => {
|
|
28231
28341
|
updateListItemChildren(getListItemChildren(event));
|
|
28232
28342
|
};
|
|
28233
|
-
this.handleFilterActionsStartSlotChange = (event) => {
|
|
28234
|
-
this.hasFilterActionsStart = slotChangeHasAssignedElement(event);
|
|
28235
|
-
};
|
|
28236
|
-
this.handleFilterActionsEndSlotChange = (event) => {
|
|
28237
|
-
this.hasFilterActionsEnd = slotChangeHasAssignedElement(event);
|
|
28238
|
-
};
|
|
28239
28343
|
this.setActiveListItem = () => {
|
|
28240
28344
|
const { enabledListItems } = this;
|
|
28241
28345
|
if (!enabledListItems.some((item) => item.active)) {
|
|
@@ -28363,8 +28467,6 @@ class List$1 {
|
|
|
28363
28467
|
this.selectionMode = "none";
|
|
28364
28468
|
this.selectionAppearance = "icon";
|
|
28365
28469
|
this.dataForFilter = [];
|
|
28366
|
-
this.hasFilterActionsStart = false;
|
|
28367
|
-
this.hasFilterActionsEnd = false;
|
|
28368
28470
|
}
|
|
28369
28471
|
handleFilterEnabledChange() {
|
|
28370
28472
|
this.updateListItems();
|
|
@@ -28412,9 +28514,11 @@ class List$1 {
|
|
|
28412
28514
|
connectedCallback() {
|
|
28413
28515
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
28414
28516
|
this.updateListItems();
|
|
28517
|
+
connectInteractive(this);
|
|
28415
28518
|
}
|
|
28416
28519
|
disconnectedCallback() {
|
|
28417
28520
|
this.mutationObserver?.disconnect();
|
|
28521
|
+
disconnectInteractive(this);
|
|
28418
28522
|
}
|
|
28419
28523
|
componentWillLoad() {
|
|
28420
28524
|
setUpLoadableComponent(this);
|
|
@@ -28447,10 +28551,10 @@ class List$1 {
|
|
|
28447
28551
|
//
|
|
28448
28552
|
// --------------------------------------------------------------------------
|
|
28449
28553
|
render() {
|
|
28450
|
-
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText
|
|
28451
|
-
return (hAsync("div", { class: CSS$u.container }, loading ? hAsync("calcite-scrim", { class: CSS$u.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$u.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled
|
|
28554
|
+
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
28555
|
+
return (hAsync("div", { class: CSS$u.container }, loading ? hAsync("calcite-scrim", { class: CSS$u.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$u.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$u.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
|
28452
28556
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28453
|
-
ref: (el) => (this.filterEl = el) })
|
|
28557
|
+
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$u.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
28454
28558
|
}
|
|
28455
28559
|
filterElements({ el, filteredItems, visibleParents }) {
|
|
28456
28560
|
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
|
@@ -28492,8 +28596,6 @@ class List$1 {
|
|
|
28492
28596
|
"selectionMode": [513, "selection-mode"],
|
|
28493
28597
|
"selectionAppearance": [513, "selection-appearance"],
|
|
28494
28598
|
"dataForFilter": [32],
|
|
28495
|
-
"hasFilterActionsStart": [32],
|
|
28496
|
-
"hasFilterActionsEnd": [32],
|
|
28497
28599
|
"setFocus": [64]
|
|
28498
28600
|
},
|
|
28499
28601
|
"$listeners$": [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemActive", "handleCalciteInternalListItemActive"], [0, "calciteListItemSelect", "handleCalciteListItemSelect"], [0, "calciteInternalListItemSelect", "handleCalciteInternalListItemSelect"], [0, "calciteListItemClose", "handleCalciteListItemClose"]],
|
|
@@ -28697,6 +28799,7 @@ class ListItem {
|
|
|
28697
28799
|
updateMessages(this);
|
|
28698
28800
|
}
|
|
28699
28801
|
connectedCallback() {
|
|
28802
|
+
connectInteractive(this);
|
|
28700
28803
|
connectLocalized(this);
|
|
28701
28804
|
connectMessages(this);
|
|
28702
28805
|
const { el } = this;
|
|
@@ -28716,6 +28819,7 @@ class ListItem {
|
|
|
28716
28819
|
updateHostInteraction(this, "managed");
|
|
28717
28820
|
}
|
|
28718
28821
|
disconnectedCallback() {
|
|
28822
|
+
disconnectInteractive(this);
|
|
28719
28823
|
disconnectLocalized(this);
|
|
28720
28824
|
disconnectMessages(this);
|
|
28721
28825
|
}
|
|
@@ -28766,25 +28870,25 @@ class ListItem {
|
|
|
28766
28870
|
const { label, hasActionsStart } = this;
|
|
28767
28871
|
return (hAsync("td", { "aria-label": label, class: CSS$v.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
28768
28872
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28769
|
-
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$
|
|
28873
|
+
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$g.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
28770
28874
|
}
|
|
28771
28875
|
renderActionsEnd() {
|
|
28772
28876
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
28773
28877
|
return (hAsync("td", { "aria-label": label, class: CSS$v.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
28774
28878
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28775
|
-
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$
|
|
28879
|
+
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$g.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
28776
28880
|
}
|
|
28777
28881
|
renderContentStart() {
|
|
28778
28882
|
const { hasContentStart } = this;
|
|
28779
|
-
return (hAsync("div", { class: CSS$v.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$
|
|
28883
|
+
return (hAsync("div", { class: CSS$v.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$g.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
28780
28884
|
}
|
|
28781
28885
|
renderCustomContent() {
|
|
28782
28886
|
const { hasCustomContent } = this;
|
|
28783
|
-
return (hAsync("div", { class: CSS$v.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$
|
|
28887
|
+
return (hAsync("div", { class: CSS$v.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$g.content, onSlotchange: this.handleContentSlotChange })));
|
|
28784
28888
|
}
|
|
28785
28889
|
renderContentEnd() {
|
|
28786
28890
|
const { hasContentEnd } = this;
|
|
28787
|
-
return (hAsync("div", { class: CSS$v.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$
|
|
28891
|
+
return (hAsync("div", { class: CSS$v.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$g.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
28788
28892
|
}
|
|
28789
28893
|
renderContentProperties() {
|
|
28790
28894
|
const { label, description, hasCustomContent } = this;
|
|
@@ -28883,7 +28987,7 @@ class ListItem {
|
|
|
28883
28987
|
}; }
|
|
28884
28988
|
}
|
|
28885
28989
|
|
|
28886
|
-
const CSS$
|
|
28990
|
+
const CSS$t = {
|
|
28887
28991
|
container: "container",
|
|
28888
28992
|
heading: "heading"
|
|
28889
28993
|
};
|
|
@@ -28908,10 +29012,14 @@ class ListItemGroup {
|
|
|
28908
29012
|
connectedCallback() {
|
|
28909
29013
|
const { el } = this;
|
|
28910
29014
|
this.visualLevel = getDepth(el, true);
|
|
29015
|
+
connectInteractive(this);
|
|
28911
29016
|
}
|
|
28912
29017
|
componentDidRender() {
|
|
28913
29018
|
updateHostInteraction(this);
|
|
28914
29019
|
}
|
|
29020
|
+
disconnectedCallback() {
|
|
29021
|
+
disconnectInteractive(this);
|
|
29022
|
+
}
|
|
28915
29023
|
// --------------------------------------------------------------------------
|
|
28916
29024
|
//
|
|
28917
29025
|
// Render Methods
|
|
@@ -28919,7 +29027,7 @@ class ListItemGroup {
|
|
|
28919
29027
|
// --------------------------------------------------------------------------
|
|
28920
29028
|
render() {
|
|
28921
29029
|
const { heading, visualLevel } = this;
|
|
28922
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
29030
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$t.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$t.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
|
|
28923
29031
|
}
|
|
28924
29032
|
get el() { return getElement(this); }
|
|
28925
29033
|
static get style() { return listItemGroupCss; }
|
|
@@ -29019,7 +29127,7 @@ class Loader {
|
|
|
29019
29127
|
}; }
|
|
29020
29128
|
}
|
|
29021
29129
|
|
|
29022
|
-
const CSS$
|
|
29130
|
+
const CSS$s = {
|
|
29023
29131
|
modal: "modal",
|
|
29024
29132
|
title: "title",
|
|
29025
29133
|
header: "header",
|
|
@@ -29047,7 +29155,7 @@ const CSS$r = {
|
|
|
29047
29155
|
const ICONS$6 = {
|
|
29048
29156
|
close: "x"
|
|
29049
29157
|
};
|
|
29050
|
-
const SLOTS$
|
|
29158
|
+
const SLOTS$f = {
|
|
29051
29159
|
content: "content",
|
|
29052
29160
|
contentBottom: "content-bottom",
|
|
29053
29161
|
contentTop: "content-top",
|
|
@@ -29109,7 +29217,7 @@ class Modal {
|
|
|
29109
29217
|
this.updateFocusTrapElements();
|
|
29110
29218
|
};
|
|
29111
29219
|
this.updateFooterVisibility = () => {
|
|
29112
|
-
this.hasFooter = !!getSlotted(this.el, [SLOTS$
|
|
29220
|
+
this.hasFooter = !!getSlotted(this.el, [SLOTS$f.back, SLOTS$f.primary, SLOTS$f.secondary]);
|
|
29113
29221
|
};
|
|
29114
29222
|
this.updateSizeCssVars = () => {
|
|
29115
29223
|
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
|
|
@@ -29192,50 +29300,50 @@ class Modal {
|
|
|
29192
29300
|
}
|
|
29193
29301
|
render() {
|
|
29194
29302
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
29195
|
-
[CSS$
|
|
29196
|
-
[CSS$
|
|
29197
|
-
[CSS$
|
|
29198
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
29199
|
-
[CSS$
|
|
29303
|
+
[CSS$s.container]: true,
|
|
29304
|
+
[CSS$s.containerOpen]: this.isOpen,
|
|
29305
|
+
[CSS$s.slottedInShell]: this.slottedInShell
|
|
29306
|
+
} }, hAsync("calcite-scrim", { class: CSS$s.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
29307
|
+
[CSS$s.modal]: true
|
|
29200
29308
|
},
|
|
29201
29309
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29202
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
29203
|
-
[CSS$
|
|
29204
|
-
[CSS$
|
|
29310
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$s.header }, this.renderCloseButton(), hAsync("header", { class: CSS$s.title }, hAsync("slot", { name: CSS$s.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
29311
|
+
[CSS$s.content]: true,
|
|
29312
|
+
[CSS$s.contentNoFooter]: !this.hasFooter
|
|
29205
29313
|
},
|
|
29206
29314
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29207
|
-
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$
|
|
29315
|
+
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$f.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
29208
29316
|
}
|
|
29209
29317
|
renderFooter() {
|
|
29210
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
29318
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$s.footer, key: "footer" }, hAsync("span", { class: CSS$s.back }, hAsync("slot", { name: SLOTS$f.back })), hAsync("span", { class: CSS$s.secondary }, hAsync("slot", { name: SLOTS$f.secondary })), hAsync("span", { class: CSS$s.primary }, hAsync("slot", { name: SLOTS$f.primary })))) : null;
|
|
29211
29319
|
}
|
|
29212
29320
|
renderContentTop() {
|
|
29213
|
-
return (hAsync("div", { class: CSS$
|
|
29321
|
+
return (hAsync("div", { class: CSS$s.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$f.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
29214
29322
|
}
|
|
29215
29323
|
renderContentBottom() {
|
|
29216
|
-
return (hAsync("div", { class: CSS$
|
|
29324
|
+
return (hAsync("div", { class: CSS$s.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
29217
29325
|
}
|
|
29218
29326
|
renderCloseButton() {
|
|
29219
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
29327
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$s.close, key: "button", onClick: this.close, title: this.messages.close,
|
|
29220
29328
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29221
29329
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
29222
29330
|
}
|
|
29223
29331
|
renderStyle() {
|
|
29224
29332
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
29225
|
-
return (hAsync("style", null, `.${CSS$
|
|
29333
|
+
return (hAsync("style", null, `.${CSS$s.container} {
|
|
29226
29334
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
29227
29335
|
}
|
|
29228
|
-
.${CSS$
|
|
29336
|
+
.${CSS$s.modal} {
|
|
29229
29337
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
29230
29338
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
29231
29339
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
29232
29340
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
29233
29341
|
}
|
|
29234
29342
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
29235
|
-
.${CSS$
|
|
29343
|
+
.${CSS$s.container} {
|
|
29236
29344
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
29237
29345
|
}
|
|
29238
|
-
.${CSS$
|
|
29346
|
+
.${CSS$s.modal} {
|
|
29239
29347
|
max-block-size: 100% !important;
|
|
29240
29348
|
inline-size: 100% !important;
|
|
29241
29349
|
max-inline-size: 100% !important;
|
|
@@ -29302,31 +29410,31 @@ class Modal {
|
|
|
29302
29410
|
}
|
|
29303
29411
|
}
|
|
29304
29412
|
onBeforeOpen() {
|
|
29305
|
-
this.transitionEl.classList.add(CSS$
|
|
29413
|
+
this.transitionEl.classList.add(CSS$s.openingActive);
|
|
29306
29414
|
this.calciteModalBeforeOpen.emit();
|
|
29307
29415
|
}
|
|
29308
29416
|
onOpen() {
|
|
29309
|
-
this.transitionEl.classList.remove(CSS$
|
|
29417
|
+
this.transitionEl.classList.remove(CSS$s.openingIdle, CSS$s.openingActive);
|
|
29310
29418
|
this.calciteModalOpen.emit();
|
|
29311
29419
|
activateFocusTrap(this);
|
|
29312
29420
|
}
|
|
29313
29421
|
onBeforeClose() {
|
|
29314
|
-
this.transitionEl.classList.add(CSS$
|
|
29422
|
+
this.transitionEl.classList.add(CSS$s.closingActive);
|
|
29315
29423
|
this.calciteModalBeforeClose.emit();
|
|
29316
29424
|
}
|
|
29317
29425
|
onClose() {
|
|
29318
|
-
this.transitionEl.classList.remove(CSS$
|
|
29426
|
+
this.transitionEl.classList.remove(CSS$s.closingIdle, CSS$s.closingActive);
|
|
29319
29427
|
this.calciteModalClose.emit();
|
|
29320
29428
|
deactivateFocusTrap(this);
|
|
29321
29429
|
}
|
|
29322
29430
|
async toggleModal(value) {
|
|
29323
29431
|
onToggleOpenCloseComponent(this);
|
|
29324
29432
|
if (value) {
|
|
29325
|
-
this.transitionEl?.classList.add(CSS$
|
|
29433
|
+
this.transitionEl?.classList.add(CSS$s.openingIdle);
|
|
29326
29434
|
this.openModal();
|
|
29327
29435
|
}
|
|
29328
29436
|
else {
|
|
29329
|
-
this.transitionEl?.classList.add(CSS$
|
|
29437
|
+
this.transitionEl?.classList.add(CSS$s.closingIdle);
|
|
29330
29438
|
this.close();
|
|
29331
29439
|
}
|
|
29332
29440
|
}
|
|
@@ -29335,16 +29443,16 @@ class Modal {
|
|
|
29335
29443
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
29336
29444
|
this.open = true;
|
|
29337
29445
|
this.isOpen = true;
|
|
29338
|
-
const titleEl = getSlotted(this.el, SLOTS$
|
|
29339
|
-
const contentEl = getSlotted(this.el, SLOTS$
|
|
29446
|
+
const titleEl = getSlotted(this.el, SLOTS$f.header);
|
|
29447
|
+
const contentEl = getSlotted(this.el, SLOTS$f.content);
|
|
29340
29448
|
this.titleId = ensureId(titleEl);
|
|
29341
29449
|
this.contentId = ensureId(contentEl);
|
|
29342
29450
|
if (!this.slottedInShell) {
|
|
29343
|
-
document.documentElement.classList.add(CSS$
|
|
29451
|
+
document.documentElement.classList.add(CSS$s.overflowHidden);
|
|
29344
29452
|
}
|
|
29345
29453
|
}
|
|
29346
29454
|
removeOverflowHiddenClass() {
|
|
29347
|
-
document.documentElement.classList.remove(CSS$
|
|
29455
|
+
document.documentElement.classList.remove(CSS$s.overflowHidden);
|
|
29348
29456
|
}
|
|
29349
29457
|
static get assetsDirs() { return ["assets"]; }
|
|
29350
29458
|
get el() { return getElement(this); }
|
|
@@ -29391,13 +29499,13 @@ class Modal {
|
|
|
29391
29499
|
}; }
|
|
29392
29500
|
}
|
|
29393
29501
|
|
|
29394
|
-
const SLOTS$
|
|
29502
|
+
const SLOTS$e = {
|
|
29395
29503
|
title: "title",
|
|
29396
29504
|
message: "message",
|
|
29397
29505
|
link: "link",
|
|
29398
29506
|
actionsEnd: "actions-end"
|
|
29399
29507
|
};
|
|
29400
|
-
const CSS$
|
|
29508
|
+
const CSS$r = {
|
|
29401
29509
|
actionsEnd: "actions-end",
|
|
29402
29510
|
close: "notice-close",
|
|
29403
29511
|
container: "container",
|
|
@@ -29476,11 +29584,11 @@ class Notice {
|
|
|
29476
29584
|
}
|
|
29477
29585
|
render() {
|
|
29478
29586
|
const { el } = this;
|
|
29479
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
29587
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$r.close, onClick: this.close,
|
|
29480
29588
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29481
29589
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
29482
|
-
const hasActionEnd = getSlotted(el, SLOTS$
|
|
29483
|
-
return (hAsync("div", { class: CSS$
|
|
29590
|
+
const hasActionEnd = getSlotted(el, SLOTS$e.actionsEnd);
|
|
29591
|
+
return (hAsync("div", { class: CSS$r.container }, this.requestedIcon ? (hAsync("div", { class: CSS$r.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$r.content }, hAsync("slot", { name: SLOTS$e.title }), hAsync("slot", { name: SLOTS$e.message }), hAsync("slot", { name: SLOTS$e.link })), hasActionEnd ? (hAsync("div", { class: CSS$r.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
29484
29592
|
}
|
|
29485
29593
|
//--------------------------------------------------------------------------
|
|
29486
29594
|
//
|
|
@@ -29659,7 +29767,7 @@ class OptionGroup {
|
|
|
29659
29767
|
}; }
|
|
29660
29768
|
}
|
|
29661
29769
|
|
|
29662
|
-
const CSS$
|
|
29770
|
+
const CSS$q = {
|
|
29663
29771
|
page: "page",
|
|
29664
29772
|
selected: "is-selected",
|
|
29665
29773
|
previous: "previous",
|
|
@@ -29817,8 +29925,8 @@ class Pagination {
|
|
|
29817
29925
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
29818
29926
|
const selected = start === this.startItem;
|
|
29819
29927
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
29820
|
-
[CSS$
|
|
29821
|
-
[CSS$
|
|
29928
|
+
[CSS$q.page]: true,
|
|
29929
|
+
[CSS$q.selected]: selected
|
|
29822
29930
|
}, onClick: () => {
|
|
29823
29931
|
this.startItem = start;
|
|
29824
29932
|
this.emitUpdate();
|
|
@@ -29826,12 +29934,12 @@ class Pagination {
|
|
|
29826
29934
|
}
|
|
29827
29935
|
renderLeftEllipsis() {
|
|
29828
29936
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
29829
|
-
return hAsync("span", { class: `${CSS$
|
|
29937
|
+
return hAsync("span", { class: `${CSS$q.ellipsis} ${CSS$q.ellipsisStart}` }, "\u2026");
|
|
29830
29938
|
}
|
|
29831
29939
|
}
|
|
29832
29940
|
renderRightEllipsis() {
|
|
29833
29941
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
29834
|
-
return hAsync("span", { class: `${CSS$
|
|
29942
|
+
return hAsync("span", { class: `${CSS$q.ellipsis} ${CSS$q.ellipsisEnd}` }, "\u2026");
|
|
29835
29943
|
}
|
|
29836
29944
|
}
|
|
29837
29945
|
render() {
|
|
@@ -29839,11 +29947,11 @@ class Pagination {
|
|
|
29839
29947
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
29840
29948
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
29841
29949
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
29842
|
-
[CSS$
|
|
29843
|
-
[CSS$
|
|
29950
|
+
[CSS$q.previous]: true,
|
|
29951
|
+
[CSS$q.disabled]: prevDisabled
|
|
29844
29952
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: this.scale === "l" ? "m" : "s" })), totalItems > pageSize ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
|
|
29845
|
-
[CSS$
|
|
29846
|
-
[CSS$
|
|
29953
|
+
[CSS$q.next]: true,
|
|
29954
|
+
[CSS$q.disabled]: nextDisabled
|
|
29847
29955
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
|
|
29848
29956
|
}
|
|
29849
29957
|
static get delegatesFocus() { return true; }
|
|
@@ -30018,6 +30126,7 @@ class Panel {
|
|
|
30018
30126
|
//
|
|
30019
30127
|
//--------------------------------------------------------------------------
|
|
30020
30128
|
connectedCallback() {
|
|
30129
|
+
connectInteractive(this);
|
|
30021
30130
|
connectLocalized(this);
|
|
30022
30131
|
connectMessages(this);
|
|
30023
30132
|
}
|
|
@@ -30032,6 +30141,7 @@ class Panel {
|
|
|
30032
30141
|
updateHostInteraction(this);
|
|
30033
30142
|
}
|
|
30034
30143
|
disconnectedCallback() {
|
|
30144
|
+
disconnectInteractive(this);
|
|
30035
30145
|
disconnectLocalized(this);
|
|
30036
30146
|
disconnectMessages(this);
|
|
30037
30147
|
this.resizeObserver?.disconnect();
|
|
@@ -30077,17 +30187,17 @@ class Panel {
|
|
|
30077
30187
|
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$G.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
30078
30188
|
}
|
|
30079
30189
|
renderActionBar() {
|
|
30080
|
-
return (hAsync("div", { class: CSS$G.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$
|
|
30190
|
+
return (hAsync("div", { class: CSS$G.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$l.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
30081
30191
|
}
|
|
30082
30192
|
/**
|
|
30083
30193
|
* Allows user to override the entire header-content node.
|
|
30084
30194
|
*/
|
|
30085
30195
|
renderHeaderSlottedContent() {
|
|
30086
|
-
return (hAsync("div", { class: CSS$G.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$
|
|
30196
|
+
return (hAsync("div", { class: CSS$G.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$l.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
30087
30197
|
}
|
|
30088
30198
|
renderHeaderStartActions() {
|
|
30089
30199
|
const { hasStartActions } = this;
|
|
30090
|
-
return (hAsync("div", { class: { [CSS$G.headerActionsStart]: true, [CSS$G.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$
|
|
30200
|
+
return (hAsync("div", { class: { [CSS$G.headerActionsStart]: true, [CSS$G.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$l.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
30091
30201
|
}
|
|
30092
30202
|
renderHeaderActionsEnd() {
|
|
30093
30203
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -30095,13 +30205,13 @@ class Panel {
|
|
|
30095
30205
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$a.close, onClick: close, text: text,
|
|
30096
30206
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30097
30207
|
ref: this.setCloseRef })) : null;
|
|
30098
|
-
const slotNode = (hAsync("slot", { name: SLOTS$
|
|
30208
|
+
const slotNode = (hAsync("slot", { name: SLOTS$l.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
30099
30209
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
30100
30210
|
return (hAsync("div", { class: { [CSS$G.headerActionsEnd]: true, [CSS$G.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
30101
30211
|
}
|
|
30102
30212
|
renderMenu() {
|
|
30103
30213
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
30104
|
-
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$a.menu, slot: SLOTS$
|
|
30214
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$a.menu, slot: SLOTS$u.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$l.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
30105
30215
|
}
|
|
30106
30216
|
renderHeaderNode() {
|
|
30107
30217
|
const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
@@ -30117,7 +30227,7 @@ class Panel {
|
|
|
30117
30227
|
renderFooterNode() {
|
|
30118
30228
|
const { hasFooterContent, hasFooterActions } = this;
|
|
30119
30229
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
30120
|
-
return (hAsync("footer", { class: CSS$G.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$
|
|
30230
|
+
return (hAsync("footer", { class: CSS$G.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$l.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$l.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
30121
30231
|
}
|
|
30122
30232
|
renderContent() {
|
|
30123
30233
|
const { hasFab } = this;
|
|
@@ -30132,7 +30242,7 @@ class Panel {
|
|
|
30132
30242
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
30133
30243
|
}
|
|
30134
30244
|
renderFab() {
|
|
30135
|
-
return (hAsync("div", { class: CSS$G.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$
|
|
30245
|
+
return (hAsync("div", { class: CSS$G.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$l.fab, onSlotchange: this.handleFabSlotChange })));
|
|
30136
30246
|
}
|
|
30137
30247
|
render() {
|
|
30138
30248
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
@@ -30181,7 +30291,7 @@ class Panel {
|
|
|
30181
30291
|
}; }
|
|
30182
30292
|
}
|
|
30183
30293
|
|
|
30184
|
-
const CSS$
|
|
30294
|
+
const CSS$p = {
|
|
30185
30295
|
sticky: "sticky-pos"
|
|
30186
30296
|
};
|
|
30187
30297
|
var ICON_TYPES$1;
|
|
@@ -30190,16 +30300,16 @@ var ICON_TYPES$1;
|
|
|
30190
30300
|
ICON_TYPES["square"] = "square";
|
|
30191
30301
|
ICON_TYPES["grip"] = "grip";
|
|
30192
30302
|
})(ICON_TYPES$1 || (ICON_TYPES$1 = {}));
|
|
30193
|
-
const SLOTS$
|
|
30303
|
+
const SLOTS$d = {
|
|
30194
30304
|
menuActions: "menu-actions"
|
|
30195
30305
|
};
|
|
30196
30306
|
|
|
30197
|
-
const CSS$
|
|
30307
|
+
const CSS$o = {
|
|
30198
30308
|
heading: "heading",
|
|
30199
30309
|
container: "container",
|
|
30200
30310
|
indented: "container--indented"
|
|
30201
30311
|
};
|
|
30202
|
-
const SLOTS$
|
|
30312
|
+
const SLOTS$c = {
|
|
30203
30313
|
parentItem: "parent-item"
|
|
30204
30314
|
};
|
|
30205
30315
|
|
|
@@ -30344,7 +30454,7 @@ function removeItem(event) {
|
|
|
30344
30454
|
}
|
|
30345
30455
|
const item = event.target;
|
|
30346
30456
|
const selectedValues = this.selectedValues;
|
|
30347
|
-
if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$
|
|
30457
|
+
if (item.parentElement.tagName === "CALCITE-PICK-LIST-GROUP" && item.slot === SLOTS$c.parentItem) {
|
|
30348
30458
|
item.parentElement.remove();
|
|
30349
30459
|
Array.from(item.parentElement.children).forEach((item) => selectedValues.delete(item.value));
|
|
30350
30460
|
}
|
|
@@ -30520,11 +30630,11 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
30520
30630
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
30521
30631
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30522
30632
|
ref: storeAssistiveEl })) : null,
|
|
30523
|
-
hAsync("header", { class: { [CSS$
|
|
30633
|
+
hAsync("header", { class: { [CSS$p.sticky]: true } },
|
|
30524
30634
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
30525
30635
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30526
30636
|
ref: setFilterEl })) : null,
|
|
30527
|
-
hAsync("slot", { name: SLOTS$
|
|
30637
|
+
hAsync("slot", { name: SLOTS$d.menuActions })),
|
|
30528
30638
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
30529
30639
|
defaultSlot)));
|
|
30530
30640
|
};
|
|
@@ -30577,9 +30687,11 @@ class PickList {
|
|
|
30577
30687
|
connectedCallback() {
|
|
30578
30688
|
initialize.call(this);
|
|
30579
30689
|
initializeObserver.call(this);
|
|
30690
|
+
connectInteractive(this);
|
|
30580
30691
|
}
|
|
30581
30692
|
disconnectedCallback() {
|
|
30582
30693
|
cleanUpObserver.call(this);
|
|
30694
|
+
disconnectInteractive(this);
|
|
30583
30695
|
}
|
|
30584
30696
|
componentWillLoad() {
|
|
30585
30697
|
setUpLoadableComponent(this);
|
|
@@ -30707,16 +30819,16 @@ class PickListGroup {
|
|
|
30707
30819
|
// --------------------------------------------------------------------------
|
|
30708
30820
|
render() {
|
|
30709
30821
|
const { el, groupTitle, headingLevel } = this;
|
|
30710
|
-
const hasParentItem = getSlotted(el, SLOTS$
|
|
30822
|
+
const hasParentItem = getSlotted(el, SLOTS$c.parentItem) !== null;
|
|
30711
30823
|
const sectionClasses = {
|
|
30712
|
-
[CSS$
|
|
30713
|
-
[CSS$
|
|
30824
|
+
[CSS$o.container]: true,
|
|
30825
|
+
[CSS$o.indented]: hasParentItem
|
|
30714
30826
|
};
|
|
30715
30827
|
const title = groupTitle;
|
|
30716
30828
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
30717
30829
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
30718
30830
|
const level = headingLevel || relativeLevel;
|
|
30719
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
30831
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$o.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$c.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
30720
30832
|
}
|
|
30721
30833
|
get el() { return getElement(this); }
|
|
30722
30834
|
static get style() { return pickListGroupCss; }
|
|
@@ -30733,7 +30845,7 @@ class PickListGroup {
|
|
|
30733
30845
|
}; }
|
|
30734
30846
|
}
|
|
30735
30847
|
|
|
30736
|
-
const CSS$
|
|
30848
|
+
const CSS$n = {
|
|
30737
30849
|
actions: "actions",
|
|
30738
30850
|
actionsEnd: "actions--end",
|
|
30739
30851
|
actionsStart: "actions--start",
|
|
@@ -30752,7 +30864,7 @@ const ICONS$5 = {
|
|
|
30752
30864
|
checked: "check",
|
|
30753
30865
|
remove: "x"
|
|
30754
30866
|
};
|
|
30755
|
-
const SLOTS$
|
|
30867
|
+
const SLOTS$b = {
|
|
30756
30868
|
actionsEnd: "actions-end",
|
|
30757
30869
|
actionsStart: "actions-start"
|
|
30758
30870
|
};
|
|
@@ -30844,6 +30956,7 @@ class PickListItem {
|
|
|
30844
30956
|
//
|
|
30845
30957
|
// --------------------------------------------------------------------------
|
|
30846
30958
|
connectedCallback() {
|
|
30959
|
+
connectInteractive(this);
|
|
30847
30960
|
connectLocalized(this);
|
|
30848
30961
|
connectMessages(this);
|
|
30849
30962
|
connectConditionalSlotComponent(this);
|
|
@@ -30856,6 +30969,7 @@ class PickListItem {
|
|
|
30856
30969
|
setComponentLoaded(this);
|
|
30857
30970
|
}
|
|
30858
30971
|
disconnectedCallback() {
|
|
30972
|
+
disconnectInteractive(this);
|
|
30859
30973
|
disconnectLocalized(this);
|
|
30860
30974
|
disconnectMessages(this);
|
|
30861
30975
|
disconnectConditionalSlotComponent(this);
|
|
@@ -30893,28 +31007,28 @@ class PickListItem {
|
|
|
30893
31007
|
return null;
|
|
30894
31008
|
}
|
|
30895
31009
|
return (hAsync("span", { class: {
|
|
30896
|
-
[CSS$
|
|
30897
|
-
[CSS$
|
|
31010
|
+
[CSS$n.icon]: true,
|
|
31011
|
+
[CSS$n.iconDot]: icon === ICON_TYPES$1.circle
|
|
30898
31012
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$5.checked, scale: "s" })) : null));
|
|
30899
31013
|
}
|
|
30900
31014
|
renderRemoveAction() {
|
|
30901
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
31015
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$n.remove, icon: ICONS$5.remove, onClick: this.removeClickHandler, slot: SLOTS$b.actionsEnd, text: this.messages.remove })) : null;
|
|
30902
31016
|
}
|
|
30903
31017
|
renderActionsStart() {
|
|
30904
31018
|
const { el } = this;
|
|
30905
|
-
const hasActionsStart = getSlotted(el, SLOTS$
|
|
30906
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
31019
|
+
const hasActionsStart = getSlotted(el, SLOTS$b.actionsStart);
|
|
31020
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$n.actions]: true, [CSS$n.actionsStart]: true } }, hAsync("slot", { name: SLOTS$b.actionsStart }))) : null;
|
|
30907
31021
|
}
|
|
30908
31022
|
renderActionsEnd() {
|
|
30909
31023
|
const { el, removable } = this;
|
|
30910
|
-
const hasActionsEnd = getSlotted(el, SLOTS$
|
|
30911
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
31024
|
+
const hasActionsEnd = getSlotted(el, SLOTS$b.actionsEnd);
|
|
31025
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$n.actions]: true, [CSS$n.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$b.actionsEnd }), this.renderRemoveAction())) : null;
|
|
30912
31026
|
}
|
|
30913
31027
|
render() {
|
|
30914
31028
|
const { description, label } = this;
|
|
30915
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
31029
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$n.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
30916
31030
|
// eslint-disable-next-line react/jsx-sort-props
|
|
30917
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
31031
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$n.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$n.title }, label), description ? hAsync("span", { class: CSS$n.description }, description) : null)), this.renderActionsEnd()));
|
|
30918
31032
|
}
|
|
30919
31033
|
static get assetsDirs() { return ["assets"]; }
|
|
30920
31034
|
get el() { return getElement(this); }
|
|
@@ -30957,7 +31071,7 @@ class PickListItem {
|
|
|
30957
31071
|
}; }
|
|
30958
31072
|
}
|
|
30959
31073
|
|
|
30960
|
-
const CSS$
|
|
31074
|
+
const CSS$m = {
|
|
30961
31075
|
container: "container",
|
|
30962
31076
|
imageContainer: "image-container",
|
|
30963
31077
|
closeButtonContainer: "close-button-container",
|
|
@@ -31051,7 +31165,7 @@ class PopoverManager {
|
|
|
31051
31165
|
}
|
|
31052
31166
|
}
|
|
31053
31167
|
|
|
31054
|
-
const CSS$
|
|
31168
|
+
const CSS$l = {
|
|
31055
31169
|
arrow: "calcite-floating-ui-arrow",
|
|
31056
31170
|
arrowStroke: "calcite-floating-ui-arrow__stroke"
|
|
31057
31171
|
};
|
|
@@ -31081,8 +31195,8 @@ const FloatingArrow = ({ floatingLayout, key, ref }) => {
|
|
|
31081
31195
|
` L${width - svgX},${height}` +
|
|
31082
31196
|
` Q${svgX},${height} ${svgX},${height}` +
|
|
31083
31197
|
" Z";
|
|
31084
|
-
return (hAsync("svg", { "aria-hidden": "true", class: CSS$
|
|
31085
|
-
strokeWidth > 0 && (hAsync("path", { class: CSS$
|
|
31198
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$l.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
31199
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$l.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
31086
31200
|
hAsync("path", { d: dValue, stroke: "none" })));
|
|
31087
31201
|
};
|
|
31088
31202
|
|
|
@@ -31338,14 +31452,14 @@ class Popover {
|
|
|
31338
31452
|
// --------------------------------------------------------------------------
|
|
31339
31453
|
renderCloseButton() {
|
|
31340
31454
|
const { messages, closable } = this;
|
|
31341
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
31455
|
+
return closable ? (hAsync("div", { class: CSS$m.closeButtonContainer, key: CSS$m.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$m.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
31342
31456
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31343
31457
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
31344
31458
|
}
|
|
31345
31459
|
renderHeader() {
|
|
31346
31460
|
const { heading, headingLevel } = this;
|
|
31347
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
31348
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
31461
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$m.heading, level: headingLevel }, heading)) : null;
|
|
31462
|
+
return headingNode ? (hAsync("div", { class: CSS$m.header, key: CSS$m.header }, headingNode, this.renderCloseButton())) : null;
|
|
31349
31463
|
}
|
|
31350
31464
|
render() {
|
|
31351
31465
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
@@ -31360,9 +31474,9 @@ class Popover {
|
|
|
31360
31474
|
},
|
|
31361
31475
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31362
31476
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
31363
|
-
[CSS$
|
|
31364
|
-
[CSS$
|
|
31365
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
31477
|
+
[CSS$m.hasHeader]: !!heading,
|
|
31478
|
+
[CSS$m.container]: true
|
|
31479
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$m.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
31366
31480
|
}
|
|
31367
31481
|
static get assetsDirs() { return ["assets"]; }
|
|
31368
31482
|
get el() { return getElement(this); }
|
|
@@ -31454,7 +31568,7 @@ class Progress {
|
|
|
31454
31568
|
}; }
|
|
31455
31569
|
}
|
|
31456
31570
|
|
|
31457
|
-
const CSS$
|
|
31571
|
+
const CSS$k = {
|
|
31458
31572
|
container: "container"
|
|
31459
31573
|
};
|
|
31460
31574
|
|
|
@@ -31686,6 +31800,7 @@ class RadioButton {
|
|
|
31686
31800
|
if (this.name) {
|
|
31687
31801
|
this.checkLastRadioButton();
|
|
31688
31802
|
}
|
|
31803
|
+
connectInteractive(this);
|
|
31689
31804
|
connectLabel(this);
|
|
31690
31805
|
connectForm(this);
|
|
31691
31806
|
}
|
|
@@ -31699,6 +31814,7 @@ class RadioButton {
|
|
|
31699
31814
|
}
|
|
31700
31815
|
}
|
|
31701
31816
|
disconnectedCallback() {
|
|
31817
|
+
disconnectInteractive(this);
|
|
31702
31818
|
disconnectLabel(this);
|
|
31703
31819
|
disconnectForm(this);
|
|
31704
31820
|
}
|
|
@@ -31712,7 +31828,7 @@ class RadioButton {
|
|
|
31712
31828
|
// --------------------------------------------------------------------------
|
|
31713
31829
|
render() {
|
|
31714
31830
|
const tabIndex = this.getTabIndex();
|
|
31715
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
31831
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$k.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
31716
31832
|
// eslint-disable-next-line react/jsx-sort-props
|
|
31717
31833
|
ref: this.setContainerEl }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
31718
31834
|
}
|
|
@@ -32021,6 +32137,7 @@ class Rating {
|
|
|
32021
32137
|
//
|
|
32022
32138
|
//--------------------------------------------------------------------------
|
|
32023
32139
|
connectedCallback() {
|
|
32140
|
+
connectInteractive(this);
|
|
32024
32141
|
connectLocalized(this);
|
|
32025
32142
|
connectMessages(this);
|
|
32026
32143
|
connectLabel(this);
|
|
@@ -32069,6 +32186,7 @@ class Rating {
|
|
|
32069
32186
|
setComponentLoaded(this);
|
|
32070
32187
|
}
|
|
32071
32188
|
disconnectedCallback() {
|
|
32189
|
+
disconnectInteractive(this);
|
|
32072
32190
|
disconnectLocalized(this);
|
|
32073
32191
|
disconnectMessages(this);
|
|
32074
32192
|
disconnectLabel(this);
|
|
@@ -32150,10 +32268,15 @@ class Rating {
|
|
|
32150
32268
|
}; }
|
|
32151
32269
|
}
|
|
32152
32270
|
|
|
32153
|
-
const CSS$
|
|
32271
|
+
const CSS$j = {
|
|
32154
32272
|
scrim: "scrim",
|
|
32155
32273
|
content: "content"
|
|
32156
32274
|
};
|
|
32275
|
+
const BREAKPOINTS = {
|
|
32276
|
+
s: 72,
|
|
32277
|
+
// medium is assumed default.
|
|
32278
|
+
l: 480 // Greater than or equal to 480px.
|
|
32279
|
+
};
|
|
32157
32280
|
|
|
32158
32281
|
const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-scrim:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-scrim{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-scrim{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-scrim{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-scrim{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-scrim{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-scrim{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-scrim{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-scrim:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-scrim:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-scrim-h{display:none}/*!@:host*/.sc-calcite-scrim-h{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}/*!@.scrim*/.scrim.sc-calcite-scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}/*!@.content*/.content.sc-calcite-scrim{padding:1rem}";
|
|
32159
32282
|
|
|
@@ -32163,9 +32286,20 @@ const scrimCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
|
|
|
32163
32286
|
class Scrim {
|
|
32164
32287
|
constructor(hostRef) {
|
|
32165
32288
|
registerInstance(this, hostRef);
|
|
32289
|
+
this.resizeObserver = createObserver();
|
|
32290
|
+
// --------------------------------------------------------------------------
|
|
32291
|
+
//
|
|
32292
|
+
// Private Methods
|
|
32293
|
+
//
|
|
32294
|
+
// --------------------------------------------------------------------------
|
|
32295
|
+
this.storeLoaderEl = (el) => {
|
|
32296
|
+
this.loaderEl = el;
|
|
32297
|
+
this.handleResize();
|
|
32298
|
+
};
|
|
32166
32299
|
this.loading = false;
|
|
32167
32300
|
this.messages = undefined;
|
|
32168
32301
|
this.messageOverrides = undefined;
|
|
32302
|
+
this.loaderScale = undefined;
|
|
32169
32303
|
this.defaultMessages = undefined;
|
|
32170
32304
|
this.effectiveLocale = "";
|
|
32171
32305
|
}
|
|
@@ -32199,9 +32333,27 @@ class Scrim {
|
|
|
32199
32333
|
render() {
|
|
32200
32334
|
const { el, loading, messages } = this;
|
|
32201
32335
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
32202
|
-
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
32203
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
32204
|
-
return (hAsync("div", { class: CSS$
|
|
32336
|
+
const loaderNode = loading ? (hAsync("calcite-loader", { label: messages.loading, ref: this.storeLoaderEl, scale: this.loaderScale })) : null;
|
|
32337
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$j.content }, hAsync("slot", null))) : null;
|
|
32338
|
+
return (hAsync("div", { class: CSS$j.scrim }, loaderNode, contentNode));
|
|
32339
|
+
}
|
|
32340
|
+
getScale(size) {
|
|
32341
|
+
if (size < BREAKPOINTS.s) {
|
|
32342
|
+
return "s";
|
|
32343
|
+
}
|
|
32344
|
+
else if (size >= BREAKPOINTS.l) {
|
|
32345
|
+
return "l";
|
|
32346
|
+
}
|
|
32347
|
+
else {
|
|
32348
|
+
return "m";
|
|
32349
|
+
}
|
|
32350
|
+
}
|
|
32351
|
+
handleResize() {
|
|
32352
|
+
const { loaderEl, el } = this;
|
|
32353
|
+
if (!loaderEl) {
|
|
32354
|
+
return;
|
|
32355
|
+
}
|
|
32356
|
+
this.loaderScale = this.getScale(Math.min(el.clientHeight, el.clientWidth) ?? 0);
|
|
32205
32357
|
}
|
|
32206
32358
|
static get assetsDirs() { return ["assets"]; }
|
|
32207
32359
|
get el() { return getElement(this); }
|
|
@@ -32217,6 +32369,7 @@ class Scrim {
|
|
|
32217
32369
|
"loading": [516],
|
|
32218
32370
|
"messages": [1040],
|
|
32219
32371
|
"messageOverrides": [1040],
|
|
32372
|
+
"loaderScale": [32],
|
|
32220
32373
|
"defaultMessages": [32],
|
|
32221
32374
|
"effectiveLocale": [32]
|
|
32222
32375
|
},
|
|
@@ -32298,10 +32451,12 @@ class SegmentedControl {
|
|
|
32298
32451
|
setComponentLoaded(this);
|
|
32299
32452
|
}
|
|
32300
32453
|
connectedCallback() {
|
|
32454
|
+
connectInteractive(this);
|
|
32301
32455
|
connectLabel(this);
|
|
32302
32456
|
connectForm(this);
|
|
32303
32457
|
}
|
|
32304
32458
|
disconnectedCallback() {
|
|
32459
|
+
disconnectInteractive(this);
|
|
32305
32460
|
disconnectLabel(this);
|
|
32306
32461
|
disconnectForm(this);
|
|
32307
32462
|
}
|
|
@@ -32430,10 +32585,10 @@ class SegmentedControl {
|
|
|
32430
32585
|
}; }
|
|
32431
32586
|
}
|
|
32432
32587
|
|
|
32433
|
-
const SLOTS$
|
|
32588
|
+
const SLOTS$a = {
|
|
32434
32589
|
input: "input"
|
|
32435
32590
|
};
|
|
32436
|
-
const CSS$
|
|
32591
|
+
const CSS$i = {
|
|
32437
32592
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
32438
32593
|
};
|
|
32439
32594
|
|
|
@@ -32457,8 +32612,8 @@ class SegmentedControlItem {
|
|
|
32457
32612
|
const scale = getElementProp(this.el, "scale", "m");
|
|
32458
32613
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
32459
32614
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
32460
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
32461
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
32615
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
32616
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
32462
32617
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
32463
32618
|
"label--scale-s": scale === "s",
|
|
32464
32619
|
"label--scale-m": scale === "m",
|
|
@@ -32466,7 +32621,7 @@ class SegmentedControlItem {
|
|
|
32466
32621
|
"label--horizontal": layout === "horizontal",
|
|
32467
32622
|
"label--outline": appearance === "outline",
|
|
32468
32623
|
"label--outline-fill": appearance === "outline-fill"
|
|
32469
|
-
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$
|
|
32624
|
+
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$a.input }), this.iconEnd ? iconEndEl : null)));
|
|
32470
32625
|
}
|
|
32471
32626
|
get el() { return getElement(this); }
|
|
32472
32627
|
static get watchers() { return {
|
|
@@ -32489,7 +32644,7 @@ class SegmentedControlItem {
|
|
|
32489
32644
|
}; }
|
|
32490
32645
|
}
|
|
32491
32646
|
|
|
32492
|
-
const CSS$
|
|
32647
|
+
const CSS$h = {
|
|
32493
32648
|
icon: "icon",
|
|
32494
32649
|
iconContainer: "icon-container",
|
|
32495
32650
|
select: "select"
|
|
@@ -32559,11 +32714,13 @@ class Select {
|
|
|
32559
32714
|
subtree: true,
|
|
32560
32715
|
childList: true
|
|
32561
32716
|
});
|
|
32717
|
+
connectInteractive(this);
|
|
32562
32718
|
connectLabel(this);
|
|
32563
32719
|
connectForm(this);
|
|
32564
32720
|
}
|
|
32565
32721
|
disconnectedCallback() {
|
|
32566
32722
|
this.mutationObserver?.disconnect();
|
|
32723
|
+
disconnectInteractive(this);
|
|
32567
32724
|
disconnectLabel(this);
|
|
32568
32725
|
disconnectForm(this);
|
|
32569
32726
|
}
|
|
@@ -32674,10 +32831,10 @@ class Select {
|
|
|
32674
32831
|
//
|
|
32675
32832
|
//--------------------------------------------------------------------------
|
|
32676
32833
|
renderChevron() {
|
|
32677
|
-
return (hAsync("div", { class: CSS$
|
|
32834
|
+
return (hAsync("div", { class: CSS$h.iconContainer }, hAsync("calcite-icon", { class: CSS$h.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
32678
32835
|
}
|
|
32679
32836
|
render() {
|
|
32680
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
32837
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$h.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
32681
32838
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32682
32839
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
32683
32840
|
}
|
|
@@ -32708,7 +32865,7 @@ class Select {
|
|
|
32708
32865
|
}; }
|
|
32709
32866
|
}
|
|
32710
32867
|
|
|
32711
|
-
const CSS$
|
|
32868
|
+
const CSS$g = {
|
|
32712
32869
|
main: "main",
|
|
32713
32870
|
content: "content",
|
|
32714
32871
|
contentBehind: "content--behind",
|
|
@@ -32717,7 +32874,7 @@ const CSS$f = {
|
|
|
32717
32874
|
container: "container",
|
|
32718
32875
|
contentBehindCenterContent: "center-content"
|
|
32719
32876
|
};
|
|
32720
|
-
const SLOTS$
|
|
32877
|
+
const SLOTS$9 = {
|
|
32721
32878
|
centerRow: "center-row",
|
|
32722
32879
|
panelStart: "panel-start",
|
|
32723
32880
|
panelEnd: "panel-end",
|
|
@@ -32796,41 +32953,41 @@ class Shell {
|
|
|
32796
32953
|
//
|
|
32797
32954
|
// --------------------------------------------------------------------------
|
|
32798
32955
|
renderHeader() {
|
|
32799
|
-
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$
|
|
32956
|
+
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
32800
32957
|
}
|
|
32801
32958
|
renderFooter() {
|
|
32802
|
-
return (hAsync("div", { class: CSS$
|
|
32959
|
+
return (hAsync("div", { class: CSS$g.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
32803
32960
|
}
|
|
32804
32961
|
renderAlerts() {
|
|
32805
|
-
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$
|
|
32962
|
+
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
32806
32963
|
}
|
|
32807
32964
|
renderModals() {
|
|
32808
|
-
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$
|
|
32965
|
+
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$9.modals, onSlotchange: this.handleModalsSlotChange })));
|
|
32809
32966
|
}
|
|
32810
32967
|
renderContent() {
|
|
32811
32968
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
32812
|
-
const deprecatedCenterRowSlotNode = (hAsync("slot", { key: "center-row-slot", name: SLOTS$
|
|
32813
|
-
const panelBottomSlotNode = hAsync("slot", { key: "panel-bottom-slot", name: SLOTS$
|
|
32814
|
-
const panelTopSlotNode = hAsync("slot", { key: "panel-top-slot", name: SLOTS$
|
|
32969
|
+
const deprecatedCenterRowSlotNode = (hAsync("slot", { key: "center-row-slot", name: SLOTS$9.centerRow }));
|
|
32970
|
+
const panelBottomSlotNode = hAsync("slot", { key: "panel-bottom-slot", name: SLOTS$9.panelBottom });
|
|
32971
|
+
const panelTopSlotNode = hAsync("slot", { key: "panel-top-slot", name: SLOTS$9.panelTop });
|
|
32815
32972
|
const contentContainerKey = "content-container";
|
|
32816
32973
|
const content = !!this.contentBehind
|
|
32817
32974
|
? [
|
|
32818
32975
|
hAsync("div", { class: {
|
|
32819
|
-
[CSS$
|
|
32820
|
-
[CSS$
|
|
32976
|
+
[CSS$g.content]: true,
|
|
32977
|
+
[CSS$g.contentBehind]: true
|
|
32821
32978
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
32822
|
-
hAsync("div", { class: CSS$
|
|
32979
|
+
hAsync("div", { class: CSS$g.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32823
32980
|
]
|
|
32824
32981
|
: [
|
|
32825
|
-
hAsync("div", { class: CSS$
|
|
32982
|
+
hAsync("div", { class: CSS$g.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32826
32983
|
];
|
|
32827
32984
|
return content;
|
|
32828
32985
|
}
|
|
32829
32986
|
renderMain() {
|
|
32830
|
-
return (hAsync("div", { class: CSS$
|
|
32987
|
+
return (hAsync("div", { class: CSS$g.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
32831
32988
|
}
|
|
32832
32989
|
renderPositionedSlots() {
|
|
32833
|
-
return (hAsync("div", { class: CSS$
|
|
32990
|
+
return (hAsync("div", { class: CSS$g.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
32834
32991
|
}
|
|
32835
32992
|
render() {
|
|
32836
32993
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -32853,11 +33010,11 @@ class Shell {
|
|
|
32853
33010
|
}; }
|
|
32854
33011
|
}
|
|
32855
33012
|
|
|
32856
|
-
const CSS$
|
|
33013
|
+
const CSS$f = {
|
|
32857
33014
|
actionBarContainer: "action-bar-container",
|
|
32858
33015
|
content: "content"
|
|
32859
33016
|
};
|
|
32860
|
-
const SLOTS$
|
|
33017
|
+
const SLOTS$8 = {
|
|
32861
33018
|
actionBar: "action-bar"
|
|
32862
33019
|
};
|
|
32863
33020
|
|
|
@@ -32892,9 +33049,9 @@ class ShellCenterRow {
|
|
|
32892
33049
|
// --------------------------------------------------------------------------
|
|
32893
33050
|
render() {
|
|
32894
33051
|
const { el } = this;
|
|
32895
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
32896
|
-
const actionBar = getSlotted(el, SLOTS$
|
|
32897
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
33052
|
+
const contentNode = (hAsync("div", { class: CSS$f.content }, hAsync("slot", null)));
|
|
33053
|
+
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
33054
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$f.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
32898
33055
|
const children = [actionBarNode, contentNode];
|
|
32899
33056
|
if (actionBar?.position === "end") {
|
|
32900
33057
|
children.reverse();
|
|
@@ -32917,7 +33074,7 @@ class ShellCenterRow {
|
|
|
32917
33074
|
}; }
|
|
32918
33075
|
}
|
|
32919
33076
|
|
|
32920
|
-
const CSS$
|
|
33077
|
+
const CSS$e = {
|
|
32921
33078
|
container: "container",
|
|
32922
33079
|
content: "content",
|
|
32923
33080
|
contentHeader: "content__header",
|
|
@@ -32926,7 +33083,7 @@ const CSS$d = {
|
|
|
32926
33083
|
contentOverlay: "content--overlay",
|
|
32927
33084
|
separator: "separator"
|
|
32928
33085
|
};
|
|
32929
|
-
const SLOTS$
|
|
33086
|
+
const SLOTS$7 = {
|
|
32930
33087
|
actionBar: "action-bar",
|
|
32931
33088
|
header: "header"
|
|
32932
33089
|
};
|
|
@@ -33177,8 +33334,8 @@ class ShellPanel {
|
|
|
33177
33334
|
// --------------------------------------------------------------------------
|
|
33178
33335
|
renderHeader() {
|
|
33179
33336
|
const { el } = this;
|
|
33180
|
-
const hasHeader = getSlotted(el, SLOTS$
|
|
33181
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
33337
|
+
const hasHeader = getSlotted(el, SLOTS$7.header);
|
|
33338
|
+
return hasHeader ? (hAsync("div", { class: CSS$e.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header }))) : null;
|
|
33182
33339
|
}
|
|
33183
33340
|
render() {
|
|
33184
33341
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode } = this;
|
|
@@ -33195,7 +33352,7 @@ class ShellPanel {
|
|
|
33195
33352
|
: null;
|
|
33196
33353
|
const separatorNode = !collapsed && allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": layout === "horizontal" ? "vertical" : "horizontal", "aria-valuemax": layout == "horizontal" ? contentHeightMax : contentWidthMax, "aria-valuemin": layout == "horizontal" ? contentHeightMin : contentWidthMin, "aria-valuenow": layout == "horizontal"
|
|
33197
33354
|
? contentHeight ?? initialContentHeight
|
|
33198
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
33355
|
+
: contentWidth ?? initialContentWidth, class: CSS$e.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
33199
33356
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33200
33357
|
ref: this.connectSeparator })) : null;
|
|
33201
33358
|
const getAnimationDir = () => {
|
|
@@ -33211,20 +33368,20 @@ class ShellPanel {
|
|
|
33211
33368
|
};
|
|
33212
33369
|
const contentNode = (hAsync("div", { class: {
|
|
33213
33370
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
33214
|
-
[CSS$
|
|
33215
|
-
[CSS$
|
|
33216
|
-
[CSS$
|
|
33371
|
+
[CSS$e.content]: true,
|
|
33372
|
+
[CSS$e.contentOverlay]: displayMode === "overlay",
|
|
33373
|
+
[CSS$e.contentFloat]: displayMode === "float",
|
|
33217
33374
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
33218
33375
|
[getAnimationDir()]: displayMode === "overlay"
|
|
33219
33376
|
}, hidden: collapsed, key: "content", style: style,
|
|
33220
33377
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33221
|
-
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
33222
|
-
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$
|
|
33378
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$e.contentBody }, hAsync("slot", null)), separatorNode));
|
|
33379
|
+
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
33223
33380
|
const mainNodes = [actionBarNode, contentNode];
|
|
33224
33381
|
if (position === "end") {
|
|
33225
33382
|
mainNodes.reverse();
|
|
33226
33383
|
}
|
|
33227
|
-
return hAsync("div", { class: { [CSS$
|
|
33384
|
+
return hAsync("div", { class: { [CSS$e.container]: true } }, mainNodes);
|
|
33228
33385
|
}
|
|
33229
33386
|
// --------------------------------------------------------------------------
|
|
33230
33387
|
//
|
|
@@ -33324,7 +33481,7 @@ class ShellPanel {
|
|
|
33324
33481
|
}; }
|
|
33325
33482
|
}
|
|
33326
33483
|
|
|
33327
|
-
const CSS$
|
|
33484
|
+
const CSS$d = {
|
|
33328
33485
|
handleLabel: "handle__label",
|
|
33329
33486
|
handleLabelMinValue: "handle__label--minValue",
|
|
33330
33487
|
handleLabelValue: "handle__label--value",
|
|
@@ -33466,6 +33623,7 @@ class Slider {
|
|
|
33466
33623
|
//
|
|
33467
33624
|
//--------------------------------------------------------------------------
|
|
33468
33625
|
connectedCallback() {
|
|
33626
|
+
connectInteractive(this);
|
|
33469
33627
|
connectLocalized(this);
|
|
33470
33628
|
this.setMinMaxFromValue();
|
|
33471
33629
|
this.setValueFromMinMax();
|
|
@@ -33473,6 +33631,7 @@ class Slider {
|
|
|
33473
33631
|
connectForm(this);
|
|
33474
33632
|
}
|
|
33475
33633
|
disconnectedCallback() {
|
|
33634
|
+
disconnectInteractive(this);
|
|
33476
33635
|
disconnectLabel(this);
|
|
33477
33636
|
disconnectForm(this);
|
|
33478
33637
|
disconnectLocalized(this);
|
|
@@ -33522,8 +33681,8 @@ class Slider {
|
|
|
33522
33681
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
33523
33682
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
33524
33683
|
const valueIsRange = isRange(this.value);
|
|
33525
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
33526
|
-
const handleLabelValueClasses = `${CSS$
|
|
33684
|
+
const handleLabelMinValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelMinValue}`;
|
|
33685
|
+
const handleLabelValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelValue}`;
|
|
33527
33686
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
33528
33687
|
thumb: true,
|
|
33529
33688
|
"thumb--value": true,
|
|
@@ -33659,8 +33818,8 @@ class Slider {
|
|
|
33659
33818
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
33660
33819
|
const tickLabel = (hAsync("span", { class: {
|
|
33661
33820
|
tick__label: true,
|
|
33662
|
-
[CSS$
|
|
33663
|
-
[CSS$
|
|
33821
|
+
[CSS$d.tickMin]: isMinTickLabel,
|
|
33822
|
+
[CSS$d.tickMax]: isMaxTickLabel
|
|
33664
33823
|
} }, displayedTickValue));
|
|
33665
33824
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
33666
33825
|
return tickLabel;
|
|
@@ -34204,7 +34363,7 @@ class Slider {
|
|
|
34204
34363
|
}; }
|
|
34205
34364
|
}
|
|
34206
34365
|
|
|
34207
|
-
const CSS$
|
|
34366
|
+
const CSS$c = {
|
|
34208
34367
|
sortItem: "sort-item",
|
|
34209
34368
|
container: "container",
|
|
34210
34369
|
containerHorizontal: "container--horizontal",
|
|
@@ -37306,8 +37465,10 @@ class SortableList {
|
|
|
37306
37465
|
connectedCallback() {
|
|
37307
37466
|
this.setUpSorting();
|
|
37308
37467
|
this.beginObserving();
|
|
37468
|
+
connectInteractive(this);
|
|
37309
37469
|
}
|
|
37310
37470
|
disconnectedCallback() {
|
|
37471
|
+
disconnectInteractive(this);
|
|
37311
37472
|
disconnectSortableComponent(this);
|
|
37312
37473
|
this.endObserving();
|
|
37313
37474
|
}
|
|
@@ -37407,9 +37568,9 @@ class SortableList {
|
|
|
37407
37568
|
const { layout } = this;
|
|
37408
37569
|
const horizontal = layout === "horizontal" || false;
|
|
37409
37570
|
return (hAsync("div", { class: {
|
|
37410
|
-
[CSS$
|
|
37411
|
-
[CSS$
|
|
37412
|
-
[CSS$
|
|
37571
|
+
[CSS$c.container]: true,
|
|
37572
|
+
[CSS$c.containerVertical]: !horizontal,
|
|
37573
|
+
[CSS$c.containerHorizontal]: horizontal
|
|
37413
37574
|
} }, hAsync("slot", null)));
|
|
37414
37575
|
}
|
|
37415
37576
|
get el() { return getElement(this); }
|
|
@@ -37431,7 +37592,7 @@ class SortableList {
|
|
|
37431
37592
|
}; }
|
|
37432
37593
|
}
|
|
37433
37594
|
|
|
37434
|
-
const CSS$
|
|
37595
|
+
const CSS$b = {
|
|
37435
37596
|
container: "split-button__container",
|
|
37436
37597
|
dividerContainer: "split-button__divider-container",
|
|
37437
37598
|
divider: "split-button__divider",
|
|
@@ -37493,6 +37654,9 @@ class SplitButton {
|
|
|
37493
37654
|
// Lifecycle
|
|
37494
37655
|
//
|
|
37495
37656
|
//--------------------------------------------------------------------------
|
|
37657
|
+
connectedCallback() {
|
|
37658
|
+
connectInteractive(this);
|
|
37659
|
+
}
|
|
37496
37660
|
componentWillLoad() {
|
|
37497
37661
|
setUpLoadableComponent(this);
|
|
37498
37662
|
}
|
|
@@ -37502,15 +37666,18 @@ class SplitButton {
|
|
|
37502
37666
|
componentDidRender() {
|
|
37503
37667
|
updateHostInteraction(this);
|
|
37504
37668
|
}
|
|
37669
|
+
disconnectedCallback() {
|
|
37670
|
+
disconnectInteractive(this);
|
|
37671
|
+
}
|
|
37505
37672
|
render() {
|
|
37506
37673
|
const widthClasses = {
|
|
37507
|
-
[CSS$
|
|
37508
|
-
[CSS$
|
|
37509
|
-
[CSS$
|
|
37510
|
-
[CSS$
|
|
37674
|
+
[CSS$b.container]: true,
|
|
37675
|
+
[CSS$b.widthAuto]: this.width === "auto",
|
|
37676
|
+
[CSS$b.widthHalf]: this.width === "half",
|
|
37677
|
+
[CSS$b.widthFull]: this.width === "full"
|
|
37511
37678
|
};
|
|
37512
37679
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
37513
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
37680
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$b.dividerContainer }, hAsync("div", { class: CSS$b.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
37514
37681
|
}
|
|
37515
37682
|
get dropdownIcon() {
|
|
37516
37683
|
return this.dropdownIconType === "chevron"
|
|
@@ -37555,6 +37722,21 @@ class SplitButton {
|
|
|
37555
37722
|
}; }
|
|
37556
37723
|
}
|
|
37557
37724
|
|
|
37725
|
+
const CSS$a = {
|
|
37726
|
+
container: "container",
|
|
37727
|
+
actionsStart: "actions-start",
|
|
37728
|
+
contentStart: "content-start",
|
|
37729
|
+
content: "content",
|
|
37730
|
+
contentEnd: "content-end",
|
|
37731
|
+
actionsEnd: "actions-end"
|
|
37732
|
+
};
|
|
37733
|
+
const SLOTS$6 = {
|
|
37734
|
+
actionsStart: "actions-start",
|
|
37735
|
+
contentStart: "content-start",
|
|
37736
|
+
contentEnd: "content-end",
|
|
37737
|
+
actionsEnd: "actions-end"
|
|
37738
|
+
};
|
|
37739
|
+
|
|
37558
37740
|
const stackCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-stack:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-stack{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-stack{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stack{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stack{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-stack{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-stack{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stack{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-stack:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-stack:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-stack-h{display:none}/*!@:host([disabled]) .content*/[disabled].sc-calcite-stack-h .content.sc-calcite-stack{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .content *,\n:host([disabled]) .content ::slotted(*)*/[disabled].sc-calcite-stack-h .content.sc-calcite-stack *.sc-calcite-stack,.sc-calcite-stack-h[disabled] .content .sc-calcite-stack-s>*{pointer-events:none}/*!@:host*/.sc-calcite-stack-h{display:flex;flex:1 1 0%;flex-direction:column}/*!@.container*/.container.sc-calcite-stack{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@.content*/.content.sc-calcite-stack{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}/*!@.content-start*/.content-start.sc-calcite-stack{justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-stack{justify-content:flex-end}/*!@.content-start,\n.content-end*/.content-start.sc-calcite-stack,.content-end.sc-calcite-stack{flex:0 1 auto}/*!@.actions-start,\n.actions-end,\n.content-start,\n.content-end*/.actions-start.sc-calcite-stack,.actions-end.sc-calcite-stack,.content-start.sc-calcite-stack,.content-end.sc-calcite-stack{display:flex;align-items:center}/*!@.content-start ::slotted(calcite-icon),\n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-stack-s>calcite-icon,.content-end .sc-calcite-stack-s>calcite-icon{margin-inline:0.75rem;align-self:center}/*!@.actions-start ::slotted(calcite-action),\n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-stack-s>calcite-action,.actions-end .sc-calcite-stack-s>calcite-action{align-self:stretch;color:inherit}/*!@[hidden]*/[hidden].sc-calcite-stack{display:none}";
|
|
37559
37741
|
|
|
37560
37742
|
/**
|
|
@@ -37597,25 +37779,25 @@ class Stack {
|
|
|
37597
37779
|
// --------------------------------------------------------------------------
|
|
37598
37780
|
renderActionsStart() {
|
|
37599
37781
|
const { hasActionsStart } = this;
|
|
37600
|
-
return (hAsync("div", { class: CSS$
|
|
37782
|
+
return (hAsync("div", { class: CSS$a.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$6.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
37601
37783
|
}
|
|
37602
37784
|
renderActionsEnd() {
|
|
37603
37785
|
const { hasActionsEnd } = this;
|
|
37604
|
-
return (hAsync("div", { class: CSS$
|
|
37786
|
+
return (hAsync("div", { class: CSS$a.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$6.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
37605
37787
|
}
|
|
37606
37788
|
renderContentStart() {
|
|
37607
37789
|
const { hasContentStart } = this;
|
|
37608
|
-
return (hAsync("div", { class: CSS$
|
|
37790
|
+
return (hAsync("div", { class: CSS$a.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$6.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
37609
37791
|
}
|
|
37610
37792
|
renderDefaultContent() {
|
|
37611
|
-
return (hAsync("div", { class: CSS$
|
|
37793
|
+
return (hAsync("div", { class: CSS$a.content }, hAsync("slot", null)));
|
|
37612
37794
|
}
|
|
37613
37795
|
renderContentEnd() {
|
|
37614
37796
|
const { hasContentEnd } = this;
|
|
37615
|
-
return (hAsync("div", { class: CSS$
|
|
37797
|
+
return (hAsync("div", { class: CSS$a.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$6.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
37616
37798
|
}
|
|
37617
37799
|
render() {
|
|
37618
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
37800
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$a.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
37619
37801
|
}
|
|
37620
37802
|
static get style() { return stackCss; }
|
|
37621
37803
|
static get cmpMeta() { return {
|
|
@@ -37943,6 +38125,7 @@ class StepperItem {
|
|
|
37943
38125
|
//
|
|
37944
38126
|
//--------------------------------------------------------------------------
|
|
37945
38127
|
connectedCallback() {
|
|
38128
|
+
connectInteractive(this);
|
|
37946
38129
|
connectLocalized(this);
|
|
37947
38130
|
}
|
|
37948
38131
|
componentWillLoad() {
|
|
@@ -37965,6 +38148,7 @@ class StepperItem {
|
|
|
37965
38148
|
updateHostInteraction(this, true);
|
|
37966
38149
|
}
|
|
37967
38150
|
disconnectedCallback() {
|
|
38151
|
+
disconnectInteractive(this);
|
|
37968
38152
|
disconnectLocalized(this);
|
|
37969
38153
|
}
|
|
37970
38154
|
render() {
|
|
@@ -38120,6 +38304,7 @@ class Switch {
|
|
|
38120
38304
|
//
|
|
38121
38305
|
//--------------------------------------------------------------------------
|
|
38122
38306
|
connectedCallback() {
|
|
38307
|
+
connectInteractive(this);
|
|
38123
38308
|
connectLabel(this);
|
|
38124
38309
|
connectForm(this);
|
|
38125
38310
|
}
|
|
@@ -38130,6 +38315,7 @@ class Switch {
|
|
|
38130
38315
|
setComponentLoaded(this);
|
|
38131
38316
|
}
|
|
38132
38317
|
disconnectedCallback() {
|
|
38318
|
+
disconnectInteractive(this);
|
|
38133
38319
|
disconnectLabel(this);
|
|
38134
38320
|
disconnectForm(this);
|
|
38135
38321
|
}
|
|
@@ -38599,6 +38785,7 @@ class TabTitle {
|
|
|
38599
38785
|
//
|
|
38600
38786
|
//--------------------------------------------------------------------------
|
|
38601
38787
|
connectedCallback() {
|
|
38788
|
+
connectInteractive(this);
|
|
38602
38789
|
connectLocalized(this);
|
|
38603
38790
|
connectMessages(this);
|
|
38604
38791
|
this.setupTextContentObserver();
|
|
@@ -38612,6 +38799,7 @@ class TabTitle {
|
|
|
38612
38799
|
detail: this.el
|
|
38613
38800
|
}));
|
|
38614
38801
|
this.resizeObserver?.disconnect();
|
|
38802
|
+
disconnectInteractive(this);
|
|
38615
38803
|
disconnectLocalized(this);
|
|
38616
38804
|
disconnectMessages(this);
|
|
38617
38805
|
}
|
|
@@ -39052,6 +39240,7 @@ class TextArea {
|
|
|
39052
39240
|
//
|
|
39053
39241
|
//--------------------------------------------------------------------------
|
|
39054
39242
|
connectedCallback() {
|
|
39243
|
+
connectInteractive(this);
|
|
39055
39244
|
connectLabel(this);
|
|
39056
39245
|
connectForm(this);
|
|
39057
39246
|
connectLocalized(this);
|
|
@@ -39069,6 +39258,7 @@ class TextArea {
|
|
|
39069
39258
|
this.setTextAreaHeight();
|
|
39070
39259
|
}
|
|
39071
39260
|
disconnectedCallback() {
|
|
39261
|
+
disconnectInteractive(this);
|
|
39072
39262
|
disconnectLabel(this);
|
|
39073
39263
|
disconnectForm(this);
|
|
39074
39264
|
disconnectLocalized(this);
|
|
@@ -39232,9 +39422,11 @@ class Tile {
|
|
|
39232
39422
|
// --------------------------------------------------------------------------
|
|
39233
39423
|
connectedCallback() {
|
|
39234
39424
|
connectConditionalSlotComponent(this);
|
|
39425
|
+
connectInteractive(this);
|
|
39235
39426
|
}
|
|
39236
39427
|
disconnectedCallback() {
|
|
39237
39428
|
disconnectConditionalSlotComponent(this);
|
|
39429
|
+
disconnectInteractive(this);
|
|
39238
39430
|
}
|
|
39239
39431
|
componentDidRender() {
|
|
39240
39432
|
updateHostInteraction(this);
|
|
@@ -39416,6 +39608,7 @@ class TileSelect {
|
|
|
39416
39608
|
//--------------------------------------------------------------------------
|
|
39417
39609
|
connectedCallback() {
|
|
39418
39610
|
this.renderInput();
|
|
39611
|
+
connectInteractive(this);
|
|
39419
39612
|
}
|
|
39420
39613
|
componentWillLoad() {
|
|
39421
39614
|
setUpLoadableComponent(this);
|
|
@@ -39425,6 +39618,7 @@ class TileSelect {
|
|
|
39425
39618
|
}
|
|
39426
39619
|
disconnectedCallback() {
|
|
39427
39620
|
this.input.parentNode.removeChild(this.input);
|
|
39621
|
+
disconnectInteractive(this);
|
|
39428
39622
|
}
|
|
39429
39623
|
componentDidRender() {
|
|
39430
39624
|
updateHostInteraction(this);
|
|
@@ -39518,9 +39712,15 @@ class TileSelectGroup {
|
|
|
39518
39712
|
// Lifecycle
|
|
39519
39713
|
//
|
|
39520
39714
|
//--------------------------------------------------------------------------
|
|
39715
|
+
connectedCallback() {
|
|
39716
|
+
connectInteractive(this);
|
|
39717
|
+
}
|
|
39521
39718
|
componentDidRender() {
|
|
39522
39719
|
updateHostInteraction(this);
|
|
39523
39720
|
}
|
|
39721
|
+
disconnectedCallback() {
|
|
39722
|
+
disconnectInteractive(this);
|
|
39723
|
+
}
|
|
39524
39724
|
render() {
|
|
39525
39725
|
return hAsync("slot", null);
|
|
39526
39726
|
}
|
|
@@ -41407,9 +41607,11 @@ class TreeItem {
|
|
|
41407
41607
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
41408
41608
|
}
|
|
41409
41609
|
connectConditionalSlotComponent(this);
|
|
41610
|
+
connectInteractive(this);
|
|
41410
41611
|
}
|
|
41411
41612
|
disconnectedCallback() {
|
|
41412
41613
|
disconnectConditionalSlotComponent(this);
|
|
41614
|
+
disconnectInteractive(this);
|
|
41413
41615
|
}
|
|
41414
41616
|
componentWillRender() {
|
|
41415
41617
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -41769,6 +41971,7 @@ class ValueList {
|
|
|
41769
41971
|
//
|
|
41770
41972
|
// --------------------------------------------------------------------------
|
|
41771
41973
|
connectedCallback() {
|
|
41974
|
+
connectInteractive(this);
|
|
41772
41975
|
connectLocalized(this);
|
|
41773
41976
|
connectMessages(this);
|
|
41774
41977
|
initialize.call(this);
|
|
@@ -41787,6 +41990,7 @@ class ValueList {
|
|
|
41787
41990
|
updateHostInteraction(this);
|
|
41788
41991
|
}
|
|
41789
41992
|
disconnectedCallback() {
|
|
41993
|
+
disconnectInteractive(this);
|
|
41790
41994
|
disconnectSortableComponent(this);
|
|
41791
41995
|
disconnectLocalized(this);
|
|
41792
41996
|
disconnectMessages(this);
|
|
@@ -42000,9 +42204,11 @@ class ValueListItem {
|
|
|
42000
42204
|
// --------------------------------------------------------------------------
|
|
42001
42205
|
connectedCallback() {
|
|
42002
42206
|
connectConditionalSlotComponent(this);
|
|
42207
|
+
connectInteractive(this);
|
|
42003
42208
|
}
|
|
42004
42209
|
disconnectedCallback() {
|
|
42005
42210
|
disconnectConditionalSlotComponent(this);
|
|
42211
|
+
disconnectInteractive(this);
|
|
42006
42212
|
}
|
|
42007
42213
|
componentWillLoad() {
|
|
42008
42214
|
setUpLoadableComponent(this);
|
|
@@ -42044,19 +42250,19 @@ class ValueListItem {
|
|
|
42044
42250
|
renderActionsEnd() {
|
|
42045
42251
|
const { el } = this;
|
|
42046
42252
|
const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);
|
|
42047
|
-
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$
|
|
42253
|
+
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$b.actionsEnd })) : null;
|
|
42048
42254
|
}
|
|
42049
42255
|
renderActionsStart() {
|
|
42050
42256
|
const { el } = this;
|
|
42051
42257
|
const hasActionsStart = getSlotted(el, SLOTS.actionsStart);
|
|
42052
|
-
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$
|
|
42258
|
+
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$b.actionsStart })) : null;
|
|
42053
42259
|
}
|
|
42054
42260
|
renderHandle() {
|
|
42055
42261
|
const { icon, iconFlipRtl } = this;
|
|
42056
42262
|
if (icon === ICON_TYPES$1.grip) {
|
|
42057
42263
|
return (hAsync("span", { class: {
|
|
42058
|
-
[CSS$
|
|
42059
|
-
[CSS$
|
|
42264
|
+
[CSS$n.handle]: true,
|
|
42265
|
+
[CSS$n.handleActivated]: this.handleActivated
|
|
42060
42266
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
42061
42267
|
}
|
|
42062
42268
|
}
|