@esri/calcite-components 1.5.0-next.0 → 1.5.0-next.1
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-0364fa56.js → p-00268826.js} +1 -1
- package/dist/calcite/p-00ea0ddc.entry.js +6 -0
- package/dist/calcite/p-02dd8a6b.entry.js +6 -0
- package/dist/calcite/p-0706dff6.js +6 -0
- package/dist/calcite/p-0afaae1f.js +6 -0
- package/dist/calcite/p-0b5ba34c.entry.js +6 -0
- package/dist/calcite/p-0b9efe36.entry.js +6 -0
- package/dist/calcite/{p-b4757027.entry.js → p-0e112dc9.entry.js} +2 -2
- package/dist/calcite/p-0f204f1c.entry.js +6 -0
- package/dist/calcite/p-1226d8a1.entry.js +6 -0
- package/dist/calcite/p-1536a374.js +6 -0
- package/dist/calcite/p-17ae07f2.js +6 -0
- package/dist/calcite/p-18f6ca59.js +6 -0
- package/dist/calcite/p-1becb1ee.entry.js +6 -0
- package/dist/calcite/{p-9fe43f5f.js → p-21e1e0fe.js} +2 -2
- package/dist/calcite/{p-7f3639f3.js → p-24e061c7.js} +1 -1
- package/dist/calcite/p-25e206fa.js +6 -0
- package/dist/calcite/{p-efbc719a.js → p-26f35afd.js} +1 -1
- package/dist/calcite/{p-79d83c0e.js → p-2733cec1.js} +2 -2
- package/dist/calcite/p-282df20e.entry.js +6 -0
- package/dist/calcite/p-2838d525.js +6 -0
- package/dist/calcite/{p-d6b0b457.js → p-28ccea27.js} +1 -1
- package/dist/calcite/p-294e536a.js +6 -0
- package/dist/calcite/p-29d3859f.js +6 -0
- package/dist/calcite/p-2e196a51.js +6 -0
- package/dist/calcite/{p-41e746a3.js → p-35104432.js} +2 -2
- package/dist/calcite/p-3a42d7f9.js +6 -0
- package/dist/calcite/p-3db8d71d.js +6 -0
- package/dist/calcite/p-3deacb46.js +6 -0
- package/dist/calcite/{p-ff8f31f1.js → p-3f2ed480.js} +2 -2
- package/dist/calcite/p-4061a3e7.js +6 -0
- package/dist/calcite/{p-2d999e9d.entry.js → p-4079ab9f.entry.js} +2 -2
- package/dist/calcite/p-40c04b34.entry.js +6 -0
- package/dist/calcite/p-40cc2b47.entry.js +6 -0
- package/dist/calcite/p-40fbc544.js +6 -0
- package/dist/calcite/{p-24e26952.entry.js → p-41f1d4c6.entry.js} +2 -2
- package/dist/calcite/{p-f4ff2444.js → p-42c01cc6.js} +1 -1
- package/dist/calcite/{p-2d00d6bb.js → p-43304d41.js} +1 -1
- package/dist/calcite/p-44d31717.entry.js +6 -0
- package/dist/calcite/p-4aa03578.entry.js +6 -0
- package/dist/calcite/p-4b0adb2c.js +6 -0
- package/dist/calcite/p-4b1e9c01.js +6 -0
- package/dist/calcite/{p-d103a595.js → p-4b23d0d7.js} +2 -2
- package/dist/calcite/p-4cee2db8.js +6 -0
- package/dist/calcite/p-50d8e371.entry.js +6 -0
- package/dist/calcite/{p-8bcb6511.js → p-5170d9dd.js} +1 -1
- package/dist/calcite/{p-95d68201.js → p-518c9485.js} +2 -2
- package/dist/calcite/p-53f23be6.js +6 -0
- package/dist/calcite/p-5423da6a.entry.js +6 -0
- package/dist/calcite/p-54fc0231.js +6 -0
- package/dist/calcite/{p-acd123b3.entry.js → p-5631c812.entry.js} +2 -2
- package/dist/calcite/{p-21e9a8a5.entry.js → p-56faac27.entry.js} +2 -2
- package/dist/calcite/{p-f55f35e2.js → p-590dde03.js} +2 -2
- package/dist/calcite/p-59c6b638.js +6 -0
- package/dist/calcite/p-5bbc9af5.js +6 -0
- package/dist/calcite/{p-06cc0f03.js → p-5cf5338b.js} +1 -1
- package/dist/calcite/{p-3e0c63b1.js → p-5ecdf83b.js} +2 -2
- package/dist/calcite/{p-96a2cc21.entry.js → p-5fb59802.entry.js} +2 -2
- package/dist/calcite/p-64e4e0c8.entry.js +6 -0
- package/dist/calcite/{p-4256ce72.js → p-65f0db28.js} +2 -2
- package/dist/calcite/p-688a8cb9.js +6 -0
- package/dist/calcite/{p-89583e39.entry.js → p-6932db6b.entry.js} +2 -2
- package/dist/calcite/p-6a0ae43e.js +6 -0
- package/dist/calcite/{p-df33878c.js → p-6aee7164.js} +2 -2
- package/dist/calcite/p-6bf2e57e.js +6 -0
- package/dist/calcite/p-6dc2c14d.js +6 -0
- package/dist/calcite/p-6f57c1a9.js +6 -0
- package/dist/calcite/p-70a80ced.js +6 -0
- package/dist/calcite/p-776d629d.js +6 -0
- package/dist/calcite/{p-ed8c1f6a.entry.js → p-7b8e8286.entry.js} +2 -2
- package/dist/calcite/p-7cde50fa.js +6 -0
- package/dist/calcite/p-7e84dbed.entry.js +6 -0
- package/dist/calcite/p-83d92ba2.js +6 -0
- package/dist/calcite/p-8458d012.entry.js +6 -0
- package/dist/calcite/p-84e6271d.entry.js +6 -0
- package/dist/calcite/p-85f8c6a3.js +6 -0
- package/dist/calcite/p-8b8ceba2.entry.js +6 -0
- package/dist/calcite/p-8d16708e.entry.js +6 -0
- package/dist/calcite/p-8db429ce.js +6 -0
- package/dist/calcite/p-901380cd.js +6 -0
- package/dist/calcite/p-9064cb94.entry.js +6 -0
- package/dist/calcite/p-9100ed47.entry.js +6 -0
- package/dist/calcite/p-9498534e.js +6 -0
- package/dist/calcite/p-94b06abb.entry.js +6 -0
- package/dist/calcite/{p-99bd5304.js → p-95c7007c.js} +1 -1
- package/dist/calcite/{p-9dd10e86.entry.js → p-99af9ca5.entry.js} +2 -2
- package/dist/calcite/p-9b65beeb.js +6 -0
- package/dist/calcite/p-9bf1f3fe.entry.js +6 -0
- package/dist/calcite/p-9d20dac3.entry.js +6 -0
- package/dist/calcite/{p-9853db31.entry.js → p-9fce12de.entry.js} +2 -2
- package/dist/calcite/{p-e0f2d088.entry.js → p-a029b8f0.entry.js} +2 -2
- package/dist/calcite/{p-01bdd24a.entry.js → p-a125b1bf.entry.js} +2 -2
- package/dist/calcite/{p-2c0b6cac.js → p-a1a98034.js} +2 -2
- package/dist/calcite/{p-bf8ce5e2.js → p-a38ff3e2.js} +1 -1
- package/dist/calcite/p-a44ed03e.js +6 -0
- package/dist/calcite/p-a60541bd.entry.js +6 -0
- package/dist/calcite/{p-dff4ad85.js → p-a6a3c0e5.js} +1 -1
- package/dist/calcite/p-a7f54606.js +6 -0
- package/dist/calcite/p-abbcc4cb.entry.js +6 -0
- package/dist/calcite/p-b3405b12.entry.js +6 -0
- package/dist/calcite/{p-a6f88c45.entry.js → p-b3ca02f8.entry.js} +2 -2
- package/dist/calcite/p-b438901c.js +6 -0
- package/dist/calcite/p-b57f2c89.entry.js +6 -0
- package/dist/calcite/p-b6d94482.js +6 -0
- package/dist/calcite/p-b97a5ffe.js +6 -0
- package/dist/calcite/p-bd02bf31.entry.js +6 -0
- package/dist/calcite/{p-5734031c.entry.js → p-bd3a4271.entry.js} +2 -2
- package/dist/calcite/p-be1f62fd.js +6 -0
- package/dist/calcite/p-be7eed24.js +6 -0
- package/dist/calcite/p-bf760e9c.js +6 -0
- package/dist/calcite/p-c026e1a5.js +6 -0
- package/dist/calcite/{p-df28bd80.entry.js → p-c1f4c22d.entry.js} +2 -2
- package/dist/calcite/p-c33876d1.entry.js +6 -0
- package/dist/calcite/p-c3a8ce33.js +6 -0
- package/dist/calcite/p-c5bc0026.js +6 -0
- package/dist/calcite/{p-92b97a4f.js → p-c6241db2.js} +2 -2
- package/dist/calcite/{p-fde1e0c4.entry.js → p-c921b53f.entry.js} +2 -2
- package/dist/calcite/p-c9d9447f.entry.js +6 -0
- package/dist/calcite/{p-e5f8c705.js → p-ca58aafd.js} +1 -1
- package/dist/calcite/p-ca9613c5.entry.js +6 -0
- package/dist/calcite/p-cc59a625.js +6 -0
- package/dist/calcite/p-cdb49034.js +6 -0
- package/dist/calcite/{p-35c0d84e.js → p-ce16777a.js} +1 -1
- package/dist/calcite/{p-80533be7.js → p-d051afc3.js} +2 -2
- package/dist/calcite/p-d107d30f.js +6 -0
- package/dist/calcite/p-d1c7b0ac.js +6 -0
- package/dist/calcite/{p-75937a38.js → p-d3cf4561.js} +1 -1
- package/dist/calcite/p-d4718e74.js +6 -0
- package/dist/calcite/{p-88d3c6bc.entry.js → p-d488d2ee.entry.js} +2 -2
- package/dist/calcite/p-d963f676.js +6 -0
- package/dist/calcite/p-da144afb.entry.js +6 -0
- package/dist/calcite/p-dc8e869d.entry.js +6 -0
- package/dist/calcite/{p-106d80ff.entry.js → p-ddd6c49f.entry.js} +2 -2
- package/dist/calcite/{p-c2ba582d.entry.js → p-e0fbd8d8.entry.js} +2 -2
- package/dist/calcite/p-e11fad68.entry.js +6 -0
- package/dist/calcite/p-e30f26c9.js +6 -0
- package/dist/calcite/p-e48c3b57.js +6 -0
- package/dist/calcite/p-ed7e8e2e.entry.js +6 -0
- package/dist/calcite/{p-7b26cc1c.entry.js → p-edb75936.entry.js} +2 -2
- package/dist/calcite/p-ee34535b.entry.js +6 -0
- package/dist/calcite/{p-9a000173.js → p-ee5f9240.js} +2 -2
- package/dist/calcite/p-f145963c.entry.js +6 -0
- package/dist/calcite/{p-3530df33.entry.js → p-f20338e6.entry.js} +2 -2
- package/dist/calcite/p-f2218c6c.js +6 -0
- package/dist/calcite/p-f2820a55.entry.js +6 -0
- package/dist/calcite/p-f5e18651.entry.js +6 -0
- package/dist/calcite/{p-8066065e.entry.js → p-f6e209b7.entry.js} +2 -2
- package/dist/calcite/{p-891f1adf.entry.js → p-f8ebc36f.entry.js} +2 -2
- package/dist/calcite/{p-01e6319e.js → p-fbf61236.js} +1 -1
- package/dist/calcite/p-fccca985.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-116aab4e.js → ExpandToggle-4416f402.js} +5 -5
- package/dist/cjs/{FloatingArrow-f201efca.js → FloatingArrow-856f9b15.js} +2 -2
- package/dist/cjs/{Heading-c6d79f19.js → Heading-a8bdb4dc.js} +2 -2
- package/dist/cjs/{app-globals-188e6447.js → app-globals-57a374ac.js} +2 -2
- package/dist/cjs/{ar-6f445e62.js → ar-5c21413f.js} +16 -15
- package/dist/cjs/{array-56f02477.js → array-088ce834.js} +1 -1
- package/dist/cjs/{bg-c2b7459c.js → bg-5788a286.js} +16 -15
- package/dist/cjs/browser-73d78aa9.js +19 -0
- package/dist/cjs/{bs-bb9e388e.js → bs-511d0210.js} +16 -15
- package/dist/cjs/{ca-e98a690d.js → ca-9d3c1104.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 +12 -12
- 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-31115611.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 +9 -9
- 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-84cf7d71.js} +1 -1
- package/dist/cjs/{conditionalSlot-950ffb23.js → conditionalSlot-12c97e03.js} +3 -3
- package/dist/cjs/{cs-cc1246b2.js → cs-85e66ea0.js} +16 -15
- package/dist/cjs/{da-eb3baa5e.js → da-15ca5cb1.js} +16 -15
- package/dist/cjs/{de-38a484d5.js → de-91b868b7.js} +16 -15
- package/dist/cjs/{de-at-4bd2150a.js → de-at-c3a12292.js} +16 -15
- package/dist/cjs/{de-ch-60a228d4.js → de-ch-3590fd28.js} +16 -15
- package/dist/cjs/{debounce-60e39ebe.js → debounce-233f6e70.js} +1 -1
- package/dist/cjs/{dom-ef71cdcc.js → dom-2450209d.js} +3 -3
- package/dist/cjs/{el-d1ff0ed1.js → el-745c617c.js} +16 -15
- package/dist/cjs/{en-au-eac0fb07.js → en-au-333f6cc5.js} +16 -15
- package/dist/cjs/{en-ca-f4ea400d.js → en-ca-b6724dd9.js} +16 -15
- package/dist/cjs/{en-gb-c4206bd0.js → en-gb-0caa20f9.js} +16 -15
- package/dist/cjs/{es-0e1f2635.js → es-dc6a7633.js} +16 -15
- package/dist/cjs/{es-mx-e716c88e.js → es-mx-74339bd6.js} +16 -15
- package/dist/cjs/{et-e2956599.js → et-71def54e.js} +16 -15
- package/dist/cjs/{fi-c7a74263.js → fi-cc82bacd.js} +16 -15
- package/dist/cjs/{filter-5ebc882d.js → filter-b7b53dbb.js} +2 -2
- package/dist/cjs/{floating-ui-c810c7f8.js → floating-ui-9473a320.js} +16 -24
- package/dist/cjs/{focusTrapComponent-1092be83.js → focusTrapComponent-8d4b7d60.js} +2 -2
- package/dist/cjs/{form-8e28c75e.js → form-b58d9854.js} +3 -3
- package/dist/cjs/{fr-ch-5fef0619.js → fr-ch-9701f718.js} +16 -15
- package/dist/cjs/{fr-fd7b9081.js → fr-fba50631.js} +16 -15
- package/dist/cjs/{guid-7b68a68f.js → guid-ffd051fb.js} +1 -1
- package/dist/cjs/{he-f1fcc5a7.js → he-76cb2fdf.js} +16 -15
- package/dist/cjs/{hi-db8e2a49.js → hi-7b66cffe.js} +16 -15
- package/dist/cjs/{hr-1aea4cc0.js → hr-d8b8cf88.js} +16 -15
- package/dist/cjs/{hu-506d084c.js → hu-d2ac60b0.js} +16 -15
- package/dist/cjs/{id-b066c926.js → id-17278321.js} +16 -15
- package/dist/cjs/{index-c3cbd8d1.js → index-19bd3a11.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/interactive-1937d79a.js +142 -0
- package/dist/cjs/{it-1388592d.js → it-464ada0e.js} +16 -15
- package/dist/cjs/{it-ch-29731c96.js → it-ch-fda55445.js} +16 -15
- package/dist/cjs/{ja-1f2de4d8.js → ja-9560b50b.js} +16 -15
- package/dist/cjs/{key-d0cad9b0.js → key-07546599.js} +1 -1
- package/dist/cjs/{ko-97540d8c.js → ko-a10b2486.js} +16 -15
- package/dist/cjs/{label-37fd1e62.js → label-9c322a39.js} +2 -2
- package/dist/cjs/{loadable-5de11b60.js → loadable-bae1cde6.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-6da1f412.js → locale-375b2f26.js} +4 -4
- package/dist/cjs/{lt-fd098ebc.js → lt-f019bcc9.js} +16 -15
- package/dist/cjs/{lv-3afcf0c2.js → lv-d794949b.js} +16 -15
- package/dist/cjs/{math-2cb85f3d.js → math-64617a00.js} +1 -1
- package/dist/cjs/{mk-ebca513a.js → mk-2a907407.js} +16 -15
- package/dist/cjs/{nb-4af5765b.js → nb-ca304690.js} +16 -15
- package/dist/cjs/{nl-17730524.js → nl-cff94a25.js} +16 -15
- package/dist/cjs/{observers-0e22ec57.js → observers-99e8f27f.js} +1 -1
- package/dist/cjs/{openCloseComponent-b9c05536.js → openCloseComponent-caba8f58.js} +2 -2
- package/dist/cjs/{pl-6ea1de71.js → pl-1634daa8.js} +16 -15
- package/dist/cjs/{pt-37594a74.js → pt-5bf1af1b.js} +16 -15
- package/dist/cjs/{pt-br-95f679e9.js → pt-br-1d6f1e5f.js} +16 -15
- package/dist/cjs/{resources-378f1c2e.js → resources-0cc726a1.js} +1 -1
- package/dist/cjs/{resources-5820ff7a.js → resources-3e275bfb.js} +1 -1
- package/dist/cjs/{resources-1944aa33.js → resources-58eaccff.js} +1 -1
- package/dist/cjs/{resources-cd3d8dcf.js → resources-6cb9acec.js} +5 -5
- package/dist/cjs/{resources-a6ec2855.js → resources-a6f34f8a.js} +1 -1
- package/dist/cjs/{resources-ddaceaf9.js → resources-f0d57fb3.js} +1 -1
- package/dist/cjs/{ro-24bf7ea0.js → ro-795a2dc2.js} +16 -15
- package/dist/cjs/{ru-4421387c.js → ru-46e54b0f.js} +16 -15
- package/dist/cjs/{sk-7603c81b.js → sk-e5321745.js} +16 -15
- package/dist/cjs/{sl-9ae16b72.js → sl-7e9aa2e0.js} +16 -15
- package/dist/cjs/{sortableComponent-86a155f2.js → sortableComponent-a96ee722.js} +2 -2
- package/dist/cjs/{sr-d3eccd1f.js → sr-1aaa6d18.js} +16 -15
- package/dist/cjs/{sv-3ca21ded.js → sv-04ecb7f2.js} +16 -15
- package/dist/cjs/{t9n-815b3355.js → t9n-22f2e1e0.js} +3 -3
- package/dist/cjs/{th-e0cf9592.js → th-0312cc8e.js} +16 -15
- package/dist/cjs/{throttle-8673f9c4.js → throttle-36c3be49.js} +2 -2
- package/dist/cjs/{tr-87fc38dd.js → tr-df8d4fad.js} +16 -15
- package/dist/cjs/{uk-bcbc70c7.js → uk-95723ce4.js} +16 -15
- package/dist/cjs/{utils-438915e6.js → utils-7d45c491.js} +1 -1
- package/dist/cjs/{utils-30c2a335.js → utils-940b7317.js} +3 -3
- package/dist/cjs/{vi-da43bc8d.js → vi-c8268a32.js} +16 -15
- package/dist/cjs/{zh-cn-d1305334.js → zh-cn-1672f0a8.js} +16 -15
- package/dist/cjs/{zh-hk-ec809af5.js → zh-hk-ce84c639.js} +16 -15
- package/dist/cjs/{zh-tw-b4969927.js → zh-tw-3e1729b3.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 +1 -1
- 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 +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +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 +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/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-7f090d74.js} +5 -5
- package/dist/esm/{FloatingArrow-c9f4fc75.js → FloatingArrow-4dfb751c.js} +2 -2
- package/dist/esm/{Heading-f950922a.js → Heading-a36de748.js} +2 -2
- package/dist/esm/{app-globals-d9d6ab59.js → app-globals-edb0c6c5.js} +2 -2
- package/dist/esm/{ar-e49ff10a.js → ar-25d097b6.js} +16 -15
- package/dist/esm/{array-69a89828.js → array-e8b3300d.js} +1 -1
- package/dist/esm/{bg-e212a304.js → bg-0efbe45b.js} +16 -15
- package/dist/esm/browser-b37774a4.js +16 -0
- package/dist/esm/{bs-fc1baefd.js → bs-50366ec1.js} +16 -15
- package/dist/esm/{ca-75b1bc87.js → ca-d9613b1b.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 +12 -12
- 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-968a6eb7.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 +9 -9
- 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-6979fcd9.js} +1 -1
- package/dist/esm/{conditionalSlot-4816e296.js → conditionalSlot-bd676adf.js} +3 -3
- package/dist/esm/{cs-48de7534.js → cs-4b63b01a.js} +16 -15
- package/dist/esm/{da-60c1988f.js → da-8a13ded4.js} +16 -15
- package/dist/esm/{de-237bd34d.js → de-32eb6dce.js} +16 -15
- package/dist/esm/{de-at-b8a0ab53.js → de-at-867ac0ca.js} +16 -15
- package/dist/esm/{de-ch-91b89465.js → de-ch-d1218657.js} +16 -15
- package/dist/esm/{debounce-db02f2cf.js → debounce-b6a7f625.js} +1 -1
- package/dist/esm/{dom-399ce2a4.js → dom-58eb88c2.js} +3 -3
- package/dist/esm/{el-e707e759.js → el-779032d5.js} +16 -15
- package/dist/esm/{en-au-54f9e7b4.js → en-au-91b64e8d.js} +16 -15
- package/dist/esm/{en-ca-e40d8b33.js → en-ca-28e71268.js} +16 -15
- package/dist/esm/{en-gb-e9a3e715.js → en-gb-1674cdce.js} +16 -15
- package/dist/esm/{es-2fb4628d.js → es-73405ac6.js} +16 -15
- package/dist/esm/{es-mx-69281470.js → es-mx-512650b6.js} +16 -15
- package/dist/esm/{et-27226140.js → et-03aa7631.js} +16 -15
- package/dist/esm/{fi-6c8a3e71.js → fi-b7cf8b24.js} +16 -15
- package/dist/esm/{filter-c7d821eb.js → filter-f6eeb3f7.js} +2 -2
- package/dist/esm/{floating-ui-63ac58bc.js → floating-ui-f498bb20.js} +16 -24
- package/dist/esm/{focusTrapComponent-29332d58.js → focusTrapComponent-bb71fcca.js} +2 -2
- package/dist/esm/{form-47cea73a.js → form-02d276d0.js} +3 -3
- package/dist/esm/{fr-8ff84220.js → fr-33ca022d.js} +16 -15
- package/dist/esm/{fr-ch-c236c164.js → fr-ch-02fb1cc5.js} +16 -15
- package/dist/esm/{guid-6fefb808.js → guid-79d83636.js} +1 -1
- package/dist/esm/{he-69b2f958.js → he-5c9afc4b.js} +16 -15
- package/dist/esm/{hi-d7418879.js → hi-40792300.js} +16 -15
- package/dist/esm/{hr-8157d11f.js → hr-edfcf8d0.js} +16 -15
- package/dist/esm/{hu-bff446b4.js → hu-57cd4ed3.js} +16 -15
- package/dist/esm/{id-cbfb0f53.js → id-9ddd114d.js} +16 -15
- package/dist/esm/{index-2d4d65c0.js → index-0cc59071.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/interactive-abc9ac33.js +138 -0
- package/dist/esm/{it-dbcc44bf.js → it-1fec4df9.js} +16 -15
- package/dist/esm/{it-ch-d6449c6b.js → it-ch-c27b140e.js} +16 -15
- package/dist/esm/{ja-49cbd232.js → ja-8618c15b.js} +16 -15
- package/dist/esm/{key-dd77cdfa.js → key-e65a7736.js} +1 -1
- package/dist/esm/{ko-be962434.js → ko-ad4f2813.js} +16 -15
- package/dist/esm/{label-d6ca00c5.js → label-2f1e6dd9.js} +2 -2
- package/dist/esm/{loadable-bee21000.js → loadable-81762b29.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-785d58ec.js → locale-fe87a0fc.js} +4 -4
- package/dist/esm/{lt-e8f61142.js → lt-2ef43460.js} +16 -15
- package/dist/esm/{lv-bc0dea8b.js → lv-8682a64f.js} +16 -15
- package/dist/esm/{math-00a04463.js → math-c9057eb2.js} +1 -1
- package/dist/esm/{mk-72e8e6cb.js → mk-533fca0b.js} +16 -15
- package/dist/esm/{nb-e2ab0426.js → nb-82d58f3d.js} +16 -15
- package/dist/esm/{nl-0d5aad3f.js → nl-0203ae1b.js} +16 -15
- package/dist/esm/{observers-a21fa8b4.js → observers-46ea56e6.js} +1 -1
- package/dist/esm/{openCloseComponent-095026c7.js → openCloseComponent-ef8dac3e.js} +2 -2
- package/dist/esm/{pl-d114afb0.js → pl-5097bb45.js} +16 -15
- package/dist/esm/{pt-026db4c3.js → pt-82a510db.js} +16 -15
- package/dist/esm/{pt-br-0a227632.js → pt-br-c412e5c5.js} +16 -15
- package/dist/esm/{resources-fc73efcf.js → resources-205109c1.js} +5 -5
- package/dist/esm/{resources-915980aa.js → resources-6c8f42d3.js} +1 -1
- package/dist/esm/{resources-f598793f.js → resources-99b0aec0.js} +1 -1
- package/dist/esm/{resources-277a2fb0.js → resources-b9f9e3eb.js} +1 -1
- package/dist/esm/{resources-ba14c406.js → resources-c224de5e.js} +1 -1
- package/dist/esm/{resources-ef349255.js → resources-caf50912.js} +1 -1
- package/dist/esm/{ro-a496e1fa.js → ro-57d7bacc.js} +16 -15
- package/dist/esm/{ru-3f96cc9e.js → ru-b9a6c49f.js} +16 -15
- package/dist/esm/{sk-44c2e652.js → sk-01c5f2f1.js} +16 -15
- package/dist/esm/{sl-aec5cf49.js → sl-eb53ac60.js} +16 -15
- package/dist/esm/{sortableComponent-77088e26.js → sortableComponent-1195b05d.js} +2 -2
- package/dist/esm/{sr-f0f6343a.js → sr-59594b9b.js} +16 -15
- package/dist/esm/{sv-70330b37.js → sv-3982712b.js} +16 -15
- package/dist/esm/{t9n-8e50f009.js → t9n-cf1c68d6.js} +3 -3
- package/dist/esm/{th-1646931f.js → th-f2da7ecb.js} +16 -15
- package/dist/esm/{throttle-c5bcc62f.js → throttle-81ab803b.js} +2 -2
- package/dist/esm/{tr-8feca3d2.js → tr-c52c9b37.js} +16 -15
- package/dist/esm/{uk-63c9f28e.js → uk-055fa2d8.js} +16 -15
- package/dist/esm/{utils-850683bc.js → utils-29ef38c4.js} +1 -1
- package/dist/esm/{utils-b06aa9eb.js → utils-d6a0cea3.js} +3 -3
- package/dist/esm/{vi-134b7652.js → vi-8f19ac11.js} +16 -15
- package/dist/esm/{zh-cn-830ac4a8.js → zh-cn-ee6fe1cc.js} +16 -15
- package/dist/esm/{zh-hk-f56737cb.js → zh-hk-64026958.js} +16 -15
- package/dist/esm/{zh-tw-85f7e98d.js → zh-tw-d6533460.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/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 +437 -266
- package/package.json +2 -2
- 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-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-37ddbcdf.entry.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-96ec27e6.entry.js +0 -6
- package/dist/calcite/p-97bfe0cc.js +0 -6
- package/dist/calcite/p-9c791f91.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-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/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.0
|
|
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",
|
|
@@ -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,7 +32268,7 @@ 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
|
};
|
|
@@ -32200,8 +32318,8 @@ class Scrim {
|
|
|
32200
32318
|
const { el, loading, messages } = this;
|
|
32201
32319
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
32202
32320
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
32203
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
32204
|
-
return (hAsync("div", { class: CSS$
|
|
32321
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$j.content }, hAsync("slot", null))) : null;
|
|
32322
|
+
return (hAsync("div", { class: CSS$j.scrim }, loaderNode, contentNode));
|
|
32205
32323
|
}
|
|
32206
32324
|
static get assetsDirs() { return ["assets"]; }
|
|
32207
32325
|
get el() { return getElement(this); }
|
|
@@ -32298,10 +32416,12 @@ class SegmentedControl {
|
|
|
32298
32416
|
setComponentLoaded(this);
|
|
32299
32417
|
}
|
|
32300
32418
|
connectedCallback() {
|
|
32419
|
+
connectInteractive(this);
|
|
32301
32420
|
connectLabel(this);
|
|
32302
32421
|
connectForm(this);
|
|
32303
32422
|
}
|
|
32304
32423
|
disconnectedCallback() {
|
|
32424
|
+
disconnectInteractive(this);
|
|
32305
32425
|
disconnectLabel(this);
|
|
32306
32426
|
disconnectForm(this);
|
|
32307
32427
|
}
|
|
@@ -32430,10 +32550,10 @@ class SegmentedControl {
|
|
|
32430
32550
|
}; }
|
|
32431
32551
|
}
|
|
32432
32552
|
|
|
32433
|
-
const SLOTS$
|
|
32553
|
+
const SLOTS$a = {
|
|
32434
32554
|
input: "input"
|
|
32435
32555
|
};
|
|
32436
|
-
const CSS$
|
|
32556
|
+
const CSS$i = {
|
|
32437
32557
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
32438
32558
|
};
|
|
32439
32559
|
|
|
@@ -32457,8 +32577,8 @@ class SegmentedControlItem {
|
|
|
32457
32577
|
const scale = getElementProp(this.el, "scale", "m");
|
|
32458
32578
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
32459
32579
|
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$
|
|
32580
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
32581
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$i.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
32462
32582
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
32463
32583
|
"label--scale-s": scale === "s",
|
|
32464
32584
|
"label--scale-m": scale === "m",
|
|
@@ -32466,7 +32586,7 @@ class SegmentedControlItem {
|
|
|
32466
32586
|
"label--horizontal": layout === "horizontal",
|
|
32467
32587
|
"label--outline": appearance === "outline",
|
|
32468
32588
|
"label--outline-fill": appearance === "outline-fill"
|
|
32469
|
-
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$
|
|
32589
|
+
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$a.input }), this.iconEnd ? iconEndEl : null)));
|
|
32470
32590
|
}
|
|
32471
32591
|
get el() { return getElement(this); }
|
|
32472
32592
|
static get watchers() { return {
|
|
@@ -32489,7 +32609,7 @@ class SegmentedControlItem {
|
|
|
32489
32609
|
}; }
|
|
32490
32610
|
}
|
|
32491
32611
|
|
|
32492
|
-
const CSS$
|
|
32612
|
+
const CSS$h = {
|
|
32493
32613
|
icon: "icon",
|
|
32494
32614
|
iconContainer: "icon-container",
|
|
32495
32615
|
select: "select"
|
|
@@ -32559,11 +32679,13 @@ class Select {
|
|
|
32559
32679
|
subtree: true,
|
|
32560
32680
|
childList: true
|
|
32561
32681
|
});
|
|
32682
|
+
connectInteractive(this);
|
|
32562
32683
|
connectLabel(this);
|
|
32563
32684
|
connectForm(this);
|
|
32564
32685
|
}
|
|
32565
32686
|
disconnectedCallback() {
|
|
32566
32687
|
this.mutationObserver?.disconnect();
|
|
32688
|
+
disconnectInteractive(this);
|
|
32567
32689
|
disconnectLabel(this);
|
|
32568
32690
|
disconnectForm(this);
|
|
32569
32691
|
}
|
|
@@ -32674,10 +32796,10 @@ class Select {
|
|
|
32674
32796
|
//
|
|
32675
32797
|
//--------------------------------------------------------------------------
|
|
32676
32798
|
renderChevron() {
|
|
32677
|
-
return (hAsync("div", { class: CSS$
|
|
32799
|
+
return (hAsync("div", { class: CSS$h.iconContainer }, hAsync("calcite-icon", { class: CSS$h.icon, icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
32678
32800
|
}
|
|
32679
32801
|
render() {
|
|
32680
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$
|
|
32802
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": getLabelText(this), class: CSS$h.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
32681
32803
|
// eslint-disable-next-line react/jsx-sort-props
|
|
32682
32804
|
ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
32683
32805
|
}
|
|
@@ -32708,7 +32830,7 @@ class Select {
|
|
|
32708
32830
|
}; }
|
|
32709
32831
|
}
|
|
32710
32832
|
|
|
32711
|
-
const CSS$
|
|
32833
|
+
const CSS$g = {
|
|
32712
32834
|
main: "main",
|
|
32713
32835
|
content: "content",
|
|
32714
32836
|
contentBehind: "content--behind",
|
|
@@ -32717,7 +32839,7 @@ const CSS$f = {
|
|
|
32717
32839
|
container: "container",
|
|
32718
32840
|
contentBehindCenterContent: "center-content"
|
|
32719
32841
|
};
|
|
32720
|
-
const SLOTS$
|
|
32842
|
+
const SLOTS$9 = {
|
|
32721
32843
|
centerRow: "center-row",
|
|
32722
32844
|
panelStart: "panel-start",
|
|
32723
32845
|
panelEnd: "panel-end",
|
|
@@ -32796,41 +32918,41 @@ class Shell {
|
|
|
32796
32918
|
//
|
|
32797
32919
|
// --------------------------------------------------------------------------
|
|
32798
32920
|
renderHeader() {
|
|
32799
|
-
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$
|
|
32921
|
+
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$9.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
32800
32922
|
}
|
|
32801
32923
|
renderFooter() {
|
|
32802
|
-
return (hAsync("div", { class: CSS$
|
|
32924
|
+
return (hAsync("div", { class: CSS$g.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$9.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
32803
32925
|
}
|
|
32804
32926
|
renderAlerts() {
|
|
32805
|
-
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$
|
|
32927
|
+
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$9.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
32806
32928
|
}
|
|
32807
32929
|
renderModals() {
|
|
32808
|
-
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$
|
|
32930
|
+
return (hAsync("div", { hidden: !this.hasModals }, hAsync("slot", { key: "modals", name: SLOTS$9.modals, onSlotchange: this.handleModalsSlotChange })));
|
|
32809
32931
|
}
|
|
32810
32932
|
renderContent() {
|
|
32811
32933
|
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$
|
|
32934
|
+
const deprecatedCenterRowSlotNode = (hAsync("slot", { key: "center-row-slot", name: SLOTS$9.centerRow }));
|
|
32935
|
+
const panelBottomSlotNode = hAsync("slot", { key: "panel-bottom-slot", name: SLOTS$9.panelBottom });
|
|
32936
|
+
const panelTopSlotNode = hAsync("slot", { key: "panel-top-slot", name: SLOTS$9.panelTop });
|
|
32815
32937
|
const contentContainerKey = "content-container";
|
|
32816
32938
|
const content = !!this.contentBehind
|
|
32817
32939
|
? [
|
|
32818
32940
|
hAsync("div", { class: {
|
|
32819
|
-
[CSS$
|
|
32820
|
-
[CSS$
|
|
32941
|
+
[CSS$g.content]: true,
|
|
32942
|
+
[CSS$g.contentBehind]: true
|
|
32821
32943
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
32822
|
-
hAsync("div", { class: CSS$
|
|
32944
|
+
hAsync("div", { class: CSS$g.contentBehindCenterContent }, panelTopSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32823
32945
|
]
|
|
32824
32946
|
: [
|
|
32825
|
-
hAsync("div", { class: CSS$
|
|
32947
|
+
hAsync("div", { class: CSS$g.content, key: contentContainerKey }, panelTopSlotNode, defaultSlotNode, panelBottomSlotNode, deprecatedCenterRowSlotNode)
|
|
32826
32948
|
];
|
|
32827
32949
|
return content;
|
|
32828
32950
|
}
|
|
32829
32951
|
renderMain() {
|
|
32830
|
-
return (hAsync("div", { class: CSS$
|
|
32952
|
+
return (hAsync("div", { class: CSS$g.main }, hAsync("slot", { name: SLOTS$9.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$9.panelEnd })));
|
|
32831
32953
|
}
|
|
32832
32954
|
renderPositionedSlots() {
|
|
32833
|
-
return (hAsync("div", { class: CSS$
|
|
32955
|
+
return (hAsync("div", { class: CSS$g.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
32834
32956
|
}
|
|
32835
32957
|
render() {
|
|
32836
32958
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -32853,11 +32975,11 @@ class Shell {
|
|
|
32853
32975
|
}; }
|
|
32854
32976
|
}
|
|
32855
32977
|
|
|
32856
|
-
const CSS$
|
|
32978
|
+
const CSS$f = {
|
|
32857
32979
|
actionBarContainer: "action-bar-container",
|
|
32858
32980
|
content: "content"
|
|
32859
32981
|
};
|
|
32860
|
-
const SLOTS$
|
|
32982
|
+
const SLOTS$8 = {
|
|
32861
32983
|
actionBar: "action-bar"
|
|
32862
32984
|
};
|
|
32863
32985
|
|
|
@@ -32892,9 +33014,9 @@ class ShellCenterRow {
|
|
|
32892
33014
|
// --------------------------------------------------------------------------
|
|
32893
33015
|
render() {
|
|
32894
33016
|
const { el } = this;
|
|
32895
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
32896
|
-
const actionBar = getSlotted(el, SLOTS$
|
|
32897
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
33017
|
+
const contentNode = (hAsync("div", { class: CSS$f.content }, hAsync("slot", null)));
|
|
33018
|
+
const actionBar = getSlotted(el, SLOTS$8.actionBar);
|
|
33019
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$f.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$8.actionBar }))) : null;
|
|
32898
33020
|
const children = [actionBarNode, contentNode];
|
|
32899
33021
|
if (actionBar?.position === "end") {
|
|
32900
33022
|
children.reverse();
|
|
@@ -32917,7 +33039,7 @@ class ShellCenterRow {
|
|
|
32917
33039
|
}; }
|
|
32918
33040
|
}
|
|
32919
33041
|
|
|
32920
|
-
const CSS$
|
|
33042
|
+
const CSS$e = {
|
|
32921
33043
|
container: "container",
|
|
32922
33044
|
content: "content",
|
|
32923
33045
|
contentHeader: "content__header",
|
|
@@ -32926,7 +33048,7 @@ const CSS$d = {
|
|
|
32926
33048
|
contentOverlay: "content--overlay",
|
|
32927
33049
|
separator: "separator"
|
|
32928
33050
|
};
|
|
32929
|
-
const SLOTS$
|
|
33051
|
+
const SLOTS$7 = {
|
|
32930
33052
|
actionBar: "action-bar",
|
|
32931
33053
|
header: "header"
|
|
32932
33054
|
};
|
|
@@ -33177,8 +33299,8 @@ class ShellPanel {
|
|
|
33177
33299
|
// --------------------------------------------------------------------------
|
|
33178
33300
|
renderHeader() {
|
|
33179
33301
|
const { el } = this;
|
|
33180
|
-
const hasHeader = getSlotted(el, SLOTS$
|
|
33181
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
33302
|
+
const hasHeader = getSlotted(el, SLOTS$7.header);
|
|
33303
|
+
return hasHeader ? (hAsync("div", { class: CSS$e.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$7.header }))) : null;
|
|
33182
33304
|
}
|
|
33183
33305
|
render() {
|
|
33184
33306
|
const { collapsed, position, initialContentWidth, initialContentHeight, contentWidth, contentWidthMax, contentWidthMin, contentHeight, contentHeightMax, contentHeightMin, resizable, layout, displayMode } = this;
|
|
@@ -33195,7 +33317,7 @@ class ShellPanel {
|
|
|
33195
33317
|
: null;
|
|
33196
33318
|
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
33319
|
? contentHeight ?? initialContentHeight
|
|
33198
|
-
: contentWidth ?? initialContentWidth, class: CSS$
|
|
33320
|
+
: contentWidth ?? initialContentWidth, class: CSS$e.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
33199
33321
|
// eslint-disable-next-line react/jsx-sort-props
|
|
33200
33322
|
ref: this.connectSeparator })) : null;
|
|
33201
33323
|
const getAnimationDir = () => {
|
|
@@ -33211,20 +33333,20 @@ class ShellPanel {
|
|
|
33211
33333
|
};
|
|
33212
33334
|
const contentNode = (hAsync("div", { class: {
|
|
33213
33335
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
33214
|
-
[CSS$
|
|
33215
|
-
[CSS$
|
|
33216
|
-
[CSS$
|
|
33336
|
+
[CSS$e.content]: true,
|
|
33337
|
+
[CSS$e.contentOverlay]: displayMode === "overlay",
|
|
33338
|
+
[CSS$e.contentFloat]: displayMode === "float",
|
|
33217
33339
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
33218
33340
|
[getAnimationDir()]: displayMode === "overlay"
|
|
33219
33341
|
}, hidden: collapsed, key: "content", style: style,
|
|
33220
33342
|
// 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$
|
|
33343
|
+
ref: this.storeContentEl }, this.renderHeader(), hAsync("div", { class: CSS$e.contentBody }, hAsync("slot", null)), separatorNode));
|
|
33344
|
+
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$7.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
33223
33345
|
const mainNodes = [actionBarNode, contentNode];
|
|
33224
33346
|
if (position === "end") {
|
|
33225
33347
|
mainNodes.reverse();
|
|
33226
33348
|
}
|
|
33227
|
-
return hAsync("div", { class: { [CSS$
|
|
33349
|
+
return hAsync("div", { class: { [CSS$e.container]: true } }, mainNodes);
|
|
33228
33350
|
}
|
|
33229
33351
|
// --------------------------------------------------------------------------
|
|
33230
33352
|
//
|
|
@@ -33324,7 +33446,7 @@ class ShellPanel {
|
|
|
33324
33446
|
}; }
|
|
33325
33447
|
}
|
|
33326
33448
|
|
|
33327
|
-
const CSS$
|
|
33449
|
+
const CSS$d = {
|
|
33328
33450
|
handleLabel: "handle__label",
|
|
33329
33451
|
handleLabelMinValue: "handle__label--minValue",
|
|
33330
33452
|
handleLabelValue: "handle__label--value",
|
|
@@ -33466,6 +33588,7 @@ class Slider {
|
|
|
33466
33588
|
//
|
|
33467
33589
|
//--------------------------------------------------------------------------
|
|
33468
33590
|
connectedCallback() {
|
|
33591
|
+
connectInteractive(this);
|
|
33469
33592
|
connectLocalized(this);
|
|
33470
33593
|
this.setMinMaxFromValue();
|
|
33471
33594
|
this.setValueFromMinMax();
|
|
@@ -33473,6 +33596,7 @@ class Slider {
|
|
|
33473
33596
|
connectForm(this);
|
|
33474
33597
|
}
|
|
33475
33598
|
disconnectedCallback() {
|
|
33599
|
+
disconnectInteractive(this);
|
|
33476
33600
|
disconnectLabel(this);
|
|
33477
33601
|
disconnectForm(this);
|
|
33478
33602
|
disconnectLocalized(this);
|
|
@@ -33522,8 +33646,8 @@ class Slider {
|
|
|
33522
33646
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
33523
33647
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
33524
33648
|
const valueIsRange = isRange(this.value);
|
|
33525
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
33526
|
-
const handleLabelValueClasses = `${CSS$
|
|
33649
|
+
const handleLabelMinValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelMinValue}`;
|
|
33650
|
+
const handleLabelValueClasses = `${CSS$d.handleLabel} ${CSS$d.handleLabelValue}`;
|
|
33527
33651
|
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
33652
|
thumb: true,
|
|
33529
33653
|
"thumb--value": true,
|
|
@@ -33659,8 +33783,8 @@ class Slider {
|
|
|
33659
33783
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
33660
33784
|
const tickLabel = (hAsync("span", { class: {
|
|
33661
33785
|
tick__label: true,
|
|
33662
|
-
[CSS$
|
|
33663
|
-
[CSS$
|
|
33786
|
+
[CSS$d.tickMin]: isMinTickLabel,
|
|
33787
|
+
[CSS$d.tickMax]: isMaxTickLabel
|
|
33664
33788
|
} }, displayedTickValue));
|
|
33665
33789
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
33666
33790
|
return tickLabel;
|
|
@@ -34204,7 +34328,7 @@ class Slider {
|
|
|
34204
34328
|
}; }
|
|
34205
34329
|
}
|
|
34206
34330
|
|
|
34207
|
-
const CSS$
|
|
34331
|
+
const CSS$c = {
|
|
34208
34332
|
sortItem: "sort-item",
|
|
34209
34333
|
container: "container",
|
|
34210
34334
|
containerHorizontal: "container--horizontal",
|
|
@@ -37306,8 +37430,10 @@ class SortableList {
|
|
|
37306
37430
|
connectedCallback() {
|
|
37307
37431
|
this.setUpSorting();
|
|
37308
37432
|
this.beginObserving();
|
|
37433
|
+
connectInteractive(this);
|
|
37309
37434
|
}
|
|
37310
37435
|
disconnectedCallback() {
|
|
37436
|
+
disconnectInteractive(this);
|
|
37311
37437
|
disconnectSortableComponent(this);
|
|
37312
37438
|
this.endObserving();
|
|
37313
37439
|
}
|
|
@@ -37407,9 +37533,9 @@ class SortableList {
|
|
|
37407
37533
|
const { layout } = this;
|
|
37408
37534
|
const horizontal = layout === "horizontal" || false;
|
|
37409
37535
|
return (hAsync("div", { class: {
|
|
37410
|
-
[CSS$
|
|
37411
|
-
[CSS$
|
|
37412
|
-
[CSS$
|
|
37536
|
+
[CSS$c.container]: true,
|
|
37537
|
+
[CSS$c.containerVertical]: !horizontal,
|
|
37538
|
+
[CSS$c.containerHorizontal]: horizontal
|
|
37413
37539
|
} }, hAsync("slot", null)));
|
|
37414
37540
|
}
|
|
37415
37541
|
get el() { return getElement(this); }
|
|
@@ -37431,7 +37557,7 @@ class SortableList {
|
|
|
37431
37557
|
}; }
|
|
37432
37558
|
}
|
|
37433
37559
|
|
|
37434
|
-
const CSS$
|
|
37560
|
+
const CSS$b = {
|
|
37435
37561
|
container: "split-button__container",
|
|
37436
37562
|
dividerContainer: "split-button__divider-container",
|
|
37437
37563
|
divider: "split-button__divider",
|
|
@@ -37493,6 +37619,9 @@ class SplitButton {
|
|
|
37493
37619
|
// Lifecycle
|
|
37494
37620
|
//
|
|
37495
37621
|
//--------------------------------------------------------------------------
|
|
37622
|
+
connectedCallback() {
|
|
37623
|
+
connectInteractive(this);
|
|
37624
|
+
}
|
|
37496
37625
|
componentWillLoad() {
|
|
37497
37626
|
setUpLoadableComponent(this);
|
|
37498
37627
|
}
|
|
@@ -37502,15 +37631,18 @@ class SplitButton {
|
|
|
37502
37631
|
componentDidRender() {
|
|
37503
37632
|
updateHostInteraction(this);
|
|
37504
37633
|
}
|
|
37634
|
+
disconnectedCallback() {
|
|
37635
|
+
disconnectInteractive(this);
|
|
37636
|
+
}
|
|
37505
37637
|
render() {
|
|
37506
37638
|
const widthClasses = {
|
|
37507
|
-
[CSS$
|
|
37508
|
-
[CSS$
|
|
37509
|
-
[CSS$
|
|
37510
|
-
[CSS$
|
|
37639
|
+
[CSS$b.container]: true,
|
|
37640
|
+
[CSS$b.widthAuto]: this.width === "auto",
|
|
37641
|
+
[CSS$b.widthHalf]: this.width === "half",
|
|
37642
|
+
[CSS$b.widthFull]: this.width === "full"
|
|
37511
37643
|
};
|
|
37512
37644
|
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$
|
|
37645
|
+
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
37646
|
}
|
|
37515
37647
|
get dropdownIcon() {
|
|
37516
37648
|
return this.dropdownIconType === "chevron"
|
|
@@ -37555,6 +37687,21 @@ class SplitButton {
|
|
|
37555
37687
|
}; }
|
|
37556
37688
|
}
|
|
37557
37689
|
|
|
37690
|
+
const CSS$a = {
|
|
37691
|
+
container: "container",
|
|
37692
|
+
actionsStart: "actions-start",
|
|
37693
|
+
contentStart: "content-start",
|
|
37694
|
+
content: "content",
|
|
37695
|
+
contentEnd: "content-end",
|
|
37696
|
+
actionsEnd: "actions-end"
|
|
37697
|
+
};
|
|
37698
|
+
const SLOTS$6 = {
|
|
37699
|
+
actionsStart: "actions-start",
|
|
37700
|
+
contentStart: "content-start",
|
|
37701
|
+
contentEnd: "content-end",
|
|
37702
|
+
actionsEnd: "actions-end"
|
|
37703
|
+
};
|
|
37704
|
+
|
|
37558
37705
|
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
37706
|
|
|
37560
37707
|
/**
|
|
@@ -37597,25 +37744,25 @@ class Stack {
|
|
|
37597
37744
|
// --------------------------------------------------------------------------
|
|
37598
37745
|
renderActionsStart() {
|
|
37599
37746
|
const { hasActionsStart } = this;
|
|
37600
|
-
return (hAsync("div", { class: CSS$
|
|
37747
|
+
return (hAsync("div", { class: CSS$a.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$6.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
37601
37748
|
}
|
|
37602
37749
|
renderActionsEnd() {
|
|
37603
37750
|
const { hasActionsEnd } = this;
|
|
37604
|
-
return (hAsync("div", { class: CSS$
|
|
37751
|
+
return (hAsync("div", { class: CSS$a.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$6.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
37605
37752
|
}
|
|
37606
37753
|
renderContentStart() {
|
|
37607
37754
|
const { hasContentStart } = this;
|
|
37608
|
-
return (hAsync("div", { class: CSS$
|
|
37755
|
+
return (hAsync("div", { class: CSS$a.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$6.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
37609
37756
|
}
|
|
37610
37757
|
renderDefaultContent() {
|
|
37611
|
-
return (hAsync("div", { class: CSS$
|
|
37758
|
+
return (hAsync("div", { class: CSS$a.content }, hAsync("slot", null)));
|
|
37612
37759
|
}
|
|
37613
37760
|
renderContentEnd() {
|
|
37614
37761
|
const { hasContentEnd } = this;
|
|
37615
|
-
return (hAsync("div", { class: CSS$
|
|
37762
|
+
return (hAsync("div", { class: CSS$a.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$6.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
37616
37763
|
}
|
|
37617
37764
|
render() {
|
|
37618
|
-
return (hAsync(Host, null, hAsync("div", { class: CSS$
|
|
37765
|
+
return (hAsync(Host, null, hAsync("div", { class: CSS$a.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
|
|
37619
37766
|
}
|
|
37620
37767
|
static get style() { return stackCss; }
|
|
37621
37768
|
static get cmpMeta() { return {
|
|
@@ -37943,6 +38090,7 @@ class StepperItem {
|
|
|
37943
38090
|
//
|
|
37944
38091
|
//--------------------------------------------------------------------------
|
|
37945
38092
|
connectedCallback() {
|
|
38093
|
+
connectInteractive(this);
|
|
37946
38094
|
connectLocalized(this);
|
|
37947
38095
|
}
|
|
37948
38096
|
componentWillLoad() {
|
|
@@ -37965,6 +38113,7 @@ class StepperItem {
|
|
|
37965
38113
|
updateHostInteraction(this, true);
|
|
37966
38114
|
}
|
|
37967
38115
|
disconnectedCallback() {
|
|
38116
|
+
disconnectInteractive(this);
|
|
37968
38117
|
disconnectLocalized(this);
|
|
37969
38118
|
}
|
|
37970
38119
|
render() {
|
|
@@ -38120,6 +38269,7 @@ class Switch {
|
|
|
38120
38269
|
//
|
|
38121
38270
|
//--------------------------------------------------------------------------
|
|
38122
38271
|
connectedCallback() {
|
|
38272
|
+
connectInteractive(this);
|
|
38123
38273
|
connectLabel(this);
|
|
38124
38274
|
connectForm(this);
|
|
38125
38275
|
}
|
|
@@ -38130,6 +38280,7 @@ class Switch {
|
|
|
38130
38280
|
setComponentLoaded(this);
|
|
38131
38281
|
}
|
|
38132
38282
|
disconnectedCallback() {
|
|
38283
|
+
disconnectInteractive(this);
|
|
38133
38284
|
disconnectLabel(this);
|
|
38134
38285
|
disconnectForm(this);
|
|
38135
38286
|
}
|
|
@@ -38599,6 +38750,7 @@ class TabTitle {
|
|
|
38599
38750
|
//
|
|
38600
38751
|
//--------------------------------------------------------------------------
|
|
38601
38752
|
connectedCallback() {
|
|
38753
|
+
connectInteractive(this);
|
|
38602
38754
|
connectLocalized(this);
|
|
38603
38755
|
connectMessages(this);
|
|
38604
38756
|
this.setupTextContentObserver();
|
|
@@ -38612,6 +38764,7 @@ class TabTitle {
|
|
|
38612
38764
|
detail: this.el
|
|
38613
38765
|
}));
|
|
38614
38766
|
this.resizeObserver?.disconnect();
|
|
38767
|
+
disconnectInteractive(this);
|
|
38615
38768
|
disconnectLocalized(this);
|
|
38616
38769
|
disconnectMessages(this);
|
|
38617
38770
|
}
|
|
@@ -39052,6 +39205,7 @@ class TextArea {
|
|
|
39052
39205
|
//
|
|
39053
39206
|
//--------------------------------------------------------------------------
|
|
39054
39207
|
connectedCallback() {
|
|
39208
|
+
connectInteractive(this);
|
|
39055
39209
|
connectLabel(this);
|
|
39056
39210
|
connectForm(this);
|
|
39057
39211
|
connectLocalized(this);
|
|
@@ -39069,6 +39223,7 @@ class TextArea {
|
|
|
39069
39223
|
this.setTextAreaHeight();
|
|
39070
39224
|
}
|
|
39071
39225
|
disconnectedCallback() {
|
|
39226
|
+
disconnectInteractive(this);
|
|
39072
39227
|
disconnectLabel(this);
|
|
39073
39228
|
disconnectForm(this);
|
|
39074
39229
|
disconnectLocalized(this);
|
|
@@ -39232,9 +39387,11 @@ class Tile {
|
|
|
39232
39387
|
// --------------------------------------------------------------------------
|
|
39233
39388
|
connectedCallback() {
|
|
39234
39389
|
connectConditionalSlotComponent(this);
|
|
39390
|
+
connectInteractive(this);
|
|
39235
39391
|
}
|
|
39236
39392
|
disconnectedCallback() {
|
|
39237
39393
|
disconnectConditionalSlotComponent(this);
|
|
39394
|
+
disconnectInteractive(this);
|
|
39238
39395
|
}
|
|
39239
39396
|
componentDidRender() {
|
|
39240
39397
|
updateHostInteraction(this);
|
|
@@ -39416,6 +39573,7 @@ class TileSelect {
|
|
|
39416
39573
|
//--------------------------------------------------------------------------
|
|
39417
39574
|
connectedCallback() {
|
|
39418
39575
|
this.renderInput();
|
|
39576
|
+
connectInteractive(this);
|
|
39419
39577
|
}
|
|
39420
39578
|
componentWillLoad() {
|
|
39421
39579
|
setUpLoadableComponent(this);
|
|
@@ -39425,6 +39583,7 @@ class TileSelect {
|
|
|
39425
39583
|
}
|
|
39426
39584
|
disconnectedCallback() {
|
|
39427
39585
|
this.input.parentNode.removeChild(this.input);
|
|
39586
|
+
disconnectInteractive(this);
|
|
39428
39587
|
}
|
|
39429
39588
|
componentDidRender() {
|
|
39430
39589
|
updateHostInteraction(this);
|
|
@@ -39518,9 +39677,15 @@ class TileSelectGroup {
|
|
|
39518
39677
|
// Lifecycle
|
|
39519
39678
|
//
|
|
39520
39679
|
//--------------------------------------------------------------------------
|
|
39680
|
+
connectedCallback() {
|
|
39681
|
+
connectInteractive(this);
|
|
39682
|
+
}
|
|
39521
39683
|
componentDidRender() {
|
|
39522
39684
|
updateHostInteraction(this);
|
|
39523
39685
|
}
|
|
39686
|
+
disconnectedCallback() {
|
|
39687
|
+
disconnectInteractive(this);
|
|
39688
|
+
}
|
|
39524
39689
|
render() {
|
|
39525
39690
|
return hAsync("slot", null);
|
|
39526
39691
|
}
|
|
@@ -41407,9 +41572,11 @@ class TreeItem {
|
|
|
41407
41572
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
41408
41573
|
}
|
|
41409
41574
|
connectConditionalSlotComponent(this);
|
|
41575
|
+
connectInteractive(this);
|
|
41410
41576
|
}
|
|
41411
41577
|
disconnectedCallback() {
|
|
41412
41578
|
disconnectConditionalSlotComponent(this);
|
|
41579
|
+
disconnectInteractive(this);
|
|
41413
41580
|
}
|
|
41414
41581
|
componentWillRender() {
|
|
41415
41582
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -41769,6 +41936,7 @@ class ValueList {
|
|
|
41769
41936
|
//
|
|
41770
41937
|
// --------------------------------------------------------------------------
|
|
41771
41938
|
connectedCallback() {
|
|
41939
|
+
connectInteractive(this);
|
|
41772
41940
|
connectLocalized(this);
|
|
41773
41941
|
connectMessages(this);
|
|
41774
41942
|
initialize.call(this);
|
|
@@ -41787,6 +41955,7 @@ class ValueList {
|
|
|
41787
41955
|
updateHostInteraction(this);
|
|
41788
41956
|
}
|
|
41789
41957
|
disconnectedCallback() {
|
|
41958
|
+
disconnectInteractive(this);
|
|
41790
41959
|
disconnectSortableComponent(this);
|
|
41791
41960
|
disconnectLocalized(this);
|
|
41792
41961
|
disconnectMessages(this);
|
|
@@ -42000,9 +42169,11 @@ class ValueListItem {
|
|
|
42000
42169
|
// --------------------------------------------------------------------------
|
|
42001
42170
|
connectedCallback() {
|
|
42002
42171
|
connectConditionalSlotComponent(this);
|
|
42172
|
+
connectInteractive(this);
|
|
42003
42173
|
}
|
|
42004
42174
|
disconnectedCallback() {
|
|
42005
42175
|
disconnectConditionalSlotComponent(this);
|
|
42176
|
+
disconnectInteractive(this);
|
|
42006
42177
|
}
|
|
42007
42178
|
componentWillLoad() {
|
|
42008
42179
|
setUpLoadableComponent(this);
|
|
@@ -42044,19 +42215,19 @@ class ValueListItem {
|
|
|
42044
42215
|
renderActionsEnd() {
|
|
42045
42216
|
const { el } = this;
|
|
42046
42217
|
const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);
|
|
42047
|
-
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$
|
|
42218
|
+
return hasActionsEnd ? (hAsync("slot", { name: SLOTS.actionsEnd, slot: SLOTS$b.actionsEnd })) : null;
|
|
42048
42219
|
}
|
|
42049
42220
|
renderActionsStart() {
|
|
42050
42221
|
const { el } = this;
|
|
42051
42222
|
const hasActionsStart = getSlotted(el, SLOTS.actionsStart);
|
|
42052
|
-
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$
|
|
42223
|
+
return hasActionsStart ? (hAsync("slot", { name: SLOTS.actionsStart, slot: SLOTS$b.actionsStart })) : null;
|
|
42053
42224
|
}
|
|
42054
42225
|
renderHandle() {
|
|
42055
42226
|
const { icon, iconFlipRtl } = this;
|
|
42056
42227
|
if (icon === ICON_TYPES$1.grip) {
|
|
42057
42228
|
return (hAsync("span", { class: {
|
|
42058
|
-
[CSS$
|
|
42059
|
-
[CSS$
|
|
42229
|
+
[CSS$n.handle]: true,
|
|
42230
|
+
[CSS$n.handleActivated]: this.handleActivated
|
|
42060
42231
|
}, "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
42232
|
}
|
|
42062
42233
|
}
|