@esri/calcite-components 1.7.0-next.1 → 1.7.0-next.11
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-c52afb13.js → p-05b5d8ef.js} +2 -2
- package/dist/calcite/{p-864a1151.entry.js → p-07a51cd2.entry.js} +2 -2
- package/dist/calcite/{p-e295f116.js → p-0bca01d9.js} +2 -2
- package/dist/calcite/{p-2f974696.entry.js → p-0f80a22f.entry.js} +2 -2
- package/dist/calcite/{p-6ad6fd05.js → p-0ff7d697.js} +1 -1
- package/dist/calcite/{p-9e16fdd9.js → p-108963df.js} +1 -1
- package/dist/calcite/{p-94c29059.js → p-1263786a.js} +2 -2
- package/dist/calcite/{p-0617ef2e.js → p-138b3927.js} +2 -2
- package/dist/calcite/{p-aa3edd9c.entry.js → p-13c8d32d.entry.js} +2 -2
- package/dist/calcite/{p-c5483999.js → p-14bdc4f6.js} +2 -2
- package/dist/calcite/{p-564f52f2.entry.js → p-15212102.entry.js} +2 -2
- package/dist/calcite/{p-4fc22bfe.entry.js → p-1623b94b.entry.js} +2 -2
- package/dist/calcite/{p-08fdfbc3.js → p-18233d12.js} +1 -1
- package/dist/calcite/{p-b405d46f.js → p-192a88a2.js} +2 -2
- package/dist/calcite/{p-39993eab.entry.js → p-1948f968.entry.js} +2 -2
- package/dist/calcite/{p-76c68997.entry.js → p-1b2f3d2b.entry.js} +2 -2
- package/dist/calcite/p-1be32323.entry.js +6 -0
- package/dist/calcite/{p-1e6bccdb.js → p-201779a8.js} +1 -1
- package/dist/calcite/{p-05f135b6.entry.js → p-206bb0f7.entry.js} +2 -2
- package/dist/calcite/{p-499ec0e2.js → p-21572218.js} +2 -2
- package/dist/calcite/{p-b563c2b7.js → p-21b350a3.js} +1 -1
- package/dist/calcite/{p-01e18e30.entry.js → p-22457d86.entry.js} +2 -2
- package/dist/calcite/{p-a4efea69.entry.js → p-2536212c.entry.js} +2 -2
- package/dist/calcite/{p-027d8d24.entry.js → p-26c81887.entry.js} +2 -2
- package/dist/calcite/{p-c1a2b858.js → p-274a6d34.js} +2 -2
- package/dist/calcite/p-2bd6b106.entry.js +6 -0
- package/dist/calcite/{p-2c8fb3c6.js → p-2f8e108f.js} +2 -2
- package/dist/calcite/{p-1a501d5a.entry.js → p-318716d6.entry.js} +2 -2
- package/dist/calcite/{p-25d0d9f0.js → p-3402cd3e.js} +2 -2
- package/dist/calcite/{p-0bf1965e.entry.js → p-35ad6d75.entry.js} +2 -2
- package/dist/calcite/{p-fa531620.js → p-39f2e30c.js} +2 -2
- package/dist/calcite/{p-5f7d9612.entry.js → p-3d4db3e9.entry.js} +2 -2
- package/dist/calcite/{p-98ca783b.js → p-3e08ad11.js} +2 -2
- package/dist/calcite/p-3ef96e12.entry.js +6 -0
- package/dist/calcite/p-42049338.entry.js +6 -0
- package/dist/calcite/{p-d66da5fc.js → p-42a4804f.js} +2 -2
- package/dist/calcite/p-43368b27.entry.js +6 -0
- package/dist/calcite/p-4455b287.js +6 -0
- package/dist/calcite/{p-9816964b.entry.js → p-4570feca.entry.js} +2 -2
- package/dist/calcite/p-45c4375f.entry.js +6 -0
- package/dist/calcite/p-461a4020.entry.js +6 -0
- package/dist/calcite/p-46238434.entry.js +6 -0
- package/dist/calcite/{p-b5dcca75.entry.js → p-46eebcec.entry.js} +2 -2
- package/dist/calcite/{p-815aba9a.js → p-473de56c.js} +2 -2
- package/dist/calcite/{p-df87a1ee.entry.js → p-480a4cad.entry.js} +2 -2
- package/dist/calcite/{p-2363de21.js → p-48fc2807.js} +2 -2
- package/dist/calcite/{p-8be53c0a.js → p-49000a20.js} +2 -2
- package/dist/calcite/{p-e9549c43.js → p-5382d62c.js} +1 -1
- package/dist/calcite/{p-bc0c6309.entry.js → p-53f86664.entry.js} +2 -2
- package/dist/calcite/{p-2e453e32.js → p-548f16ad.js} +1 -1
- package/dist/calcite/{p-7e1db1e0.js → p-54c67fe8.js} +2 -2
- package/dist/calcite/p-57eec79f.entry.js +6 -0
- package/dist/calcite/{p-1a829f83.entry.js → p-5a80ab44.entry.js} +2 -2
- package/dist/calcite/{p-0f0104ed.entry.js → p-5c57c916.entry.js} +2 -2
- package/dist/calcite/{p-19a239f5.js → p-5cf06f84.js} +2 -2
- package/dist/calcite/p-5d265ce7.js +6 -0
- package/dist/calcite/p-622af511.js +6 -0
- package/dist/calcite/{p-b9a6af16.entry.js → p-63a10aeb.entry.js} +2 -2
- package/dist/calcite/{p-e841b8de.js → p-6421c154.js} +2 -2
- package/dist/calcite/{p-a744c146.js → p-649ca5e6.js} +2 -2
- package/dist/calcite/{p-a6cd85bc.js → p-66537bf8.js} +2 -2
- package/dist/calcite/{p-45d64c3a.js → p-680a8086.js} +1 -1
- package/dist/calcite/{p-797299f7.entry.js → p-6a1ee36d.entry.js} +2 -2
- package/dist/calcite/{p-beda5a17.js → p-705eb548.js} +1 -1
- package/dist/calcite/{p-dcfb4b4f.js → p-70a1e0de.js} +2 -2
- package/dist/calcite/{p-337aa3da.entry.js → p-70e01fbe.entry.js} +2 -2
- package/dist/calcite/{p-30ed49c9.entry.js → p-7182de65.entry.js} +2 -2
- package/dist/calcite/p-730914c4.entry.js +6 -0
- package/dist/calcite/{p-06dacd86.js → p-73f3327e.js} +2 -2
- package/dist/calcite/{p-bc4d6c19.js → p-74a3a69d.js} +1 -1
- package/dist/calcite/{p-3dc10ee3.entry.js → p-76ef6cf0.entry.js} +2 -2
- package/dist/calcite/{p-1fdd975e.js → p-77748fb3.js} +1 -1
- package/dist/calcite/{p-e3777deb.js → p-78c5b148.js} +2 -2
- package/dist/calcite/{p-0fd24b92.js → p-79ae9dac.js} +2 -2
- package/dist/calcite/{p-d1da5baf.js → p-7ab5f2e7.js} +1 -1
- package/dist/calcite/{p-10a9ed6f.entry.js → p-7b08ca67.entry.js} +2 -2
- package/dist/calcite/{p-5ed30681.js → p-8178d068.js} +2 -2
- package/dist/calcite/p-82086edd.entry.js +6 -0
- package/dist/calcite/{p-58ba10d4.js → p-821dade8.js} +2 -2
- package/dist/calcite/{p-a9f32c9a.js → p-82f5deb7.js} +2 -2
- package/dist/calcite/{p-4d79e4bd.js → p-8b129b16.js} +2 -2
- package/dist/calcite/{p-8e1d793e.js → p-8b282a98.js} +2 -2
- package/dist/calcite/{p-e1b781c4.js → p-8b5648bd.js} +2 -2
- package/dist/calcite/{p-73df0c73.entry.js → p-8f0b9368.entry.js} +2 -2
- package/dist/calcite/{p-2935c6e3.js → p-8f7056fa.js} +2 -2
- package/dist/calcite/{p-ae344427.entry.js → p-9047b131.entry.js} +2 -2
- package/dist/calcite/{p-ca99419c.js → p-915a516d.js} +2 -2
- package/dist/calcite/{p-8769fade.js → p-925eaabd.js} +2 -2
- package/dist/calcite/{p-ba8fdc16.js → p-92756d78.js} +2 -2
- package/dist/calcite/{p-268b6dda.js → p-93017de4.js} +2 -2
- package/dist/calcite/{p-0f3d3543.js → p-9428482b.js} +2 -2
- package/dist/calcite/{p-e79f7624.entry.js → p-94831eee.entry.js} +2 -2
- package/dist/calcite/{p-ffd00167.entry.js → p-949d4a7b.entry.js} +2 -2
- package/dist/calcite/{p-37b4e104.entry.js → p-949dbfa9.entry.js} +2 -2
- package/dist/calcite/{p-4b6a3d84.js → p-98de7611.js} +2 -2
- package/dist/calcite/{p-d8af8497.js → p-99180b40.js} +2 -2
- package/dist/calcite/{p-ef28f094.entry.js → p-9a2b1c3a.entry.js} +2 -2
- package/dist/calcite/{p-9480fe3f.js → p-9b8ae774.js} +2 -2
- package/dist/calcite/{p-a9ae3be0.js → p-a528b5f2.js} +2 -2
- package/dist/calcite/{p-bd8f1cc0.entry.js → p-a59c6575.entry.js} +2 -2
- package/dist/calcite/{p-1f3eaf93.entry.js → p-a6d8ae55.entry.js} +2 -2
- package/dist/calcite/{p-95a5217a.js → p-a784cf5a.js} +2 -2
- package/dist/calcite/{p-57549029.js → p-aae8553a.js} +2 -2
- package/dist/calcite/{p-d40a1567.entry.js → p-ad36077d.entry.js} +2 -2
- package/dist/calcite/{p-d1bbd926.entry.js → p-b1a17154.entry.js} +2 -2
- package/dist/calcite/{p-d387ab78.js → p-b1ec7960.js} +1 -1
- package/dist/calcite/{p-6a3b9b99.js → p-b40ac1f0.js} +2 -2
- package/dist/calcite/{p-fa369a8d.js → p-bb4231a4.js} +2 -2
- package/dist/calcite/p-bca88945.entry.js +6 -0
- package/dist/calcite/p-c13cdd78.entry.js +6 -0
- package/dist/calcite/{p-caf68581.entry.js → p-c2511110.entry.js} +2 -2
- package/dist/calcite/{p-1dcce77c.entry.js → p-c2f85b40.entry.js} +2 -2
- package/dist/calcite/{p-0cc0ce6c.entry.js → p-c4066e0b.entry.js} +2 -2
- package/dist/calcite/{p-05bf2762.entry.js → p-c494a7bc.entry.js} +2 -2
- package/dist/calcite/{p-4b02e314.js → p-c78d439d.js} +2 -2
- package/dist/calcite/{p-da80bc8e.js → p-cb532ef3.js} +2 -2
- package/dist/calcite/p-cc51161d.js +6 -0
- package/dist/calcite/{p-39c1239f.js → p-cecd052f.js} +2 -2
- package/dist/calcite/{p-bad1bed2.entry.js → p-cfee63a9.entry.js} +2 -2
- package/dist/calcite/{p-5ccaab39.js → p-d046697d.js} +2 -2
- package/dist/calcite/{p-fb4a7d90.js → p-d0a43d25.js} +2 -2
- package/dist/calcite/{p-7f725ebc.js → p-d14470b6.js} +2 -2
- package/dist/calcite/{p-c51bfd8b.entry.js → p-d1b5951a.entry.js} +2 -2
- package/dist/calcite/{p-aca5edde.js → p-d1c6eaa5.js} +2 -2
- package/dist/calcite/p-d45a7b5d.entry.js +6 -0
- package/dist/calcite/{p-7be96b14.js → p-d525825a.js} +2 -2
- package/dist/calcite/{p-88d3bfd6.js → p-db00654a.js} +2 -2
- package/dist/calcite/p-dfaf9c3a.entry.js +6 -0
- package/dist/calcite/{p-318d475b.js → p-e2325e35.js} +2 -2
- package/dist/calcite/{p-ccc0c441.entry.js → p-e30e8596.entry.js} +2 -2
- package/dist/calcite/{p-0f0a08cd.entry.js → p-e432178c.entry.js} +2 -2
- package/dist/calcite/p-e4563c0f.js +6 -0
- package/dist/calcite/{p-e8a2f2b1.js → p-e5e54e13.js} +2 -2
- package/dist/calcite/{p-4c787639.entry.js → p-e683c339.entry.js} +2 -2
- package/dist/calcite/p-e8e8475c.entry.js +6 -0
- package/dist/calcite/{p-a22dcd94.js → p-eace7dc7.js} +2 -2
- package/dist/calcite/{p-52ec78b8.entry.js → p-eb9171dc.entry.js} +2 -2
- package/dist/calcite/{p-9bc6e682.js → p-ec3cdfa6.js} +1 -1
- package/dist/calcite/{p-85c52e32.entry.js → p-ec5535cc.entry.js} +2 -2
- package/dist/calcite/{p-b60c9d3c.js → p-ed101d67.js} +2 -2
- package/dist/calcite/{p-f96ca0e0.js → p-ed9088c3.js} +2 -2
- package/dist/calcite/p-ee1a3b69.entry.js +6 -0
- package/dist/calcite/{p-446030be.js → p-efb7605b.js} +2 -2
- package/dist/calcite/{p-4c8ab27d.entry.js → p-efc9968c.entry.js} +2 -2
- package/dist/calcite/{p-5034fe06.js → p-f2610828.js} +2 -2
- package/dist/calcite/{p-c47d99db.entry.js → p-f3f93e40.entry.js} +2 -2
- package/dist/calcite/{p-5eaf5010.entry.js → p-f68e1994.entry.js} +2 -2
- package/dist/calcite/{p-98d74b37.js → p-f6992b02.js} +2 -2
- package/dist/calcite/p-fb2641f9.entry.js +6 -0
- package/dist/calcite/{p-26e614b7.js → p-fb9036d4.js} +2 -2
- package/dist/calcite/{p-f2ede9d6.js → p-fcc78b1b.js} +2 -2
- package/dist/calcite/{p-37f55b39.js → p-fcd09e69.js} +3 -3
- package/dist/cjs/{ExpandToggle-8265a6df.js → ExpandToggle-08f5bea4.js} +6 -6
- package/dist/cjs/{FloatingArrow-b5ca6077.js → FloatingArrow-529e5594.js} +2 -2
- package/dist/cjs/{Heading-022a7a25.js → Heading-a6233bf8.js} +2 -2
- package/dist/cjs/{app-globals-33eb529a.js → app-globals-42f9897b.js} +2 -2
- package/dist/cjs/{ar-49434d95.js → ar-21f5845c.js} +15 -15
- package/dist/cjs/{array-5848270e.js → array-a66dd90f.js} +1 -1
- package/dist/cjs/{bg-5d252039.js → bg-bd782895.js} +15 -15
- package/dist/cjs/{bs-9db17f5a.js → bs-a7ffa9ea.js} +15 -15
- package/dist/cjs/{ca-a662d810.js → ca-54321f5a.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-d6b09913.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 +27 -14
- 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-a368502c.js} +3 -3
- package/dist/cjs/{cs-7e9b3c2f.js → cs-6db148f5.js} +15 -15
- package/dist/cjs/{da-8335577e.js → da-c2215024.js} +15 -15
- package/dist/cjs/{de-at-48c4256e.js → de-at-398fb803.js} +15 -15
- package/dist/cjs/{de-ch-41c43781.js → de-ch-c55d6d0d.js} +15 -15
- package/dist/cjs/{de-425433c1.js → de-f1e7fb2d.js} +15 -15
- package/dist/cjs/{debounce-7d77cb87.js → debounce-d1b70c5f.js} +1 -1
- package/dist/cjs/{dom-7487acd7.js → dom-585553d3.js} +3 -3
- package/dist/cjs/{el-10c44be5.js → el-91dab0fd.js} +15 -15
- package/dist/cjs/{en-au-226cb400.js → en-au-549a7d36.js} +15 -15
- package/dist/cjs/{en-ca-1e9edcd9.js → en-ca-24cfe7db.js} +15 -15
- package/dist/cjs/{en-gb-dffa7b85.js → en-gb-69661f5d.js} +15 -15
- package/dist/cjs/{es-aafb79e8.js → es-cd492681.js} +15 -15
- package/dist/cjs/{es-mx-44e3e2a9.js → es-mx-37eb4a8c.js} +15 -15
- package/dist/cjs/{et-e0f4c3ca.js → et-7e5991b8.js} +15 -15
- package/dist/cjs/{fi-dfbaec2f.js → fi-2c462572.js} +15 -15
- package/dist/cjs/{filter-102072d8.js → filter-e5431e50.js} +2 -2
- package/dist/cjs/{floating-ui-8799f01a.js → floating-ui-1c39ee8f.js} +3 -3
- package/dist/cjs/{focusTrapComponent-328576cf.js → focusTrapComponent-b91cf3a6.js} +2 -2
- package/dist/cjs/{form-509b1671.js → form-bac3d43f.js} +3 -3
- package/dist/cjs/{fr-a86ec363.js → fr-230ca1fc.js} +15 -15
- package/dist/cjs/{fr-ch-ed4c9432.js → fr-ch-b9579bf4.js} +15 -15
- package/dist/cjs/{guid-bc4ef7e8.js → guid-2b65834e.js} +1 -1
- package/dist/cjs/{he-e893a27b.js → he-7b447ded.js} +15 -15
- package/dist/cjs/{hi-ed4d25ca.js → hi-0760bc38.js} +15 -15
- package/dist/cjs/{hr-90d9e1c6.js → hr-30d2c331.js} +15 -15
- package/dist/cjs/{hu-a6c55f07.js → hu-91ffa50c.js} +15 -15
- package/dist/cjs/{id-2c74ab10.js → id-527aaa01.js} +15 -15
- package/dist/cjs/{index-142998d3.js → index-35c40ad8.js} +5 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-3295de88.js → interactive-22675a1d.js} +1 -1
- package/dist/cjs/{it-ch-a4263ead.js → it-ch-97467900.js} +15 -15
- package/dist/cjs/{it-33905686.js → it-fa99482e.js} +15 -15
- package/dist/cjs/{ja-f27b3274.js → ja-e80ce1aa.js} +15 -15
- package/dist/cjs/{key-dc499418.js → key-8ce2997b.js} +1 -1
- package/dist/cjs/{ko-3b5b39ca.js → ko-dd620bf4.js} +15 -15
- package/dist/cjs/{label-39f9c585.js → label-b9036973.js} +2 -2
- package/dist/cjs/{loadable-cb368fce.js → loadable-c43556a9.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-99d6b752.js → locale-b814f3ae.js} +4 -4
- package/dist/cjs/{lt-8b22e646.js → lt-ae03491a.js} +15 -15
- package/dist/cjs/{lv-9b9b8357.js → lv-0e986e56.js} +15 -15
- package/dist/cjs/{math-21614d14.js → math-06cb1dc1.js} +1 -1
- package/dist/cjs/{mk-ae45b7cb.js → mk-ebe45ca4.js} +15 -15
- package/dist/cjs/{nb-538c6d63.js → nb-eb0f5bf3.js} +15 -15
- package/dist/cjs/{nl-0e7d71bd.js → nl-0f97e7d7.js} +15 -15
- package/dist/cjs/{observers-f62a2e0a.js → observers-8f18d25d.js} +1 -1
- package/dist/cjs/{openCloseComponent-12d9e8d8.js → openCloseComponent-148a2fc7.js} +2 -2
- package/dist/cjs/{pl-ae3d37d9.js → pl-3e757373.js} +15 -15
- package/dist/cjs/{pt-e1224383.js → pt-72156ecc.js} +15 -15
- package/dist/cjs/{pt-br-d6483c61.js → pt-br-d36847c9.js} +15 -15
- package/dist/cjs/{resources-73b59433.js → resources-12e884d8.js} +1 -1
- package/dist/cjs/{resources-5c003e2b.js → resources-248b08ff.js} +5 -1
- package/dist/cjs/{resources-bb31ff4c.js → resources-3e9635bf.js} +7 -7
- package/dist/cjs/{resources-d7dcc7aa.js → resources-6c4ea6b2.js} +1 -1
- package/dist/cjs/{resources-932fa5dc.js → resources-90de1a6e.js} +1 -1
- package/dist/cjs/{resources-ab8cb2da.js → resources-aa05478e.js} +1 -1
- package/dist/cjs/{resources-118dc727.js → resources-cd9fab35.js} +1 -1
- package/dist/cjs/{ro-6f49a712.js → ro-2293f1c5.js} +15 -15
- package/dist/cjs/{ru-e535cc78.js → ru-d18bd916.js} +15 -15
- package/dist/cjs/{sk-4e280c98.js → sk-f193b625.js} +15 -15
- package/dist/cjs/{sl-ac107091.js → sl-8497afa1.js} +15 -15
- package/dist/cjs/{sortableComponent-acf1b739.js → sortableComponent-6f5e97a3.js} +2 -2
- package/dist/cjs/{sr-f78dcd56.js → sr-82ad493a.js} +15 -15
- package/dist/cjs/{sv-6b758740.js → sv-6464c16e.js} +15 -15
- package/dist/cjs/{t9n-42d79fa0.js → t9n-c43a36c3.js} +3 -3
- package/dist/cjs/{th-0ee86bbe.js → th-ee1577b8.js} +15 -15
- package/dist/cjs/{throttle-792f064c.js → throttle-a69e9999.js} +2 -2
- package/dist/cjs/{tr-8bd79461.js → tr-a0153aa7.js} +15 -15
- package/dist/cjs/{uk-6d6ea7ab.js → uk-f8f27197.js} +15 -15
- package/dist/cjs/{utils-246589f7.js → utils-37b7912b.js} +3 -3
- package/dist/cjs/{utils-93f5e22a.js → utils-ab482d60.js} +1 -1
- package/dist/cjs/{vi-1b9e468d.js → vi-0a8ac901.js} +15 -15
- package/dist/cjs/{zh-cn-b1d6e1ad.js → zh-cn-0d77d480.js} +15 -15
- package/dist/cjs/{zh-hk-3ac0265c.js → zh-hk-efab323e.js} +15 -15
- package/dist/cjs/{zh-tw-323d6eb0.js → zh-tw-1c40b32b.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 +248 -0
- package/dist/collection/components/sheet/sheet.js +582 -0
- package/dist/collection/components/shell/resources.js +2 -1
- package/dist/collection/components/shell/shell.js +17 -3
- 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 +17 -3
- 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-059d39d5.js} +6 -6
- package/dist/esm/{FloatingArrow-d22a3d68.js → FloatingArrow-1a3a8fb1.js} +2 -2
- package/dist/esm/{Heading-322edf26.js → Heading-2c064f6d.js} +2 -2
- package/dist/esm/{app-globals-dd93423e.js → app-globals-ac50af69.js} +2 -2
- package/dist/esm/{ar-4fb21f4a.js → ar-50ee327c.js} +15 -15
- package/dist/esm/{array-e7542aea.js → array-9b0e7e30.js} +1 -1
- package/dist/esm/{bg-07ee5c5e.js → bg-24bfe4ba.js} +15 -15
- package/dist/esm/{bs-906447a4.js → bs-f94bc355.js} +15 -15
- package/dist/esm/{ca-9359e6a6.js → ca-54b034e2.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-c981f064.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 +27 -14
- 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-9321fd93.js} +3 -3
- package/dist/esm/{cs-0c66a269.js → cs-20be1604.js} +15 -15
- package/dist/esm/{da-c29a773f.js → da-56577398.js} +15 -15
- package/dist/esm/{de-13162f74.js → de-24bb2d4f.js} +15 -15
- package/dist/esm/{de-at-20abace8.js → de-at-d3af6765.js} +15 -15
- package/dist/esm/{de-ch-23dd6b50.js → de-ch-3c70564e.js} +15 -15
- package/dist/esm/{debounce-95474f0d.js → debounce-0b946ab7.js} +1 -1
- package/dist/esm/{dom-257fb429.js → dom-3c1c1e5f.js} +3 -3
- package/dist/esm/{el-c4f2dbc9.js → el-5af27ffe.js} +15 -15
- package/dist/esm/{en-au-5de53e98.js → en-au-2aaceb59.js} +15 -15
- package/dist/esm/{en-ca-dfc67c86.js → en-ca-4d0e10e0.js} +15 -15
- package/dist/esm/{en-gb-c6dd41e2.js → en-gb-d8d50451.js} +15 -15
- package/dist/esm/{es-64bf9b9b.js → es-2f42a143.js} +15 -15
- package/dist/esm/{es-mx-a8425199.js → es-mx-98372eb6.js} +15 -15
- package/dist/esm/{et-ccbdf960.js → et-73de5a61.js} +15 -15
- package/dist/esm/{fi-34eb9c8c.js → fi-93da7e0e.js} +15 -15
- package/dist/esm/{filter-96875580.js → filter-7d9b809b.js} +2 -2
- package/dist/esm/{floating-ui-39a53610.js → floating-ui-5f3cd3ba.js} +3 -3
- package/dist/esm/{focusTrapComponent-9889bfeb.js → focusTrapComponent-0b9b3079.js} +2 -2
- package/dist/esm/{form-f849dd0a.js → form-0f5c0cd1.js} +3 -3
- package/dist/esm/{fr-cd866644.js → fr-0ff27a9a.js} +15 -15
- package/dist/esm/{fr-ch-c1e6425a.js → fr-ch-fd5d7940.js} +15 -15
- package/dist/esm/{guid-4b604798.js → guid-fb10b804.js} +1 -1
- package/dist/esm/{he-d5a944c0.js → he-5de7061d.js} +15 -15
- package/dist/esm/{hi-d0c824aa.js → hi-c5a4ec29.js} +15 -15
- package/dist/esm/{hr-9ae17a89.js → hr-833b9a94.js} +15 -15
- package/dist/esm/{hu-9b60c3e2.js → hu-37defa54.js} +15 -15
- package/dist/esm/{id-93300f8e.js → id-54c83801.js} +15 -15
- package/dist/esm/{index-12f96d86.js → index-b49f8c8f.js} +5 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-999431b3.js → interactive-ebd6da81.js} +1 -1
- package/dist/esm/{it-063dace2.js → it-28faa4a1.js} +15 -15
- package/dist/esm/{it-ch-7a2acdc9.js → it-ch-91a6bb50.js} +15 -15
- package/dist/esm/{ja-180fb96b.js → ja-a55c6743.js} +15 -15
- package/dist/esm/{key-c4381172.js → key-1c33098e.js} +1 -1
- package/dist/esm/{ko-14d3c687.js → ko-f574d687.js} +15 -15
- package/dist/esm/{label-6c5eadac.js → label-0abb33f9.js} +2 -2
- package/dist/esm/{loadable-871af43e.js → loadable-a2697887.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-5cade090.js → locale-74b3ae87.js} +4 -4
- package/dist/esm/{lt-e6b3fe40.js → lt-8f9a832d.js} +15 -15
- package/dist/esm/{lv-fc4ec840.js → lv-962e1585.js} +15 -15
- package/dist/esm/{math-22a2f19c.js → math-c96e1ceb.js} +1 -1
- package/dist/esm/{mk-dd0c48fd.js → mk-fc4c1794.js} +15 -15
- package/dist/esm/{nb-2e35809b.js → nb-14eb3eee.js} +15 -15
- package/dist/esm/{nl-e5a1400e.js → nl-71fdd384.js} +15 -15
- package/dist/esm/{observers-39183e56.js → observers-2af41f0e.js} +1 -1
- package/dist/esm/{openCloseComponent-3f0f20c5.js → openCloseComponent-4e496b62.js} +2 -2
- package/dist/esm/{pl-dea1e606.js → pl-b50ad77c.js} +15 -15
- package/dist/esm/{pt-br-2df4a571.js → pt-br-c2e0ceae.js} +15 -15
- package/dist/esm/{pt-80735ebf.js → pt-cac18c20.js} +15 -15
- package/dist/esm/{resources-084474bf.js → resources-437af614.js} +1 -1
- package/dist/esm/{resources-eb94cf37.js → resources-8a663088.js} +7 -7
- package/dist/esm/{resources-0138967d.js → resources-a37b5c9b.js} +1 -1
- package/dist/esm/{resources-91af063c.js → resources-bdd6a750.js} +5 -2
- package/dist/esm/{resources-4fafdc57.js → resources-bf522ed4.js} +1 -1
- package/dist/esm/{resources-3387c71e.js → resources-c16cf750.js} +1 -1
- package/dist/esm/{resources-a72ddc26.js → resources-d4c63f3d.js} +1 -1
- package/dist/esm/{ro-807a4190.js → ro-1777d3ae.js} +15 -15
- package/dist/esm/{ru-548b0f95.js → ru-538e52af.js} +15 -15
- package/dist/esm/{sk-8883423d.js → sk-40cc7bc1.js} +15 -15
- package/dist/esm/{sl-ee0e4fd3.js → sl-06d0b428.js} +15 -15
- package/dist/esm/{sortableComponent-971c73fe.js → sortableComponent-e270e658.js} +2 -2
- package/dist/esm/{sr-b530aa38.js → sr-0c6c452d.js} +15 -15
- package/dist/esm/{sv-417d98fa.js → sv-8d1363ed.js} +15 -15
- package/dist/esm/{t9n-fda07909.js → t9n-cac6fb96.js} +3 -3
- package/dist/esm/{th-9c8b350c.js → th-1b41dbba.js} +15 -15
- package/dist/esm/{throttle-f29720f7.js → throttle-38b6f9d9.js} +2 -2
- package/dist/esm/{tr-554bf5c6.js → tr-2d15fc86.js} +15 -15
- package/dist/esm/{uk-92fec74c.js → uk-282cb7ef.js} +15 -15
- package/dist/esm/{utils-95483418.js → utils-2ba50a2f.js} +1 -1
- package/dist/esm/{utils-bf7d553a.js → utils-ec270bce.js} +3 -3
- package/dist/esm/{vi-fd5b52e6.js → vi-e3ae81ae.js} +15 -15
- package/dist/esm/{zh-cn-32301258.js → zh-cn-0b9d1ccf.js} +15 -15
- package/dist/esm/{zh-hk-ee992b29.js → zh-hk-bdc295f3.js} +15 -15
- package/dist/esm/{zh-tw-a9f0360a.js → zh-tw-865bb2a0.js} +15 -15
- package/dist/extras/docs-json.json +422 -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/shell/resources.d.ts +1 -0
- package/dist/types/components/shell/shell.d.ts +4 -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 +898 -524
- 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-5779712d.entry.js +0 -6
- package/dist/calcite/p-5cc00f13.entry.js +0 -6
- package/dist/calcite/p-7e5aebd4.js +0 -6
- package/dist/calcite/p-8421e849.js +0 -6
- package/dist/calcite/p-8f3f29de.js +0 -6
- package/dist/calcite/p-955131d9.js +0 -6
- package/dist/calcite/p-968eafc8.entry.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-b3414fbe.entry.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-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,11 +1,11 @@
|
|
|
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.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getRoundRobinIndex } from './array.js';
|
|
8
|
-
import { b as getElementDir,
|
|
8
|
+
import { b as getElementDir, k as focusElement, t as toAriaBoolean } from './dom.js';
|
|
9
9
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
10
10
|
import { g as guid } from './guid.js';
|
|
11
11
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive.js';
|
|
@@ -292,7 +292,7 @@ const RadioButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
292
292
|
render() {
|
|
293
293
|
const tabIndex = this.getTabIndex();
|
|
294
294
|
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, role: "radio", tabIndex: tabIndex,
|
|
295
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
295
|
+
// 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)
|
|
296
296
|
ref: this.setContainerEl }, h("div", { class: "radio" })), h(HiddenFormInputSlot, { component: this })));
|
|
297
297
|
}
|
|
298
298
|
get el() { return this; }
|
|
@@ -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.11
|
|
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.11
|
|
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.11
|
|
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.11
|
|
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.11
|
|
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;
|