@esri/calcite-components 1.7.0-next.1 → 1.7.0-next.10
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-ae344427.entry.js → p-0046cbc9.entry.js} +2 -2
- package/dist/calcite/{p-06dacd86.js → p-0053c13b.js} +2 -2
- package/dist/calcite/{p-9bc6e682.js → p-01b06b3f.js} +1 -1
- package/dist/calcite/{p-39993eab.entry.js → p-05c3f047.entry.js} +2 -2
- package/dist/calcite/{p-ffd00167.entry.js → p-05dc66ad.entry.js} +2 -2
- package/dist/calcite/{p-6ad6fd05.js → p-064acc14.js} +1 -1
- package/dist/calcite/{p-37b4e104.entry.js → p-07f1e2f9.entry.js} +2 -2
- package/dist/calcite/{p-bc4d6c19.js → p-08af2eef.js} +1 -1
- package/dist/calcite/{p-1fdd975e.js → p-0b77c479.js} +1 -1
- package/dist/calcite/{p-5eaf5010.entry.js → p-0bedbb5c.entry.js} +2 -2
- package/dist/calcite/{p-0fd24b92.js → p-0df84e64.js} +2 -2
- package/dist/calcite/{p-2e453e32.js → p-0f316e3f.js} +1 -1
- package/dist/calcite/{p-815aba9a.js → p-138ea402.js} +2 -2
- package/dist/calcite/p-151ffc4a.js +6 -0
- package/dist/calcite/{p-9816964b.entry.js → p-178eec14.entry.js} +2 -2
- package/dist/calcite/{p-e1b781c4.js → p-19579104.js} +2 -2
- package/dist/calcite/p-1cb07a3d.entry.js +6 -0
- package/dist/calcite/{p-c52afb13.js → p-1d17599c.js} +2 -2
- package/dist/calcite/p-1e399b2c.entry.js +6 -0
- package/dist/calcite/{p-6a3b9b99.js → p-207c8004.js} +2 -2
- package/dist/calcite/{p-c51bfd8b.entry.js → p-2315e7d6.entry.js} +2 -2
- package/dist/calcite/{p-e8a2f2b1.js → p-233423d3.js} +2 -2
- package/dist/calcite/{p-268b6dda.js → p-235c2640.js} +2 -2
- package/dist/calcite/{p-1a501d5a.entry.js → p-297fb824.entry.js} +2 -2
- package/dist/calcite/{p-0bf1965e.entry.js → p-2998cc4f.entry.js} +2 -2
- package/dist/calcite/p-29f78745.js +6 -0
- package/dist/calcite/{p-b9a6af16.entry.js → p-2b262ee4.entry.js} +2 -2
- package/dist/calcite/{p-b60c9d3c.js → p-2b7bf2aa.js} +2 -2
- package/dist/calcite/{p-f96ca0e0.js → p-2e0f580f.js} +2 -2
- package/dist/calcite/{p-a4efea69.entry.js → p-2fa0cf24.entry.js} +2 -2
- package/dist/calcite/{p-a9f32c9a.js → p-31cd3168.js} +2 -2
- package/dist/calcite/{p-a6cd85bc.js → p-3458e023.js} +2 -2
- package/dist/calcite/{p-08fdfbc3.js → p-34c49b13.js} +1 -1
- package/dist/calcite/{p-5034fe06.js → p-3f35156d.js} +2 -2
- package/dist/calcite/{p-f2ede9d6.js → p-41f8c908.js} +2 -2
- package/dist/calcite/p-441a689a.entry.js +6 -0
- package/dist/calcite/{p-b5dcca75.entry.js → p-476e2ab6.entry.js} +2 -2
- package/dist/calcite/{p-b405d46f.js → p-49205f99.js} +2 -2
- package/dist/calcite/p-4abd1bdd.js +6 -0
- package/dist/calcite/{p-d8af8497.js → p-4d3c906f.js} +2 -2
- package/dist/calcite/{p-caf68581.entry.js → p-4ef65f70.entry.js} +2 -2
- package/dist/calcite/{p-7f725ebc.js → p-50dcaa2d.js} +2 -2
- package/dist/calcite/{p-58ba10d4.js → p-51ab4f68.js} +2 -2
- package/dist/calcite/{p-4c8ab27d.entry.js → p-57129f81.entry.js} +2 -2
- package/dist/calcite/{p-d66da5fc.js → p-59016cb2.js} +2 -2
- package/dist/calcite/{p-37f55b39.js → p-5b74a3ce.js} +2 -2
- package/dist/calcite/{p-797299f7.entry.js → p-5c3a21ab.entry.js} +2 -2
- package/dist/calcite/{p-88d3bfd6.js → p-5d96c1e6.js} +2 -2
- package/dist/calcite/{p-027d8d24.entry.js → p-601c504d.entry.js} +2 -2
- package/dist/calcite/{p-7e1db1e0.js → p-6442898a.js} +2 -2
- package/dist/calcite/{p-73df0c73.entry.js → p-65dc8386.entry.js} +2 -2
- package/dist/calcite/{p-9e16fdd9.js → p-66c07893.js} +1 -1
- package/dist/calcite/{p-0f0104ed.entry.js → p-687fe657.entry.js} +2 -2
- package/dist/calcite/{p-4b02e314.js → p-6942cb33.js} +2 -2
- package/dist/calcite/{p-05f135b6.entry.js → p-69cd04bc.entry.js} +2 -2
- package/dist/calcite/{p-2363de21.js → p-6a3c4ecb.js} +2 -2
- package/dist/calcite/{p-df87a1ee.entry.js → p-6ad8749b.entry.js} +2 -2
- package/dist/calcite/p-6d86e371.entry.js +6 -0
- package/dist/calcite/{p-864a1151.entry.js → p-6e094446.entry.js} +2 -2
- package/dist/calcite/{p-4b6a3d84.js → p-7047f4d2.js} +2 -2
- package/dist/calcite/{p-a744c146.js → p-70acd2bb.js} +2 -2
- package/dist/calcite/{p-1a829f83.entry.js → p-725d3eeb.entry.js} +2 -2
- package/dist/calcite/{p-e3777deb.js → p-73229254.js} +2 -2
- package/dist/calcite/p-776ef9be.entry.js +6 -0
- package/dist/calcite/{p-2c8fb3c6.js → p-7773454b.js} +2 -2
- package/dist/calcite/{p-e295f116.js → p-7987d501.js} +2 -2
- package/dist/calcite/{p-e841b8de.js → p-7cf3bd86.js} +2 -2
- package/dist/calcite/p-7ec146b5.entry.js +6 -0
- package/dist/calcite/p-804896d0.entry.js +6 -0
- package/dist/calcite/{p-d1bbd926.entry.js → p-8098face.entry.js} +2 -2
- package/dist/calcite/{p-c5483999.js → p-80c59178.js} +2 -2
- package/dist/calcite/{p-beda5a17.js → p-80cc8208.js} +1 -1
- package/dist/calcite/{p-0617ef2e.js → p-833a99fc.js} +2 -2
- package/dist/calcite/{p-8be53c0a.js → p-84bb0220.js} +2 -2
- package/dist/calcite/{p-3dc10ee3.entry.js → p-8635d173.entry.js} +2 -2
- package/dist/calcite/{p-98d74b37.js → p-88411959.js} +2 -2
- package/dist/calcite/p-8bbe6b3d.js +6 -0
- package/dist/calcite/p-8dd42274.entry.js +6 -0
- package/dist/calcite/{p-bad1bed2.entry.js → p-8f8402d1.entry.js} +2 -2
- package/dist/calcite/p-91103449.js +6 -0
- package/dist/calcite/{p-fb4a7d90.js → p-925b4675.js} +2 -2
- package/dist/calcite/{p-1e6bccdb.js → p-940380e1.js} +1 -1
- package/dist/calcite/{p-7be96b14.js → p-9653d282.js} +2 -2
- package/dist/calcite/{p-337aa3da.entry.js → p-968d6add.entry.js} +2 -2
- package/dist/calcite/{p-76c68997.entry.js → p-97b9bdaa.entry.js} +2 -2
- package/dist/calcite/p-9abee028.entry.js +6 -0
- package/dist/calcite/{p-a22dcd94.js → p-9ae3572c.js} +2 -2
- package/dist/calcite/{p-b3414fbe.entry.js → p-a1abca2b.entry.js} +2 -2
- package/dist/calcite/{p-39c1239f.js → p-a3202da5.js} +2 -2
- package/dist/calcite/{p-94c29059.js → p-a34c7fc0.js} +2 -2
- package/dist/calcite/{p-1f3eaf93.entry.js → p-a5e5b89d.entry.js} +2 -2
- package/dist/calcite/{p-ba8fdc16.js → p-a83a9d88.js} +2 -2
- package/dist/calcite/{p-0cc0ce6c.entry.js → p-a919c8ef.entry.js} +2 -2
- package/dist/calcite/{p-aa3edd9c.entry.js → p-a9c5c3e0.entry.js} +2 -2
- package/dist/calcite/{p-c1a2b858.js → p-aa87c3b2.js} +2 -2
- package/dist/calcite/{p-aca5edde.js → p-aac54b1e.js} +2 -2
- package/dist/calcite/{p-d387ab78.js → p-b291449f.js} +1 -1
- package/dist/calcite/{p-26e614b7.js → p-b3424f0a.js} +2 -2
- package/dist/calcite/{p-ca99419c.js → p-b43e9ede.js} +2 -2
- package/dist/calcite/{p-5ed30681.js → p-b51275ae.js} +2 -2
- package/dist/calcite/{p-8421e849.js → p-b53a82d1.js} +2 -2
- package/dist/calcite/{p-1dcce77c.entry.js → p-b9ecae29.entry.js} +2 -2
- package/dist/calcite/{p-bd8f1cc0.entry.js → p-ba83e64a.entry.js} +2 -2
- package/dist/calcite/{p-01e18e30.entry.js → p-bc1c128b.entry.js} +2 -2
- package/dist/calcite/{p-0f3d3543.js → p-bcecffb5.js} +2 -2
- package/dist/calcite/p-bd0a79a3.entry.js +6 -0
- package/dist/calcite/{p-95a5217a.js → p-c0d16643.js} +2 -2
- package/dist/calcite/{p-da80bc8e.js → p-c1d0acc5.js} +2 -2
- package/dist/calcite/{p-fa369a8d.js → p-c525c958.js} +2 -2
- package/dist/calcite/{p-19a239f5.js → p-c60b745d.js} +2 -2
- package/dist/calcite/p-c62e180a.entry.js +6 -0
- package/dist/calcite/{p-ef28f094.entry.js → p-c6ac34ff.entry.js} +2 -2
- package/dist/calcite/{p-fa531620.js → p-c6ba280b.js} +2 -2
- package/dist/calcite/p-c97a607c.entry.js +6 -0
- package/dist/calcite/{p-4c787639.entry.js → p-cabe2514.entry.js} +2 -2
- package/dist/calcite/p-cac05008.js +6 -0
- package/dist/calcite/p-cb2f31be.entry.js +6 -0
- package/dist/calcite/{p-52ec78b8.entry.js → p-cc388efe.entry.js} +2 -2
- package/dist/calcite/{p-499ec0e2.js → p-cecad71b.js} +2 -2
- package/dist/calcite/{p-318d475b.js → p-d0ca9b70.js} +2 -2
- package/dist/calcite/{p-e9549c43.js → p-d4b54932.js} +1 -1
- package/dist/calcite/{p-2f974696.entry.js → p-d4b7535d.entry.js} +2 -2
- package/dist/calcite/{p-c47d99db.entry.js → p-d52c3795.entry.js} +2 -2
- package/dist/calcite/{p-4fc22bfe.entry.js → p-d52c72c1.entry.js} +2 -2
- package/dist/calcite/{p-85c52e32.entry.js → p-d6844e3a.entry.js} +2 -2
- package/dist/calcite/{p-9480fe3f.js → p-d6ab7ac5.js} +2 -2
- package/dist/calcite/p-d9619e2a.entry.js +6 -0
- package/dist/calcite/{p-446030be.js → p-dc1725c5.js} +2 -2
- package/dist/calcite/{p-bc0c6309.entry.js → p-ddbeb2fd.entry.js} +2 -2
- package/dist/calcite/p-e211caad.js +6 -0
- package/dist/calcite/p-e3e35c39.entry.js +6 -0
- package/dist/calcite/p-e584327c.entry.js +6 -0
- package/dist/calcite/{p-25d0d9f0.js → p-e72a4e3c.js} +2 -2
- package/dist/calcite/{p-d1da5baf.js → p-e8b9ec38.js} +1 -1
- package/dist/calcite/{p-98ca783b.js → p-ea30655d.js} +2 -2
- package/dist/calcite/{p-ccc0c441.entry.js → p-ea4966a2.entry.js} +2 -2
- package/dist/calcite/p-eaf74dd5.entry.js +6 -0
- package/dist/calcite/{p-5f7d9612.entry.js → p-ed0621e4.entry.js} +2 -2
- package/dist/calcite/{p-57549029.js → p-eefdfc5b.js} +2 -2
- package/dist/calcite/{p-0f0a08cd.entry.js → p-f0a95f07.entry.js} +2 -2
- package/dist/calcite/{p-05bf2762.entry.js → p-f3886027.entry.js} +2 -2
- package/dist/calcite/{p-8e1d793e.js → p-f39b79ff.js} +2 -2
- package/dist/calcite/{p-4d79e4bd.js → p-f499e53d.js} +2 -2
- package/dist/calcite/{p-2935c6e3.js → p-f57756b1.js} +2 -2
- package/dist/calcite/{p-968eafc8.entry.js → p-f7e80483.entry.js} +2 -2
- package/dist/calcite/{p-45d64c3a.js → p-f89856b0.js} +1 -1
- package/dist/calcite/{p-dcfb4b4f.js → p-f8d37a6b.js} +2 -2
- package/dist/calcite/{p-d40a1567.entry.js → p-fbfccf8b.entry.js} +2 -2
- package/dist/calcite/p-fd8e5eaa.entry.js +6 -0
- package/dist/calcite/p-fde6e84b.entry.js +6 -0
- package/dist/calcite/{p-10a9ed6f.entry.js → p-fe46e500.entry.js} +2 -2
- package/dist/calcite/{p-b563c2b7.js → p-ff491c03.js} +1 -1
- package/dist/cjs/{ExpandToggle-8265a6df.js → ExpandToggle-868d15d6.js} +6 -6
- package/dist/cjs/{FloatingArrow-b5ca6077.js → FloatingArrow-2f265df4.js} +2 -2
- package/dist/cjs/{Heading-022a7a25.js → Heading-6f9fbd67.js} +2 -2
- package/dist/cjs/{app-globals-33eb529a.js → app-globals-7a2d44ba.js} +2 -2
- package/dist/cjs/{ar-49434d95.js → ar-642058a0.js} +15 -15
- package/dist/cjs/{array-5848270e.js → array-1202902b.js} +1 -1
- package/dist/cjs/{bg-5d252039.js → bg-36b4f52f.js} +15 -15
- package/dist/cjs/{bs-9db17f5a.js → bs-98c23d89.js} +15 -15
- package/dist/cjs/{ca-a662d810.js → ca-9193be7d.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action-group.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +18 -17
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- 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 +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +15 -15
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +51 -39
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +57 -53
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +11 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -26
- package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +25 -25
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-78addba7.js → calcite-input-time-picker.calcite-time-picker-b46a1e2e.js} +67 -67
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +15 -15
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +24 -20
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +62 -31
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +19 -19
- 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 +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +70 -77
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +49 -22
- package/dist/cjs/calcite-sheet.cjs.entry.js +229 -0
- package/dist/cjs/calcite-shell_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- 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 +12 -12
- package/dist/cjs/calcite-tooltip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +56 -22
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-92ae3728.js → conditionalSlot-9d498271.js} +3 -3
- package/dist/cjs/{cs-7e9b3c2f.js → cs-61ce33ef.js} +15 -15
- package/dist/cjs/{da-8335577e.js → da-7f3e6a91.js} +15 -15
- package/dist/cjs/{de-425433c1.js → de-ae160b13.js} +15 -15
- package/dist/cjs/{de-at-48c4256e.js → de-at-1620cc6c.js} +15 -15
- package/dist/cjs/{de-ch-41c43781.js → de-ch-1fb6fff8.js} +15 -15
- package/dist/cjs/{debounce-7d77cb87.js → debounce-fd13f3e3.js} +1 -1
- package/dist/cjs/{dom-7487acd7.js → dom-ee5ca278.js} +3 -3
- package/dist/cjs/{el-10c44be5.js → el-d87580f0.js} +15 -15
- package/dist/cjs/{en-au-226cb400.js → en-au-68621ec7.js} +15 -15
- package/dist/cjs/{en-ca-1e9edcd9.js → en-ca-c65049e9.js} +15 -15
- package/dist/cjs/{en-gb-dffa7b85.js → en-gb-117fdfe8.js} +15 -15
- package/dist/cjs/{es-aafb79e8.js → es-433f8254.js} +15 -15
- package/dist/cjs/{es-mx-44e3e2a9.js → es-mx-cac56e36.js} +15 -15
- package/dist/cjs/{et-e0f4c3ca.js → et-ca97830d.js} +15 -15
- package/dist/cjs/{fi-dfbaec2f.js → fi-3533a713.js} +15 -15
- package/dist/cjs/{filter-102072d8.js → filter-412ceb5c.js} +2 -2
- package/dist/cjs/{floating-ui-8799f01a.js → floating-ui-e3b6e217.js} +3 -3
- package/dist/cjs/{focusTrapComponent-328576cf.js → focusTrapComponent-aea4e631.js} +2 -2
- package/dist/cjs/{form-509b1671.js → form-45f1afe2.js} +3 -3
- package/dist/cjs/{fr-a86ec363.js → fr-297cf2b9.js} +15 -15
- package/dist/cjs/{fr-ch-ed4c9432.js → fr-ch-44f695cc.js} +15 -15
- package/dist/cjs/{guid-bc4ef7e8.js → guid-7fc7cda4.js} +1 -1
- package/dist/cjs/{he-e893a27b.js → he-af09215d.js} +15 -15
- package/dist/cjs/{hi-ed4d25ca.js → hi-9e7b8530.js} +15 -15
- package/dist/cjs/{hr-90d9e1c6.js → hr-35b369ed.js} +15 -15
- package/dist/cjs/{hu-a6c55f07.js → hu-321b66c1.js} +15 -15
- package/dist/cjs/{id-2c74ab10.js → id-13403ee4.js} +15 -15
- package/dist/cjs/{index-142998d3.js → index-62e7a1ed.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-3295de88.js → interactive-8b00018f.js} +1 -1
- package/dist/cjs/{it-33905686.js → it-5d35493f.js} +15 -15
- package/dist/cjs/{it-ch-a4263ead.js → it-ch-196e6f6d.js} +15 -15
- package/dist/cjs/{ja-f27b3274.js → ja-036090a2.js} +15 -15
- package/dist/cjs/{key-dc499418.js → key-d451a368.js} +1 -1
- package/dist/cjs/{ko-3b5b39ca.js → ko-ba7e98cc.js} +15 -15
- package/dist/cjs/{label-39f9c585.js → label-190c0cf9.js} +2 -2
- package/dist/cjs/{loadable-cb368fce.js → loadable-3bb56575.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-99d6b752.js → locale-1985d401.js} +4 -4
- package/dist/cjs/{lt-8b22e646.js → lt-c0bf3c40.js} +15 -15
- package/dist/cjs/{lv-9b9b8357.js → lv-ab49a833.js} +15 -15
- package/dist/cjs/{math-21614d14.js → math-70cb5a4b.js} +1 -1
- package/dist/cjs/{mk-ae45b7cb.js → mk-afaa643e.js} +15 -15
- package/dist/cjs/{nb-538c6d63.js → nb-7724435b.js} +15 -15
- package/dist/cjs/{nl-0e7d71bd.js → nl-b3ecc28e.js} +15 -15
- package/dist/cjs/{observers-f62a2e0a.js → observers-1c054b2b.js} +1 -1
- package/dist/cjs/{openCloseComponent-12d9e8d8.js → openCloseComponent-27ac60fc.js} +2 -2
- package/dist/cjs/{pl-ae3d37d9.js → pl-32065efb.js} +15 -15
- package/dist/cjs/{pt-br-d6483c61.js → pt-br-20695983.js} +15 -15
- package/dist/cjs/{pt-e1224383.js → pt-d0d5d501.js} +15 -15
- package/dist/cjs/{resources-bb31ff4c.js → resources-0dc0b3e6.js} +7 -7
- package/dist/cjs/{resources-118dc727.js → resources-0e2189a1.js} +1 -1
- package/dist/cjs/{resources-d7dcc7aa.js → resources-2048e92e.js} +1 -1
- package/dist/cjs/{resources-73b59433.js → resources-2685decb.js} +1 -1
- package/dist/cjs/{resources-932fa5dc.js → resources-3a9a1d47.js} +1 -1
- package/dist/cjs/{resources-5c003e2b.js → resources-9bdd3395.js} +5 -1
- package/dist/cjs/{resources-ab8cb2da.js → resources-a50b6034.js} +1 -1
- package/dist/cjs/{ro-6f49a712.js → ro-aac5da9b.js} +15 -15
- package/dist/cjs/{ru-e535cc78.js → ru-70556d69.js} +15 -15
- package/dist/cjs/{sk-4e280c98.js → sk-1d8359cf.js} +15 -15
- package/dist/cjs/{sl-ac107091.js → sl-f940d9ce.js} +15 -15
- package/dist/cjs/{sortableComponent-acf1b739.js → sortableComponent-b245a799.js} +2 -2
- package/dist/cjs/{sr-f78dcd56.js → sr-7a53561e.js} +15 -15
- package/dist/cjs/{sv-6b758740.js → sv-57a5e024.js} +15 -15
- package/dist/cjs/{t9n-42d79fa0.js → t9n-80f42485.js} +3 -3
- package/dist/cjs/{th-0ee86bbe.js → th-23a8d312.js} +15 -15
- package/dist/cjs/{throttle-792f064c.js → throttle-ac84e1e9.js} +2 -2
- package/dist/cjs/{tr-8bd79461.js → tr-a929c721.js} +15 -15
- package/dist/cjs/{uk-6d6ea7ab.js → uk-2a911a6c.js} +15 -15
- package/dist/cjs/{utils-246589f7.js → utils-39c8eb71.js} +3 -3
- package/dist/cjs/{utils-93f5e22a.js → utils-d6085f6d.js} +1 -1
- package/dist/cjs/{vi-1b9e468d.js → vi-096e09cd.js} +15 -15
- package/dist/cjs/{zh-cn-b1d6e1ad.js → zh-cn-c6ee922b.js} +15 -15
- package/dist/cjs/{zh-hk-3ac0265c.js → zh-hk-12fcce52.js} +15 -15
- package/dist/cjs/{zh-tw-323d6eb0.js → zh-tw-245b91f8.js} +15 -15
- package/dist/collection/collection-manifest.json +6 -0
- 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 +2 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +22 -4
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +11 -1
- package/dist/collection/components/action-group/action-group.js +22 -4
- package/dist/collection/components/action-group/resources.js +4 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +22 -4
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +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.css +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 +2 -2
- package/dist/collection/components/chip/chip.js +3 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +8 -8
- package/dist/collection/components/color-picker/color-picker.js +7 -7
- 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 +3 -3
- 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.css +8 -4
- package/dist/collection/components/combobox/combobox.js +31 -17
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +4 -1
- package/dist/collection/components/combobox-item/combobox-item.js +63 -8
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +28 -4
- 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 +2 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +2 -2
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +36 -28
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +46 -29
- package/dist/collection/components/dropdown-item/dropdown-item.js +63 -12
- package/dist/collection/components/dropdown-item/resources.js +2 -4
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +8 -2
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +3 -3
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -8
- 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 +2 -2
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +2 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -4
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +2 -2
- 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 +2 -2
- package/dist/collection/components/list/list.js +11 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- 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.css +28 -26
- 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 +3 -3
- 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.css +5 -5
- package/dist/collection/components/modal/modal.js +74 -24
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- 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 +2 -2
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +4 -4
- 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 +3 -3
- 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 +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +4 -4
- 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 +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -2
- package/dist/collection/components/rating/rating.js +59 -67
- 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 +55 -27
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +92 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/sheet/interfaces.js +1 -0
- package/dist/collection/components/{dropdown-group → sheet}/resources.js +6 -4
- package/dist/collection/components/sheet/sheet.css +236 -0
- package/dist/collection/components/sheet/sheet.js +582 -0
- 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 +3 -3
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +14 -14
- 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.css +6 -3
- 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 +2 -2
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +4 -4
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +3 -3
- 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 +2 -2
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- 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.css +7 -5
- package/dist/collection/components/tree-item/tree-item.js +32 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +9 -4
- package/dist/components/action-menu.js +3 -3
- package/dist/components/action.js +2 -2
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +6 -4
- 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 +6 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +3 -3
- 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 +8 -8
- 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 +7 -7
- package/dist/components/calcite-combobox-item-group.js +4 -5
- 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 +22 -17
- package/dist/components/calcite-dropdown-item.js +11 -27
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -3
- package/dist/components/calcite-flow.js +8 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +8 -8
- 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 +4 -4
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +5 -5
- package/dist/components/calcite-list.js +7 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +3 -3
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-modal.js +52 -21
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +3 -3
- package/dist/components/calcite-rating.js +59 -67
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +15 -7
- package/dist/components/calcite-segmented-control.js +33 -11
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-sheet.d.ts +11 -0
- package/dist/components/calcite-sheet.js +269 -0
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +15 -15
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +31 -6
- package/dist/components/calcite-tree.js +22 -13
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +4 -4
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +11 -9
- package/dist/components/combobox.js +26 -16
- 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 +2 -2
- package/dist/components/date-picker-month.js +2 -2
- 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 +2 -2
- package/dist/components/dropdown.js +14 -8
- 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 +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/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.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-text.js +2 -2
- package/dist/components/input.js +3 -3
- 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 +3 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- 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 +2 -2
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +4 -4
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +4 -4
- 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 +12 -12
- package/dist/components/resources3.js +10 -6
- package/dist/components/resources4.js +15 -0
- 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 +6 -6
- 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 +3 -3
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +4 -4
- 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 +5 -5
- 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 +5 -2
- 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-fce2a522.js → ExpandToggle-ba0f7620.js} +6 -6
- package/dist/esm/{FloatingArrow-d22a3d68.js → FloatingArrow-908275a9.js} +2 -2
- package/dist/esm/{Heading-322edf26.js → Heading-066ac7ec.js} +2 -2
- package/dist/esm/{app-globals-dd93423e.js → app-globals-ec23cde8.js} +2 -2
- package/dist/esm/{ar-4fb21f4a.js → ar-16429b0d.js} +15 -15
- package/dist/esm/{array-e7542aea.js → array-4429b83c.js} +1 -1
- package/dist/esm/{bg-07ee5c5e.js → bg-988049ff.js} +15 -15
- package/dist/esm/{bs-906447a4.js → bs-43b7503d.js} +15 -15
- package/dist/esm/{ca-9359e6a6.js → ca-3d5f9740.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +19 -18
- package/dist/esm/calcite-action-group.entry.js +16 -15
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +18 -17
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +14 -14
- 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 +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +15 -15
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +23 -23
- package/dist/esm/calcite-combobox_3.entry.js +51 -39
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +57 -53
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +14 -14
- package/dist/esm/calcite-flow.entry.js +11 -5
- package/dist/esm/calcite-graph_2.entry.js +26 -26
- package/dist/esm/calcite-handle.entry.js +11 -11
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -15
- package/dist/esm/calcite-input-date-picker.entry.js +25 -25
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-69d8a448.js → calcite-input-time-picker.calcite-time-picker-9f713627.js} +67 -67
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +15 -15
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +24 -20
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-menu_2.entry.js +12 -12
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +62 -31
- package/dist/esm/calcite-navigation_3.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +17 -17
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +19 -19
- 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 +11 -11
- package/dist/esm/calcite-rating.entry.js +70 -77
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +49 -22
- package/dist/esm/calcite-sheet.entry.js +225 -0
- package/dist/esm/calcite-shell_3.entry.js +13 -13
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +15 -15
- package/dist/esm/calcite-text-area.entry.js +16 -16
- 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 +12 -12
- package/dist/esm/calcite-tooltip.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js +56 -22
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-5cc4cc84.js → conditionalSlot-e697cffa.js} +3 -3
- package/dist/esm/{cs-0c66a269.js → cs-91d4a0e5.js} +15 -15
- package/dist/esm/{da-c29a773f.js → da-7cbd8b9b.js} +15 -15
- package/dist/esm/{de-at-20abace8.js → de-at-c2b05750.js} +15 -15
- package/dist/esm/{de-ch-23dd6b50.js → de-ch-6fa90859.js} +15 -15
- package/dist/esm/{de-13162f74.js → de-d7118320.js} +15 -15
- package/dist/esm/{debounce-95474f0d.js → debounce-00cf60c6.js} +1 -1
- package/dist/esm/{dom-257fb429.js → dom-f4f22787.js} +3 -3
- package/dist/esm/{el-c4f2dbc9.js → el-35d9a2fc.js} +15 -15
- package/dist/esm/{en-au-5de53e98.js → en-au-3adf07e6.js} +15 -15
- package/dist/esm/{en-ca-dfc67c86.js → en-ca-ab1799a2.js} +15 -15
- package/dist/esm/{en-gb-c6dd41e2.js → en-gb-444b81b3.js} +15 -15
- package/dist/esm/{es-64bf9b9b.js → es-7c18a34b.js} +15 -15
- package/dist/esm/{es-mx-a8425199.js → es-mx-01a7e79e.js} +15 -15
- package/dist/esm/{et-ccbdf960.js → et-6234ba3f.js} +15 -15
- package/dist/esm/{fi-34eb9c8c.js → fi-27103443.js} +15 -15
- package/dist/esm/{filter-96875580.js → filter-b21bfc20.js} +2 -2
- package/dist/esm/{floating-ui-39a53610.js → floating-ui-3d14bdf7.js} +3 -3
- package/dist/esm/{focusTrapComponent-9889bfeb.js → focusTrapComponent-e7010883.js} +2 -2
- package/dist/esm/{form-f849dd0a.js → form-fbe12abb.js} +3 -3
- package/dist/esm/{fr-ch-c1e6425a.js → fr-ch-c8723578.js} +15 -15
- package/dist/esm/{fr-cd866644.js → fr-d463dcee.js} +15 -15
- package/dist/esm/{guid-4b604798.js → guid-2dcace43.js} +1 -1
- package/dist/esm/{he-d5a944c0.js → he-6ffeb1ea.js} +15 -15
- package/dist/esm/{hi-d0c824aa.js → hi-5e8c1ab5.js} +15 -15
- package/dist/esm/{hr-9ae17a89.js → hr-8ded1558.js} +15 -15
- package/dist/esm/{hu-9b60c3e2.js → hu-515ba4df.js} +15 -15
- package/dist/esm/{id-93300f8e.js → id-b1390ee4.js} +15 -15
- package/dist/esm/{index-12f96d86.js → index-abee91e3.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-999431b3.js → interactive-e80da0c7.js} +1 -1
- package/dist/esm/{it-063dace2.js → it-1ba6ea22.js} +15 -15
- package/dist/esm/{it-ch-7a2acdc9.js → it-ch-5858811a.js} +15 -15
- package/dist/esm/{ja-180fb96b.js → ja-01f6180f.js} +15 -15
- package/dist/esm/{key-c4381172.js → key-b26f1d0d.js} +1 -1
- package/dist/esm/{ko-14d3c687.js → ko-2f0a1273.js} +15 -15
- package/dist/esm/{label-6c5eadac.js → label-78c2197e.js} +2 -2
- package/dist/esm/{loadable-871af43e.js → loadable-057982bc.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-5cade090.js → locale-289745bc.js} +4 -4
- package/dist/esm/{lt-e6b3fe40.js → lt-a37ae6c6.js} +15 -15
- package/dist/esm/{lv-fc4ec840.js → lv-495d8376.js} +15 -15
- package/dist/esm/{math-22a2f19c.js → math-9ae2560a.js} +1 -1
- package/dist/esm/{mk-dd0c48fd.js → mk-e5dff68b.js} +15 -15
- package/dist/esm/{nb-2e35809b.js → nb-616e9f47.js} +15 -15
- package/dist/esm/{nl-e5a1400e.js → nl-1313721e.js} +15 -15
- package/dist/esm/{observers-39183e56.js → observers-eba091c8.js} +1 -1
- package/dist/esm/{openCloseComponent-3f0f20c5.js → openCloseComponent-863f9fa3.js} +2 -2
- package/dist/esm/{pl-dea1e606.js → pl-539ac048.js} +15 -15
- package/dist/esm/{pt-br-2df4a571.js → pt-br-7b6a6292.js} +15 -15
- package/dist/esm/{pt-80735ebf.js → pt-cad7c27c.js} +15 -15
- package/dist/esm/{resources-eb94cf37.js → resources-31acfee0.js} +7 -7
- package/dist/esm/{resources-91af063c.js → resources-3d4f79b6.js} +5 -2
- package/dist/esm/{resources-a72ddc26.js → resources-60d7442f.js} +1 -1
- package/dist/esm/{resources-3387c71e.js → resources-94c51daf.js} +1 -1
- package/dist/esm/{resources-4fafdc57.js → resources-a8907a15.js} +1 -1
- package/dist/esm/{resources-084474bf.js → resources-bc4655a6.js} +1 -1
- package/dist/esm/{resources-0138967d.js → resources-ce2892a7.js} +1 -1
- package/dist/esm/{ro-807a4190.js → ro-de515bab.js} +15 -15
- package/dist/esm/{ru-548b0f95.js → ru-908d2105.js} +15 -15
- package/dist/esm/{sk-8883423d.js → sk-cc6013cd.js} +15 -15
- package/dist/esm/{sl-ee0e4fd3.js → sl-f81a2d8c.js} +15 -15
- package/dist/esm/{sortableComponent-971c73fe.js → sortableComponent-831eebdd.js} +2 -2
- package/dist/esm/{sr-b530aa38.js → sr-84527bdf.js} +15 -15
- package/dist/esm/{sv-417d98fa.js → sv-3ede3eca.js} +15 -15
- package/dist/esm/{t9n-fda07909.js → t9n-be922331.js} +3 -3
- package/dist/esm/{th-9c8b350c.js → th-5467f045.js} +15 -15
- package/dist/esm/{throttle-f29720f7.js → throttle-951ea709.js} +2 -2
- package/dist/esm/{tr-554bf5c6.js → tr-ad2ba23e.js} +15 -15
- package/dist/esm/{uk-92fec74c.js → uk-35b4d584.js} +15 -15
- package/dist/esm/{utils-95483418.js → utils-b523ddd9.js} +1 -1
- package/dist/esm/{utils-bf7d553a.js → utils-b8aec8f1.js} +3 -3
- package/dist/esm/{vi-fd5b52e6.js → vi-bc9eb852.js} +15 -15
- package/dist/esm/{zh-cn-32301258.js → zh-cn-b83eeb66.js} +15 -15
- package/dist/esm/{zh-hk-ee992b29.js → zh-hk-c63ac620.js} +15 -15
- package/dist/esm/{zh-tw-a9f0360a.js → zh-tw-ff8f08d2.js} +15 -15
- package/dist/extras/docs-json.json +414 -36
- package/dist/extras/vscode-data.json +106 -17
- 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/action-bar/action-bar.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +4 -0
- package/dist/types/components/action-group/resources.d.ts +3 -0
- package/dist/types/components/action-pad/action-pad.d.ts +4 -0
- package/dist/types/components/combobox/combobox.d.ts +8 -6
- package/dist/types/components/combobox/utils.d.ts +2 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +17 -4
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +3 -4
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +13 -7
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +16 -5
- package/dist/types/components/dropdown-item/resources.d.ts +1 -3
- package/dist/types/components/list/list.d.ts +5 -1
- package/dist/types/components/modal/modal.d.ts +10 -9
- package/dist/types/components/rating/interfaces.d.ts +1 -2
- package/dist/types/components/rating/rating.d.ts +10 -7
- package/dist/types/components/segmented-control/segmented-control.d.ts +6 -2
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +19 -0
- package/dist/types/components/sheet/interfaces.d.ts +1 -0
- package/dist/types/components/sheet/resources.d.ts +7 -0
- package/dist/types/components/sheet/sheet.d.ts +100 -0
- package/dist/types/components/tree-item/interfaces.d.ts +5 -0
- package/dist/types/components/tree-item/tree-item.d.ts +5 -3
- package/dist/types/components.d.ts +210 -18
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +881 -522
- package/package.json +2 -2
- package/dist/calcite/p-11498a8e.entry.js +0 -6
- package/dist/calcite/p-16c6fee5.entry.js +0 -6
- package/dist/calcite/p-2f863c7c.entry.js +0 -6
- package/dist/calcite/p-30ed49c9.entry.js +0 -6
- package/dist/calcite/p-564f52f2.entry.js +0 -6
- package/dist/calcite/p-5779712d.entry.js +0 -6
- package/dist/calcite/p-5cc00f13.entry.js +0 -6
- package/dist/calcite/p-5ccaab39.js +0 -6
- package/dist/calcite/p-7e5aebd4.js +0 -6
- package/dist/calcite/p-8769fade.js +0 -6
- package/dist/calcite/p-8f3f29de.js +0 -6
- package/dist/calcite/p-955131d9.js +0 -6
- package/dist/calcite/p-9dc8323d.entry.js +0 -6
- package/dist/calcite/p-a2399bc4.entry.js +0 -6
- package/dist/calcite/p-a9ae3be0.js +0 -6
- package/dist/calcite/p-bbf680d8.entry.js +0 -6
- package/dist/calcite/p-bca1f78c.entry.js +0 -6
- package/dist/calcite/p-bd6e3e4b.entry.js +0 -6
- package/dist/calcite/p-bf441fe1.js +0 -6
- package/dist/calcite/p-e79f7624.entry.js +0 -6
- package/dist/calcite/p-e8868ce7.entry.js +0 -6
- package/dist/calcite/p-ef223b87.entry.js +0 -6
- package/dist/calcite/p-f105d1cd.entry.js +0 -6
- package/dist/calcite/p-f26d9ca9.entry.js +0 -6
- package/dist/calcite/p-fdc98e4c.entry.js +0 -6
- package/dist/types/components/dropdown-group/resources.d.ts +0 -5
|
@@ -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.10
|
|
5
5
|
*/
|
|
6
6
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
@@ -11,6 +11,7 @@ import { c as connectLabel, d as disconnectLabel } from './label2.js';
|
|
|
11
11
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentFocusable } from './loadable.js';
|
|
12
12
|
import { c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
13
13
|
import { u as updateMessages, c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n.js';
|
|
14
|
+
import { f as focusFirstTabbable } from './dom.js';
|
|
14
15
|
import { d as defineCustomElement$3 } from './chip.js';
|
|
15
16
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
16
17
|
|
|
@@ -20,7 +21,7 @@ const StarIcon = ({ full, scale, partial }) => (h("calcite-icon", { ...{
|
|
|
20
21
|
scale,
|
|
21
22
|
} }));
|
|
22
23
|
|
|
23
|
-
const ratingCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{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)}.
|
|
24
|
+
const ratingCss = ":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{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{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,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{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{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{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]){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]){display:none}[hidden]{display:none}";
|
|
24
25
|
|
|
25
26
|
const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
26
27
|
constructor() {
|
|
@@ -34,29 +35,12 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
34
35
|
this.handleRatingPointerOut = () => {
|
|
35
36
|
this.isKeyboardInteraction = true;
|
|
36
37
|
this.hoverValue = null;
|
|
37
|
-
this.focusValue = null;
|
|
38
|
-
this.hasFocus = false;
|
|
39
|
-
};
|
|
40
|
-
this.handleRatingFocusIn = () => {
|
|
41
|
-
const selectedInput = this.value > 0 ? this.value - 1 : 0;
|
|
42
|
-
const focusInput = this.inputRefs[selectedInput];
|
|
43
|
-
const focusValue = Number(focusInput.value);
|
|
44
|
-
focusInput.select();
|
|
45
|
-
this.focusValue = focusValue;
|
|
46
|
-
this.hoverValue = focusValue;
|
|
47
|
-
this.hasFocus = true;
|
|
48
|
-
};
|
|
49
|
-
this.handleRatingFocusLeave = () => {
|
|
50
|
-
this.focusValue = null;
|
|
51
|
-
this.hoverValue = null;
|
|
52
|
-
this.hasFocus = false;
|
|
53
38
|
};
|
|
54
39
|
this.handleHostKeyDown = () => {
|
|
55
40
|
this.isKeyboardInteraction = true;
|
|
56
41
|
};
|
|
57
|
-
this.
|
|
58
|
-
const
|
|
59
|
-
const inputVal = Number(target.value);
|
|
42
|
+
this.handleLabelKeyDown = (event) => {
|
|
43
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
60
44
|
const key = event.key;
|
|
61
45
|
const numberKey = key == " " ? undefined : Number(key);
|
|
62
46
|
this.emit = true;
|
|
@@ -64,20 +48,20 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
64
48
|
switch (key) {
|
|
65
49
|
case "Enter":
|
|
66
50
|
case " ":
|
|
67
|
-
this.value = !this.required && this.value ===
|
|
51
|
+
this.value = !this.required && this.value === inputValue ? 0 : inputValue;
|
|
68
52
|
break;
|
|
69
53
|
case "ArrowLeft":
|
|
70
|
-
this.value =
|
|
54
|
+
this.value = this.getPreviousRatingValue(inputValue);
|
|
55
|
+
this.updateFocus();
|
|
56
|
+
event.preventDefault();
|
|
71
57
|
break;
|
|
72
58
|
case "ArrowRight":
|
|
73
|
-
this.value =
|
|
59
|
+
this.value = this.getNextRatingValue(inputValue);
|
|
60
|
+
this.updateFocus();
|
|
61
|
+
event.preventDefault();
|
|
74
62
|
break;
|
|
75
63
|
case "Tab":
|
|
76
|
-
|
|
77
|
-
this.hasFocus = false;
|
|
78
|
-
this.focusValue = null;
|
|
79
|
-
this.hoverValue = null;
|
|
80
|
-
}
|
|
64
|
+
this.hoverValue = null;
|
|
81
65
|
}
|
|
82
66
|
}
|
|
83
67
|
else {
|
|
@@ -87,33 +71,42 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
87
71
|
else if (this.required && numberKey > 0 && numberKey <= this.max) {
|
|
88
72
|
this.value = numberKey;
|
|
89
73
|
}
|
|
74
|
+
this.updateFocus();
|
|
90
75
|
}
|
|
91
76
|
};
|
|
92
77
|
this.handleInputChange = (event) => {
|
|
93
78
|
if (this.isKeyboardInteraction === true) {
|
|
94
79
|
const inputVal = Number(event.target["value"]);
|
|
95
|
-
this.focusValue = inputVal;
|
|
96
80
|
this.hoverValue = inputVal;
|
|
97
81
|
this.value = inputVal;
|
|
98
82
|
}
|
|
99
83
|
};
|
|
100
84
|
this.handleLabelPointerOver = (event) => {
|
|
101
|
-
|
|
102
|
-
const newPointerValue = Number(target.firstChild["value"] || 0);
|
|
103
|
-
this.hoverValue = newPointerValue;
|
|
104
|
-
this.focusValue = null;
|
|
85
|
+
this.hoverValue = this.getValueFromLabelEvent(event);
|
|
105
86
|
};
|
|
106
87
|
this.handleLabelPointerDown = (event) => {
|
|
107
88
|
const target = event.currentTarget;
|
|
108
|
-
const
|
|
109
|
-
this.
|
|
110
|
-
this.hoverValue = null;
|
|
89
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
90
|
+
this.hoverValue = inputValue;
|
|
111
91
|
this.emit = true;
|
|
112
|
-
this.value = !this.required && this.value ===
|
|
92
|
+
this.value = !this.required && this.value === inputValue ? 0 : inputValue;
|
|
93
|
+
target.focus();
|
|
94
|
+
};
|
|
95
|
+
this.handleLabelClick = (event) => {
|
|
96
|
+
//preventing pointerdown event will supress any compatability mouse events except for click event.
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
};
|
|
99
|
+
this.handleLabelFocus = (event) => {
|
|
100
|
+
const inputValue = this.getValueFromLabelEvent(event);
|
|
101
|
+
this.hoverValue = inputValue;
|
|
102
|
+
};
|
|
103
|
+
this.setLabelEl = (el) => {
|
|
104
|
+
this.labelElements.push(el);
|
|
113
105
|
};
|
|
114
106
|
this.emit = false;
|
|
115
107
|
this.guid = `calcite-ratings-${guid()}`;
|
|
116
108
|
this.isKeyboardInteraction = true;
|
|
109
|
+
this.labelElements = [];
|
|
117
110
|
this.max = 5;
|
|
118
111
|
this.average = undefined;
|
|
119
112
|
this.count = undefined;
|
|
@@ -130,15 +123,12 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
130
123
|
this.effectiveLocale = "";
|
|
131
124
|
this.defaultMessages = undefined;
|
|
132
125
|
this.hoverValue = undefined;
|
|
133
|
-
this.focusValue = undefined;
|
|
134
|
-
this.hasFocus = undefined;
|
|
135
126
|
}
|
|
136
127
|
onMessagesChange() {
|
|
137
128
|
/* wired up by t9n util */
|
|
138
129
|
}
|
|
139
130
|
handleValueUpdate(newValue) {
|
|
140
131
|
this.hoverValue = newValue;
|
|
141
|
-
this.focusValue = newValue;
|
|
142
132
|
if (this.emit) {
|
|
143
133
|
this.calciteRatingChange.emit();
|
|
144
134
|
}
|
|
@@ -162,39 +152,28 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
162
152
|
async componentWillLoad() {
|
|
163
153
|
await setUpMessages(this);
|
|
164
154
|
setUpLoadableComponent(this);
|
|
165
|
-
this.inputRefs = Array(this.max);
|
|
166
155
|
}
|
|
167
156
|
componentWillRender() {
|
|
168
157
|
this.starsMap = Array.from({ length: this.max }, (_, i) => {
|
|
169
158
|
const value = i + 1;
|
|
170
|
-
const average = !this.
|
|
171
|
-
!this.hoverValue &&
|
|
172
|
-
this.average &&
|
|
173
|
-
!this.value &&
|
|
174
|
-
value <= this.average;
|
|
159
|
+
const average = !this.hoverValue && this.average && !this.value && value <= this.average;
|
|
175
160
|
const checked = value === this.value;
|
|
176
|
-
const focused = this.isKeyboardInteraction && this.hasFocus && this.focusValue === value;
|
|
177
161
|
const fraction = this.average && this.average + 1 - value;
|
|
178
162
|
const hovered = value <= this.hoverValue;
|
|
179
163
|
const id = `${this.guid}-${value}`;
|
|
180
|
-
const partial = !this.
|
|
181
|
-
!this.hoverValue &&
|
|
182
|
-
!this.value &&
|
|
183
|
-
!hovered &&
|
|
184
|
-
fraction > 0 &&
|
|
185
|
-
fraction < 1;
|
|
164
|
+
const partial = !this.hoverValue && !this.value && !hovered && fraction > 0 && fraction < 1;
|
|
186
165
|
const selected = this.value >= value;
|
|
166
|
+
const tabIndex = this.getTabIndex(value);
|
|
187
167
|
return {
|
|
188
168
|
average,
|
|
189
169
|
checked,
|
|
190
|
-
focused,
|
|
191
170
|
fraction,
|
|
192
171
|
hovered,
|
|
193
172
|
id,
|
|
194
|
-
idx: i,
|
|
195
173
|
partial,
|
|
196
174
|
selected,
|
|
197
175
|
value,
|
|
176
|
+
tabIndex,
|
|
198
177
|
};
|
|
199
178
|
});
|
|
200
179
|
}
|
|
@@ -212,21 +191,16 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
212
191
|
updateHostInteraction(this);
|
|
213
192
|
}
|
|
214
193
|
render() {
|
|
215
|
-
return (h(Host, {
|
|
194
|
+
return (h(Host, { onKeyDown: this.handleHostKeyDown, onPointerOut: this.handleRatingPointerOut, onPointerOver: this.handleRatingPointerOver }, h("span", { class: "wrapper" }, h("fieldset", { class: "fieldset", disabled: this.disabled }, h("legend", { class: "visually-hidden" }, this.messages.rating), this.starsMap.map(({ average, checked, fraction, hovered, id, partial, selected, value, tabIndex }) => {
|
|
216
195
|
return (h("label", { class: {
|
|
217
196
|
star: true,
|
|
218
|
-
focused,
|
|
219
197
|
selected,
|
|
220
198
|
hovered,
|
|
221
199
|
average,
|
|
222
200
|
partial,
|
|
223
|
-
},
|
|
201
|
+
}, "data-value": value, htmlFor: id, onClick: this.handleLabelClick, onFocus: this.handleLabelFocus, onKeyDown: this.handleLabelKeyDown, onPointerDown: this.handleLabelPointerDown, onPointerOver: this.handleLabelPointerOver, tabIndex: tabIndex,
|
|
224
202
|
// eslint-disable-next-line react/jsx-sort-props
|
|
225
|
-
ref: (
|
|
226
|
-
this.inputRefs[idx] = el;
|
|
227
|
-
return ((value === 1 || value === this.value) &&
|
|
228
|
-
(this.inputFocusRef = el));
|
|
229
|
-
} }), h(StarIcon, { full: selected || average, scale: this.scale }), partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, h(StarIcon, { full: true, partial: true, scale: this.scale }))), h("span", { class: "visually-hidden" }, this.messages.stars.replace("{num}", `${value}`))));
|
|
203
|
+
ref: this.setLabelEl }, h("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 }), h(StarIcon, { full: selected || average, scale: this.scale }), partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, h(StarIcon, { full: true, partial: true, scale: this.scale }))), h("span", { class: "visually-hidden" }, this.messages.stars.replace("{num}", `${value}`))));
|
|
230
204
|
}), (this.count || this.average) && this.showChip ? (h("calcite-chip", { scale: this.scale, value: this.count?.toString() }, !!this.average && h("span", { class: "number--average" }, this.average.toString()), !!this.count && h("span", { class: "number--count" }, "(", this.count?.toString(), ")"))) : null), h(HiddenFormInputSlot, { component: this }))));
|
|
231
205
|
}
|
|
232
206
|
//--------------------------------------------------------------------------
|
|
@@ -237,6 +211,26 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
237
211
|
onLabelClick() {
|
|
238
212
|
this.setFocus();
|
|
239
213
|
}
|
|
214
|
+
updateFocus() {
|
|
215
|
+
this.hoverValue = this.value;
|
|
216
|
+
this.labelElements[this.value - 1].focus();
|
|
217
|
+
}
|
|
218
|
+
getTabIndex(value) {
|
|
219
|
+
if (this.readOnly || (this.value !== value && (this.value || value !== 1))) {
|
|
220
|
+
return -1;
|
|
221
|
+
}
|
|
222
|
+
return 0;
|
|
223
|
+
}
|
|
224
|
+
getValueFromLabelEvent(event) {
|
|
225
|
+
const target = event.currentTarget;
|
|
226
|
+
return Number(target.getAttribute("data-value"));
|
|
227
|
+
}
|
|
228
|
+
getNextRatingValue(currentValue) {
|
|
229
|
+
return currentValue === 5 ? 1 : currentValue + 1;
|
|
230
|
+
}
|
|
231
|
+
getPreviousRatingValue(currentValue) {
|
|
232
|
+
return currentValue === 1 ? 5 : currentValue - 1;
|
|
233
|
+
}
|
|
240
234
|
//--------------------------------------------------------------------------
|
|
241
235
|
//
|
|
242
236
|
// Public Methods
|
|
@@ -245,7 +239,7 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
245
239
|
/** Sets focus on the component. */
|
|
246
240
|
async setFocus() {
|
|
247
241
|
await componentFocusable(this);
|
|
248
|
-
this.
|
|
242
|
+
focusFirstTabbable(this.el);
|
|
249
243
|
}
|
|
250
244
|
static get assetsDirs() { return ["assets"]; }
|
|
251
245
|
get el() { return this; }
|
|
@@ -271,8 +265,6 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
271
265
|
"effectiveLocale": [32],
|
|
272
266
|
"defaultMessages": [32],
|
|
273
267
|
"hoverValue": [32],
|
|
274
|
-
"focusValue": [32],
|
|
275
|
-
"hasFocus": [32],
|
|
276
268
|
"setFocus": [64]
|
|
277
269
|
}]);
|
|
278
270
|
function defineCustomElement$1() {
|
|
@@ -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.10
|
|
5
5
|
*/
|
|
6
6
|
import { S as Scrim, d as defineCustomElement$1 } from './scrim.js';
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
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.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { t as toAriaBoolean } from './dom.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
9
9
|
|
|
10
10
|
const SLOTS = {
|
|
@@ -27,15 +27,20 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
27
27
|
this.iconStart = undefined;
|
|
28
28
|
this.iconEnd = undefined;
|
|
29
29
|
this.value = undefined;
|
|
30
|
+
this.appearance = "solid";
|
|
31
|
+
this.layout = "horizontal";
|
|
32
|
+
this.scale = "m";
|
|
30
33
|
}
|
|
31
34
|
handleCheckedChange() {
|
|
32
35
|
this.calciteInternalSegmentedControlItemChange.emit();
|
|
33
36
|
}
|
|
37
|
+
//--------------------------------------------------------------------------
|
|
38
|
+
//
|
|
39
|
+
// Lifecycle
|
|
40
|
+
//
|
|
41
|
+
//--------------------------------------------------------------------------
|
|
34
42
|
render() {
|
|
35
|
-
const { checked, value } = this;
|
|
36
|
-
const scale = getElementProp(this.el, "scale", "m");
|
|
37
|
-
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
38
|
-
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
43
|
+
const { appearance, checked, layout, scale, value } = this;
|
|
39
44
|
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
40
45
|
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
41
46
|
return (h(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, h("label", { class: {
|
|
@@ -57,7 +62,10 @@ const SegmentedControlItem = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
57
62
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
58
63
|
"iconStart": [513, "icon-start"],
|
|
59
64
|
"iconEnd": [513, "icon-end"],
|
|
60
|
-
"value": [1032]
|
|
65
|
+
"value": [1032],
|
|
66
|
+
"appearance": [1],
|
|
67
|
+
"layout": [1],
|
|
68
|
+
"scale": [1]
|
|
61
69
|
}]);
|
|
62
70
|
function defineCustomElement$1() {
|
|
63
71
|
if (typeof customElements === "undefined") {
|
|
@@ -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.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getElementDir } from './dom.js';
|
|
@@ -9,6 +9,7 @@ import { a as afterConnectDefaultValueSet, c as connectForm, d as disconnectForm
|
|
|
9
9
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive.js';
|
|
10
10
|
import { c as connectLabel, d as disconnectLabel } from './label2.js';
|
|
11
11
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentFocusable } from './loadable.js';
|
|
12
|
+
import { c as createObserver } from './observers.js';
|
|
12
13
|
|
|
13
14
|
const segmentedControlCss = ":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;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::slotted(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]){display:none}[hidden]{display:none}";
|
|
14
15
|
|
|
@@ -31,17 +32,21 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
31
32
|
this.selectItem(event.target, true);
|
|
32
33
|
}
|
|
33
34
|
};
|
|
35
|
+
this.mutationObserver = createObserver("mutation", () => this.setUpItems());
|
|
34
36
|
this.appearance = "solid";
|
|
35
37
|
this.disabled = false;
|
|
36
38
|
this.form = undefined;
|
|
37
39
|
this.required = false;
|
|
38
|
-
this.layout = "horizontal";
|
|
39
40
|
this.name = undefined;
|
|
41
|
+
this.layout = "horizontal";
|
|
40
42
|
this.scale = "m";
|
|
41
43
|
this.value = null;
|
|
42
44
|
this.selectedItem = undefined;
|
|
43
45
|
this.width = "auto";
|
|
44
46
|
}
|
|
47
|
+
handlePropsChange() {
|
|
48
|
+
this.handleItemPropChange();
|
|
49
|
+
}
|
|
45
50
|
valueHandler(value) {
|
|
46
51
|
const items = this.getItems();
|
|
47
52
|
items.forEach((item) => (item.checked = item.value === value));
|
|
@@ -67,14 +72,7 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
67
72
|
//--------------------------------------------------------------------------
|
|
68
73
|
componentWillLoad() {
|
|
69
74
|
setUpLoadableComponent(this);
|
|
70
|
-
|
|
71
|
-
const lastChecked = items.filter((item) => item.checked).pop();
|
|
72
|
-
if (lastChecked) {
|
|
73
|
-
this.selectItem(lastChecked);
|
|
74
|
-
}
|
|
75
|
-
else if (items[0]) {
|
|
76
|
-
items[0].tabIndex = 0;
|
|
77
|
-
}
|
|
75
|
+
this.setUpItems();
|
|
78
76
|
}
|
|
79
77
|
componentDidLoad() {
|
|
80
78
|
afterConnectDefaultValueSet(this, this.value);
|
|
@@ -84,11 +82,14 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
84
82
|
connectInteractive(this);
|
|
85
83
|
connectLabel(this);
|
|
86
84
|
connectForm(this);
|
|
85
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
86
|
+
this.handleItemPropChange();
|
|
87
87
|
}
|
|
88
88
|
disconnectedCallback() {
|
|
89
89
|
disconnectInteractive(this);
|
|
90
90
|
disconnectLabel(this);
|
|
91
91
|
disconnectForm(this);
|
|
92
|
+
this.mutationObserver?.unobserve(this.el);
|
|
92
93
|
}
|
|
93
94
|
componentDidRender() {
|
|
94
95
|
updateHostInteraction(this);
|
|
@@ -155,6 +156,14 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
155
156
|
await componentFocusable(this);
|
|
156
157
|
(this.selectedItem || this.getItems()[0])?.focus();
|
|
157
158
|
}
|
|
159
|
+
handleItemPropChange() {
|
|
160
|
+
const items = this.getItems();
|
|
161
|
+
items.forEach((item) => {
|
|
162
|
+
item.appearance = this.appearance;
|
|
163
|
+
item.layout = this.layout;
|
|
164
|
+
item.scale = this.scale;
|
|
165
|
+
});
|
|
166
|
+
}
|
|
158
167
|
//--------------------------------------------------------------------------
|
|
159
168
|
//
|
|
160
169
|
// Private Methods
|
|
@@ -190,8 +199,21 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
190
199
|
match.focus();
|
|
191
200
|
}
|
|
192
201
|
}
|
|
202
|
+
setUpItems() {
|
|
203
|
+
const items = this.getItems();
|
|
204
|
+
const lastChecked = items.filter((item) => item.checked).pop();
|
|
205
|
+
if (lastChecked) {
|
|
206
|
+
this.selectItem(lastChecked);
|
|
207
|
+
}
|
|
208
|
+
else if (items[0]) {
|
|
209
|
+
items[0].tabIndex = 0;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
193
212
|
get el() { return this; }
|
|
194
213
|
static get watchers() { return {
|
|
214
|
+
"appearance": ["handlePropsChange"],
|
|
215
|
+
"layout": ["handlePropsChange"],
|
|
216
|
+
"scale": ["handlePropsChange"],
|
|
195
217
|
"value": ["valueHandler"],
|
|
196
218
|
"selectedItem": ["handleSelectedItemChange"]
|
|
197
219
|
}; }
|
|
@@ -201,8 +223,8 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
201
223
|
"disabled": [516],
|
|
202
224
|
"form": [513],
|
|
203
225
|
"required": [516],
|
|
204
|
-
"layout": [513],
|
|
205
226
|
"name": [513],
|
|
227
|
+
"layout": [513],
|
|
206
228
|
"scale": [513],
|
|
207
229
|
"value": [1025],
|
|
208
230
|
"selectedItem": [1040],
|
|
@@ -1,10 +1,10 @@
|
|
|
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.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { k as focusElement } from './dom.js';
|
|
8
8
|
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form.js';
|
|
9
9
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive.js';
|
|
10
10
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
|
@@ -202,7 +202,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
202
202
|
}
|
|
203
203
|
render() {
|
|
204
204
|
return (h(Fragment, null, h("select", { "aria-label": getLabelText(this), class: CSS.select, disabled: this.disabled, onChange: this.handleInternalSelectChange,
|
|
205
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
205
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
206
206
|
ref: this.storeSelectRef }, h("slot", null)), this.renderChevron(), h(HiddenFormInputSlot, { component: this })));
|
|
207
207
|
}
|
|
208
208
|
get el() { return this; }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface CalciteSheet extends Components.CalciteSheet, HTMLElement {}
|
|
4
|
+
export const CalciteSheet: {
|
|
5
|
+
prototype: CalciteSheet;
|
|
6
|
+
new (): CalciteSheet;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|