@esri/calcite-components 1.7.0-next.7 → 1.7.0-next.9
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-bb1889f9.js → p-023803cc.js} +2 -2
- package/dist/calcite/{p-21964fe4.js → p-03dd878c.js} +2 -2
- package/dist/calcite/{p-cdc65aad.js → p-04f40b0b.js} +2 -2
- package/dist/calcite/{p-f7d2ee5f.js → p-06187045.js} +2 -2
- package/dist/calcite/{p-017aed8f.entry.js → p-06425966.entry.js} +2 -2
- package/dist/calcite/{p-210576fe.js → p-07063f61.js} +2 -2
- package/dist/calcite/{p-1372beae.entry.js → p-09ef79c3.entry.js} +2 -2
- package/dist/calcite/{p-e80a6d45.js → p-0a726ae7.js} +2 -2
- package/dist/calcite/p-0afaff49.entry.js +6 -0
- package/dist/calcite/{p-ab2fb039.js → p-0bcffa57.js} +1 -1
- package/dist/calcite/p-0fde1037.entry.js +6 -0
- package/dist/calcite/{p-3a6cc19c.js → p-1047a036.js} +2 -2
- package/dist/calcite/p-12ca1a35.js +6 -0
- package/dist/calcite/{p-9b10fd41.js → p-13a8e874.js} +2 -2
- package/dist/calcite/{p-49747f2d.entry.js → p-144d3253.entry.js} +2 -2
- package/dist/calcite/{p-184fc3e7.entry.js → p-163478e2.entry.js} +2 -2
- package/dist/calcite/{p-6b4ec9d1.js → p-1655f306.js} +1 -1
- package/dist/calcite/{p-11f2abdd.js → p-1670d52d.js} +1 -1
- package/dist/calcite/{p-61c9c1d2.js → p-16e27be8.js} +2 -2
- package/dist/calcite/{p-0c1a0268.entry.js → p-188be5bc.entry.js} +2 -2
- package/dist/calcite/{p-2029c3a5.entry.js → p-1a2bffc2.entry.js} +2 -2
- package/dist/calcite/{p-c7fc4e1a.js → p-1a37bd6c.js} +1 -1
- package/dist/calcite/{p-f708e5bb.js → p-1b7611c5.js} +2 -2
- package/dist/calcite/{p-7774bb25.entry.js → p-1beef875.entry.js} +2 -2
- package/dist/calcite/{p-c9d26986.js → p-1d0b7e73.js} +2 -2
- package/dist/calcite/{p-4ce5f880.js → p-24cedbf7.js} +2 -2
- package/dist/calcite/{p-7b691ba1.js → p-258730ad.js} +2 -2
- package/dist/calcite/{p-5b9ab3a6.js → p-2833315f.js} +2 -2
- package/dist/calcite/{p-65b6c064.entry.js → p-285dc29d.entry.js} +2 -2
- package/dist/calcite/p-29e0490c.js +6 -0
- package/dist/calcite/{p-7b68c545.js → p-2eaa60d6.js} +2 -2
- package/dist/calcite/{p-1c696169.js → p-2f490270.js} +2 -2
- package/dist/calcite/{p-081b64ff.js → p-36ffb6b9.js} +2 -2
- package/dist/calcite/{p-81646951.entry.js → p-38cbb273.entry.js} +2 -2
- package/dist/calcite/p-3c284036.entry.js +6 -0
- package/dist/calcite/{p-f57ac9fa.entry.js → p-3f689801.entry.js} +2 -2
- package/dist/calcite/{p-e973c5e2.entry.js → p-40092072.entry.js} +2 -2
- package/dist/calcite/{p-7d672fb6.entry.js → p-41de31fc.entry.js} +2 -2
- package/dist/calcite/{p-2e13ed08.entry.js → p-460b922e.entry.js} +2 -2
- package/dist/calcite/{p-21f0cd96.entry.js → p-47ca0870.entry.js} +2 -2
- package/dist/calcite/{p-bf381a8e.entry.js → p-492aebda.entry.js} +2 -2
- package/dist/calcite/{p-fba27175.js → p-4ba71dd2.js} +2 -2
- package/dist/calcite/{p-bc71b9fd.entry.js → p-4e6d0c99.entry.js} +2 -2
- package/dist/calcite/{p-10304037.entry.js → p-4eff5f0b.entry.js} +2 -2
- package/dist/calcite/{p-9ef78342.js → p-4fa2e318.js} +2 -2
- package/dist/calcite/{p-d9afd48e.js → p-501e8eea.js} +2 -2
- package/dist/calcite/{p-6364c3ee.entry.js → p-507c6d38.entry.js} +2 -2
- package/dist/calcite/{p-d5d9af9d.js → p-50838a27.js} +2 -2
- package/dist/calcite/{p-f2a7af43.entry.js → p-58f9139e.entry.js} +2 -2
- package/dist/calcite/{p-df276af7.entry.js → p-5a3c71ff.entry.js} +2 -2
- package/dist/calcite/{p-8f0f97fa.js → p-5be12397.js} +2 -2
- package/dist/calcite/{p-29e395d1.js → p-5cb31c5f.js} +2 -2
- package/dist/calcite/{p-66b3df9a.js → p-63f36b83.js} +2 -2
- package/dist/calcite/{p-55458d3b.js → p-67e3e4ac.js} +2 -2
- package/dist/calcite/{p-f519c90d.entry.js → p-6891d062.entry.js} +2 -2
- package/dist/calcite/{p-3e2547b8.js → p-68944fc3.js} +2 -2
- package/dist/calcite/{p-ee41a29c.js → p-6cf34e24.js} +2 -2
- package/dist/calcite/{p-2230d479.entry.js → p-6ff3b9d5.entry.js} +2 -2
- package/dist/calcite/{p-eade7feb.entry.js → p-700dc424.entry.js} +2 -2
- package/dist/calcite/{p-88ca9146.entry.js → p-7135b219.entry.js} +2 -2
- package/dist/calcite/{p-de29378f.js → p-719e3038.js} +2 -2
- package/dist/calcite/{p-6805e34f.entry.js → p-723fba4b.entry.js} +2 -2
- package/dist/calcite/{p-7433cfc0.entry.js → p-743a4548.entry.js} +2 -2
- package/dist/calcite/{p-aaf6fbae.entry.js → p-75283dad.entry.js} +2 -2
- package/dist/calcite/{p-6efb5e14.entry.js → p-7628ecec.entry.js} +2 -2
- package/dist/calcite/{p-61a972cf.js → p-798dcb44.js} +2 -2
- package/dist/calcite/{p-e65db39b.js → p-7b085198.js} +2 -2
- package/dist/calcite/{p-4ddb1fe1.js → p-7d31fbe3.js} +1 -1
- package/dist/calcite/{p-a8a6df1b.js → p-7fd61503.js} +2 -2
- package/dist/calcite/{p-a1670931.js → p-809eeec1.js} +2 -2
- package/dist/calcite/{p-40693a0b.entry.js → p-814fd357.entry.js} +2 -2
- package/dist/calcite/{p-bf783499.entry.js → p-8441e262.entry.js} +2 -2
- package/dist/calcite/p-899fcdda.entry.js +6 -0
- package/dist/calcite/{p-56515347.entry.js → p-8a8301c3.entry.js} +2 -2
- package/dist/calcite/{p-47bee25a.js → p-8aee16d3.js} +2 -2
- package/dist/calcite/{p-6afa67ba.entry.js → p-8b45af4a.entry.js} +2 -2
- package/dist/calcite/{p-ec7e96fa.js → p-8d5530b9.js} +3 -3
- package/dist/calcite/{p-cba2240b.entry.js → p-8f13ef4b.entry.js} +2 -2
- package/dist/calcite/{p-0463567b.js → p-92e9996e.js} +2 -2
- package/dist/calcite/{p-197ad0b5.js → p-959ae688.js} +2 -2
- package/dist/calcite/{p-3143859b.entry.js → p-95aa32f3.entry.js} +2 -2
- package/dist/calcite/{p-345bc49a.js → p-95be1b89.js} +2 -2
- package/dist/calcite/p-98250693.entry.js +6 -0
- package/dist/calcite/{p-81d35be9.js → p-982bd553.js} +2 -2
- package/dist/calcite/{p-6eb6516e.js → p-98518ea6.js} +1 -1
- package/dist/calcite/p-9a4e6200.js +6 -0
- package/dist/calcite/{p-b0e6866d.entry.js → p-9ba76a70.entry.js} +2 -2
- package/dist/calcite/{p-c0bbac7a.js → p-9bcee25b.js} +2 -2
- package/dist/calcite/{p-30c6c3a8.js → p-9d972f9d.js} +2 -2
- package/dist/calcite/{p-a7e8e1ff.entry.js → p-9ff1e3ae.entry.js} +2 -2
- package/dist/calcite/{p-45d767c6.js → p-9ff6a846.js} +2 -2
- package/dist/calcite/{p-bb78137b.js → p-a0e00835.js} +1 -1
- package/dist/calcite/{p-f856f934.entry.js → p-a13e611f.entry.js} +2 -2
- package/dist/calcite/{p-3c9bdb77.entry.js → p-a1433d6b.entry.js} +2 -2
- package/dist/calcite/{p-b2415b5f.js → p-a38f2da1.js} +2 -2
- package/dist/calcite/{p-b74168c5.entry.js → p-a6c816dc.entry.js} +2 -2
- package/dist/calcite/{p-cc78c19a.entry.js → p-a876680c.entry.js} +2 -2
- package/dist/calcite/{p-d9ee5b38.entry.js → p-a963b28a.entry.js} +2 -2
- package/dist/calcite/p-a9723cd0.js +6 -0
- package/dist/calcite/{p-392839a8.entry.js → p-ab81c153.entry.js} +2 -2
- package/dist/calcite/{p-f49384b5.entry.js → p-ac0046fd.entry.js} +2 -2
- package/dist/calcite/{p-e37dbdcc.entry.js → p-ad3c852e.entry.js} +2 -2
- package/dist/calcite/{p-26559eb0.js → p-ae264038.js} +1 -1
- package/dist/calcite/{p-2d000e74.js → p-aeaceeda.js} +2 -2
- package/dist/calcite/{p-f20db10b.js → p-af409fea.js} +1 -1
- package/dist/calcite/{p-ce2ff054.entry.js → p-af849635.entry.js} +2 -2
- package/dist/calcite/{p-e5bb207d.js → p-b0d39fdc.js} +2 -2
- package/dist/calcite/{p-cd7cb0db.js → p-b2d355b7.js} +2 -2
- package/dist/calcite/{p-8dcaa620.js → p-b72daa71.js} +1 -1
- package/dist/calcite/{p-33f4721e.js → p-b7569ac2.js} +2 -2
- package/dist/calcite/{p-53fb2d44.js → p-b864f6a7.js} +2 -2
- package/dist/calcite/{p-049130e3.js → p-b97e49e2.js} +2 -2
- package/dist/calcite/p-b9912991.js +6 -0
- package/dist/calcite/{p-3f56fca5.entry.js → p-bb6ee81d.entry.js} +2 -2
- package/dist/calcite/p-bbd3c7fb.js +6 -0
- package/dist/calcite/{p-644713c9.entry.js → p-bd49e8b5.entry.js} +2 -2
- package/dist/calcite/p-bd8e5824.js +6 -0
- package/dist/calcite/p-be707516.js +6 -0
- package/dist/calcite/{p-ee077fdf.entry.js → p-be7d0896.entry.js} +2 -2
- package/dist/calcite/{p-7f88c9c7.js → p-c37d4137.js} +1 -1
- package/dist/calcite/{p-8eedb210.js → p-c72a141d.js} +2 -2
- package/dist/calcite/{p-e10da645.js → p-c7efad54.js} +2 -2
- package/dist/calcite/{p-24cdfae6.entry.js → p-c8075d38.entry.js} +2 -2
- package/dist/calcite/{p-e02c884d.entry.js → p-ca8ea9f5.entry.js} +2 -2
- package/dist/calcite/{p-32fd15d6.js → p-cbc12bc2.js} +1 -1
- package/dist/calcite/{p-e0931bc8.entry.js → p-cd1cac72.entry.js} +2 -2
- package/dist/calcite/{p-28fe0552.entry.js → p-d2cf8796.entry.js} +2 -2
- package/dist/calcite/{p-848cbf79.entry.js → p-d7556407.entry.js} +2 -2
- package/dist/calcite/p-d7d93aab.entry.js +6 -0
- package/dist/calcite/{p-6c825a1e.js → p-d9b73b2f.js} +2 -2
- package/dist/calcite/{p-160712a9.js → p-db08796f.js} +1 -1
- package/dist/calcite/{p-b0cc75c8.js → p-dc629fc6.js} +1 -1
- package/dist/calcite/{p-d0aa3a66.entry.js → p-dddbd50a.entry.js} +2 -2
- package/dist/calcite/{p-8fb0e043.entry.js → p-df82e654.entry.js} +2 -2
- package/dist/calcite/{p-9b37c008.js → p-e08dd1a7.js} +2 -2
- package/dist/calcite/{p-47eb20db.js → p-e406ee48.js} +2 -2
- package/dist/calcite/{p-5dc80f9d.js → p-e4ef7615.js} +2 -2
- package/dist/calcite/{p-3bbcce97.js → p-e669638e.js} +2 -2
- package/dist/calcite/{p-aa4c015c.js → p-e6d753f5.js} +2 -2
- package/dist/calcite/{p-a71e1250.js → p-e74291a4.js} +1 -1
- package/dist/calcite/{p-2d0f523b.js → p-e92b534b.js} +2 -2
- package/dist/calcite/p-e973375f.entry.js +6 -0
- package/dist/calcite/{p-5994bbd3.js → p-eaa6823c.js} +2 -2
- package/dist/calcite/p-eba7966e.entry.js +6 -0
- package/dist/calcite/{p-f6462c3e.js → p-ed42b16e.js} +2 -2
- package/dist/calcite/{p-9760543f.entry.js → p-edfd2fc2.entry.js} +2 -2
- package/dist/calcite/{p-cadaac4b.entry.js → p-f56aa0b8.entry.js} +2 -2
- package/dist/calcite/{p-31685b76.entry.js → p-f78a3824.entry.js} +2 -2
- package/dist/calcite/{p-bf41e380.js → p-fa42a53d.js} +2 -2
- package/dist/calcite/{p-562de350.entry.js → p-fa6f458e.entry.js} +2 -2
- package/dist/calcite/{p-40c981f4.js → p-fd8cb64a.js} +2 -2
- package/dist/cjs/{ExpandToggle-5f1cc3b4.js → ExpandToggle-3208da2c.js} +5 -5
- package/dist/cjs/{FloatingArrow-3ac69fd5.js → FloatingArrow-3cc22437.js} +2 -2
- package/dist/cjs/{Heading-3daa2136.js → Heading-d324b2a4.js} +2 -2
- package/dist/cjs/{app-globals-a4f18281.js → app-globals-76a8ecb6.js} +2 -2
- package/dist/cjs/{ar-5095430a.js → ar-795e6b40.js} +15 -15
- package/dist/cjs/{array-e2e1dc5c.js → array-ab7fc387.js} +1 -1
- package/dist/cjs/{bg-48c5ff52.js → bg-dc091658.js} +15 -15
- package/dist/cjs/{bs-2d9fe89b.js → bs-88a0a857.js} +15 -15
- package/dist/cjs/{ca-4d20f910.js → ca-10f1b86b.js} +15 -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 +11 -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 +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -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 +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-4899ef9b.js → calcite-input-time-picker.calcite-time-picker-e0743968.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-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 +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +71 -78
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +54 -20
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-5198994f.js → conditionalSlot-ed8f7fa5.js} +3 -3
- package/dist/cjs/{cs-beb20417.js → cs-f03065b1.js} +15 -15
- package/dist/cjs/{da-50625df0.js → da-075d12c3.js} +15 -15
- package/dist/cjs/{de-at-d4f0fee1.js → de-at-319642a4.js} +15 -15
- package/dist/cjs/{de-4233b69d.js → de-c19d7af5.js} +15 -15
- package/dist/cjs/{de-ch-280de535.js → de-ch-607cf5d6.js} +15 -15
- package/dist/cjs/{debounce-e0a5709f.js → debounce-ca344a89.js} +1 -1
- package/dist/cjs/{dom-76654bf1.js → dom-bfedcf46.js} +3 -3
- package/dist/cjs/{el-f650d1cd.js → el-d8344ffb.js} +15 -15
- package/dist/cjs/{en-au-e5c63f66.js → en-au-a451925f.js} +15 -15
- package/dist/cjs/{en-ca-d0450e33.js → en-ca-25c1f174.js} +15 -15
- package/dist/cjs/{en-gb-e42be69f.js → en-gb-d90e5277.js} +15 -15
- package/dist/cjs/{es-64261c9c.js → es-eaf2fc3a.js} +15 -15
- package/dist/cjs/{es-mx-e01a9993.js → es-mx-fbba5ac5.js} +15 -15
- package/dist/cjs/{et-e7038a58.js → et-10b8b34a.js} +15 -15
- package/dist/cjs/{fi-6e6c7878.js → fi-b6b71c02.js} +15 -15
- package/dist/cjs/{filter-859bbe32.js → filter-3829ffe4.js} +2 -2
- package/dist/cjs/{floating-ui-7ec85aaa.js → floating-ui-36eddf27.js} +3 -3
- package/dist/cjs/{focusTrapComponent-9e03b052.js → focusTrapComponent-9f7d801d.js} +2 -2
- package/dist/cjs/{form-b26d6700.js → form-58fc608b.js} +3 -3
- package/dist/cjs/{fr-b272bd3a.js → fr-be4dfd3a.js} +15 -15
- package/dist/cjs/{fr-ch-76e0bf35.js → fr-ch-90226176.js} +15 -15
- package/dist/cjs/{guid-55070108.js → guid-efc620e4.js} +1 -1
- package/dist/cjs/{he-4a630c20.js → he-42e3afdc.js} +15 -15
- package/dist/cjs/{hi-0b7bb385.js → hi-a73ebb6a.js} +15 -15
- package/dist/cjs/{hr-4e03c2da.js → hr-2937f953.js} +15 -15
- package/dist/cjs/{hu-4b0c141d.js → hu-2457cf07.js} +15 -15
- package/dist/cjs/{id-be2c7657.js → id-bac16c20.js} +15 -15
- package/dist/cjs/{index-3c0c9892.js → index-52b0731b.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-e2f97585.js → interactive-89c5cc1c.js} +1 -1
- package/dist/cjs/{it-ch-f3dfe677.js → it-ch-221c78b2.js} +15 -15
- package/dist/cjs/{it-0aa0e8e0.js → it-dfb714a6.js} +15 -15
- package/dist/cjs/{ja-7fa92ec0.js → ja-b3e392aa.js} +15 -15
- package/dist/cjs/{key-2d1ad97d.js → key-5795081b.js} +1 -1
- package/dist/cjs/{ko-3a9ee7c5.js → ko-a4390b84.js} +15 -15
- package/dist/cjs/{label-bc960afd.js → label-8afe80f2.js} +2 -2
- package/dist/cjs/{loadable-33fcaada.js → loadable-6fef5298.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-3e7cf13f.js → locale-a361abea.js} +4 -4
- package/dist/cjs/{lt-30535041.js → lt-24d7ca0a.js} +15 -15
- package/dist/cjs/{lv-70f04a26.js → lv-0150b114.js} +15 -15
- package/dist/cjs/{math-a20c95a3.js → math-fb348f75.js} +1 -1
- package/dist/cjs/{mk-2df84ef0.js → mk-2779f0bf.js} +15 -15
- package/dist/cjs/{nb-2426453b.js → nb-8f55b489.js} +15 -15
- package/dist/cjs/{nl-23f6e2a7.js → nl-91c84add.js} +15 -15
- package/dist/cjs/{observers-17e2567d.js → observers-e838afe8.js} +1 -1
- package/dist/cjs/{openCloseComponent-ddb8c496.js → openCloseComponent-963a1358.js} +2 -2
- package/dist/cjs/{pl-885c4b8e.js → pl-697137cd.js} +15 -15
- package/dist/cjs/{pt-4709922a.js → pt-af313c57.js} +15 -15
- package/dist/cjs/{pt-br-b4fff291.js → pt-br-6c7431ac.js} +15 -15
- package/dist/cjs/{resources-5eaca2ca.js → resources-0674872f.js} +5 -5
- package/dist/cjs/{resources-19211f3a.js → resources-2b413655.js} +1 -1
- package/dist/cjs/{resources-7284c857.js → resources-70944715.js} +1 -1
- package/dist/cjs/{resources-84dda877.js → resources-734eae7e.js} +1 -1
- package/dist/cjs/{resources-e9ba61e9.js → resources-8115ff8a.js} +1 -1
- package/dist/cjs/{resources-b5e7b8d5.js → resources-91e0717f.js} +1 -1
- package/dist/cjs/{resources-df323d9b.js → resources-adfc7dd9.js} +1 -1
- package/dist/cjs/{ro-7391d1b8.js → ro-d13bd8ca.js} +15 -15
- package/dist/cjs/{ru-c8e03625.js → ru-763d2437.js} +15 -15
- package/dist/cjs/{sk-4f403232.js → sk-5723d941.js} +15 -15
- package/dist/cjs/{sl-b8bfa55d.js → sl-a4120569.js} +15 -15
- package/dist/cjs/{sortableComponent-8743613f.js → sortableComponent-ab979503.js} +2 -2
- package/dist/cjs/{sr-984c160d.js → sr-f0ab3339.js} +15 -15
- package/dist/cjs/{sv-d00b6e2b.js → sv-8dd1a562.js} +15 -15
- package/dist/cjs/{t9n-57d0fcf4.js → t9n-387be6b4.js} +3 -3
- package/dist/cjs/{th-191a3c81.js → th-9259a327.js} +15 -15
- package/dist/cjs/{throttle-ca1c1bc1.js → throttle-e5b26510.js} +2 -2
- package/dist/cjs/{tr-9479427a.js → tr-6d8d1e15.js} +15 -15
- package/dist/cjs/{uk-b245d9cd.js → uk-ad0d10ff.js} +15 -15
- package/dist/cjs/{utils-e7a9a043.js → utils-760e954d.js} +1 -1
- package/dist/cjs/{utils-cb1342e1.js → utils-91305b1d.js} +3 -3
- package/dist/cjs/{vi-115cc3e9.js → vi-3a538830.js} +15 -15
- package/dist/cjs/{zh-cn-1e4b7a69.js → zh-cn-cb5e6841.js} +15 -15
- package/dist/cjs/{zh-hk-b7c1071a.js → zh-hk-1ddb84df.js} +15 -15
- package/dist/cjs/{zh-tw-8fe900f1.js → zh-tw-ff01730d.js} +15 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-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 +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- 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 +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/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 +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- 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 +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- 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/meter/meter.js +1 -1
- package/dist/collection/components/meter/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 +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-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 +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.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 +1 -1
- 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.css +1 -2
- package/dist/collection/components/rating/rating.js +60 -68
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- 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 +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.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 +21 -12
- 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 +31 -4
- 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 +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.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 +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +60 -68
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-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 +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +29 -4
- package/dist/components/calcite-tree.js +21 -12
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +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 +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-01c97006.js → ExpandToggle-b847ad8b.js} +5 -5
- package/dist/esm/{FloatingArrow-14c33a17.js → FloatingArrow-07baf30c.js} +2 -2
- package/dist/esm/{Heading-7cdb54c0.js → Heading-62d5ea48.js} +2 -2
- package/dist/esm/{app-globals-4ae44962.js → app-globals-b4cb167f.js} +2 -2
- package/dist/esm/{ar-7b1db873.js → ar-e70e128f.js} +15 -15
- package/dist/esm/{array-01b4426e.js → array-43915d2f.js} +1 -1
- package/dist/esm/{bg-144cc314.js → bg-892c91b3.js} +15 -15
- package/dist/esm/{bs-00afb448.js → bs-a80cd067.js} +15 -15
- package/dist/esm/{ca-0b752a96.js → ca-a6c23b45.js} +15 -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 +11 -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 +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -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 +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-513c9a5f.js → calcite-input-time-picker.calcite-time-picker-7457ee6b.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-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 +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +71 -78
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +54 -20
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-802b8a97.js → conditionalSlot-8fbe05b8.js} +3 -3
- package/dist/esm/{cs-07b7481c.js → cs-f18d41b1.js} +15 -15
- package/dist/esm/{da-5565064e.js → da-0d0d0240.js} +15 -15
- package/dist/esm/{de-at-6c11a292.js → de-at-5984afb0.js} +15 -15
- package/dist/esm/{de-ch-547931ef.js → de-ch-b3538b71.js} +15 -15
- package/dist/esm/{de-98a179b6.js → de-dead6156.js} +15 -15
- package/dist/esm/{debounce-b060deb9.js → debounce-52e02492.js} +1 -1
- package/dist/esm/{dom-fb4ce137.js → dom-4c07342d.js} +3 -3
- package/dist/esm/{el-5635c1f5.js → el-17840242.js} +15 -15
- package/dist/esm/{en-au-db1bcbe0.js → en-au-eff254c2.js} +15 -15
- package/dist/esm/{en-ca-d8ddb20c.js → en-ca-209a23f5.js} +15 -15
- package/dist/esm/{en-gb-80de6a44.js → en-gb-6c6cc79a.js} +15 -15
- package/dist/esm/{es-cea264de.js → es-35f4329d.js} +15 -15
- package/dist/esm/{es-mx-18f74146.js → es-mx-39fc99c5.js} +15 -15
- package/dist/esm/{et-cebf982e.js → et-03391225.js} +15 -15
- package/dist/esm/{fi-46f20c72.js → fi-3b4b4e71.js} +15 -15
- package/dist/esm/{filter-2293fcf5.js → filter-4cf614d5.js} +2 -2
- package/dist/esm/{floating-ui-86660688.js → floating-ui-7ffe7974.js} +3 -3
- package/dist/esm/{focusTrapComponent-62e2fc18.js → focusTrapComponent-49689d43.js} +2 -2
- package/dist/esm/{form-1ef32dec.js → form-f3380f0f.js} +3 -3
- package/dist/esm/{fr-ch-b37d3023.js → fr-ch-874ddda6.js} +15 -15
- package/dist/esm/{fr-0e50ee15.js → fr-ec9326c2.js} +15 -15
- package/dist/esm/{guid-981d5fb0.js → guid-dd8a3d4a.js} +1 -1
- package/dist/esm/{he-c52ade30.js → he-12e89377.js} +15 -15
- package/dist/esm/{hi-8f1b6f30.js → hi-9706d2f7.js} +15 -15
- package/dist/esm/{hr-1211b235.js → hr-a5ec1a42.js} +15 -15
- package/dist/esm/{hu-c10cf062.js → hu-a4ac969f.js} +15 -15
- package/dist/esm/{id-3c6cc232.js → id-71329bdb.js} +15 -15
- package/dist/esm/{index-09e3cb3e.js → index-6d8926bd.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-b59f2c1d.js → interactive-94091e70.js} +1 -1
- package/dist/esm/{it-ch-3e32a3fd.js → it-ch-ee834ec1.js} +15 -15
- package/dist/esm/{it-39ce4864.js → it-e513974e.js} +15 -15
- package/dist/esm/{ja-8d192947.js → ja-f433675d.js} +15 -15
- package/dist/esm/{key-bbc4f283.js → key-b39022fc.js} +1 -1
- package/dist/esm/{ko-7a9d4b54.js → ko-de036598.js} +15 -15
- package/dist/esm/{label-b1a52ad6.js → label-a9c5e0d5.js} +2 -2
- package/dist/esm/{loadable-1b746688.js → loadable-063d4231.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-68b7fe79.js → locale-cd82ee8b.js} +4 -4
- package/dist/esm/{lt-68b109e8.js → lt-11ae19b7.js} +15 -15
- package/dist/esm/{lv-e6e796e0.js → lv-97f76f45.js} +15 -15
- package/dist/esm/{math-913b3c16.js → math-15578f62.js} +1 -1
- package/dist/esm/{mk-e8143ad9.js → mk-e95dbefd.js} +15 -15
- package/dist/esm/{nb-15f16db0.js → nb-1ad27b07.js} +15 -15
- package/dist/esm/{nl-52d29b83.js → nl-647fdfd9.js} +15 -15
- package/dist/esm/{observers-bdde77da.js → observers-76bb0c71.js} +1 -1
- package/dist/esm/{openCloseComponent-c9f85b64.js → openCloseComponent-867a10f1.js} +2 -2
- package/dist/esm/{pl-c7660ecb.js → pl-917d27ab.js} +15 -15
- package/dist/esm/{pt-br-475b0568.js → pt-br-ac27ce86.js} +15 -15
- package/dist/esm/{pt-cfa69124.js → pt-c72abbcc.js} +15 -15
- package/dist/esm/{resources-c35dd482.js → resources-2e0cd8e9.js} +5 -5
- package/dist/esm/{resources-eb32ad26.js → resources-3bb35892.js} +1 -1
- package/dist/esm/{resources-9961234f.js → resources-5d1a8ebe.js} +1 -1
- package/dist/esm/{resources-d9b3a4fc.js → resources-89fcd3bd.js} +1 -1
- package/dist/esm/{resources-cea89d34.js → resources-8edfea23.js} +1 -1
- package/dist/esm/{resources-113d91ea.js → resources-c035c0d3.js} +1 -1
- package/dist/esm/{resources-0fb831f4.js → resources-fd05f8c1.js} +1 -1
- package/dist/esm/{ro-f1a9c4fa.js → ro-846141b2.js} +15 -15
- package/dist/esm/{ru-04ab02ed.js → ru-feb02a60.js} +15 -15
- package/dist/esm/{sk-0708aec9.js → sk-6f0dc872.js} +15 -15
- package/dist/esm/{sl-baed95e6.js → sl-04cbeac3.js} +15 -15
- package/dist/esm/{sortableComponent-b72acdd6.js → sortableComponent-7a1ed98d.js} +2 -2
- package/dist/esm/{sr-f293894c.js → sr-c7746efe.js} +15 -15
- package/dist/esm/{sv-88cb7641.js → sv-d2fea217.js} +15 -15
- package/dist/esm/{t9n-48399343.js → t9n-a32a6655.js} +3 -3
- package/dist/esm/{th-f75b4b9b.js → th-1b18fde4.js} +15 -15
- package/dist/esm/{throttle-d391b450.js → throttle-59eb8e6d.js} +2 -2
- package/dist/esm/{tr-f7ea06e0.js → tr-2daa21ab.js} +15 -15
- package/dist/esm/{uk-a3c1af72.js → uk-45ec3151.js} +15 -15
- package/dist/esm/{utils-6cb534cc.js → utils-6dee207f.js} +3 -3
- package/dist/esm/{utils-f034b509.js → utils-93ddc4a5.js} +1 -1
- package/dist/esm/{vi-0c7b835d.js → vi-193d8fdb.js} +15 -15
- package/dist/esm/{zh-cn-2c2c0fbf.js → zh-cn-87ca4364.js} +15 -15
- package/dist/esm/{zh-hk-1622f596.js → zh-hk-937e471c.js} +15 -15
- package/dist/esm/{zh-tw-df40cb68.js → zh-tw-dd667e8f.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- 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/rating/interfaces.d.ts +1 -2
- package/dist/types/components/rating/rating.d.ts +10 -7
- package/dist/types/components/tree-item/interfaces.d.ts +5 -0
- package/dist/types/components/tree-item/tree-item.d.ts +5 -3
- package/hydrate/index.js +107 -82
- package/package.json +2 -2
- package/dist/calcite/p-05fcbff7.js +0 -6
- package/dist/calcite/p-13d54ff9.entry.js +0 -6
- package/dist/calcite/p-1cd7aa52.js +0 -6
- package/dist/calcite/p-21a48ceb.entry.js +0 -6
- package/dist/calcite/p-320581eb.js +0 -6
- package/dist/calcite/p-5571d4f2.entry.js +0 -6
- package/dist/calcite/p-70fe3df2.entry.js +0 -6
- package/dist/calcite/p-7aeef26b.js +0 -6
- package/dist/calcite/p-7c7bc59b.js +0 -6
- package/dist/calcite/p-a3e080c2.entry.js +0 -6
- package/dist/calcite/p-ac733632.js +0 -6
- package/dist/calcite/p-b13207b1.entry.js +0 -6
- package/dist/calcite/p-d0d8c18d.entry.js +0 -6
- package/dist/calcite/p-e538178b.entry.js +0 -6
- package/dist/calcite/p-f0e7c7e5.js +0 -6
- package/dist/calcite/p-fa6c203a.js +0 -6
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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.
|
|
4
|
+
* v1.7.0-next.9
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -36525,7 +36525,7 @@ const StarIcon = ({ full, scale, partial }) => (hAsync("calcite-icon", { ...{
|
|
|
36525
36525
|
scale,
|
|
36526
36526
|
} }));
|
|
36527
36527
|
|
|
36528
|
-
const ratingCss = "/*!@:host([disabled])*/[disabled].sc-calcite-rating-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([read-only]) *, :host([disabled]) *,\n:host([read-only]) ::slotted(*),\n:host([disabled]) ::slotted(*)*/[read-only].sc-calcite-rating-h *.sc-calcite-rating,[disabled].sc-calcite-rating-h *.sc-calcite-rating,.sc-calcite-rating-h[read-only] .sc-calcite-rating-s>*,.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>*{pointer-events:none}/*!@:host*/.sc-calcite-rating-h{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>[calcite-hydrated][disabled],[disabled].sc-calcite-rating-h [calcite-hydrated][disabled].sc-calcite-rating{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-rating-h{block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-rating-h{block-size:2rem;--calcite-rating-spacing-unit:0.5rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-rating-h{block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}/*!@.fieldset*/.fieldset.sc-calcite-rating{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}/*!@.wrapper*/.wrapper.sc-calcite-rating{display:inline-block}/*!@.star*/.star.sc-calcite-rating{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}/*!@.
|
|
36528
|
+
const ratingCss = "/*!@:host([disabled])*/[disabled].sc-calcite-rating-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([read-only]) *, :host([disabled]) *,\n:host([read-only]) ::slotted(*),\n:host([disabled]) ::slotted(*)*/[read-only].sc-calcite-rating-h *.sc-calcite-rating,[disabled].sc-calcite-rating-h *.sc-calcite-rating,.sc-calcite-rating-h[read-only] .sc-calcite-rating-s>*,.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>*{pointer-events:none}/*!@:host*/.sc-calcite-rating-h{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>[calcite-hydrated][disabled],[disabled].sc-calcite-rating-h [calcite-hydrated][disabled].sc-calcite-rating{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-rating-h{block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-rating-h{block-size:2rem;--calcite-rating-spacing-unit:0.5rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-rating-h{block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}/*!@.fieldset*/.fieldset.sc-calcite-rating{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}/*!@.wrapper*/.wrapper.sc-calcite-rating{display:inline-block}/*!@.star*/.star.sc-calcite-rating{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}/*!@.star:focus*/.star.sc-calcite-rating:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.average,\n.fraction*/.average.sc-calcite-rating,.fraction.sc-calcite-rating{color:var(--calcite-ui-warning)}/*!@.hovered,\n.selected*/.hovered.sc-calcite-rating,.selected.sc-calcite-rating{color:var(--calcite-ui-brand)}/*!@.fraction*/.fraction.sc-calcite-rating{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}/*!@calcite-chip*/calcite-chip.sc-calcite-rating{pointer-events:none;cursor:default}/*!@.number--average*/.number--average.sc-calcite-rating{font-weight:bold}/*!@.number--count*/.number--count.sc-calcite-rating{color:var(--calcite-ui-text-2);font-style:italic}/*!@.number--count:not(:first-child)*/.number--count.sc-calcite-rating:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}/*!@.visually-hidden*/.visually-hidden.sc-calcite-rating{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-rating-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([hidden])*/[hidden].sc-calcite-rating-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-rating{display:none}";
|
|
36529
36529
|
|
|
36530
36530
|
class Rating {
|
|
36531
36531
|
constructor(hostRef) {
|
|
@@ -36537,29 +36537,12 @@ class Rating {
|
|
|
36537
36537
|
this.handleRatingPointerOut = () => {
|
|
36538
36538
|
this.isKeyboardInteraction = true;
|
|
36539
36539
|
this.hoverValue = null;
|
|
36540
|
-
this.focusValue = null;
|
|
36541
|
-
this.hasFocus = false;
|
|
36542
|
-
};
|
|
36543
|
-
this.handleRatingFocusIn = () => {
|
|
36544
|
-
const selectedInput = this.value > 0 ? this.value - 1 : 0;
|
|
36545
|
-
const focusInput = this.inputRefs[selectedInput];
|
|
36546
|
-
const focusValue = Number(focusInput.value);
|
|
36547
|
-
focusInput.select();
|
|
36548
|
-
this.focusValue = focusValue;
|
|
36549
|
-
this.hoverValue = focusValue;
|
|
36550
|
-
this.hasFocus = true;
|
|
36551
|
-
};
|
|
36552
|
-
this.handleRatingFocusLeave = () => {
|
|
36553
|
-
this.focusValue = null;
|
|
36554
|
-
this.hoverValue = null;
|
|
36555
|
-
this.hasFocus = false;
|
|
36556
36540
|
};
|
|
36557
36541
|
this.handleHostKeyDown = () => {
|
|
36558
36542
|
this.isKeyboardInteraction = true;
|
|
36559
36543
|
};
|
|
36560
|
-
this.
|
|
36561
|
-
const
|
|
36562
|
-
const inputVal = Number(target.value);
|
|
36544
|
+
this.handleLabelKeyDown = (event) => {
|
|
36545
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
36563
36546
|
const key = event.key;
|
|
36564
36547
|
const numberKey = key == " " ? undefined : Number(key);
|
|
36565
36548
|
this.emit = true;
|
|
@@ -36567,20 +36550,20 @@ class Rating {
|
|
|
36567
36550
|
switch (key) {
|
|
36568
36551
|
case "Enter":
|
|
36569
36552
|
case " ":
|
|
36570
|
-
this.value = !this.required && this.value ===
|
|
36553
|
+
this.value = !this.required && this.value === inputValue ? 0 : inputValue;
|
|
36571
36554
|
break;
|
|
36572
36555
|
case "ArrowLeft":
|
|
36573
|
-
this.value =
|
|
36556
|
+
this.value = this.getPreviousRatingValue(inputValue);
|
|
36557
|
+
this.updateFocus();
|
|
36558
|
+
event.preventDefault();
|
|
36574
36559
|
break;
|
|
36575
36560
|
case "ArrowRight":
|
|
36576
|
-
this.value =
|
|
36561
|
+
this.value = this.getNextRatingValue(inputValue);
|
|
36562
|
+
this.updateFocus();
|
|
36563
|
+
event.preventDefault();
|
|
36577
36564
|
break;
|
|
36578
36565
|
case "Tab":
|
|
36579
|
-
|
|
36580
|
-
this.hasFocus = false;
|
|
36581
|
-
this.focusValue = null;
|
|
36582
|
-
this.hoverValue = null;
|
|
36583
|
-
}
|
|
36566
|
+
this.hoverValue = null;
|
|
36584
36567
|
}
|
|
36585
36568
|
}
|
|
36586
36569
|
else {
|
|
@@ -36590,33 +36573,42 @@ class Rating {
|
|
|
36590
36573
|
else if (this.required && numberKey > 0 && numberKey <= this.max) {
|
|
36591
36574
|
this.value = numberKey;
|
|
36592
36575
|
}
|
|
36576
|
+
this.updateFocus();
|
|
36593
36577
|
}
|
|
36594
36578
|
};
|
|
36595
36579
|
this.handleInputChange = (event) => {
|
|
36596
36580
|
if (this.isKeyboardInteraction === true) {
|
|
36597
36581
|
const inputVal = Number(event.target["value"]);
|
|
36598
|
-
this.focusValue = inputVal;
|
|
36599
36582
|
this.hoverValue = inputVal;
|
|
36600
36583
|
this.value = inputVal;
|
|
36601
36584
|
}
|
|
36602
36585
|
};
|
|
36603
36586
|
this.handleLabelPointerOver = (event) => {
|
|
36604
|
-
|
|
36605
|
-
const newPointerValue = Number(target.firstChild["value"] || 0);
|
|
36606
|
-
this.hoverValue = newPointerValue;
|
|
36607
|
-
this.focusValue = null;
|
|
36587
|
+
this.hoverValue = this.getValueFromLabelEvent(event);
|
|
36608
36588
|
};
|
|
36609
36589
|
this.handleLabelPointerDown = (event) => {
|
|
36610
36590
|
const target = event.currentTarget;
|
|
36611
|
-
const
|
|
36612
|
-
this.
|
|
36613
|
-
this.hoverValue = null;
|
|
36591
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
36592
|
+
this.hoverValue = inputValue;
|
|
36614
36593
|
this.emit = true;
|
|
36615
|
-
this.value = !this.required && this.value ===
|
|
36594
|
+
this.value = !this.required && this.value === inputValue ? 0 : inputValue;
|
|
36595
|
+
target.focus();
|
|
36596
|
+
};
|
|
36597
|
+
this.handleLabelClick = (event) => {
|
|
36598
|
+
//preventing pointerdown event will supress any compatability mouse events except for click event.
|
|
36599
|
+
event.preventDefault();
|
|
36600
|
+
};
|
|
36601
|
+
this.handleLabelFocus = (event) => {
|
|
36602
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
36603
|
+
this.hoverValue = inputValue;
|
|
36604
|
+
};
|
|
36605
|
+
this.setLabelEl = (el) => {
|
|
36606
|
+
this.labelElements.push(el);
|
|
36616
36607
|
};
|
|
36617
36608
|
this.emit = false;
|
|
36618
36609
|
this.guid = `calcite-ratings-${guid()}`;
|
|
36619
36610
|
this.isKeyboardInteraction = true;
|
|
36611
|
+
this.labelElements = [];
|
|
36620
36612
|
this.max = 5;
|
|
36621
36613
|
this.average = undefined;
|
|
36622
36614
|
this.count = undefined;
|
|
@@ -36633,15 +36625,12 @@ class Rating {
|
|
|
36633
36625
|
this.effectiveLocale = "";
|
|
36634
36626
|
this.defaultMessages = undefined;
|
|
36635
36627
|
this.hoverValue = undefined;
|
|
36636
|
-
this.focusValue = undefined;
|
|
36637
|
-
this.hasFocus = undefined;
|
|
36638
36628
|
}
|
|
36639
36629
|
onMessagesChange() {
|
|
36640
36630
|
/* wired up by t9n util */
|
|
36641
36631
|
}
|
|
36642
36632
|
handleValueUpdate(newValue) {
|
|
36643
36633
|
this.hoverValue = newValue;
|
|
36644
|
-
this.focusValue = newValue;
|
|
36645
36634
|
if (this.emit) {
|
|
36646
36635
|
this.calciteRatingChange.emit();
|
|
36647
36636
|
}
|
|
@@ -36665,39 +36654,28 @@ class Rating {
|
|
|
36665
36654
|
async componentWillLoad() {
|
|
36666
36655
|
await setUpMessages(this);
|
|
36667
36656
|
setUpLoadableComponent(this);
|
|
36668
|
-
this.inputRefs = Array(this.max);
|
|
36669
36657
|
}
|
|
36670
36658
|
componentWillRender() {
|
|
36671
36659
|
this.starsMap = Array.from({ length: this.max }, (_, i) => {
|
|
36672
36660
|
const value = i + 1;
|
|
36673
|
-
const average = !this.
|
|
36674
|
-
!this.hoverValue &&
|
|
36675
|
-
this.average &&
|
|
36676
|
-
!this.value &&
|
|
36677
|
-
value <= this.average;
|
|
36661
|
+
const average = !this.hoverValue && this.average && !this.value && value <= this.average;
|
|
36678
36662
|
const checked = value === this.value;
|
|
36679
|
-
const focused = this.isKeyboardInteraction && this.hasFocus && this.focusValue === value;
|
|
36680
36663
|
const fraction = this.average && this.average + 1 - value;
|
|
36681
36664
|
const hovered = value <= this.hoverValue;
|
|
36682
36665
|
const id = `${this.guid}-${value}`;
|
|
36683
|
-
const partial = !this.
|
|
36684
|
-
!this.hoverValue &&
|
|
36685
|
-
!this.value &&
|
|
36686
|
-
!hovered &&
|
|
36687
|
-
fraction > 0 &&
|
|
36688
|
-
fraction < 1;
|
|
36666
|
+
const partial = !this.hoverValue && !this.value && !hovered && fraction > 0 && fraction < 1;
|
|
36689
36667
|
const selected = this.value >= value;
|
|
36668
|
+
const tabIndex = this.getTabIndex(value);
|
|
36690
36669
|
return {
|
|
36691
36670
|
average,
|
|
36692
36671
|
checked,
|
|
36693
|
-
focused,
|
|
36694
36672
|
fraction,
|
|
36695
36673
|
hovered,
|
|
36696
36674
|
id,
|
|
36697
|
-
idx: i,
|
|
36698
36675
|
partial,
|
|
36699
36676
|
selected,
|
|
36700
36677
|
value,
|
|
36678
|
+
tabIndex,
|
|
36701
36679
|
};
|
|
36702
36680
|
});
|
|
36703
36681
|
}
|
|
@@ -36715,21 +36693,16 @@ class Rating {
|
|
|
36715
36693
|
updateHostInteraction(this);
|
|
36716
36694
|
}
|
|
36717
36695
|
render() {
|
|
36718
|
-
return (hAsync(Host, {
|
|
36696
|
+
return (hAsync(Host, { onKeyDown: this.handleHostKeyDown, onPointerOut: this.handleRatingPointerOut, onPointerOver: this.handleRatingPointerOver }, hAsync("span", { class: "wrapper" }, hAsync("fieldset", { class: "fieldset", disabled: this.disabled }, hAsync("legend", { class: "visually-hidden" }, this.messages.rating), this.starsMap.map(({ average, checked, fraction, hovered, id, partial, selected, value, tabIndex }) => {
|
|
36719
36697
|
return (hAsync("label", { class: {
|
|
36720
36698
|
star: true,
|
|
36721
|
-
focused,
|
|
36722
36699
|
selected,
|
|
36723
36700
|
hovered,
|
|
36724
36701
|
average,
|
|
36725
36702
|
partial,
|
|
36726
|
-
},
|
|
36727
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
36728
|
-
ref: (
|
|
36729
|
-
this.inputRefs[idx] = el;
|
|
36730
|
-
return ((value === 1 || value === this.value) &&
|
|
36731
|
-
(this.inputFocusRef = el));
|
|
36732
|
-
} }), hAsync(StarIcon, { full: selected || average, scale: this.scale }), partial && (hAsync("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, hAsync(StarIcon, { full: true, partial: true, scale: this.scale }))), hAsync("span", { class: "visually-hidden" }, this.messages.stars.replace("{num}", `${value}`))));
|
|
36703
|
+
}, "data-value": value, htmlFor: id, onClick: this.handleLabelClick, onFocus: this.handleLabelFocus, onKeyDown: this.handleLabelKeyDown, onPointerDown: this.handleLabelPointerDown, onPointerOver: this.handleLabelPointerOver, tabIndex: tabIndex,
|
|
36704
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
36705
|
+
ref: this.setLabelEl }, hAsync("input", { checked: checked, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: id, name: this.guid, onChange: this.handleInputChange, tabIndex: -1, type: "radio", value: value }), hAsync(StarIcon, { full: selected || average, scale: this.scale }), partial && (hAsync("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, hAsync(StarIcon, { full: true, partial: true, scale: this.scale }))), hAsync("span", { class: "visually-hidden" }, this.messages.stars.replace("{num}", `${value}`))));
|
|
36733
36706
|
}), (this.count || this.average) && this.showChip ? (hAsync("calcite-chip", { scale: this.scale, value: this.count?.toString() }, !!this.average && hAsync("span", { class: "number--average" }, this.average.toString()), !!this.count && hAsync("span", { class: "number--count" }, "(", this.count?.toString(), ")"))) : null), hAsync(HiddenFormInputSlot, { component: this }))));
|
|
36734
36707
|
}
|
|
36735
36708
|
//--------------------------------------------------------------------------
|
|
@@ -36740,6 +36713,26 @@ class Rating {
|
|
|
36740
36713
|
onLabelClick() {
|
|
36741
36714
|
this.setFocus();
|
|
36742
36715
|
}
|
|
36716
|
+
updateFocus() {
|
|
36717
|
+
this.hoverValue = this.value;
|
|
36718
|
+
this.labelElements[this.value - 1].focus();
|
|
36719
|
+
}
|
|
36720
|
+
getTabIndex(value) {
|
|
36721
|
+
if (this.readOnly || (this.value !== value && (this.value || value !== 1))) {
|
|
36722
|
+
return -1;
|
|
36723
|
+
}
|
|
36724
|
+
return 0;
|
|
36725
|
+
}
|
|
36726
|
+
getValueFromLabelEvent(event) {
|
|
36727
|
+
const target = event.currentTarget;
|
|
36728
|
+
return Number(target.getAttribute("data-value"));
|
|
36729
|
+
}
|
|
36730
|
+
getNextRatingValue(currentValue) {
|
|
36731
|
+
return currentValue === 5 ? 1 : currentValue + 1;
|
|
36732
|
+
}
|
|
36733
|
+
getPreviousRatingValue(currentValue) {
|
|
36734
|
+
return currentValue === 1 ? 5 : currentValue - 1;
|
|
36735
|
+
}
|
|
36743
36736
|
//--------------------------------------------------------------------------
|
|
36744
36737
|
//
|
|
36745
36738
|
// Public Methods
|
|
@@ -36748,7 +36741,7 @@ class Rating {
|
|
|
36748
36741
|
/** Sets focus on the component. */
|
|
36749
36742
|
async setFocus() {
|
|
36750
36743
|
await componentFocusable(this);
|
|
36751
|
-
this.
|
|
36744
|
+
focusFirstTabbable(this.el);
|
|
36752
36745
|
}
|
|
36753
36746
|
static get assetsDirs() { return ["assets"]; }
|
|
36754
36747
|
get el() { return getElement(this); }
|
|
@@ -36777,8 +36770,6 @@ class Rating {
|
|
|
36777
36770
|
"effectiveLocale": [32],
|
|
36778
36771
|
"defaultMessages": [32],
|
|
36779
36772
|
"hoverValue": [32],
|
|
36780
|
-
"focusValue": [32],
|
|
36781
|
-
"hasFocus": [32],
|
|
36782
36773
|
"setFocus": [64]
|
|
36783
36774
|
},
|
|
36784
36775
|
"$listeners$": undefined,
|
|
@@ -42920,7 +42911,8 @@ class Tree {
|
|
|
42920
42911
|
}
|
|
42921
42912
|
updateAncestorTree(event) {
|
|
42922
42913
|
const item = event.target;
|
|
42923
|
-
|
|
42914
|
+
const updateItem = event.detail.updateItem;
|
|
42915
|
+
if (item.disabled || (item.indeterminate && !updateItem)) {
|
|
42924
42916
|
return;
|
|
42925
42917
|
}
|
|
42926
42918
|
const ancestors = [];
|
|
@@ -42932,9 +42924,13 @@ class Tree {
|
|
|
42932
42924
|
const childItems = Array.from(item.querySelectorAll("calcite-tree-item:not([disabled])"));
|
|
42933
42925
|
const childItemsWithNoChildren = childItems.filter((child) => !child.hasChildren);
|
|
42934
42926
|
const childItemsWithChildren = childItems.filter((child) => child.hasChildren);
|
|
42935
|
-
|
|
42936
|
-
|
|
42937
|
-
: !item.selected;
|
|
42927
|
+
let futureSelected;
|
|
42928
|
+
if (updateItem) {
|
|
42929
|
+
futureSelected = item.hasChildren ? !(item.selected || item.indeterminate) : !item.selected;
|
|
42930
|
+
}
|
|
42931
|
+
else {
|
|
42932
|
+
futureSelected = item.selected;
|
|
42933
|
+
}
|
|
42938
42934
|
childItemsWithNoChildren.forEach((el) => {
|
|
42939
42935
|
el.selected = futureSelected;
|
|
42940
42936
|
el.indeterminate = false;
|
|
@@ -42949,12 +42945,14 @@ class Tree {
|
|
|
42949
42945
|
const directChildItems = Array.from(el.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));
|
|
42950
42946
|
updateItemState(directChildItems, el);
|
|
42951
42947
|
});
|
|
42952
|
-
if (
|
|
42953
|
-
|
|
42954
|
-
|
|
42955
|
-
|
|
42956
|
-
|
|
42957
|
-
|
|
42948
|
+
if (updateItem) {
|
|
42949
|
+
if (item.hasChildren) {
|
|
42950
|
+
updateItemState(childItems, item);
|
|
42951
|
+
}
|
|
42952
|
+
else {
|
|
42953
|
+
item.selected = futureSelected;
|
|
42954
|
+
item.indeterminate = false;
|
|
42955
|
+
}
|
|
42958
42956
|
}
|
|
42959
42957
|
ancestors.forEach((ancestor) => {
|
|
42960
42958
|
const descendants = nodeListToArray(ancestor.querySelectorAll("calcite-tree-item"));
|
|
@@ -42969,7 +42967,9 @@ class Tree {
|
|
|
42969
42967
|
ancestor.selected = !indeterminate;
|
|
42970
42968
|
});
|
|
42971
42969
|
this.selectedItems = nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected);
|
|
42972
|
-
|
|
42970
|
+
if (updateItem) {
|
|
42971
|
+
this.calciteTreeSelect.emit();
|
|
42972
|
+
}
|
|
42973
42973
|
}
|
|
42974
42974
|
// --------------------------------------------------------------------------
|
|
42975
42975
|
//
|
|
@@ -43037,6 +43037,7 @@ class TreeItem {
|
|
|
43037
43037
|
this.expanded = !this.expanded;
|
|
43038
43038
|
};
|
|
43039
43039
|
this.childrenClickHandler = (event) => event.stopPropagation();
|
|
43040
|
+
this.userChangedValue = false;
|
|
43040
43041
|
this.updateParentIsExpanded = (el, expanded) => {
|
|
43041
43042
|
const items = getSlotted(el, SLOTS$1.children, {
|
|
43042
43043
|
all: true,
|
|
@@ -43059,12 +43060,24 @@ class TreeItem {
|
|
|
43059
43060
|
this.scale = undefined;
|
|
43060
43061
|
this.indeterminate = false;
|
|
43061
43062
|
this.selectionMode = undefined;
|
|
43062
|
-
this.updateAfterInitialRender = false;
|
|
43063
43063
|
this.hasEndActions = false;
|
|
43064
|
+
this.updateAfterInitialRender = false;
|
|
43064
43065
|
}
|
|
43065
43066
|
expandedHandler(newValue) {
|
|
43066
43067
|
this.updateParentIsExpanded(this.el, newValue);
|
|
43067
43068
|
}
|
|
43069
|
+
handleSelectedChange(value) {
|
|
43070
|
+
if (this.selectionMode === "ancestors" && !this.userChangedValue) {
|
|
43071
|
+
if (value) {
|
|
43072
|
+
this.indeterminate = false;
|
|
43073
|
+
}
|
|
43074
|
+
this.calciteInternalTreeItemSelect.emit({
|
|
43075
|
+
modifyCurrentSelection: true,
|
|
43076
|
+
forceToggle: false,
|
|
43077
|
+
updateItem: false,
|
|
43078
|
+
});
|
|
43079
|
+
}
|
|
43080
|
+
}
|
|
43068
43081
|
getSelectionMode() {
|
|
43069
43082
|
this.isSelectionMultiLike =
|
|
43070
43083
|
this.selectionMode === "multiple" || this.selectionMode === "multichildren";
|
|
@@ -43175,7 +43188,9 @@ class TreeItem {
|
|
|
43175
43188
|
this.calciteInternalTreeItemSelect.emit({
|
|
43176
43189
|
modifyCurrentSelection: this.selectionMode === "ancestors" || this.isSelectionMultiLike,
|
|
43177
43190
|
forceToggle: false,
|
|
43191
|
+
updateItem: true,
|
|
43178
43192
|
});
|
|
43193
|
+
this.userChangedValue = true;
|
|
43179
43194
|
}
|
|
43180
43195
|
keyDownHandler(event) {
|
|
43181
43196
|
let root;
|
|
@@ -43187,9 +43202,11 @@ class TreeItem {
|
|
|
43187
43202
|
if (this.selectionMode === "none") {
|
|
43188
43203
|
return;
|
|
43189
43204
|
}
|
|
43205
|
+
this.userChangedValue = true;
|
|
43190
43206
|
this.calciteInternalTreeItemSelect.emit({
|
|
43191
43207
|
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
43192
43208
|
forceToggle: false,
|
|
43209
|
+
updateItem: true,
|
|
43193
43210
|
});
|
|
43194
43211
|
event.preventDefault();
|
|
43195
43212
|
break;
|
|
@@ -43199,6 +43216,7 @@ class TreeItem {
|
|
|
43199
43216
|
}
|
|
43200
43217
|
// activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
|
|
43201
43218
|
const link = nodeListToArray(this.el.children).find((el) => el.matches("a"));
|
|
43219
|
+
this.userChangedValue = true;
|
|
43202
43220
|
if (link) {
|
|
43203
43221
|
link.click();
|
|
43204
43222
|
this.selected = true;
|
|
@@ -43207,6 +43225,7 @@ class TreeItem {
|
|
|
43207
43225
|
this.calciteInternalTreeItemSelect.emit({
|
|
43208
43226
|
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
43209
43227
|
forceToggle: false,
|
|
43228
|
+
updateItem: true,
|
|
43210
43229
|
});
|
|
43211
43230
|
}
|
|
43212
43231
|
event.preventDefault();
|
|
@@ -43259,6 +43278,11 @@ class TreeItem {
|
|
|
43259
43278
|
else if (selectedSiblings.length > 0) {
|
|
43260
43279
|
parentItem.indeterminate = true;
|
|
43261
43280
|
}
|
|
43281
|
+
const childItems = Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])"));
|
|
43282
|
+
childItems.forEach((item) => {
|
|
43283
|
+
item.selected = true;
|
|
43284
|
+
item.indeterminate = false;
|
|
43285
|
+
});
|
|
43262
43286
|
}
|
|
43263
43287
|
else if (this.indeterminate) {
|
|
43264
43288
|
const parentItem = this.parentTreeItem;
|
|
@@ -43268,6 +43292,7 @@ class TreeItem {
|
|
|
43268
43292
|
get el() { return getElement(this); }
|
|
43269
43293
|
static get watchers() { return {
|
|
43270
43294
|
"expanded": ["expandedHandler"],
|
|
43295
|
+
"selected": ["handleSelectedChange"],
|
|
43271
43296
|
"selectionMode": ["getSelectionMode"]
|
|
43272
43297
|
}; }
|
|
43273
43298
|
static get style() { return treeItemCss; }
|
|
@@ -43287,8 +43312,8 @@ class TreeItem {
|
|
|
43287
43312
|
"scale": [1537],
|
|
43288
43313
|
"indeterminate": [516],
|
|
43289
43314
|
"selectionMode": [1537, "selection-mode"],
|
|
43290
|
-
"
|
|
43291
|
-
"
|
|
43315
|
+
"hasEndActions": [32],
|
|
43316
|
+
"updateAfterInitialRender": [32]
|
|
43292
43317
|
},
|
|
43293
43318
|
"$listeners$": [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"]],
|
|
43294
43319
|
"$lazyBundleId$": "-",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.7.0-next.
|
|
3
|
+
"version": "1.7.0-next.9",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"volta": {
|
|
88
88
|
"extends": "../../package.json"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "5554e31e5c48db58ee35ae34c495c3e757b67756"
|
|
91
91
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-4ddb1fe1.js";import{c as o}from"./p-c7fc4e1a.js";const c=new Set;let n;const f={childList:!0};function s(t){n||(n=o("mutation",a)),n.observe(t.el,f)}function i(t){c.delete(t.el),a(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,f)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,h as t,a as i}from"./p-4ddb1fe1.js";import{c as s,d as a}from"./p-61a972cf.js";import{u as c,c as n,s as o,d as r}from"./p-bb1889f9.js";import{c as l}from"./p-c7fc4e1a.js";import{x as h}from"./p-ec7e96fa.js";import"./p-6b4ec9d1.js";import"./p-7f88c9c7.js";import"./p-6eb6516e.js";const d=class{constructor(t){e(this,t),this.resizeObserver=l("resize",(()=>this.handleResize())),this.handleDefaultSlotChange=e=>{this.hasContent=h(e)},this.storeLoaderEl=e=>{this.loaderEl=e,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasContent=!1}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){s(this),n(this),this.resizeObserver?.observe(this.el)}async componentWillLoad(){await o(this)}disconnectedCallback(){a(this),r(this),this.resizeObserver?.disconnect()}render(){const{hasContent:e,loading:i,messages:s}=this;return t("div",{class:"scrim"},i?t("calcite-loader",{label:s.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,t("div",{class:"content",hidden:!e},t("slot",{onSlotchange:this.handleDefaultSlotChange})))}getScale(e){return e<72?"s":e>=480?"l":"m"}handleResize(){const{loaderEl:e,el:t}=this;e&&(this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0))}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};d.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_scrim}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{q as n,c as e}from"./p-ec7e96fa.js";import{h as t}from"./p-4ddb1fe1.js";!function(n){function e(n,e,t){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",t)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,t){n instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||e(TypeError,"The specified element is not a submit button"),n.form==t||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:e}=n;return!!e&&(e.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:t,value:o}=n,c=m(n);if(!c||function(n,t){if(e(t.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,t))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(t)}function m(t){const{el:o,form:r}=t;return r?n(o,{id:r}):e(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:e,formEl:t}=n;if(!t)return;const o=i.get(e);t.removeEventListener("reset",o),i.delete(e),n.formEl=null,s.delete(e)}function p(n,e){n.defaultValue=e}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,e,t){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;e.defaultValue=o,e.disabled=i,e.name=c,e.required=u,e.tabIndex=-1,s?e.setAttribute("form",s):e.removeAttribute("form"),r(n)?(e.checked=n.checked,e.defaultChecked=n.defaultChecked,e.value=n.checked?t||"on":""):e.value=t||"",n.syncHiddenFormInput?.(e)}const E=({component:n})=>(function(n){const{el:e,formEl:t,name:r,value:i}=n,{ownerDocument:s}=e,c=e.querySelectorAll(`input[slot="${o}"]`);if(!t||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((e=>{const t=u.find((n=>n==e.value));null!=t?(m.add(t),b(n,e,t)):f.push(e)})),u.forEach((e=>{if(m.has(e))return;let t=f.pop();t||(t=s.createElement("input"),t.slot=o),a||(a=s.createDocumentFragment()),a.append(t),t.addEventListener("change",d),b(n,t,e)})),a&&e.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),t("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-7aeef26b.js";import"./p-4ddb1fe1.js";import"./p-1cd7aa52.js";import"./p-ec7e96fa.js";import"./p-7f88c9c7.js";import"./p-6eb6516e.js";import"./p-160712a9.js";import"./p-6b4ec9d1.js";import"./p-fa6c203a.js";import"./p-1c696169.js";import"./p-61a972cf.js";import"./p-c7fc4e1a.js";import"./p-f7d2ee5f.js";import"./p-bb1889f9.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-7aeef26b.js";import"./p-4ddb1fe1.js";import"./p-1cd7aa52.js";import"./p-ec7e96fa.js";import"./p-7f88c9c7.js";import"./p-6eb6516e.js";import"./p-160712a9.js";import"./p-6b4ec9d1.js";import"./p-fa6c203a.js";import"./p-1c696169.js";import"./p-61a972cf.js";import"./p-c7fc4e1a.js";import"./p-f7d2ee5f.js";import"./p-bb1889f9.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,a){var o=e+" ";switch(m){case"s":return t||a?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?o+(r(e)?"roky":"rokov"):o+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,a as e}from"./p-4ddb1fe1.js";import{c as a,d as o,u as r}from"./p-160712a9.js";import{c as n}from"./p-c7fc4e1a.js";import{d as h,c as d}from"./p-30c6c3a8.js";import{d as c}from"./p-ec7e96fa.js";import"./p-7f88c9c7.js";import"./p-6eb6516e.js";const l=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=n("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){this.setUpSorting(),this.beginObserving(),a(this)}disconnectedCallback(){o(this),h(this),this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,n=!1;"up"===i?0===o?n=!0:r=o-1:o===a?r=0:o===a-1?n=!0:r=o+2,this.endObserving(),n?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),d(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};l.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.7.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,H as n,a as o}from"./p-4ddb1fe1.js";import{d as s,A as c,B as a,h as l,b as r,g as h,t as d,C as m}from"./p-ec7e96fa.js";import{c as u,d as p}from"./p-05fcbff7.js";import{c as f,d as b,u as v}from"./p-160712a9.js";import{C as k}from"./p-6eb6516e.js";import"./p-7f88c9c7.js";import"./p-c7fc4e1a.js";function x(e,t){const i="down"===t?"nextElementSibling":"previousElementSibling";let n=e,o=null;for(;n?.matches("calcite-tree-item");){if(!n.disabled){o=n;break}n=n[i]}return o}const g=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){const e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}render(){return i(n,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");s(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(e){const t=e.target,i=c(t.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(e.preventDefault(),e.stopPropagation()),"ancestors"===this.selectionMode&&!this.child)return void this.updateAncestorTree(e);const n="none"===this.selectionMode,o=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),s="multichildren"===this.selectionMode&&t.hasChildren,a=!n&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),l=!a&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),r=["children","multichildren"].includes(this.selectionMode)||["single","multiple"].includes(this.selectionMode)&&t.hasChildren&&!e.detail.forceToggle;if(!this.child){const h=[];o&&h.push(t),l&&c(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{h.includes(e)||(e.selected=!1)})),r&&(["single","multiple"].includes(this.selectionMode)?t.expanded=!t.expanded:"multichildren"===this.selectionMode?t.expanded=!t.selected:"children"===this.selectionMode&&(t.expanded=!t.selected||!t.expanded)),s&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),a&&window.getSelection().removeAllRanges(),a&&t.selected||e.detail.forceToggle?h.forEach((e=>{e.disabled||(e.selected=!1)})):n||h.forEach((e=>{e.disabled||(e.selected=!0)}))}this.selectedItems=n?[t]:c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){const t=this.el.closest("calcite-tree:not([child])"),i=e.target;if(t===this.el&&"CALCITE-TREE-ITEM"===i.tagName&&this.el.contains(i))if("ArrowDown"!==e.key){if("ArrowUp"===e.key){const t=x(i.previousElementSibling,"up");t&&(t.focus(),e.preventDefault())}if("ArrowLeft"===e.key&&!i.disabled){if(i.hasChildren&&i.expanded)return i.expanded=!1,void e.preventDefault();const t=i.parentElement.closest("calcite-tree-item");return!t||i.hasChildren&&!1!==i.expanded?void 0:(t.focus(),void e.preventDefault())}"ArrowRight"!==e.key||i.disabled||i.hasChildren&&(i.expanded&&a(this.el).activeElement===i?(x(i.querySelector("calcite-tree-item"),"down")?.focus(),e.preventDefault()):(i.expanded=!0,e.preventDefault()))}else{const t=x(i.nextElementSibling,"down");t&&(t.focus(),e.preventDefault())}}updateAncestorTree(e){const t=e.target;if(t.disabled)return;const i=[];let n=t.parentElement.closest("calcite-tree-item");for(;n;)i.push(n),n=n.parentElement.closest("calcite-tree-item");const o=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),s=o.filter((e=>!e.hasChildren)),a=o.filter((e=>e.hasChildren)),l=t.hasChildren?!(t.selected||t.indeterminate):!t.selected;function r(e,t){const i=e.filter((e=>e.selected)),n=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&n.length>0}s.forEach((e=>{e.selected=l,e.indeterminate=!1})),a.reverse().forEach((e=>{r(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),t.hasChildren?r(o,t):(t.selected=l,t.indeterminate=!1),i.forEach((e=>{const t=c(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const n=i.length<t.length;e.indeterminate=n,e.selected=!n})),this.selectedItems=c(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return o(this)}};g.style=":host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";const y="children",w="bullet-point",z="check",A=class{constructor(i){e(this,i),this.calciteInternalTreeItemSelect=t(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=e=>{e.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=e=>e.stopPropagation(),this.updateParentIsExpanded=(e,t)=>{l(e,y,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=r(e)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.updateAfterInitialRender=!1,this.hasEndActions=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){if(this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}u(this),f(this)}disconnectedCallback(){p(this),b(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e,t=this.el.closest("calcite-tree");if(t)for(this.selectionMode=t.selectionMode,this.scale=t.scale||"m",this.lines=t.lines;t&&(e=t.parentElement?.closest("calcite-tree"),e!==t);)t=e,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){v(this,(()=>this.parentExpanded||1===this.depth))}render(){const e="rtl"===h(this.el),t="single"===this.selectionMode||"children"===this.selectionMode,o="multiple"===this.selectionMode||"multichildren"===this.selectionMode,s="none"===this.selectionMode&&!this.hasChildren,c=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[k.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"l"===this.scale?"m":"s"}):null,a=i("slot",{key:"default-slot"}),l="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),a):null,r=t?w:o?z:s?"blank":null,m=r?i("calcite-icon",{class:{"bullet-point":r===w,checkmark:r===z,[k.rtl]:e},icon:r,scale:"l"===this.scale?"m":"s"}):null,u=!(this.parentExpanded||1===this.depth),p=this.updateAfterInitialRender&&this.expanded,{hasEndActions:f}=this,b=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),v=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"});return i(n,{"aria-expanded":this.hasChildren?d(p):void 0,"aria-hidden":d(u),"aria-selected":this.selected?"true":o?"false":void 0,"calcite-hydrated-hidden":u,role:"treeitem"},i("div",{class:{"item--expanded":p}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[k.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},c,m,this.iconStart?v:null,l||a),i("div",{class:"actions-end",hidden:!f,ref:e=>this.actionSlotWrapper=e},b)),i("div",{class:{"children-container":!0,[k.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:y}))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=m(this.el,"a");t&&"a"!==e.composedPath()[0].tagName.toLowerCase()&&window.open(t.href,""===t.target?"_self":t.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(e){let t;if(!this.isActionEndEvent(e))switch(e.key){case" ":if("none"===this.selectionMode)return;this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Enter":if("none"===this.selectionMode)return;const i=c(this.el.children).find((e=>e.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Home":t=this.el.closest("calcite-tree:not([child])"),t.querySelector("calcite-tree-item")?.focus();break;case"End":t=this.el.closest("calcite-tree:not([child])");let n=t.children[t.children.length-1],o=c(n.children).find((e=>e.matches("calcite-tree")));for(;o;)n=o.children[t.children.length-1],o=c(n.children).find((e=>e.matches("calcite-tree")));n?.focus()}}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const e=this.parentTreeItem;if("ancestors"===this.selectionMode&&e)if(this.selected){const t=Array.from(this.el.parentElement?.children),i=t.filter((e=>e.selected));t.length===i.length?(e.selected=!0,e.indeterminate=!1):i.length>0&&(e.indeterminate=!0)}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return o(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getSelectionMode"]}}};A.style=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}.node-actions-container{display:flex}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected]) .node-container[data-selection-mode=children],:host([has-children][selected]) .node-container[data-selection-mode=multichildren]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}:host([hidden]){display:none}[hidden]{display:none}';export{g as calcite_tree,A as calcite_tree_item}
|