@esri/calcite-components 1.0.0-next.555 → 1.0.0-next.558
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/calcite.js +1 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0502b22a.entry.js +6 -0
- package/dist/calcite/p-0585d9b0.system.js +6 -0
- package/dist/calcite/{p-7a166b72.js → p-0a25ae1d.js} +1 -1
- package/dist/calcite/p-0c5b3cdc.entry.js +6 -0
- package/dist/calcite/p-0f1c3595.entry.js +6 -0
- package/dist/calcite/{p-2d842d9a.system.js → p-11cd0b55.system.js} +1 -1
- package/dist/calcite/p-13b6a2db.system.entry.js +6 -0
- package/dist/calcite/p-16069fb4.entry.js +6 -0
- package/dist/calcite/p-1624bc55.entry.js +6 -0
- package/dist/calcite/p-163e53ca.system.entry.js +6 -0
- package/dist/calcite/{p-a4282f1a.system.js → p-16b0453b.system.js} +2 -2
- package/dist/calcite/{p-bccf0c9c.js → p-1780784a.js} +1 -1
- package/dist/calcite/p-17cec6b8.js +6 -0
- package/dist/calcite/p-1d34c38f.system.entry.js +6 -0
- package/dist/calcite/p-1ea94d85.system.js +6 -0
- package/dist/calcite/p-20fe4e1c.entry.js +6 -0
- package/dist/calcite/p-21a37a5a.system.entry.js +6 -0
- package/dist/calcite/p-23171b1f.entry.js +6 -0
- package/dist/calcite/p-248a7087.entry.js +6 -0
- package/dist/calcite/p-24e0057b.system.entry.js +6 -0
- package/dist/calcite/{p-5dc6e439.system.entry.js → p-252107ab.system.entry.js} +2 -2
- package/dist/calcite/p-25b7fd0f.system.entry.js +6 -0
- package/dist/calcite/p-26273b21.js +6 -0
- package/dist/calcite/p-27582ec7.system.entry.js +6 -0
- package/dist/calcite/p-27702d50.js +6 -0
- package/dist/calcite/{p-227a252e.system.js → p-278787aa.system.js} +2 -2
- package/dist/calcite/p-27c53d51.system.entry.js +6 -0
- package/dist/calcite/{p-2f020c2d.system.entry.js → p-296d468f.system.entry.js} +2 -2
- package/dist/calcite/p-298b97f9.system.entry.js +6 -0
- package/dist/calcite/{p-44886675.entry.js → p-29e0e784.entry.js} +2 -2
- package/dist/calcite/p-2a4c534d.entry.js +6 -0
- package/dist/calcite/p-2ad51122.system.entry.js +6 -0
- package/dist/calcite/{p-195189ef.js → p-2b6d4553.js} +1 -1
- package/dist/calcite/p-2d4c8374.entry.js +6 -0
- package/dist/calcite/p-30348a01.system.entry.js +6 -0
- package/dist/calcite/{p-6196f2dd.js → p-345e415d.js} +1 -1
- package/dist/calcite/p-370725ef.system.entry.js +6 -0
- package/dist/calcite/p-3ad6772a.system.entry.js +6 -0
- package/dist/calcite/{p-c6df95fa.js → p-3ad6d2f3.js} +2 -2
- package/dist/calcite/p-3e1d0059.js +7 -0
- package/dist/calcite/p-3e2de5d1.entry.js +6 -0
- package/dist/calcite/p-418bac53.entry.js +6 -0
- package/dist/calcite/{p-5ee8ef60.system.entry.js → p-41d697dd.system.entry.js} +2 -2
- package/dist/calcite/p-4226038a.system.js +6 -0
- package/dist/calcite/p-43ce8839.system.entry.js +6 -0
- package/dist/calcite/{p-9586f6bb.system.entry.js → p-4accd508.system.entry.js} +2 -2
- package/dist/calcite/p-4c97a4c0.system.entry.js +6 -0
- package/dist/calcite/p-4de78a11.system.entry.js +6 -0
- package/dist/calcite/p-5026acc2.entry.js +6 -0
- package/dist/calcite/{p-db697c19.entry.js → p-5137cd32.entry.js} +2 -2
- package/dist/calcite/p-51c4e7a5.system.entry.js +6 -0
- package/dist/calcite/p-520886c8.entry.js +6 -0
- package/dist/calcite/p-5283065b.system.entry.js +6 -0
- package/dist/calcite/p-53882968.system.entry.js +6 -0
- package/dist/calcite/p-54ece05e.entry.js +6 -0
- package/dist/calcite/p-56f18add.system.entry.js +6 -0
- package/dist/calcite/p-5a689203.entry.js +6 -0
- package/dist/calcite/p-5b16c537.system.entry.js +6 -0
- package/dist/calcite/{p-dddf9e4d.js → p-5f806683.js} +2 -2
- package/dist/calcite/p-64c1170a.system.js +7 -0
- package/dist/calcite/p-653a188c.system.entry.js +6 -0
- package/dist/calcite/p-67046baf.entry.js +6 -0
- package/dist/calcite/{p-0b11a5a1.system.js → p-69525da6.system.js} +1 -1
- package/dist/calcite/p-6a73d11c.entry.js +6 -0
- package/dist/calcite/p-6b187c35.entry.js +6 -0
- package/dist/calcite/p-6b2f0a31.entry.js +6 -0
- package/dist/calcite/{p-1ca0ad6e.system.js → p-6b8ab74c.system.js} +1 -1
- package/dist/calcite/p-6c4cc60d.entry.js +6 -0
- package/dist/calcite/{p-146ed0dd.system.js → p-6c5b88d2.system.js} +2 -2
- package/dist/calcite/{p-decbe7ed.js → p-6e8e1b87.js} +1 -1
- package/dist/calcite/{p-74f4cb8e.entry.js → p-6ec1ff4a.entry.js} +2 -2
- package/dist/calcite/p-71332596.system.entry.js +6 -0
- package/dist/calcite/{p-cc0da6be.js → p-729dafa9.js} +2 -2
- package/dist/calcite/p-731ee2d8.entry.js +6 -0
- package/dist/calcite/p-74013d2a.entry.js +6 -0
- package/dist/calcite/p-7405884d.system.entry.js +6 -0
- package/dist/calcite/{p-38442b01.js → p-744a85fc.js} +1 -1
- package/dist/calcite/p-74bcb1a9.system.entry.js +6 -0
- package/dist/calcite/{p-e7ed1888.system.js → p-75667417.system.js} +3 -3
- package/dist/calcite/p-756dad9a.system.entry.js +6 -0
- package/dist/calcite/p-75d29835.js +6 -0
- package/dist/calcite/{p-6d51bc7e.system.js → p-79a538f7.system.js} +2 -2
- package/dist/calcite/{p-2dcf1cd2.js → p-7c227bdd.js} +1 -1
- package/dist/calcite/p-7c576702.entry.js +6 -0
- package/dist/calcite/p-80558bde.entry.js +6 -0
- package/dist/calcite/p-80739d04.js +6 -0
- package/dist/calcite/p-81457908.system.entry.js +6 -0
- package/dist/calcite/{p-ba3069e3.system.entry.js → p-846eface.system.entry.js} +2 -2
- package/dist/calcite/{p-40bbc319.system.js → p-862fedaa.system.js} +1 -1
- package/dist/calcite/p-885eab8d.entry.js +6 -0
- package/dist/calcite/{p-14e6315a.js → p-886763cb.js} +1 -1
- package/dist/calcite/{p-27e2f0f4.system.js → p-8890d3e2.system.js} +2 -2
- package/dist/calcite/{p-00c5f906.js → p-9026d188.js} +1 -1
- package/dist/calcite/p-91750177.system.entry.js +6 -0
- package/dist/calcite/p-921e04d7.system.entry.js +6 -0
- package/dist/calcite/{p-52f7f724.system.entry.js → p-9343b006.system.entry.js} +2 -2
- package/dist/calcite/p-9376e452.entry.js +6 -0
- package/dist/calcite/p-946f25aa.system.entry.js +6 -0
- package/dist/calcite/p-95d31dd3.system.entry.js +6 -0
- package/dist/calcite/{p-51256bf8.system.js → p-97de2524.system.js} +1 -1
- package/dist/calcite/p-9cddf1fe.entry.js +6 -0
- package/dist/calcite/p-9e82f611.system.entry.js +6 -0
- package/dist/calcite/p-9f851997.entry.js +6 -0
- package/dist/calcite/{p-e6a10287.js → p-9fc45886.js} +2 -2
- package/dist/calcite/p-a00387d5.system.entry.js +6 -0
- package/dist/calcite/{p-ae93e565.system.js → p-a24243df.system.js} +1 -1
- package/dist/calcite/p-a243d424.system.entry.js +6 -0
- package/dist/calcite/{p-76460fff.entry.js → p-a39a5d5a.entry.js} +2 -2
- package/dist/calcite/p-a4816e39.system.entry.js +6 -0
- package/dist/calcite/{p-32c1ce43.system.js → p-aa8213fa.system.js} +1 -1
- package/dist/calcite/p-aaf54fd7.entry.js +6 -0
- package/dist/calcite/p-abf77f86.system.entry.js +6 -0
- package/dist/calcite/p-acfc5ac5.system.js +6 -0
- package/dist/calcite/p-ae18c7bf.entry.js +6 -0
- package/dist/calcite/p-b0c56132.js +6 -0
- package/dist/calcite/{p-4f290f4e.system.entry.js → p-b5d4ec2a.system.entry.js} +2 -2
- package/dist/calcite/{p-6652cc68.system.js → p-b7994742.system.js} +1 -1
- package/dist/calcite/{p-dac3d31f.system.js → p-b7a91027.system.js} +1 -1
- package/dist/calcite/p-b7e18a02.system.entry.js +6 -0
- package/dist/calcite/{p-9f0372c9.system.js → p-ba2891fa.system.js} +1 -1
- package/dist/calcite/p-bb5ca21b.system.entry.js +6 -0
- package/dist/calcite/p-bbc0e97b.entry.js +6 -0
- package/dist/calcite/{p-bc7efd76.js → p-bc8c7786.js} +1 -1
- package/dist/calcite/p-bfe19402.entry.js +6 -0
- package/dist/calcite/{p-ce591076.system.js → p-bffb1382.system.js} +1 -1
- package/dist/calcite/{p-6a5d4ccf.entry.js → p-c03cff6e.entry.js} +2 -2
- package/dist/calcite/p-c81af029.entry.js +6 -0
- package/dist/calcite/{p-b885b760.entry.js → p-cab52e4a.entry.js} +2 -2
- package/dist/calcite/p-cab89beb.system.entry.js +6 -0
- package/dist/calcite/p-cd058c74.entry.js +6 -0
- package/dist/calcite/{p-59ca7885.js → p-ce5c7763.js} +2 -2
- package/dist/calcite/p-d09c30b8.entry.js +6 -0
- package/dist/calcite/{p-76b94fbb.js → p-d2a5f28b.js} +1 -1
- package/dist/calcite/{p-77c81298.js → p-d3118cd1.js} +1 -1
- package/dist/calcite/p-d4476ddd.system.js +6 -0
- package/dist/calcite/p-d47c3a7e.system.entry.js +6 -0
- package/dist/calcite/p-d4bc3dd2.system.entry.js +6 -0
- package/dist/calcite/p-d6bc2ae1.entry.js +6 -0
- package/dist/calcite/p-d8c77767.system.entry.js +6 -0
- package/dist/calcite/p-dd6caec5.entry.js +6 -0
- package/dist/calcite/{p-869468f0.system.js → p-de559994.system.js} +1 -1
- package/dist/calcite/p-dedc61b7.system.entry.js +6 -0
- package/dist/calcite/p-dfa49523.entry.js +6 -0
- package/dist/calcite/p-e0fba098.system.entry.js +6 -0
- package/dist/calcite/{p-aea77395.js → p-e1742743.js} +1 -1
- package/dist/calcite/{p-f0fcc82a.system.js → p-e17accb1.system.js} +1 -1
- package/dist/calcite/{p-ad8b9a54.system.js → p-e1a96b23.system.js} +1 -1
- package/dist/calcite/p-e2de398a.system.js +6 -0
- package/dist/calcite/{p-1a5ea6da.system.js → p-e3e1be6d.system.js} +2 -2
- package/dist/calcite/p-e6d58c04.entry.js +6 -0
- package/dist/calcite/p-e805f85d.entry.js +6 -0
- package/dist/calcite/p-e825b522.system.entry.js +6 -0
- package/dist/calcite/p-e82aa633.entry.js +6 -0
- package/dist/calcite/p-e860007f.entry.js +6 -0
- package/dist/calcite/p-e92f9fc6.js +6 -0
- package/dist/calcite/{p-680d47d8.entry.js → p-e9e4a131.entry.js} +2 -2
- package/dist/calcite/{p-d9a46e7a.system.entry.js → p-e9f55090.system.entry.js} +2 -2
- package/dist/calcite/p-ea2e9a14.entry.js +6 -0
- package/dist/calcite/{p-e188228d.system.entry.js → p-ea379196.entry.js} +3 -3
- package/dist/calcite/{p-de9c10d5.js → p-ebbddc76.js} +2 -2
- package/dist/calcite/p-ec25f6fa.entry.js +6 -0
- package/dist/calcite/p-ec84d66e.system.entry.js +6 -0
- package/dist/calcite/p-ecbd3a0f.entry.js +6 -0
- package/dist/calcite/p-ed09c602.system.entry.js +6 -0
- package/dist/calcite/p-eea513ed.system.entry.js +6 -0
- package/dist/calcite/p-f0994aca.entry.js +6 -0
- package/dist/calcite/{p-437442cd.entry.js → p-f0c66e92.entry.js} +2 -2
- package/dist/calcite/p-f2928c5a.entry.js +6 -0
- package/dist/calcite/{p-925a1f1e.system.js → p-f3480eb2.system.js} +2 -2
- package/dist/calcite/{p-5b34148e.entry.js → p-f54eed18.entry.js} +2 -2
- package/dist/calcite/p-f7faffd2.system.entry.js +6 -0
- package/dist/calcite/p-f8b0e4f1.system.entry.js +6 -0
- package/dist/calcite/p-fa077fb9.entry.js +6 -0
- package/dist/calcite/{p-c887f742.system.entry.js → p-fdc4da44.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-a148ca3a.js → ExpandToggle-1c0fba17.js} +5 -5
- package/dist/cjs/{Heading-f5821e3b.js → Heading-bbd94693.js} +2 -2
- package/dist/cjs/app-globals-f4f5b4f3.js +50 -0
- package/dist/cjs/{array-ce68f4cd.js → array-04b71de0.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -9
- package/dist/cjs/calcite-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -20
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +33 -31
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +36 -21
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -10
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +18 -16
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-rating.cjs.entry.js +18 -17
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
- package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +17 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +15 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -11
- package/dist/cjs/calcite.cjs.js +6 -3
- package/dist/cjs/{conditionalSlot-9af3512f.js → conditionalSlot-c5d23706.js} +3 -3
- package/dist/cjs/{debounce-b7489443.js → debounce-8565a616.js} +1 -1
- package/dist/cjs/{dom-d6b74aa3.js → dom-14e5af32.js} +4 -18
- package/dist/cjs/{filter-c245e6df.js → filter-e6823373.js} +2 -2
- package/dist/cjs/{floating-ui-f9976acd.js → floating-ui-f1794a41.js} +59 -10
- package/dist/cjs/{form-7c9f751c.js → form-d0c52805.js} +6 -4
- package/dist/cjs/{guid-4a4f363a.js → guid-0cd4a810.js} +1 -1
- package/dist/cjs/{index-a63e0c6e.js → index-1551f0c3.js} +5 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3049b1d7.js → interactive-b6c7ef94.js} +1 -1
- package/dist/cjs/{interfaces-6d2c9b90.js → interfaces-36e5c0a3.js} +1 -1
- package/dist/cjs/{key-62b8adda.js → key-c7d73dea.js} +1 -1
- package/dist/cjs/{label-6ebcd769.js → label-3c08392d.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-0df5a0db.js → locale-acfba29a.js} +2 -2
- package/dist/cjs/{math-90fee1c0.js → math-437432fd.js} +1 -1
- package/dist/cjs/{observers-f8b22aed.js → observers-36262a56.js} +1 -1
- package/dist/cjs/{openCloseComponent-b069a5fb.js → openCloseComponent-9ca34c15.js} +1 -1
- package/dist/cjs/{resources-86c37e47.js → resources-1a5e5de5.js} +5 -5
- package/dist/cjs/{resources-0c58f706.js → resources-2ad5cd52.js} +1 -1
- package/dist/cjs/{resources-7195d5f1.js → resources-a8470dd3.js} +3 -3
- package/dist/cjs/{resources-d5c7882f.js → resources-dbdd4e73.js} +1 -1
- package/dist/cjs/resources-f351edf3.js +24 -0
- package/dist/cjs/{sortable.esm-f742b318.js → sortable.esm-c6b45879.js} +1 -1
- package/dist/cjs/{utils-3d436716.js → utils-f923cce9.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +9 -3
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -2
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.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 +3 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -6
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +2 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +27 -9
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.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 +4 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +5 -7
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +29 -13
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +4 -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 +16 -13
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +15 -6
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +4 -2
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.js +8 -3
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +21 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +19 -19
- package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +22 -22
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +5 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +2 -2
- package/dist/collection/components/select/select.js +15 -15
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +17 -17
- package/dist/collection/components/slider/slider.js +41 -40
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +32 -28
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -21
- package/dist/collection/components/stepper-item/stepper-item.js +19 -19
- package/dist/collection/components/switch/switch.js +17 -17
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.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/interfaces.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 +17 -10
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +8 -3
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.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/form.js +4 -2
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- 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/locale.js +1 -1
- package/dist/collection/utils/math.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 +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +8 -2
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +3 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +6 -6
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +29 -11
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +17 -14
- package/dist/components/calcite-input-date-picker.js +17 -8
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +7 -4
- package/dist/components/calcite-input-text.js +7 -4
- package/dist/components/calcite-input-time-picker.js +12 -5
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +4 -3
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +3 -2
- 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 +3 -3
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +6 -6
- package/dist/components/calcite-radio-button.js +11 -10
- package/dist/components/calcite-radio-group-item.js +4 -4
- package/dist/components/calcite-radio-group.js +10 -10
- package/dist/components/calcite-rating.js +11 -11
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +7 -7
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-shell-panel.js +7 -7
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +18 -17
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +15 -11
- package/dist/components/calcite-stepper-item.js +9 -9
- package/dist/components/calcite-stepper.js +10 -10
- 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-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 +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +8 -3
- package/dist/components/calcite-tree-item.js +3 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +5 -2
- package/dist/components/checkbox.js +4 -3
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +6 -4
- package/dist/components/date-picker-month-header.js +6 -8
- package/dist/components/date-picker-month.js +4 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -15
- package/dist/components/dropdown.js +29 -13
- package/dist/components/filter.js +741 -168
- package/dist/components/filter2.js +169 -741
- package/dist/components/floating-ui.js +59 -10
- package/dist/components/form.js +5 -3
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +5 -92
- package/dist/components/index.js +44 -93
- package/dist/components/input.js +7 -4
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +112 -87
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +3 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +10 -4
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +3 -4
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +9 -9
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +17 -10
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +375 -192
- package/dist/esm/{ExpandToggle-97163e28.js → ExpandToggle-03b5e1d5.js} +5 -5
- package/dist/esm/{Heading-b360e930.js → Heading-047b0cdc.js} +2 -2
- package/dist/esm/app-globals-51b23e15.js +48 -0
- package/dist/esm/{array-73ce298b.js → array-d8ba8c7e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -10
- package/dist/esm/calcite-action-group.entry.js +9 -8
- package/dist/esm/calcite-action-menu.entry.js +15 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -9
- package/dist/esm/calcite-action.entry.js +7 -6
- package/dist/esm/calcite-alert.entry.js +7 -6
- package/dist/esm/calcite-avatar.entry.js +6 -5
- package/dist/esm/calcite-block_2.entry.js +11 -9
- package/dist/esm/calcite-button.entry.js +9 -8
- package/dist/esm/calcite-card.entry.js +7 -6
- package/dist/esm/calcite-checkbox.entry.js +10 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +15 -14
- package/dist/esm/calcite-combobox_3.entry.js +39 -20
- package/dist/esm/calcite-date-picker_4.entry.js +18 -17
- package/dist/esm/calcite-dropdown_3.entry.js +36 -19
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +9 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +25 -23
- package/dist/esm/calcite-handle.entry.js +7 -4
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +23 -19
- package/dist/esm/calcite-input-date-picker.entry.js +26 -16
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-number.entry.js +15 -12
- package/dist/esm/calcite-input-text.entry.js +12 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +36 -21
- package/dist/esm/calcite-input.entry.js +15 -12
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +6 -5
- package/dist/esm/calcite-list_3.entry.js +9 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -8
- package/dist/esm/calcite-notice.entry.js +8 -7
- package/dist/esm/calcite-option_3.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +12 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -11
- package/dist/esm/calcite-popover_2.entry.js +17 -10
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +18 -16
- package/dist/esm/calcite-radio-group_2.entry.js +19 -18
- package/dist/esm/calcite-rating.entry.js +18 -17
- package/dist/esm/calcite-scrim.entry.js +4 -5
- package/dist/esm/calcite-shell_3.entry.js +18 -17
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +17 -13
- package/dist/esm/calcite-stepper_2.entry.js +23 -22
- package/dist/esm/calcite-switch.entry.js +15 -14
- package/dist/esm/calcite-tab_4.entry.js +8 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -7
- package/dist/esm/calcite-tooltip_2.entry.js +12 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -6
- package/dist/esm/calcite-value-list_2.entry.js +15 -11
- package/dist/esm/calcite.js +6 -3
- package/dist/esm/{conditionalSlot-68e70981.js → conditionalSlot-26b969d3.js} +3 -3
- package/dist/esm/{debounce-a98ec801.js → debounce-5345e0be.js} +1 -1
- package/dist/esm/{dom-857f52aa.js → dom-c10efc2c.js} +4 -16
- package/dist/esm/{filter-752f4716.js → filter-117ae85d.js} +2 -2
- package/dist/esm/{floating-ui-4945e4cf.js → floating-ui-406554be.js} +59 -10
- package/dist/esm/{form-f701eca6.js → form-1bdffa27.js} +6 -4
- package/dist/esm/{guid-9fa1232c.js → guid-474ffdfd.js} +1 -1
- package/dist/esm/{index-0574569e.js → index-c054e517.js} +5 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-dbfd10e0.js → interactive-8995ce7f.js} +1 -1
- package/dist/esm/{interfaces-ca06ad36.js → interfaces-e4871505.js} +1 -1
- package/dist/esm/{key-919e156a.js → key-9207ff34.js} +1 -1
- package/dist/esm/{label-771af339.js → label-6adb2d63.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-90025a6e.js → locale-16ed87c7.js} +2 -2
- package/dist/esm/{math-1c325da4.js → math-f945d4d5.js} +1 -1
- package/dist/esm/{observers-f804dccd.js → observers-3abc495b.js} +1 -1
- package/dist/esm/{openCloseComponent-71b8504c.js → openCloseComponent-0e0f40f0.js} +1 -1
- package/dist/esm/{resources-54afc41e.js → resources-46a8f154.js} +5 -5
- package/dist/esm/resources-db29e676.js +19 -0
- package/dist/esm/{resources-9b0091a8.js → resources-df14e68c.js} +1 -1
- package/dist/esm/{resources-e8a5c846.js → resources-e4516415.js} +3 -3
- package/dist/esm/{resources-69f1bf66.js → resources-e6bf7975.js} +1 -1
- package/dist/esm/{sortable.esm-09992f6b.js → sortable.esm-10070431.js} +1 -1
- package/dist/esm/{utils-4ca0b110.js → utils-996a3c90.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-97163e28.js → ExpandToggle-03b5e1d5.js} +2 -2
- package/dist/esm-es5/{Heading-b360e930.js → Heading-047b0cdc.js} +2 -2
- package/dist/esm-es5/app-globals-51b23e15.js +6 -0
- package/dist/esm-es5/{array-73ce298b.js → array-d8ba8c7e.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +3 -3
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-68e70981.js → conditionalSlot-26b969d3.js} +2 -2
- package/dist/esm-es5/{debounce-a98ec801.js → debounce-5345e0be.js} +1 -1
- package/dist/esm-es5/dom-c10efc2c.js +6 -0
- package/dist/esm-es5/{filter-752f4716.js → filter-117ae85d.js} +2 -2
- package/dist/esm-es5/floating-ui-406554be.js +6 -0
- package/dist/esm-es5/form-1bdffa27.js +6 -0
- package/dist/esm-es5/{guid-9fa1232c.js → guid-474ffdfd.js} +1 -1
- package/dist/esm-es5/index-c054e517.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-dbfd10e0.js → interactive-8995ce7f.js} +1 -1
- package/dist/esm-es5/{interfaces-ca06ad36.js → interfaces-e4871505.js} +1 -1
- package/dist/esm-es5/{key-919e156a.js → key-9207ff34.js} +1 -1
- package/dist/esm-es5/{label-771af339.js → label-6adb2d63.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-90025a6e.js → locale-16ed87c7.js} +2 -2
- package/dist/esm-es5/{math-1c325da4.js → math-f945d4d5.js} +1 -1
- package/dist/esm-es5/{observers-f804dccd.js → observers-3abc495b.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-71b8504c.js → openCloseComponent-0e0f40f0.js} +1 -1
- package/dist/esm-es5/{resources-54afc41e.js → resources-46a8f154.js} +2 -2
- package/dist/esm-es5/resources-db29e676.js +6 -0
- package/dist/esm-es5/{resources-9b0091a8.js → resources-df14e68c.js} +1 -1
- package/dist/esm-es5/{resources-e8a5c846.js → resources-e4516415.js} +2 -2
- package/dist/esm-es5/{resources-69f1bf66.js → resources-e6bf7975.js} +1 -1
- package/dist/esm-es5/{sortable.esm-09992f6b.js → sortable.esm-10070431.js} +1 -1
- package/dist/esm-es5/{utils-4ca0b110.js → utils-996a3c90.js} +1 -1
- package/dist/extras/docs-json.json +166 -166
- 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-menu/action-menu.d.ts +6 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +6 -1
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +6 -1
- package/dist/types/components/radio-button/radio-button.d.ts +13 -13
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components/scrim/scrim.d.ts +2 -3
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
- package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
- package/dist/types/components/slider/slider.d.ts +32 -29
- package/dist/types/components/split-button/split-button.d.ts +24 -20
- package/dist/types/components/stepper/stepper.d.ts +11 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
- package/dist/types/components/switch/switch.d.ts +11 -11
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +266 -266
- package/dist/types/utils/form.d.ts +3 -2
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +388 -379
- package/package.json +11 -11
- package/readme.md +2 -2
- package/dist/calcite/p-01012ed9.system.entry.js +0 -6
- package/dist/calcite/p-011cf492.system.entry.js +0 -6
- package/dist/calcite/p-01473985.entry.js +0 -6
- package/dist/calcite/p-0a96aef2.entry.js +0 -6
- package/dist/calcite/p-0b439e6f.system.entry.js +0 -6
- package/dist/calcite/p-0d158c9f.system.js +0 -6
- package/dist/calcite/p-0d18b215.entry.js +0 -6
- package/dist/calcite/p-0dabbf0f.system.js +0 -7
- package/dist/calcite/p-0fb15543.system.entry.js +0 -6
- package/dist/calcite/p-12d5e438.system.entry.js +0 -6
- package/dist/calcite/p-14237bb7.entry.js +0 -6
- package/dist/calcite/p-1501b176.system.entry.js +0 -6
- package/dist/calcite/p-154b77af.entry.js +0 -6
- package/dist/calcite/p-16c2985a.system.entry.js +0 -6
- package/dist/calcite/p-1a140bf4.system.entry.js +0 -6
- package/dist/calcite/p-1b1ad5eb.system.entry.js +0 -6
- package/dist/calcite/p-1b948cf3.entry.js +0 -6
- package/dist/calcite/p-1d459237.system.entry.js +0 -6
- package/dist/calcite/p-1d79f363.entry.js +0 -6
- package/dist/calcite/p-24e38bcc.entry.js +0 -6
- package/dist/calcite/p-260e6a14.entry.js +0 -6
- package/dist/calcite/p-2871e3ae.system.entry.js +0 -6
- package/dist/calcite/p-287c704c.system.entry.js +0 -6
- package/dist/calcite/p-2b34ab26.entry.js +0 -6
- package/dist/calcite/p-2c217ec5.entry.js +0 -6
- package/dist/calcite/p-2c9079c6.entry.js +0 -6
- package/dist/calcite/p-2ccdad29.entry.js +0 -6
- package/dist/calcite/p-2f0da36b.entry.js +0 -6
- package/dist/calcite/p-30828f96.system.entry.js +0 -6
- package/dist/calcite/p-31dd32bb.system.js +0 -6
- package/dist/calcite/p-322c560f.entry.js +0 -6
- package/dist/calcite/p-35c7b500.system.entry.js +0 -6
- package/dist/calcite/p-36726890.entry.js +0 -6
- package/dist/calcite/p-397d796b.system.js +0 -6
- package/dist/calcite/p-3a1a580f.system.entry.js +0 -6
- package/dist/calcite/p-3d70ba59.entry.js +0 -6
- package/dist/calcite/p-42bae2a8.system.entry.js +0 -6
- package/dist/calcite/p-43ff85ce.entry.js +0 -6
- package/dist/calcite/p-4783ebf1.entry.js +0 -6
- package/dist/calcite/p-4bac732f.entry.js +0 -6
- package/dist/calcite/p-4bd3b2f2.entry.js +0 -6
- package/dist/calcite/p-51cc1fb5.system.js +0 -6
- package/dist/calcite/p-56370690.entry.js +0 -6
- package/dist/calcite/p-56d3d91c.entry.js +0 -6
- package/dist/calcite/p-58d33448.system.entry.js +0 -6
- package/dist/calcite/p-5c8b3ff4.system.entry.js +0 -6
- package/dist/calcite/p-5d472921.system.entry.js +0 -6
- package/dist/calcite/p-5f63aa1a.entry.js +0 -6
- package/dist/calcite/p-6739b6a3.entry.js +0 -6
- package/dist/calcite/p-722b0b81.js +0 -6
- package/dist/calcite/p-72ed246e.system.entry.js +0 -6
- package/dist/calcite/p-75d626ef.system.entry.js +0 -6
- package/dist/calcite/p-773dc64c.system.entry.js +0 -6
- package/dist/calcite/p-7b64493a.system.entry.js +0 -6
- package/dist/calcite/p-811ca56e.js +0 -6
- package/dist/calcite/p-816aa9c2.entry.js +0 -6
- package/dist/calcite/p-8578e964.entry.js +0 -6
- package/dist/calcite/p-857f367d.entry.js +0 -6
- package/dist/calcite/p-86d97e22.entry.js +0 -6
- package/dist/calcite/p-8ba6b1e9.entry.js +0 -6
- package/dist/calcite/p-8c528406.system.entry.js +0 -6
- package/dist/calcite/p-8cc4a869.js +0 -6
- package/dist/calcite/p-8ef36d3f.system.entry.js +0 -6
- package/dist/calcite/p-8fa6560a.entry.js +0 -6
- package/dist/calcite/p-92315cbf.system.entry.js +0 -6
- package/dist/calcite/p-935abcb9.system.entry.js +0 -6
- package/dist/calcite/p-98913c1f.entry.js +0 -6
- package/dist/calcite/p-9a61e33b.system.entry.js +0 -6
- package/dist/calcite/p-9adfa6e4.system.entry.js +0 -6
- package/dist/calcite/p-9c0854b8.system.entry.js +0 -6
- package/dist/calcite/p-a213dd26.js +0 -6
- package/dist/calcite/p-a2fed2e5.js +0 -6
- package/dist/calcite/p-a9072e62.entry.js +0 -6
- package/dist/calcite/p-ab5f5702.system.entry.js +0 -6
- package/dist/calcite/p-af508381.js +0 -7
- package/dist/calcite/p-af5f39c0.system.entry.js +0 -6
- package/dist/calcite/p-aff50424.entry.js +0 -6
- package/dist/calcite/p-b07a89da.entry.js +0 -6
- package/dist/calcite/p-b0a49830.system.entry.js +0 -6
- package/dist/calcite/p-b13196ac.system.entry.js +0 -6
- package/dist/calcite/p-b27ec36f.entry.js +0 -6
- package/dist/calcite/p-b36d6254.entry.js +0 -6
- package/dist/calcite/p-b68c3e91.system.entry.js +0 -6
- package/dist/calcite/p-b70f5356.system.entry.js +0 -6
- package/dist/calcite/p-b961207d.system.entry.js +0 -6
- package/dist/calcite/p-baa453d2.entry.js +0 -6
- package/dist/calcite/p-bacbe7c9.entry.js +0 -6
- package/dist/calcite/p-bb557bb0.system.entry.js +0 -6
- package/dist/calcite/p-be506ed2.entry.js +0 -6
- package/dist/calcite/p-be6a504f.system.entry.js +0 -6
- package/dist/calcite/p-bee574f5.entry.js +0 -6
- package/dist/calcite/p-c0f25bd3.entry.js +0 -6
- package/dist/calcite/p-c1e9a3a4.entry.js +0 -6
- package/dist/calcite/p-c3ab76fc.system.entry.js +0 -6
- package/dist/calcite/p-c5662068.entry.js +0 -6
- package/dist/calcite/p-c94563be.system.entry.js +0 -6
- package/dist/calcite/p-d11255b1.entry.js +0 -6
- package/dist/calcite/p-d178bc57.entry.js +0 -6
- package/dist/calcite/p-dc44672a.system.entry.js +0 -6
- package/dist/calcite/p-e084e045.system.entry.js +0 -6
- package/dist/calcite/p-e58f3069.system.entry.js +0 -6
- package/dist/calcite/p-ea2b2c74.entry.js +0 -6
- package/dist/calcite/p-ecd11b87.entry.js +0 -6
- package/dist/calcite/p-ed8e7d94.system.entry.js +0 -6
- package/dist/calcite/p-f25495f0.system.entry.js +0 -6
- package/dist/calcite/p-f3f38baf.system.entry.js +0 -6
- package/dist/calcite/p-f6a58746.system.entry.js +0 -6
- package/dist/calcite/p-f8c4c14b.system.entry.js +0 -6
- package/dist/calcite/p-fc03ab91.entry.js +0 -6
- package/dist/calcite/p-fe633404.entry.js +0 -6
- package/dist/esm-es5/dom-857f52aa.js +0 -6
- package/dist/esm-es5/floating-ui-4945e4cf.js +0 -6
- package/dist/esm-es5/form-f701eca6.js +0 -6
- package/dist/esm-es5/index-0574569e.js +0 -7
package/dist/components/label.js
CHANGED
|
@@ -1,101 +1,126 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label2.js';
|
|
6
|
+
import { q as queryElementRoots, d as closestElementCrossShadowBoundary } from './dom.js';
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Exported for testing purposes only
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
const labelClickEvent = "calciteInternalLabelClick";
|
|
14
|
+
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
15
|
+
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
16
|
+
const labelTagName = "calcite-label";
|
|
17
|
+
const onLabelClickMap = new WeakMap();
|
|
18
|
+
const onLabelConnectedMap = new WeakMap();
|
|
19
|
+
const onLabelDisconnectedMap = new WeakMap();
|
|
20
|
+
const unlabeledComponents = new Set();
|
|
21
|
+
const findLabelForComponent = (componentEl) => {
|
|
22
|
+
const { id } = componentEl;
|
|
23
|
+
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
24
|
+
if (forLabel) {
|
|
25
|
+
return forLabel;
|
|
26
|
+
}
|
|
27
|
+
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
28
|
+
if (!parentLabel ||
|
|
29
|
+
// labelable components within other custom elements are not considered labelable
|
|
30
|
+
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return parentLabel;
|
|
11
34
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this.layout = "default";
|
|
38
|
-
/**
|
|
39
|
-
* is the label disabled
|
|
40
|
-
*
|
|
41
|
-
* @deprecated use the `disabled` property on the interactive components instead
|
|
42
|
-
*/
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* eliminates any space around the label
|
|
46
|
-
*
|
|
47
|
-
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
48
|
-
*/
|
|
49
|
-
this.disableSpacing = false;
|
|
50
|
-
//--------------------------------------------------------------------------
|
|
51
|
-
//
|
|
52
|
-
// Private Methods
|
|
53
|
-
//
|
|
54
|
-
//--------------------------------------------------------------------------
|
|
55
|
-
this.labelClickHandler = (event) => {
|
|
56
|
-
this.calciteInternalLabelClick.emit({
|
|
57
|
-
sourceEvent: event
|
|
58
|
-
});
|
|
59
|
-
};
|
|
35
|
+
function hasAncestorCustomElements(label, componentEl) {
|
|
36
|
+
let traversedElements;
|
|
37
|
+
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
38
|
+
const listener = (event) => {
|
|
39
|
+
event.stopImmediatePropagation();
|
|
40
|
+
const composedPath = event.composedPath();
|
|
41
|
+
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
42
|
+
};
|
|
43
|
+
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
44
|
+
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
45
|
+
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
46
|
+
const ancestorCustomElements = traversedElements
|
|
47
|
+
.filter((el) => el !== componentEl && el !== label)
|
|
48
|
+
.filter((el) => { var _a; return (_a = el.tagName) === null || _a === void 0 ? void 0 : _a.includes("-"); });
|
|
49
|
+
return ancestorCustomElements.length > 0;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Helper to set up label interactions on connectedCallback.
|
|
53
|
+
*
|
|
54
|
+
* @param component
|
|
55
|
+
*/
|
|
56
|
+
function connectLabel(component) {
|
|
57
|
+
const labelEl = findLabelForComponent(component.el);
|
|
58
|
+
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
59
|
+
return;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
62
|
+
if (labelEl) {
|
|
63
|
+
component.labelEl = labelEl;
|
|
64
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
65
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
66
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
67
|
+
unlabeledComponents.delete(component);
|
|
68
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
69
|
+
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
70
|
+
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
68
71
|
}
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
else if (!unlabeledComponents.has(component)) {
|
|
73
|
+
boundOnLabelDisconnected();
|
|
74
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
71
75
|
}
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
79
|
+
*
|
|
80
|
+
* @param component
|
|
81
|
+
*/
|
|
82
|
+
function disconnectLabel(component) {
|
|
83
|
+
unlabeledComponents.delete(component);
|
|
84
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
85
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
86
|
+
onLabelConnectedMap.delete(component);
|
|
87
|
+
onLabelDisconnectedMap.delete(component);
|
|
88
|
+
if (!component.labelEl) {
|
|
89
|
+
return;
|
|
74
90
|
}
|
|
75
|
-
get
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
|
|
92
|
+
component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
|
|
93
|
+
onLabelClickMap.delete(component.labelEl);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Helper to get the label text from a component.
|
|
97
|
+
*
|
|
98
|
+
* @param component
|
|
99
|
+
*/
|
|
100
|
+
function getLabelText(component) {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
103
|
+
}
|
|
104
|
+
function onLabelClick(event) {
|
|
105
|
+
if (this.disabled) {
|
|
88
106
|
return;
|
|
89
107
|
}
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
108
|
+
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
109
|
+
if (containedLabelableChildClicked) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
this.onLabelClick(event);
|
|
113
|
+
}
|
|
114
|
+
function onLabelConnected() {
|
|
115
|
+
if (unlabeledComponents.has(this)) {
|
|
116
|
+
connectLabel(this);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function onLabelDisconnected() {
|
|
120
|
+
unlabeledComponents.add(this);
|
|
121
|
+
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
122
|
+
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
123
|
+
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
98
124
|
}
|
|
99
|
-
defineCustomElement();
|
|
100
125
|
|
|
101
|
-
export {
|
|
126
|
+
export { labelDisconnectedEvent as a, connectLabel as c, disconnectLabel as d, getLabelText as g, labelConnectedEvent as l };
|
|
@@ -1,126 +1,101 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
|
+
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label.js';
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
const labelClickEvent = "calciteInternalLabelClick";
|
|
14
|
-
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
15
|
-
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
16
|
-
const labelTagName = "calcite-label";
|
|
17
|
-
const onLabelClickMap = new WeakMap();
|
|
18
|
-
const onLabelConnectedMap = new WeakMap();
|
|
19
|
-
const onLabelDisconnectedMap = new WeakMap();
|
|
20
|
-
const unlabeledComponents = new Set();
|
|
21
|
-
const findLabelForComponent = (componentEl) => {
|
|
22
|
-
const { id } = componentEl;
|
|
23
|
-
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
24
|
-
if (forLabel) {
|
|
25
|
-
return forLabel;
|
|
26
|
-
}
|
|
27
|
-
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
28
|
-
if (!parentLabel ||
|
|
29
|
-
// labelable components within other custom elements are not considered labelable
|
|
30
|
-
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
return parentLabel;
|
|
9
|
+
const CSS = {
|
|
10
|
+
container: "container"
|
|
34
11
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
12
|
+
|
|
13
|
+
const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";
|
|
14
|
+
|
|
15
|
+
const Label = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.__registerHost();
|
|
19
|
+
this.__attachShadow();
|
|
20
|
+
this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick", 2);
|
|
21
|
+
//--------------------------------------------------------------------------
|
|
22
|
+
//
|
|
23
|
+
// Properties
|
|
24
|
+
//
|
|
25
|
+
//--------------------------------------------------------------------------
|
|
26
|
+
/** specify the text alignment of the label */
|
|
27
|
+
this.alignment = "start";
|
|
28
|
+
/**
|
|
29
|
+
* specify the status of the label and any child input / input messages
|
|
30
|
+
*
|
|
31
|
+
* @deprecated set directly on child element instead
|
|
32
|
+
*/
|
|
33
|
+
this.status = "idle";
|
|
34
|
+
/** specify the scale of the label, defaults to m */
|
|
35
|
+
this.scale = "m";
|
|
36
|
+
/** is the wrapped element positioned inline with the label slotted text */
|
|
37
|
+
this.layout = "default";
|
|
38
|
+
/**
|
|
39
|
+
* is the label disabled
|
|
40
|
+
*
|
|
41
|
+
* @deprecated use the `disabled` property on the interactive components instead
|
|
42
|
+
*/
|
|
43
|
+
this.disabled = false;
|
|
44
|
+
/**
|
|
45
|
+
* eliminates any space around the label
|
|
46
|
+
*
|
|
47
|
+
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
48
|
+
*/
|
|
49
|
+
this.disableSpacing = false;
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
//
|
|
52
|
+
// Private Methods
|
|
53
|
+
//
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
this.labelClickHandler = (event) => {
|
|
56
|
+
this.calciteInternalLabelClick.emit({
|
|
57
|
+
sourceEvent: event
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
69
|
-
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
70
|
-
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
61
|
+
//--------------------------------------------------------------------------
|
|
62
|
+
//
|
|
63
|
+
// Lifecycle
|
|
64
|
+
//
|
|
65
|
+
//--------------------------------------------------------------------------
|
|
66
|
+
connectedCallback() {
|
|
67
|
+
document.dispatchEvent(new CustomEvent(labelConnectedEvent));
|
|
71
68
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
69
|
+
disconnectedCallback() {
|
|
70
|
+
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
75
71
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
79
|
-
*
|
|
80
|
-
* @param component
|
|
81
|
-
*/
|
|
82
|
-
function disconnectLabel(component) {
|
|
83
|
-
unlabeledComponents.delete(component);
|
|
84
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
85
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
86
|
-
onLabelConnectedMap.delete(component);
|
|
87
|
-
onLabelDisconnectedMap.delete(component);
|
|
88
|
-
if (!component.labelEl) {
|
|
89
|
-
return;
|
|
72
|
+
render() {
|
|
73
|
+
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS.container }, h("slot", null))));
|
|
90
74
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
function onLabelClick(event) {
|
|
105
|
-
if (this.disabled) {
|
|
75
|
+
get el() { return this; }
|
|
76
|
+
static get style() { return labelCss; }
|
|
77
|
+
}, [1, "calcite-label", {
|
|
78
|
+
"alignment": [513],
|
|
79
|
+
"status": [513],
|
|
80
|
+
"for": [513],
|
|
81
|
+
"scale": [513],
|
|
82
|
+
"layout": [513],
|
|
83
|
+
"disabled": [516],
|
|
84
|
+
"disableSpacing": [4, "disable-spacing"]
|
|
85
|
+
}]);
|
|
86
|
+
function defineCustomElement() {
|
|
87
|
+
if (typeof customElements === "undefined") {
|
|
106
88
|
return;
|
|
107
89
|
}
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
connectLabel(this);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
function onLabelDisconnected() {
|
|
120
|
-
unlabeledComponents.add(this);
|
|
121
|
-
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
122
|
-
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
123
|
-
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
90
|
+
const components = ["calcite-label"];
|
|
91
|
+
components.forEach(tagName => { switch (tagName) {
|
|
92
|
+
case "calcite-label":
|
|
93
|
+
if (!customElements.get(tagName)) {
|
|
94
|
+
customElements.define(tagName, Label);
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
} });
|
|
124
98
|
}
|
|
99
|
+
defineCustomElement();
|
|
125
100
|
|
|
126
|
-
export {
|
|
101
|
+
export { Label as L, defineCustomElement as d };
|
package/dist/components/link.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import { b as getElementDir,
|
|
7
|
+
import { b as getElementDir, f as focusElement } from './dom.js';
|
|
8
|
+
import { C as CSS_UTILITY } from './resources.js';
|
|
8
9
|
import { u as updateHostInteraction } from './interactive.js';
|
|
9
10
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
10
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as guid } from './guid.js';
|
package/dist/components/math.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -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-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
|
-
import { I as ICON_TYPES } from './
|
|
7
|
+
import { I as ICON_TYPES } from './resources2.js';
|
|
8
8
|
import { a as getSlotted, t as toAriaBoolean } from './dom.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
7
|
+
import { d as defaultOffsetDistance, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS } from './floating-ui.js';
|
|
8
8
|
import { g as guid } from './guid.js';
|
|
9
9
|
import { t as toAriaBoolean, q as queryElementRoots } from './dom.js';
|
|
10
10
|
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
|
|
11
11
|
import { H as Heading } from './Heading.js';
|
|
12
|
+
import { i as isActivationKey } from './key.js';
|
|
12
13
|
import { d as defineCustomElement$3 } from './action.js';
|
|
13
14
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
14
15
|
import { d as defineCustomElement$1 } from './loader.js';
|
|
@@ -64,7 +65,7 @@ class PopoverManager {
|
|
|
64
65
|
.forEach((popover) => popover.toggle(false));
|
|
65
66
|
};
|
|
66
67
|
this.keyHandler = (event) => {
|
|
67
|
-
if (event.
|
|
68
|
+
if (event.defaultPrevented || !isActivationKey(event.key)) {
|
|
68
69
|
return;
|
|
69
70
|
}
|
|
70
71
|
this.togglePopovers(event);
|
|
@@ -160,7 +161,12 @@ const Popover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
160
161
|
* When true, displays and positions the component.
|
|
161
162
|
*/
|
|
162
163
|
this.open = false;
|
|
163
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
166
|
+
*
|
|
167
|
+
* Using the "absolute" value will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. The "fixed" value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is "fixed".
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
164
170
|
this.overlayPositioning = "absolute";
|
|
165
171
|
/**
|
|
166
172
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const autoTheme = "calcite-theme-auto";
|
|
7
|
+
const darkTheme = "calcite-theme-dark";
|
|
8
|
+
const lightTheme = "calcite-theme-light";
|
|
9
|
+
const CSS_UTILITY = {
|
|
10
|
+
autoTheme,
|
|
11
|
+
darkTheme,
|
|
12
|
+
lightTheme,
|
|
13
|
+
rtl: "calcite--rtl"
|
|
8
14
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ICON_TYPES["circle"] = "circle";
|
|
12
|
-
ICON_TYPES["square"] = "square";
|
|
13
|
-
ICON_TYPES["grip"] = "grip";
|
|
14
|
-
})(ICON_TYPES || (ICON_TYPES = {}));
|
|
15
|
-
const SLOTS = {
|
|
16
|
-
menuActions: "menu-actions"
|
|
15
|
+
const TEXT = {
|
|
16
|
+
loading: "Loading"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
export {
|
|
19
|
+
export { CSS_UTILITY as C, TEXT as T, autoTheme as a, darkTheme as d };
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.558
|
|
5
5
|
*/
|
|
6
6
|
const CSS = {
|
|
7
|
-
|
|
8
|
-
container: "container",
|
|
9
|
-
indented: "container--indented"
|
|
7
|
+
sticky: "sticky-pos"
|
|
10
8
|
};
|
|
9
|
+
var ICON_TYPES;
|
|
10
|
+
(function (ICON_TYPES) {
|
|
11
|
+
ICON_TYPES["circle"] = "circle";
|
|
12
|
+
ICON_TYPES["square"] = "square";
|
|
13
|
+
ICON_TYPES["grip"] = "grip";
|
|
14
|
+
})(ICON_TYPES || (ICON_TYPES = {}));
|
|
11
15
|
const SLOTS = {
|
|
12
|
-
|
|
16
|
+
menuActions: "menu-actions"
|
|
13
17
|
};
|
|
14
|
-
const HEADING_LEVEL = 3;
|
|
15
18
|
|
|
16
|
-
export { CSS as C,
|
|
19
|
+
export { CSS as C, ICON_TYPES as I, SLOTS as S };
|