@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/hydrate/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
|
-
Stencil Mock Doc v2.
|
|
11
|
+
Stencil Mock Doc v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const CONTENT_REF_ID = 'r';
|
|
14
14
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -695,25 +695,6 @@ class MockMouseEvent extends MockEvent {
|
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
-
class MockUIEvent extends MockEvent {
|
|
699
|
-
constructor(type, uiEventInitDic) {
|
|
700
|
-
super(type);
|
|
701
|
-
this.detail = null;
|
|
702
|
-
this.view = null;
|
|
703
|
-
if (uiEventInitDic != null) {
|
|
704
|
-
Object.assign(this, uiEventInitDic);
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
class MockFocusEvent extends MockUIEvent {
|
|
709
|
-
constructor(type, focusEventInitDic) {
|
|
710
|
-
super(type);
|
|
711
|
-
this.relatedTarget = null;
|
|
712
|
-
if (focusEventInitDic != null) {
|
|
713
|
-
Object.assign(this, focusEventInitDic);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
698
|
class MockEventListener {
|
|
718
699
|
constructor(type, handler) {
|
|
719
700
|
this.type = type;
|
|
@@ -1626,9 +1607,6 @@ class MockElement extends MockNode {
|
|
|
1626
1607
|
this.shadowRoot = shadowRoot;
|
|
1627
1608
|
return shadowRoot;
|
|
1628
1609
|
}
|
|
1629
|
-
blur() {
|
|
1630
|
-
dispatchEvent(this, new MockFocusEvent('blur', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1631
|
-
}
|
|
1632
1610
|
get shadowRoot() {
|
|
1633
1611
|
return this.__shadowRoot || null;
|
|
1634
1612
|
}
|
|
@@ -1697,9 +1675,6 @@ class MockElement extends MockNode {
|
|
|
1697
1675
|
get firstElementChild() {
|
|
1698
1676
|
return this.children[0] || null;
|
|
1699
1677
|
}
|
|
1700
|
-
focus(_options) {
|
|
1701
|
-
dispatchEvent(this, new MockFocusEvent('focus', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1702
|
-
}
|
|
1703
1678
|
getAttribute(attrName) {
|
|
1704
1679
|
if (attrName === 'style') {
|
|
1705
1680
|
if (this.__style != null && this.__style.length > 0) {
|
|
@@ -2044,9 +2019,6 @@ class MockElement extends MockNode {
|
|
|
2044
2019
|
set title(value) {
|
|
2045
2020
|
this.setAttributeNS(null, 'title', value);
|
|
2046
2021
|
}
|
|
2047
|
-
animate() {
|
|
2048
|
-
/**/
|
|
2049
|
-
}
|
|
2050
2022
|
onanimationstart() {
|
|
2051
2023
|
/**/
|
|
2052
2024
|
}
|
|
@@ -2311,18 +2283,6 @@ class MockElement extends MockNode {
|
|
|
2311
2283
|
onwheel() {
|
|
2312
2284
|
/**/
|
|
2313
2285
|
}
|
|
2314
|
-
requestFullscreen() {
|
|
2315
|
-
/**/
|
|
2316
|
-
}
|
|
2317
|
-
scrollBy() {
|
|
2318
|
-
/**/
|
|
2319
|
-
}
|
|
2320
|
-
scrollTo() {
|
|
2321
|
-
/**/
|
|
2322
|
-
}
|
|
2323
|
-
scrollIntoView() {
|
|
2324
|
-
/**/
|
|
2325
|
-
}
|
|
2326
2286
|
toString(opts) {
|
|
2327
2287
|
return serializeNodeToHtml(this, opts);
|
|
2328
2288
|
}
|
|
@@ -2618,28 +2578,7 @@ function createElementNS(ownerDocument, namespaceURI, tagName) {
|
|
|
2618
2578
|
return createElement(ownerDocument, tagName);
|
|
2619
2579
|
}
|
|
2620
2580
|
else if (namespaceURI === 'http://www.w3.org/2000/svg') {
|
|
2621
|
-
|
|
2622
|
-
case 'text':
|
|
2623
|
-
case 'tspan':
|
|
2624
|
-
case 'tref':
|
|
2625
|
-
case 'altglyph':
|
|
2626
|
-
case 'textpath':
|
|
2627
|
-
return new MockSVGTextContentElement(ownerDocument, tagName);
|
|
2628
|
-
case 'circle':
|
|
2629
|
-
case 'ellipse':
|
|
2630
|
-
case 'image':
|
|
2631
|
-
case 'line':
|
|
2632
|
-
case 'path':
|
|
2633
|
-
case 'polygon':
|
|
2634
|
-
case 'polyline':
|
|
2635
|
-
case 'rect':
|
|
2636
|
-
case 'use':
|
|
2637
|
-
return new MockSVGGraphicsElement(ownerDocument, tagName);
|
|
2638
|
-
case 'svg':
|
|
2639
|
-
return new MockSVGSVGElement(ownerDocument, tagName);
|
|
2640
|
-
default:
|
|
2641
|
-
return new MockSVGElement(ownerDocument, tagName);
|
|
2642
|
-
}
|
|
2581
|
+
return new MockSVGElement(ownerDocument, tagName);
|
|
2643
2582
|
}
|
|
2644
2583
|
else {
|
|
2645
2584
|
return new MockElement(ownerDocument, tagName);
|
|
@@ -2786,98 +2725,6 @@ class MockScriptElement extends MockHTMLElement {
|
|
|
2786
2725
|
patchPropAttributes(MockScriptElement.prototype, {
|
|
2787
2726
|
type: String,
|
|
2788
2727
|
});
|
|
2789
|
-
class MockDOMMatrix {
|
|
2790
|
-
constructor() {
|
|
2791
|
-
this.a = 1;
|
|
2792
|
-
this.b = 0;
|
|
2793
|
-
this.c = 0;
|
|
2794
|
-
this.d = 1;
|
|
2795
|
-
this.e = 0;
|
|
2796
|
-
this.f = 0;
|
|
2797
|
-
this.m11 = 1;
|
|
2798
|
-
this.m12 = 0;
|
|
2799
|
-
this.m13 = 0;
|
|
2800
|
-
this.m14 = 0;
|
|
2801
|
-
this.m21 = 0;
|
|
2802
|
-
this.m22 = 1;
|
|
2803
|
-
this.m23 = 0;
|
|
2804
|
-
this.m24 = 0;
|
|
2805
|
-
this.m31 = 0;
|
|
2806
|
-
this.m32 = 0;
|
|
2807
|
-
this.m33 = 1;
|
|
2808
|
-
this.m34 = 0;
|
|
2809
|
-
this.m41 = 0;
|
|
2810
|
-
this.m42 = 0;
|
|
2811
|
-
this.m43 = 0;
|
|
2812
|
-
this.m44 = 1;
|
|
2813
|
-
this.is2D = true;
|
|
2814
|
-
this.isIdentity = true;
|
|
2815
|
-
}
|
|
2816
|
-
static fromMatrix() {
|
|
2817
|
-
return new MockDOMMatrix();
|
|
2818
|
-
}
|
|
2819
|
-
inverse() {
|
|
2820
|
-
return new MockDOMMatrix();
|
|
2821
|
-
}
|
|
2822
|
-
flipX() {
|
|
2823
|
-
return new MockDOMMatrix();
|
|
2824
|
-
}
|
|
2825
|
-
flipY() {
|
|
2826
|
-
return new MockDOMMatrix();
|
|
2827
|
-
}
|
|
2828
|
-
multiply() {
|
|
2829
|
-
return new MockDOMMatrix();
|
|
2830
|
-
}
|
|
2831
|
-
rotate() {
|
|
2832
|
-
return new MockDOMMatrix();
|
|
2833
|
-
}
|
|
2834
|
-
rotateAxisAngle() {
|
|
2835
|
-
return new MockDOMMatrix();
|
|
2836
|
-
}
|
|
2837
|
-
rotateFromVector() {
|
|
2838
|
-
return new MockDOMMatrix();
|
|
2839
|
-
}
|
|
2840
|
-
scale() {
|
|
2841
|
-
return new MockDOMMatrix();
|
|
2842
|
-
}
|
|
2843
|
-
scaleNonUniform() {
|
|
2844
|
-
return new MockDOMMatrix();
|
|
2845
|
-
}
|
|
2846
|
-
skewX() {
|
|
2847
|
-
return new MockDOMMatrix();
|
|
2848
|
-
}
|
|
2849
|
-
skewY() {
|
|
2850
|
-
return new MockDOMMatrix();
|
|
2851
|
-
}
|
|
2852
|
-
toJSON() { }
|
|
2853
|
-
toString() { }
|
|
2854
|
-
transformPoint() {
|
|
2855
|
-
return new MockDOMPoint();
|
|
2856
|
-
}
|
|
2857
|
-
translate() {
|
|
2858
|
-
return new MockDOMMatrix();
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2861
|
-
class MockDOMPoint {
|
|
2862
|
-
constructor() {
|
|
2863
|
-
this.w = 1;
|
|
2864
|
-
this.x = 0;
|
|
2865
|
-
this.y = 0;
|
|
2866
|
-
this.z = 0;
|
|
2867
|
-
}
|
|
2868
|
-
toJSON() { }
|
|
2869
|
-
matrixTransform() {
|
|
2870
|
-
return new MockDOMMatrix();
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
class MockSVGRect {
|
|
2874
|
-
constructor() {
|
|
2875
|
-
this.height = 10;
|
|
2876
|
-
this.width = 10;
|
|
2877
|
-
this.x = 0;
|
|
2878
|
-
this.y = 0;
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
2728
|
class MockStyleElement extends MockHTMLElement {
|
|
2882
2729
|
constructor(ownerDocument) {
|
|
2883
2730
|
super(ownerDocument, 'style');
|
|
@@ -2910,6 +2757,9 @@ class MockSVGElement extends MockElement {
|
|
|
2910
2757
|
get viewportElement() {
|
|
2911
2758
|
return null;
|
|
2912
2759
|
}
|
|
2760
|
+
focus() {
|
|
2761
|
+
/**/
|
|
2762
|
+
}
|
|
2913
2763
|
onunload() {
|
|
2914
2764
|
/**/
|
|
2915
2765
|
}
|
|
@@ -2927,27 +2777,6 @@ class MockSVGElement extends MockElement {
|
|
|
2927
2777
|
return 0;
|
|
2928
2778
|
}
|
|
2929
2779
|
}
|
|
2930
|
-
class MockSVGGraphicsElement extends MockSVGElement {
|
|
2931
|
-
getBBox(_options) {
|
|
2932
|
-
return new MockSVGRect();
|
|
2933
|
-
}
|
|
2934
|
-
getCTM() {
|
|
2935
|
-
return new MockDOMMatrix();
|
|
2936
|
-
}
|
|
2937
|
-
getScreenCTM() {
|
|
2938
|
-
return new MockDOMMatrix();
|
|
2939
|
-
}
|
|
2940
|
-
}
|
|
2941
|
-
class MockSVGSVGElement extends MockSVGGraphicsElement {
|
|
2942
|
-
createSVGPoint() {
|
|
2943
|
-
return new MockDOMPoint();
|
|
2944
|
-
}
|
|
2945
|
-
}
|
|
2946
|
-
class MockSVGTextContentElement extends MockSVGGraphicsElement {
|
|
2947
|
-
getComputedTextLength() {
|
|
2948
|
-
return 0;
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
2780
|
class MockBaseElement extends MockHTMLElement {
|
|
2952
2781
|
constructor(ownerDocument) {
|
|
2953
2782
|
super(ownerDocument, 'base');
|
|
@@ -3473,7 +3302,6 @@ const WINDOW_PROPS = [
|
|
|
3473
3302
|
'HTMLElement',
|
|
3474
3303
|
'Node',
|
|
3475
3304
|
'NodeList',
|
|
3476
|
-
'FocusEvent',
|
|
3477
3305
|
'KeyboardEvent',
|
|
3478
3306
|
'MouseEvent',
|
|
3479
3307
|
];
|
|
@@ -3481,7 +3309,6 @@ const GLOBAL_CONSTRUCTORS = [
|
|
|
3481
3309
|
['CustomEvent', MockCustomEvent],
|
|
3482
3310
|
['Event', MockEvent],
|
|
3483
3311
|
['Headers', MockHeaders],
|
|
3484
|
-
['FocusEvent', MockFocusEvent],
|
|
3485
3312
|
['KeyboardEvent', MockKeyboardEvent],
|
|
3486
3313
|
['MouseEvent', MockMouseEvent],
|
|
3487
3314
|
['Request', MockRequest],
|
|
@@ -4924,6 +4751,59 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4924
4751
|
const NAMESPACE = 'calcite';
|
|
4925
4752
|
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4926
4753
|
|
|
4754
|
+
const autoTheme = "calcite-theme-auto";
|
|
4755
|
+
const darkTheme = "calcite-theme-dark";
|
|
4756
|
+
const lightTheme = "calcite-theme-light";
|
|
4757
|
+
const CSS_UTILITY = {
|
|
4758
|
+
autoTheme,
|
|
4759
|
+
darkTheme,
|
|
4760
|
+
lightTheme,
|
|
4761
|
+
rtl: "calcite--rtl"
|
|
4762
|
+
};
|
|
4763
|
+
const TEXT$u = {
|
|
4764
|
+
loading: "Loading"
|
|
4765
|
+
};
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* Emits when the theme is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
4769
|
+
*/
|
|
4770
|
+
function initThemeChangeEvent() {
|
|
4771
|
+
const { classList } = document.body;
|
|
4772
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
4773
|
+
const getTheme = () => classList.contains(darkTheme) || (classList.contains(autoTheme) && prefersDark) ? "dark" : "light";
|
|
4774
|
+
const emitThemeChange = (theme) => document.body.dispatchEvent(new CustomEvent("calciteThemeChange", { bubbles: true, detail: { theme } }));
|
|
4775
|
+
const themeChangeHandler = (newTheme) => {
|
|
4776
|
+
currentTheme !== newTheme && emitThemeChange(newTheme);
|
|
4777
|
+
currentTheme = newTheme;
|
|
4778
|
+
};
|
|
4779
|
+
let currentTheme = getTheme();
|
|
4780
|
+
// emits event on page load
|
|
4781
|
+
emitThemeChange(currentTheme);
|
|
4782
|
+
// emits event when changing OS theme preferences
|
|
4783
|
+
window
|
|
4784
|
+
.matchMedia("(prefers-color-scheme: dark)")
|
|
4785
|
+
.addEventListener("change", (event) => themeChangeHandler(event.matches ? "dark" : "light"));
|
|
4786
|
+
// emits event when toggling between theme classes on <body>
|
|
4787
|
+
new MutationObserver(() => themeChangeHandler(getTheme())).observe(document.body, {
|
|
4788
|
+
attributes: true,
|
|
4789
|
+
attributeFilter: ["class"]
|
|
4790
|
+
});
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
/**
|
|
4794
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
4795
|
+
*
|
|
4796
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
4797
|
+
*/
|
|
4798
|
+
function appGlobalScript () {
|
|
4799
|
+
if (isBrowser()) {
|
|
4800
|
+
initThemeChangeEvent();
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
4804
|
+
|
|
4805
|
+
const globalScripts = appGlobalScript;
|
|
4806
|
+
|
|
4927
4807
|
function componentOnReady() {
|
|
4928
4808
|
return getHostRef(this).$onReadyPromise$;
|
|
4929
4809
|
}
|
|
@@ -5032,7 +4912,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5032
4912
|
return Array.from(t).map(waitingOnElementMsg);
|
|
5033
4913
|
}(d)}`);
|
|
5034
4914
|
}), t.timeout), plt.$resourcesUrl$ = new URL(t.resourcesUrl || "./", doc.baseURI).href,
|
|
5035
|
-
function e(t) {
|
|
4915
|
+
globalScripts(), function e(t) {
|
|
5036
4916
|
if (null != t && 1 === t.nodeType) {
|
|
5037
4917
|
f(t);
|
|
5038
4918
|
const o = t.children;
|
|
@@ -5801,7 +5681,7 @@ class Accordion {
|
|
|
5801
5681
|
const item = event.detail.item;
|
|
5802
5682
|
const parent = event.detail.parent;
|
|
5803
5683
|
if (this.el === parent) {
|
|
5804
|
-
const key = item
|
|
5684
|
+
const { key } = item;
|
|
5805
5685
|
const itemToFocus = event.target;
|
|
5806
5686
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
5807
5687
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
@@ -5898,19 +5778,6 @@ class Accordion {
|
|
|
5898
5778
|
}; }
|
|
5899
5779
|
}
|
|
5900
5780
|
|
|
5901
|
-
const autoTheme = "calcite-theme-auto";
|
|
5902
|
-
const darkTheme = "calcite-theme-dark";
|
|
5903
|
-
const lightTheme = "calcite-theme-light";
|
|
5904
|
-
const CSS_UTILITY = {
|
|
5905
|
-
autoTheme,
|
|
5906
|
-
darkTheme,
|
|
5907
|
-
lightTheme,
|
|
5908
|
-
rtl: "calcite--rtl"
|
|
5909
|
-
};
|
|
5910
|
-
const TEXT$u = {
|
|
5911
|
-
loading: "Loading"
|
|
5912
|
-
};
|
|
5913
|
-
|
|
5914
5781
|
function gen(counts) {
|
|
5915
5782
|
return counts
|
|
5916
5783
|
.map((count) => {
|
|
@@ -8251,7 +8118,12 @@ class ActionMenu {
|
|
|
8251
8118
|
* When true, the component is open.
|
|
8252
8119
|
*/
|
|
8253
8120
|
this.open = false;
|
|
8254
|
-
/**
|
|
8121
|
+
/**
|
|
8122
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
8123
|
+
*
|
|
8124
|
+
* 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".
|
|
8125
|
+
*
|
|
8126
|
+
*/
|
|
8255
8127
|
this.overlayPositioning = "absolute";
|
|
8256
8128
|
/**
|
|
8257
8129
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -8399,6 +8271,7 @@ class ActionMenu {
|
|
|
8399
8271
|
}
|
|
8400
8272
|
if (key === "Escape") {
|
|
8401
8273
|
this.toggleOpen(false);
|
|
8274
|
+
event.preventDefault();
|
|
8402
8275
|
return;
|
|
8403
8276
|
}
|
|
8404
8277
|
if (!actionElements.length) {
|
|
@@ -9493,7 +9366,7 @@ class BlockSection {
|
|
|
9493
9366
|
//
|
|
9494
9367
|
// --------------------------------------------------------------------------
|
|
9495
9368
|
this.handleHeaderKeyDown = (event) => {
|
|
9496
|
-
if (event.key
|
|
9369
|
+
if (isActivationKey(event.key)) {
|
|
9497
9370
|
this.toggleSection();
|
|
9498
9371
|
event.preventDefault();
|
|
9499
9372
|
event.stopPropagation();
|
|
@@ -9751,13 +9624,15 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
9751
9624
|
* Helper to submit a form.
|
|
9752
9625
|
*
|
|
9753
9626
|
* @param component
|
|
9627
|
+
* @returns true if its associated form was submitted, false otherwise.
|
|
9754
9628
|
*/
|
|
9755
9629
|
function submitForm(component) {
|
|
9756
9630
|
const { formEl } = component;
|
|
9757
9631
|
if (!formEl) {
|
|
9758
|
-
return;
|
|
9632
|
+
return false;
|
|
9759
9633
|
}
|
|
9760
9634
|
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
|
9635
|
+
return true;
|
|
9761
9636
|
}
|
|
9762
9637
|
/**
|
|
9763
9638
|
* Helper to reset a form.
|
|
@@ -10310,7 +10185,7 @@ class Checkbox {
|
|
|
10310
10185
|
}
|
|
10311
10186
|
};
|
|
10312
10187
|
this.keyDownHandler = (event) => {
|
|
10313
|
-
if (event.key
|
|
10188
|
+
if (isActivationKey(event.key)) {
|
|
10314
10189
|
this.toggle();
|
|
10315
10190
|
event.preventDefault();
|
|
10316
10191
|
}
|
|
@@ -12953,7 +12828,7 @@ class ColorPicker {
|
|
|
12953
12828
|
this.updateChannelsFromColor(this.color);
|
|
12954
12829
|
};
|
|
12955
12830
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
12956
|
-
const key = event
|
|
12831
|
+
const { key } = event;
|
|
12957
12832
|
const arrowKeyToXYOffset = {
|
|
12958
12833
|
ArrowUp: { x: 0, y: -10 },
|
|
12959
12834
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -12968,7 +12843,7 @@ class ColorPicker {
|
|
|
12968
12843
|
};
|
|
12969
12844
|
this.handleHueScopeKeyDown = (event) => {
|
|
12970
12845
|
const modifier = event.shiftKey ? 10 : 1;
|
|
12971
|
-
const key = event
|
|
12846
|
+
const { key } = event;
|
|
12972
12847
|
const arrowKeyToXOffset = {
|
|
12973
12848
|
ArrowUp: 1,
|
|
12974
12849
|
ArrowRight: 1,
|
|
@@ -13034,9 +12909,8 @@ class ColorPicker {
|
|
|
13034
12909
|
this.updateColorFromChannels(channels);
|
|
13035
12910
|
};
|
|
13036
12911
|
this.handleSavedColorKeyDown = (event) => {
|
|
13037
|
-
if (event.key
|
|
12912
|
+
if (isActivationKey(event.key)) {
|
|
13038
12913
|
event.preventDefault();
|
|
13039
|
-
event.stopPropagation();
|
|
13040
12914
|
this.handleSavedColorSelect(event);
|
|
13041
12915
|
}
|
|
13042
12916
|
};
|
|
@@ -13303,7 +13177,7 @@ class ColorPicker {
|
|
|
13303
13177
|
// using @Listen as a workaround for VDOM listener not firing
|
|
13304
13178
|
handleChannelKeyUpOrDown(event) {
|
|
13305
13179
|
this.shiftKeyChannelAdjustment = 0;
|
|
13306
|
-
const key = event
|
|
13180
|
+
const { key } = event;
|
|
13307
13181
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13308
13182
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
|
|
13309
13183
|
return;
|
|
@@ -13730,7 +13604,7 @@ class ColorPickerHexInput {
|
|
|
13730
13604
|
onInputKeyDown(event) {
|
|
13731
13605
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
13732
13606
|
const { internalColor, value } = this;
|
|
13733
|
-
const key = event
|
|
13607
|
+
const { key } = event;
|
|
13734
13608
|
if (key === "Tab" || key === "Enter") {
|
|
13735
13609
|
this.onInputChange();
|
|
13736
13610
|
return;
|
|
@@ -14977,11 +14851,59 @@ function getParentNode(node) {
|
|
|
14977
14851
|
}
|
|
14978
14852
|
|
|
14979
14853
|
function getTrueOffsetParent(element) {
|
|
14980
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
14854
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
14981
14855
|
return null;
|
|
14982
14856
|
}
|
|
14983
14857
|
|
|
14984
|
-
return element
|
|
14858
|
+
return composedOffsetParent(element);
|
|
14859
|
+
}
|
|
14860
|
+
/**
|
|
14861
|
+
* Polyfills the old offsetParent behavior from before the spec was changed:
|
|
14862
|
+
* https://github.com/w3c/csswg-drafts/issues/159
|
|
14863
|
+
*/
|
|
14864
|
+
|
|
14865
|
+
|
|
14866
|
+
function composedOffsetParent(element) {
|
|
14867
|
+
let {
|
|
14868
|
+
offsetParent
|
|
14869
|
+
} = element;
|
|
14870
|
+
let ancestor = element;
|
|
14871
|
+
let foundInsideSlot = false;
|
|
14872
|
+
|
|
14873
|
+
while (ancestor && ancestor !== offsetParent) {
|
|
14874
|
+
const {
|
|
14875
|
+
assignedSlot
|
|
14876
|
+
} = ancestor;
|
|
14877
|
+
|
|
14878
|
+
if (assignedSlot) {
|
|
14879
|
+
let newOffsetParent = assignedSlot.offsetParent;
|
|
14880
|
+
|
|
14881
|
+
if (getComputedStyle$1(assignedSlot).display === 'contents') {
|
|
14882
|
+
const hadStyleAttribute = assignedSlot.hasAttribute('style');
|
|
14883
|
+
const oldDisplay = assignedSlot.style.display;
|
|
14884
|
+
assignedSlot.style.display = getComputedStyle$1(ancestor).display;
|
|
14885
|
+
newOffsetParent = assignedSlot.offsetParent;
|
|
14886
|
+
assignedSlot.style.display = oldDisplay;
|
|
14887
|
+
|
|
14888
|
+
if (!hadStyleAttribute) {
|
|
14889
|
+
assignedSlot.removeAttribute('style');
|
|
14890
|
+
}
|
|
14891
|
+
}
|
|
14892
|
+
|
|
14893
|
+
ancestor = assignedSlot;
|
|
14894
|
+
|
|
14895
|
+
if (offsetParent !== newOffsetParent) {
|
|
14896
|
+
offsetParent = newOffsetParent;
|
|
14897
|
+
foundInsideSlot = true;
|
|
14898
|
+
}
|
|
14899
|
+
} else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {
|
|
14900
|
+
break;
|
|
14901
|
+
}
|
|
14902
|
+
|
|
14903
|
+
ancestor = isShadowRoot(ancestor) && ancestor.host || ancestor.parentNode;
|
|
14904
|
+
}
|
|
14905
|
+
|
|
14906
|
+
return offsetParent;
|
|
14985
14907
|
}
|
|
14986
14908
|
|
|
14987
14909
|
function getContainingBlock(element) {
|
|
@@ -14995,7 +14917,8 @@ function getContainingBlock(element) {
|
|
|
14995
14917
|
if (isContainingBlock(currentNode)) {
|
|
14996
14918
|
return currentNode;
|
|
14997
14919
|
} else {
|
|
14998
|
-
|
|
14920
|
+
const parent = currentNode.parentNode;
|
|
14921
|
+
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
14999
14922
|
}
|
|
15000
14923
|
}
|
|
15001
14924
|
|
|
@@ -15008,11 +14931,11 @@ function getOffsetParent(element) {
|
|
|
15008
14931
|
const window = getWindow(element);
|
|
15009
14932
|
let offsetParent = getTrueOffsetParent(element);
|
|
15010
14933
|
|
|
15011
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
14934
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
15012
14935
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
15013
14936
|
}
|
|
15014
14937
|
|
|
15015
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
14938
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
15016
14939
|
return window;
|
|
15017
14940
|
}
|
|
15018
14941
|
|
|
@@ -15613,7 +15536,12 @@ class Combobox {
|
|
|
15613
15536
|
this.disabled = false;
|
|
15614
15537
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
15615
15538
|
this.maxItems = 0;
|
|
15616
|
-
/**
|
|
15539
|
+
/**
|
|
15540
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
15541
|
+
*
|
|
15542
|
+
* 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".
|
|
15543
|
+
*
|
|
15544
|
+
*/
|
|
15617
15545
|
this.overlayPositioning = "absolute";
|
|
15618
15546
|
/**
|
|
15619
15547
|
* When true, makes the component required for form-submission.
|
|
@@ -15695,19 +15623,22 @@ class Combobox {
|
|
|
15695
15623
|
break;
|
|
15696
15624
|
case "ArrowLeft":
|
|
15697
15625
|
this.previousChip();
|
|
15626
|
+
event.preventDefault();
|
|
15698
15627
|
break;
|
|
15699
15628
|
case "ArrowRight":
|
|
15700
15629
|
this.nextChip();
|
|
15630
|
+
event.preventDefault();
|
|
15701
15631
|
break;
|
|
15702
15632
|
case "ArrowUp":
|
|
15633
|
+
event.preventDefault();
|
|
15703
15634
|
this.shiftActiveItemIndex(-1);
|
|
15704
15635
|
if (!this.comboboxInViewport()) {
|
|
15705
15636
|
this.el.scrollIntoView();
|
|
15706
15637
|
}
|
|
15707
15638
|
break;
|
|
15708
15639
|
case "ArrowDown":
|
|
15640
|
+
event.preventDefault();
|
|
15709
15641
|
if (!this.open) {
|
|
15710
|
-
event.preventDefault();
|
|
15711
15642
|
this.open = true;
|
|
15712
15643
|
}
|
|
15713
15644
|
this.shiftActiveItemIndex(1);
|
|
@@ -15723,9 +15654,10 @@ class Combobox {
|
|
|
15723
15654
|
}
|
|
15724
15655
|
break;
|
|
15725
15656
|
case "Home":
|
|
15726
|
-
if (this.open) {
|
|
15727
|
-
|
|
15657
|
+
if (!this.open) {
|
|
15658
|
+
return;
|
|
15728
15659
|
}
|
|
15660
|
+
event.preventDefault();
|
|
15729
15661
|
this.updateActiveItemIndex(0);
|
|
15730
15662
|
this.scrollToActiveItem();
|
|
15731
15663
|
if (!this.comboboxInViewport()) {
|
|
@@ -15733,9 +15665,10 @@ class Combobox {
|
|
|
15733
15665
|
}
|
|
15734
15666
|
break;
|
|
15735
15667
|
case "End":
|
|
15736
|
-
if (this.open) {
|
|
15737
|
-
|
|
15668
|
+
if (!this.open) {
|
|
15669
|
+
return;
|
|
15738
15670
|
}
|
|
15671
|
+
event.preventDefault();
|
|
15739
15672
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
15740
15673
|
this.scrollToActiveItem();
|
|
15741
15674
|
if (!this.comboboxInViewport()) {
|
|
@@ -15744,27 +15677,35 @@ class Combobox {
|
|
|
15744
15677
|
break;
|
|
15745
15678
|
case "Escape":
|
|
15746
15679
|
this.open = false;
|
|
15680
|
+
event.preventDefault();
|
|
15747
15681
|
break;
|
|
15748
15682
|
case "Enter":
|
|
15749
15683
|
if (this.activeItemIndex > -1) {
|
|
15750
15684
|
this.toggleSelection(this.visibleItems[this.activeItemIndex]);
|
|
15685
|
+
event.preventDefault();
|
|
15751
15686
|
}
|
|
15752
15687
|
else if (this.activeChipIndex > -1) {
|
|
15753
15688
|
this.removeActiveChip();
|
|
15689
|
+
event.preventDefault();
|
|
15754
15690
|
}
|
|
15755
15691
|
else if (this.allowCustomValues && this.text) {
|
|
15756
15692
|
this.addCustomChip(this.text, true);
|
|
15693
|
+
event.preventDefault();
|
|
15757
15694
|
}
|
|
15758
15695
|
else if (!event.defaultPrevented) {
|
|
15759
|
-
submitForm(this)
|
|
15696
|
+
if (submitForm(this)) {
|
|
15697
|
+
event.preventDefault();
|
|
15698
|
+
}
|
|
15760
15699
|
}
|
|
15761
15700
|
break;
|
|
15762
15701
|
case "Delete":
|
|
15763
15702
|
case "Backspace":
|
|
15764
15703
|
if (this.activeChipIndex > -1) {
|
|
15704
|
+
event.preventDefault();
|
|
15765
15705
|
this.removeActiveChip();
|
|
15766
15706
|
}
|
|
15767
15707
|
else if (!this.text && this.isMulti()) {
|
|
15708
|
+
event.preventDefault();
|
|
15768
15709
|
this.removeLastChip();
|
|
15769
15710
|
}
|
|
15770
15711
|
break;
|
|
@@ -17495,9 +17436,9 @@ class DatePickerDay {
|
|
|
17495
17436
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17496
17437
|
};
|
|
17497
17438
|
this.keyDownHandler = (event) => {
|
|
17498
|
-
|
|
17499
|
-
if (key === " " || key === "Enter") {
|
|
17439
|
+
if (isActivationKey(event.key)) {
|
|
17500
17440
|
!this.disabled && this.calciteDaySelect.emit();
|
|
17441
|
+
event.preventDefault();
|
|
17501
17442
|
}
|
|
17502
17443
|
};
|
|
17503
17444
|
}
|
|
@@ -17566,6 +17507,9 @@ class DatePickerMonth {
|
|
|
17566
17507
|
//
|
|
17567
17508
|
//--------------------------------------------------------------------------
|
|
17568
17509
|
this.keyDownHandler = (event) => {
|
|
17510
|
+
if (event.defaultPrevented) {
|
|
17511
|
+
return;
|
|
17512
|
+
}
|
|
17569
17513
|
const isRTL = this.el.dir === "rtl";
|
|
17570
17514
|
switch (event.key) {
|
|
17571
17515
|
case "ArrowUp":
|
|
@@ -17913,8 +17857,7 @@ class DatePickerMonthHeader {
|
|
|
17913
17857
|
this.handleArrowClick(event, this.prevMonthDate);
|
|
17914
17858
|
};
|
|
17915
17859
|
this.prevMonthKeydown = (event) => {
|
|
17916
|
-
|
|
17917
|
-
if (key === " " || key === "Enter") {
|
|
17860
|
+
if (isActivationKey(event.key)) {
|
|
17918
17861
|
this.prevMonthClick(event);
|
|
17919
17862
|
}
|
|
17920
17863
|
};
|
|
@@ -17922,8 +17865,7 @@ class DatePickerMonthHeader {
|
|
|
17922
17865
|
this.handleArrowClick(event, this.nextMonthDate);
|
|
17923
17866
|
};
|
|
17924
17867
|
this.nextMonthKeydown = (event) => {
|
|
17925
|
-
|
|
17926
|
-
if (key === " " || key === "Enter") {
|
|
17868
|
+
if (isActivationKey(event.key)) {
|
|
17927
17869
|
this.nextMonthClick(event);
|
|
17928
17870
|
}
|
|
17929
17871
|
};
|
|
@@ -17931,8 +17873,7 @@ class DatePickerMonthHeader {
|
|
|
17931
17873
|
* Update active month on clicks of left/right arrows
|
|
17932
17874
|
*/
|
|
17933
17875
|
this.handleArrowClick = (event, date) => {
|
|
17934
|
-
event
|
|
17935
|
-
event.stopPropagation();
|
|
17876
|
+
event.preventDefault();
|
|
17936
17877
|
this.calciteDatePickerSelect.emit(date);
|
|
17937
17878
|
};
|
|
17938
17879
|
}
|
|
@@ -18091,7 +18032,12 @@ class Dropdown {
|
|
|
18091
18032
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
18092
18033
|
*/
|
|
18093
18034
|
this.maxItems = 0;
|
|
18094
|
-
/**
|
|
18035
|
+
/**
|
|
18036
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
18037
|
+
*
|
|
18038
|
+
* 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".
|
|
18039
|
+
*
|
|
18040
|
+
*/
|
|
18095
18041
|
this.overlayPositioning = "absolute";
|
|
18096
18042
|
/**
|
|
18097
18043
|
* Determines where the dropdown will be positioned relative to the button.
|
|
@@ -18202,19 +18148,29 @@ class Dropdown {
|
|
|
18202
18148
|
if (target !== this.referenceEl) {
|
|
18203
18149
|
return;
|
|
18204
18150
|
}
|
|
18205
|
-
const key = event
|
|
18206
|
-
if (
|
|
18207
|
-
this.closeCalciteDropdown();
|
|
18151
|
+
const { defaultPrevented, key } = event;
|
|
18152
|
+
if (defaultPrevented) {
|
|
18208
18153
|
return;
|
|
18209
18154
|
}
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
case "Enter":
|
|
18213
|
-
this.openCalciteDropdown();
|
|
18214
|
-
break;
|
|
18215
|
-
case "Escape":
|
|
18155
|
+
if (this.open) {
|
|
18156
|
+
if (key === "Escape") {
|
|
18216
18157
|
this.closeCalciteDropdown();
|
|
18217
|
-
|
|
18158
|
+
event.preventDefault();
|
|
18159
|
+
return;
|
|
18160
|
+
}
|
|
18161
|
+
else if (event.shiftKey && key === "Tab") {
|
|
18162
|
+
this.closeCalciteDropdown();
|
|
18163
|
+
event.preventDefault();
|
|
18164
|
+
return;
|
|
18165
|
+
}
|
|
18166
|
+
}
|
|
18167
|
+
if (isActivationKey(key)) {
|
|
18168
|
+
this.openCalciteDropdown();
|
|
18169
|
+
event.preventDefault();
|
|
18170
|
+
}
|
|
18171
|
+
else if (key === "Escape") {
|
|
18172
|
+
this.closeCalciteDropdown();
|
|
18173
|
+
event.preventDefault();
|
|
18218
18174
|
}
|
|
18219
18175
|
};
|
|
18220
18176
|
this.focusOnFirstActiveOrFirstItem = () => {
|
|
@@ -18922,6 +18878,7 @@ class Filter {
|
|
|
18922
18878
|
this.keyDownHandler = (event) => {
|
|
18923
18879
|
if (event.key === "Escape") {
|
|
18924
18880
|
this.clear();
|
|
18881
|
+
event.preventDefault();
|
|
18925
18882
|
}
|
|
18926
18883
|
if (event.key === "Enter") {
|
|
18927
18884
|
event.preventDefault();
|
|
@@ -19400,12 +19357,14 @@ class Handle {
|
|
|
19400
19357
|
switch (event.key) {
|
|
19401
19358
|
case " ":
|
|
19402
19359
|
this.activated = !this.activated;
|
|
19360
|
+
event.preventDefault();
|
|
19403
19361
|
break;
|
|
19404
19362
|
case "ArrowUp":
|
|
19405
19363
|
case "ArrowDown":
|
|
19406
19364
|
if (!this.activated) {
|
|
19407
19365
|
return;
|
|
19408
19366
|
}
|
|
19367
|
+
event.preventDefault();
|
|
19409
19368
|
const direction = event.key.toLowerCase().replace("arrow", "");
|
|
19410
19369
|
this.calciteHandleNudge.emit({ handle: this.el, direction });
|
|
19411
19370
|
break;
|
|
@@ -19640,20 +19599,23 @@ class InlineEditable {
|
|
|
19640
19599
|
};
|
|
19641
19600
|
this.escapeKeyHandler = async (event) => {
|
|
19642
19601
|
var _a;
|
|
19643
|
-
if (event.
|
|
19644
|
-
if (event.key === "Tab" && this.shouldShowControls) {
|
|
19645
|
-
if (!event.shiftKey && event.target === this.inputElement) {
|
|
19646
|
-
event.preventDefault();
|
|
19647
|
-
this.cancelEditingButton.setFocus();
|
|
19648
|
-
}
|
|
19649
|
-
if (!!event.shiftKey && event.target === this.cancelEditingButton) {
|
|
19650
|
-
event.preventDefault();
|
|
19651
|
-
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
19652
|
-
}
|
|
19653
|
-
}
|
|
19602
|
+
if (event.defaultPrevented) {
|
|
19654
19603
|
return;
|
|
19655
19604
|
}
|
|
19656
|
-
|
|
19605
|
+
if (event.key === "Escape") {
|
|
19606
|
+
event.preventDefault();
|
|
19607
|
+
this.cancelEditing();
|
|
19608
|
+
}
|
|
19609
|
+
if (event.key === "Tab" && this.shouldShowControls) {
|
|
19610
|
+
if (!event.shiftKey && event.target === this.inputElement) {
|
|
19611
|
+
event.preventDefault();
|
|
19612
|
+
this.cancelEditingButton.setFocus();
|
|
19613
|
+
}
|
|
19614
|
+
if (!!event.shiftKey && event.target === this.cancelEditingButton) {
|
|
19615
|
+
event.preventDefault();
|
|
19616
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
19617
|
+
}
|
|
19618
|
+
}
|
|
19657
19619
|
};
|
|
19658
19620
|
this.cancelEditingHandler = async (event) => {
|
|
19659
19621
|
event.preventDefault();
|
|
@@ -19947,7 +19909,9 @@ class Input {
|
|
|
19947
19909
|
event.preventDefault();
|
|
19948
19910
|
}
|
|
19949
19911
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
19950
|
-
submitForm(this)
|
|
19912
|
+
if (submitForm(this)) {
|
|
19913
|
+
event.preventDefault();
|
|
19914
|
+
}
|
|
19951
19915
|
}
|
|
19952
19916
|
};
|
|
19953
19917
|
this.clearInputValue = (nativeEvent) => {
|
|
@@ -20534,7 +20498,12 @@ class InputDatePicker {
|
|
|
20534
20498
|
* @internal
|
|
20535
20499
|
*/
|
|
20536
20500
|
this.required = false;
|
|
20537
|
-
/**
|
|
20501
|
+
/**
|
|
20502
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
20503
|
+
*
|
|
20504
|
+
* 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".
|
|
20505
|
+
*
|
|
20506
|
+
*/
|
|
20538
20507
|
this.overlayPositioning = "absolute";
|
|
20539
20508
|
/** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
|
|
20540
20509
|
this.proximitySelectionDisabled = false;
|
|
@@ -20566,13 +20535,17 @@ class InputDatePicker {
|
|
|
20566
20535
|
this.deactivate = () => {
|
|
20567
20536
|
this.open = false;
|
|
20568
20537
|
};
|
|
20569
|
-
this.keyDownHandler = (
|
|
20538
|
+
this.keyDownHandler = (event) => {
|
|
20539
|
+
const { defaultPrevented, key } = event;
|
|
20570
20540
|
if (key === "Enter" && !defaultPrevented) {
|
|
20571
|
-
submitForm(this)
|
|
20541
|
+
if (submitForm(this)) {
|
|
20542
|
+
event.preventDefault();
|
|
20543
|
+
}
|
|
20572
20544
|
}
|
|
20573
|
-
else if (key === "Escape") {
|
|
20545
|
+
else if (key === "Escape" && !defaultPrevented) {
|
|
20574
20546
|
this.active = false;
|
|
20575
20547
|
this.open = false;
|
|
20548
|
+
event.preventDefault();
|
|
20576
20549
|
}
|
|
20577
20550
|
};
|
|
20578
20551
|
this.inputBlur = (event) => {
|
|
@@ -21220,7 +21193,9 @@ class InputNumber {
|
|
|
21220
21193
|
event.preventDefault();
|
|
21221
21194
|
}
|
|
21222
21195
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
21223
|
-
submitForm(this)
|
|
21196
|
+
if (submitForm(this)) {
|
|
21197
|
+
event.preventDefault();
|
|
21198
|
+
}
|
|
21224
21199
|
}
|
|
21225
21200
|
};
|
|
21226
21201
|
this.clearInputValue = (nativeEvent) => {
|
|
@@ -21753,7 +21728,9 @@ class InputText {
|
|
|
21753
21728
|
event.preventDefault();
|
|
21754
21729
|
}
|
|
21755
21730
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
21756
|
-
submitForm(this)
|
|
21731
|
+
if (submitForm(this)) {
|
|
21732
|
+
event.preventDefault();
|
|
21733
|
+
}
|
|
21757
21734
|
}
|
|
21758
21735
|
};
|
|
21759
21736
|
this.clearInputTextValue = (nativeEvent) => {
|
|
@@ -22254,12 +22231,19 @@ class InputTimePicker {
|
|
|
22254
22231
|
// Private Methods
|
|
22255
22232
|
//
|
|
22256
22233
|
// --------------------------------------------------------------------------
|
|
22257
|
-
this.keyDownHandler = (
|
|
22258
|
-
|
|
22259
|
-
|
|
22234
|
+
this.keyDownHandler = (event) => {
|
|
22235
|
+
const { defaultPrevented, key } = event;
|
|
22236
|
+
if (defaultPrevented) {
|
|
22237
|
+
return;
|
|
22238
|
+
}
|
|
22239
|
+
if (key === "Enter") {
|
|
22240
|
+
if (submitForm(this)) {
|
|
22241
|
+
event.preventDefault();
|
|
22242
|
+
}
|
|
22260
22243
|
}
|
|
22261
22244
|
if (key === "Escape" && this.active) {
|
|
22262
22245
|
this.active = false;
|
|
22246
|
+
event.preventDefault();
|
|
22263
22247
|
}
|
|
22264
22248
|
};
|
|
22265
22249
|
this.setCalcitePopoverEl = (el) => {
|
|
@@ -23281,8 +23265,9 @@ class Modal {
|
|
|
23281
23265
|
//
|
|
23282
23266
|
//--------------------------------------------------------------------------
|
|
23283
23267
|
handleEscape(event) {
|
|
23284
|
-
if (this.open && !this.disableEscape && event.key === "Escape") {
|
|
23268
|
+
if (this.open && !this.disableEscape && event.key === "Escape" && !event.defaultPrevented) {
|
|
23285
23269
|
this.close();
|
|
23270
|
+
event.preventDefault();
|
|
23286
23271
|
}
|
|
23287
23272
|
}
|
|
23288
23273
|
//--------------------------------------------------------------------------
|
|
@@ -24113,8 +24098,9 @@ class Panel {
|
|
|
24113
24098
|
this.backButtonEl = node;
|
|
24114
24099
|
};
|
|
24115
24100
|
this.panelKeyDownHandler = (event) => {
|
|
24116
|
-
if (event.key === "Escape") {
|
|
24101
|
+
if (event.key === "Escape" && !event.defaultPrevented) {
|
|
24117
24102
|
this.close();
|
|
24103
|
+
event.preventDefault();
|
|
24118
24104
|
}
|
|
24119
24105
|
};
|
|
24120
24106
|
this.close = () => {
|
|
@@ -25140,7 +25126,7 @@ class PopoverManager$1 {
|
|
|
25140
25126
|
.forEach((popover) => popover.toggle(false));
|
|
25141
25127
|
};
|
|
25142
25128
|
this.keyHandler = (event) => {
|
|
25143
|
-
if (event.
|
|
25129
|
+
if (event.defaultPrevented || !isActivationKey(event.key)) {
|
|
25144
25130
|
return;
|
|
25145
25131
|
}
|
|
25146
25132
|
this.togglePopovers(event);
|
|
@@ -25237,7 +25223,12 @@ class Popover {
|
|
|
25237
25223
|
* When true, displays and positions the component.
|
|
25238
25224
|
*/
|
|
25239
25225
|
this.open = false;
|
|
25240
|
-
/**
|
|
25226
|
+
/**
|
|
25227
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
25228
|
+
*
|
|
25229
|
+
* 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".
|
|
25230
|
+
*
|
|
25231
|
+
*/
|
|
25241
25232
|
this.overlayPositioning = "absolute";
|
|
25242
25233
|
/**
|
|
25243
25234
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -25653,27 +25644,27 @@ class RadioButton {
|
|
|
25653
25644
|
// Properties
|
|
25654
25645
|
//
|
|
25655
25646
|
//--------------------------------------------------------------------------
|
|
25656
|
-
/**
|
|
25647
|
+
/** When true, the component is checked. */
|
|
25657
25648
|
this.checked = false;
|
|
25658
|
-
/**
|
|
25649
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25659
25650
|
this.disabled = false;
|
|
25660
25651
|
/**
|
|
25661
|
-
* The focused state of the
|
|
25652
|
+
* The focused state of the component.
|
|
25662
25653
|
*
|
|
25663
25654
|
* @internal
|
|
25664
25655
|
*/
|
|
25665
25656
|
this.focused = false;
|
|
25666
|
-
/**
|
|
25657
|
+
/** When true, the component is not displayed and is not focusable or checkable. */
|
|
25667
25658
|
this.hidden = false;
|
|
25668
25659
|
/**
|
|
25669
|
-
* The hovered state of the
|
|
25660
|
+
* The hovered state of the component.
|
|
25670
25661
|
*
|
|
25671
25662
|
* @internal
|
|
25672
25663
|
*/
|
|
25673
25664
|
this.hovered = false;
|
|
25674
|
-
/**
|
|
25665
|
+
/** When true, the component must have a value selected from the `calcite-radio-button-group` on form submission. */
|
|
25675
25666
|
this.required = false;
|
|
25676
|
-
/**
|
|
25667
|
+
/** Specifies the size of the component inherited from the `calcite-radio-button-group`. */
|
|
25677
25668
|
this.scale = "m";
|
|
25678
25669
|
//--------------------------------------------------------------------------
|
|
25679
25670
|
//
|
|
@@ -25708,13 +25699,14 @@ class RadioButton {
|
|
|
25708
25699
|
};
|
|
25709
25700
|
this.handleKeyDown = (event) => {
|
|
25710
25701
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
25711
|
-
const key = event
|
|
25702
|
+
const { key } = event;
|
|
25712
25703
|
const { el } = this;
|
|
25713
25704
|
if (keys.indexOf(key) === -1) {
|
|
25714
25705
|
return;
|
|
25715
25706
|
}
|
|
25716
25707
|
if (key === " ") {
|
|
25717
25708
|
this.check();
|
|
25709
|
+
event.preventDefault();
|
|
25718
25710
|
return;
|
|
25719
25711
|
}
|
|
25720
25712
|
let adjustedKey = key;
|
|
@@ -25928,15 +25920,15 @@ class RadioButtonGroup {
|
|
|
25928
25920
|
// Properties
|
|
25929
25921
|
//
|
|
25930
25922
|
//--------------------------------------------------------------------------
|
|
25931
|
-
/**
|
|
25923
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
25932
25924
|
this.disabled = false;
|
|
25933
|
-
/**
|
|
25925
|
+
/** When true, the component is not displayed and its `calcite-radio-button`s are not focusable or checkable. */
|
|
25934
25926
|
this.hidden = false;
|
|
25935
|
-
/**
|
|
25927
|
+
/** Defines the layout of the component. */
|
|
25936
25928
|
this.layout = "horizontal";
|
|
25937
|
-
/**
|
|
25929
|
+
/** When true, the component must have a value on form submission. */
|
|
25938
25930
|
this.required = false;
|
|
25939
|
-
/**
|
|
25931
|
+
/** Specifies the size of the component. */
|
|
25940
25932
|
this.scale = "m";
|
|
25941
25933
|
// --------------------------------------------------------------------------
|
|
25942
25934
|
//
|
|
@@ -26043,23 +26035,23 @@ class RadioGroup {
|
|
|
26043
26035
|
// Properties
|
|
26044
26036
|
//
|
|
26045
26037
|
//--------------------------------------------------------------------------
|
|
26046
|
-
/**
|
|
26038
|
+
/** Specifies the appearance style of the component. */
|
|
26047
26039
|
this.appearance = "solid";
|
|
26048
|
-
/** is the
|
|
26040
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
26049
26041
|
this.disabled = false;
|
|
26050
26042
|
/**
|
|
26051
|
-
* When true,
|
|
26043
|
+
* When true, the component must have a value on form submission.
|
|
26052
26044
|
*
|
|
26053
26045
|
* @internal
|
|
26054
26046
|
*/
|
|
26055
26047
|
this.required = false;
|
|
26056
|
-
/**
|
|
26048
|
+
/** Defines the layout of the component. */
|
|
26057
26049
|
this.layout = "horizontal";
|
|
26058
|
-
/**
|
|
26050
|
+
/** Specifies the size of the component. */
|
|
26059
26051
|
this.scale = "m";
|
|
26060
|
-
/** The
|
|
26052
|
+
/** The component's "selectedItem" value. */
|
|
26061
26053
|
this.value = null;
|
|
26062
|
-
/**
|
|
26054
|
+
/** Specifies the width of the component. */
|
|
26063
26055
|
this.width = "auto";
|
|
26064
26056
|
//--------------------------------------------------------------------------
|
|
26065
26057
|
//
|
|
@@ -26133,7 +26125,7 @@ class RadioGroup {
|
|
|
26133
26125
|
}
|
|
26134
26126
|
handleKeyDown(event) {
|
|
26135
26127
|
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
26136
|
-
const key = event
|
|
26128
|
+
const { key } = event;
|
|
26137
26129
|
const { el, selectedItem } = this;
|
|
26138
26130
|
if (keys.indexOf(key) === -1) {
|
|
26139
26131
|
return;
|
|
@@ -26262,11 +26254,11 @@ class RadioGroupItem {
|
|
|
26262
26254
|
// Properties
|
|
26263
26255
|
//
|
|
26264
26256
|
//--------------------------------------------------------------------------
|
|
26265
|
-
/**
|
|
26257
|
+
/** When true, the component is checked. */
|
|
26266
26258
|
this.checked = false;
|
|
26267
|
-
/**
|
|
26259
|
+
/** When true, the icon will be flipped when the element direction is right-to-left ("rtl"). */
|
|
26268
26260
|
this.iconFlipRtl = false;
|
|
26269
|
-
/**
|
|
26261
|
+
/** When used with "icon", specifies its position. */
|
|
26270
26262
|
this.iconPosition = "start";
|
|
26271
26263
|
}
|
|
26272
26264
|
handleCheckedChange() {
|
|
@@ -26323,30 +26315,30 @@ class Rating {
|
|
|
26323
26315
|
// Properties
|
|
26324
26316
|
//
|
|
26325
26317
|
// --------------------------------------------------------------------------
|
|
26326
|
-
/**
|
|
26318
|
+
/** Specifies the size of the component. */
|
|
26327
26319
|
this.scale = "m";
|
|
26328
|
-
/**
|
|
26320
|
+
/** The component's value. */
|
|
26329
26321
|
this.value = 0;
|
|
26330
|
-
/**
|
|
26322
|
+
/** When true, the component's value can be read, but cannot be modified. */
|
|
26331
26323
|
this.readOnly = false;
|
|
26332
|
-
/** is the
|
|
26324
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
26333
26325
|
this.disabled = false;
|
|
26334
|
-
/**
|
|
26326
|
+
/** When true, and if available, displays the "average" and/or "count" data summary in a `calcite-chip`. */
|
|
26335
26327
|
this.showChip = false;
|
|
26336
26328
|
/**
|
|
26337
|
-
*
|
|
26329
|
+
* Accessible name for the component.
|
|
26338
26330
|
*
|
|
26339
26331
|
* @default "Rating"
|
|
26340
26332
|
*/
|
|
26341
26333
|
this.intlRating = TEXT$5.rating;
|
|
26342
26334
|
/**
|
|
26343
|
-
*
|
|
26335
|
+
* Accessible name for each star. The `${num}` in the string will be replaced by the number.
|
|
26344
26336
|
*
|
|
26345
26337
|
* @default "Stars: ${num}"
|
|
26346
26338
|
*/
|
|
26347
26339
|
this.intlStars = TEXT$5.stars;
|
|
26348
26340
|
/**
|
|
26349
|
-
* When true,
|
|
26341
|
+
* When true, the component must have a value on form submission.
|
|
26350
26342
|
*
|
|
26351
26343
|
* @internal
|
|
26352
26344
|
*/
|
|
@@ -26408,7 +26400,7 @@ class Rating {
|
|
|
26408
26400
|
return (hAsync("span", { class: { wrapper: true } }, hAsync("label", { class: { star: true, focused, selected, average, hovered, partial }, htmlFor: `${this.guid}-${i}`, onMouseOver: () => {
|
|
26409
26401
|
this.hoverValue = i;
|
|
26410
26402
|
} }, hAsync("calcite-icon", { "aria-hidden": "true", class: "icon", icon: selected || average || this.readOnly ? "star-f" : "star", scale: this.scale }), partial && (hAsync("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, hAsync("calcite-icon", { icon: "star-f", scale: this.scale }))), hAsync("span", { class: "visually-hidden" }, this.intlStars.replace("${num}", `${i}`))), hAsync("input", { checked: i === this.value, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: `${this.guid}-${i}`, name: this.guid, onChange: () => this.updateValue(i), onClick: (event) =>
|
|
26411
|
-
// click is fired from the
|
|
26403
|
+
// click is fired from the component's label, so we treat this as an internal event
|
|
26412
26404
|
event.stopPropagation(), onFocus: () => this.onFocusChange(i), onKeyDown: this.onKeyboardPressed, ref: (el) => (i === 1 || i === this.value) && (this.inputFocusRef = el), type: "radio", value: i })));
|
|
26413
26405
|
});
|
|
26414
26406
|
}
|
|
@@ -26489,14 +26481,13 @@ class Scrim {
|
|
|
26489
26481
|
//
|
|
26490
26482
|
// --------------------------------------------------------------------------
|
|
26491
26483
|
/**
|
|
26492
|
-
*
|
|
26484
|
+
* Accessible name when the component is loading.
|
|
26493
26485
|
*
|
|
26494
26486
|
* @default "Loading"
|
|
26495
26487
|
*/
|
|
26496
26488
|
this.intlLoading = TEXT$4.loading;
|
|
26497
26489
|
/**
|
|
26498
|
-
*
|
|
26499
|
-
* Otherwise, will render opaque disabled state.
|
|
26490
|
+
* When true, a busy indicator is displayed.
|
|
26500
26491
|
*/
|
|
26501
26492
|
this.loading = false;
|
|
26502
26493
|
}
|
|
@@ -26554,23 +26545,23 @@ class Select {
|
|
|
26554
26545
|
//
|
|
26555
26546
|
//--------------------------------------------------------------------------
|
|
26556
26547
|
/**
|
|
26557
|
-
* When true,
|
|
26548
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
26558
26549
|
*/
|
|
26559
26550
|
this.disabled = false;
|
|
26560
26551
|
/**
|
|
26561
|
-
* When true,
|
|
26552
|
+
* When true, the component must have a value on form submission.
|
|
26562
26553
|
*
|
|
26563
26554
|
* @internal
|
|
26564
26555
|
*/
|
|
26565
26556
|
this.required = false;
|
|
26566
26557
|
/**
|
|
26567
|
-
*
|
|
26558
|
+
* Specifies the size of the component.
|
|
26568
26559
|
*/
|
|
26569
26560
|
this.scale = "m";
|
|
26570
|
-
/** The
|
|
26561
|
+
/** The component's "selectedOption" value. */
|
|
26571
26562
|
this.value = null;
|
|
26572
26563
|
/**
|
|
26573
|
-
*
|
|
26564
|
+
* Specifies the width of the component.
|
|
26574
26565
|
*/
|
|
26575
26566
|
this.width = "auto";
|
|
26576
26567
|
this.componentToNativeEl = new Map();
|
|
@@ -26777,14 +26768,14 @@ const SLOTS$7 = {
|
|
|
26777
26768
|
const shellCss = "@-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*/.sc-calcite-shell:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell{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*/.calcite-animate__in.sc-calcite-shell{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-shell-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-shell-h *.sc-calcite-shell{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-shell:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-h{display:none !important}/*!@:host*/.sc-calcite-shell-h{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}/*!@.main*/.main.sc-calcite-shell{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}/*!@.main--reversed*/.main--reversed.sc-calcite-shell{-ms-flex-direction:row-reverse;flex-direction:row-reverse}/*!@.content*/.content.sc-calcite-shell{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}/*!@.content ::slotted(calcite-shell-center-row), \n.content ::slotted(calcite-panel), \n.content ::slotted(calcite-flow)*/.content .sc-calcite-shell-s>calcite-shell-center-row,.content .sc-calcite-shell-s>calcite-panel,.content .sc-calcite-shell-s>calcite-flow{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}/*!@.content--behind*/.content--behind.sc-calcite-shell{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}/*!@::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-center-row{inline-size:unset}/*!@::slotted(.header .heading)*/.sc-calcite-shell-s>.header .heading{font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}/*!@slot[name=panel-end]::slotted(calcite-shell-panel)*/slot[name=panel-end].sc-calcite-shell-s>calcite-shell-panel{-webkit-margin-start:auto;margin-inline-start:auto}/*!@::slotted(calcite-shell-panel), \n::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-panel,.sc-calcite-shell-s>calcite-shell-center-row{position:relative;z-index:1}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-shell-s>calcite-panel,.sc-calcite-shell-s>calcite-flow{border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@slot[name=center-row]::slotted(calcite-shell-center-row:not([detached]))*/slot[name=center-row].sc-calcite-shell-s>calcite-shell-center-row:not([detached]){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
|
|
26778
26769
|
|
|
26779
26770
|
/**
|
|
26780
|
-
* @slot - A slot for adding content to the
|
|
26781
|
-
* @slot header - A slot for adding header content. This content will be positioned at the top of the
|
|
26782
|
-
* @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the
|
|
26771
|
+
* @slot - A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map.
|
|
26772
|
+
* @slot header - A slot for adding header content. This content will be positioned at the top of the component.
|
|
26773
|
+
* @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.
|
|
26783
26774
|
* @slot panel-start - A slot for adding the starting `calcite-shell-panel`.
|
|
26784
26775
|
* @slot panel-end - A slot for adding the ending `calcite-shell-panel`.
|
|
26785
26776
|
* @slot primary-panel - [DEPRECATED] A slot for adding the leading `calcite-shell-panel`.
|
|
26786
26777
|
* @slot contextual-panel - [DEPRECATED] A slot for adding the trailing `calcite-shell-panel`.
|
|
26787
|
-
* @slot center-row - A slot for adding
|
|
26778
|
+
* @slot center-row - A slot for adding content to the center row.
|
|
26788
26779
|
*/
|
|
26789
26780
|
class Shell {
|
|
26790
26781
|
constructor(hostRef) {
|
|
@@ -26795,7 +26786,7 @@ class Shell {
|
|
|
26795
26786
|
//
|
|
26796
26787
|
// --------------------------------------------------------------------------
|
|
26797
26788
|
/**
|
|
26798
|
-
* Positions the center content behind any calcite-shell-
|
|
26789
|
+
* Positions the center content behind any `calcite-shell-panel`s.
|
|
26799
26790
|
*/
|
|
26800
26791
|
this.contentBehind = false;
|
|
26801
26792
|
}
|
|
@@ -26876,8 +26867,8 @@ const SLOTS$6 = {
|
|
|
26876
26867
|
const shellCenterRowCss = "@-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*/.sc-calcite-shell-center-row:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-center-row{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*/.calcite-animate__in.sc-calcite-shell-center-row{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-center-row{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-center-row{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-center-row{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-shell-center-row-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-shell-center-row-h *.sc-calcite-shell-center-row{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-shell-center-row:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-center-row-h{display:none !important}/*!@:host*/.sc-calcite-shell-center-row-h{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}/*!@.content*/.content.sc-calcite-shell-center-row{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}/*!@.action-bar-container*/.action-bar-container.sc-calcite-shell-center-row{display:-ms-flexbox;display:flex}/*!@:host([detached])*/[detached].sc-calcite-shell-center-row-h{margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}/*!@:host([detached])*/[detached].sc-calcite-shell-center-row-h{-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([position=end])*/[position=end].sc-calcite-shell-center-row-h{-ms-flex-item-align:end;align-self:flex-end}/*!@:host([position=start])*/[position=start].sc-calcite-shell-center-row-h{-ms-flex-item-align:start;align-self:flex-start}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-shell-center-row-h{block-size:33.333333%}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-shell-center-row-h{block-size:70%}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-shell-center-row-h{block-size:100%}/*!@:host([height-scale=l][detached])*/[height-scale=l][detached].sc-calcite-shell-center-row-h{block-size:calc(100% - 2rem)}/*!@::slotted(calcite-panel)*/.sc-calcite-shell-center-row-s>calcite-panel{block-size:100%;inline-size:100%}/*!@::slotted(calcite-action-bar),\n::slotted(calcite-action-bar[position=end])*/.sc-calcite-shell-center-row-s>calcite-action-bar,.sc-calcite-shell-center-row-s>calcite-action-bar[position=end]{-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";
|
|
26877
26868
|
|
|
26878
26869
|
/**
|
|
26879
|
-
* @slot - A slot for adding content to the shell
|
|
26880
|
-
* @slot action-bar - A slot for adding a `calcite-action-bar` to the panel
|
|
26870
|
+
* @slot - A slot for adding content to the `calcite-shell-panel`.
|
|
26871
|
+
* @slot action-bar - A slot for adding a `calcite-action-bar` to the `calcite-shell-panel`.
|
|
26881
26872
|
*/
|
|
26882
26873
|
class ShellCenterRow {
|
|
26883
26874
|
constructor(hostRef) {
|
|
@@ -26888,15 +26879,15 @@ class ShellCenterRow {
|
|
|
26888
26879
|
//
|
|
26889
26880
|
// --------------------------------------------------------------------------
|
|
26890
26881
|
/**
|
|
26891
|
-
*
|
|
26882
|
+
* When true, the content area displays like a floating panel.
|
|
26892
26883
|
*/
|
|
26893
26884
|
this.detached = false;
|
|
26894
26885
|
/**
|
|
26895
|
-
* Specifies the maximum height of the
|
|
26886
|
+
* Specifies the maximum height of the component.
|
|
26896
26887
|
*/
|
|
26897
26888
|
this.heightScale = "s";
|
|
26898
26889
|
/**
|
|
26899
|
-
*
|
|
26890
|
+
* Specifies the component's position. Will be flipped when the element direction is right-to-left ("rtl").
|
|
26900
26891
|
*/
|
|
26901
26892
|
this.position = "end";
|
|
26902
26893
|
}
|
|
@@ -26962,8 +26953,8 @@ const TEXT$3 = {
|
|
|
26962
26953
|
const shellPanelCss = "@-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*/.sc-calcite-shell-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-panel{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*/.calcite-animate__in.sc-calcite-shell-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-panel-h{display:none !important}/*!@:host*/.sc-calcite-shell-panel-h{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}/*!@.container*/.container.sc-calcite-shell-panel{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@.container **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host(:hover) .separator:not(:hover):not(:focus), \n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}/*!@.separator:hover*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([position=start]) .separator*/[position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([position=end]) .separator*/[position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>calcite-flow{block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}/*!@::slotted(.calcite-match-height)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}/*!@.content__header*/.content__header.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.content__body*/.content__body.sc-calcite-shell-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}/*!@:host([width-scale=s]) .content*/[width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m]) .content*/[width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l]) .content*/[width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@:host([detached-height-scale=s]) .content--detached*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:40vh}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:60vh}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:80vh}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}/*!@.content--detached ::slotted(calcite-panel),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-block-size:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel), \n:host([position=start]) .content--detached ::slotted(calcite-flow), \n:host([position=end]) .content--detached ::slotted(calcite-panel), \n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar), \n.content ::slotted(calcite-flow), \n.content ::slotted(calcite-panel:not([dismissed]))*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>calcite-panel:not([dismissed]){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-start:none;border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-end:none;border-inline-end:none}";
|
|
26963
26954
|
|
|
26964
26955
|
/**
|
|
26965
|
-
* @slot - A slot for adding content to the
|
|
26966
|
-
* @slot action-bar - A slot for adding a `calcite-action-bar` to the
|
|
26956
|
+
* @slot - A slot for adding content to the component.
|
|
26957
|
+
* @slot action-bar - A slot for adding a `calcite-action-bar` to the component.
|
|
26967
26958
|
*/
|
|
26968
26959
|
class ShellPanel {
|
|
26969
26960
|
constructor(hostRef) {
|
|
@@ -26975,29 +26966,29 @@ class ShellPanel {
|
|
|
26975
26966
|
//
|
|
26976
26967
|
// --------------------------------------------------------------------------
|
|
26977
26968
|
/**
|
|
26978
|
-
*
|
|
26969
|
+
* When true, hides the component's content area.
|
|
26979
26970
|
*/
|
|
26980
26971
|
this.collapsed = false;
|
|
26981
26972
|
/**
|
|
26982
|
-
*
|
|
26973
|
+
* When true, the content area displays like a floating panel.
|
|
26983
26974
|
*/
|
|
26984
26975
|
this.detached = false;
|
|
26985
26976
|
/**
|
|
26986
|
-
*
|
|
26977
|
+
* When "detached", specifies the maximum height of the component.
|
|
26987
26978
|
*/
|
|
26988
26979
|
this.detachedHeightScale = "l";
|
|
26989
26980
|
/**
|
|
26990
|
-
*
|
|
26981
|
+
* Specifies the width of the component's content area.
|
|
26991
26982
|
*/
|
|
26992
26983
|
this.widthScale = "m";
|
|
26993
26984
|
/**
|
|
26994
|
-
* Accessible
|
|
26985
|
+
* Accessible name for the resize separator.
|
|
26995
26986
|
*
|
|
26996
26987
|
* @default "Resize"
|
|
26997
26988
|
*/
|
|
26998
26989
|
this.intlResize = TEXT$3.resize;
|
|
26999
26990
|
/**
|
|
27000
|
-
*
|
|
26991
|
+
* When true and not "detached", the component's content area is resizable.
|
|
27001
26992
|
*/
|
|
27002
26993
|
this.resizable = false;
|
|
27003
26994
|
this.contentWidth = null;
|
|
@@ -27214,17 +27205,17 @@ class Slider {
|
|
|
27214
27205
|
// Properties
|
|
27215
27206
|
//
|
|
27216
27207
|
//--------------------------------------------------------------------------
|
|
27217
|
-
/**
|
|
27208
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
27218
27209
|
this.disabled = false;
|
|
27219
|
-
/**
|
|
27210
|
+
/** When true, indicates a histogram is present. */
|
|
27220
27211
|
this.hasHistogram = false;
|
|
27221
|
-
/**
|
|
27212
|
+
/** When true, displays label handles with their numeric value. */
|
|
27222
27213
|
this.labelHandles = false;
|
|
27223
|
-
/**
|
|
27214
|
+
/** When true and "ticks" is specified, displays label tick marks with their numeric value. */
|
|
27224
27215
|
this.labelTicks = false;
|
|
27225
|
-
/**
|
|
27216
|
+
/** The component's maximum selectable value. */
|
|
27226
27217
|
this.max = 100;
|
|
27227
|
-
/**
|
|
27218
|
+
/** The component's minimum selectable value. */
|
|
27228
27219
|
this.min = 0;
|
|
27229
27220
|
/**
|
|
27230
27221
|
* When true, the slider will display values from high to low.
|
|
@@ -27232,20 +27223,20 @@ class Slider {
|
|
|
27232
27223
|
* Note that this value will be ignored if the slider has an associated histogram.
|
|
27233
27224
|
*/
|
|
27234
27225
|
this.mirrored = false;
|
|
27235
|
-
/**
|
|
27226
|
+
/** When true, sets a finer point for handles. */
|
|
27236
27227
|
this.precise = false;
|
|
27237
27228
|
/**
|
|
27238
|
-
* When true,
|
|
27229
|
+
* When true, the component must have a value on form submission.
|
|
27239
27230
|
*/
|
|
27240
27231
|
this.required = false;
|
|
27241
|
-
/** When true, enables snap selection
|
|
27232
|
+
/** When true, enables snap selection in coordination with "step" via a mouse. */
|
|
27242
27233
|
this.snap = false;
|
|
27243
|
-
/**
|
|
27234
|
+
/** Specifies the interval to move with the up, or down keys. */
|
|
27244
27235
|
this.step = 1;
|
|
27245
|
-
/**
|
|
27236
|
+
/** The component's value. */
|
|
27246
27237
|
this.value = 0;
|
|
27247
27238
|
/**
|
|
27248
|
-
*
|
|
27239
|
+
* Specifies the size of the component.
|
|
27249
27240
|
*/
|
|
27250
27241
|
this.scale = "m";
|
|
27251
27242
|
this.guid = `calcite-slider-${guid()}`;
|
|
@@ -27535,8 +27526,8 @@ class Slider {
|
|
|
27535
27526
|
const mirror = this.shouldMirror();
|
|
27536
27527
|
const { activeProp, max, min, pageStep, step } = this;
|
|
27537
27528
|
const value = this[activeProp];
|
|
27538
|
-
const key = event
|
|
27539
|
-
if (key
|
|
27529
|
+
const { key } = event;
|
|
27530
|
+
if (isActivationKey(key)) {
|
|
27540
27531
|
event.preventDefault();
|
|
27541
27532
|
return;
|
|
27542
27533
|
}
|
|
@@ -31210,30 +31201,34 @@ class SplitButton {
|
|
|
31210
31201
|
registerInstance(this, hostRef);
|
|
31211
31202
|
this.calciteSplitButtonPrimaryClick = createEvent(this, "calciteSplitButtonPrimaryClick", 6);
|
|
31212
31203
|
this.calciteSplitButtonSecondaryClick = createEvent(this, "calciteSplitButtonSecondaryClick", 6);
|
|
31213
|
-
/**
|
|
31204
|
+
/** Specifies the appearance style of the component. */
|
|
31214
31205
|
this.appearance = "solid";
|
|
31215
|
-
/**
|
|
31206
|
+
/** Specifies the color of the component. */
|
|
31216
31207
|
this.color = "blue";
|
|
31217
|
-
/** is the
|
|
31208
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
31218
31209
|
this.disabled = false;
|
|
31219
31210
|
/**
|
|
31220
|
-
*
|
|
31211
|
+
* When true, the component is active.
|
|
31221
31212
|
*
|
|
31222
31213
|
* @internal
|
|
31223
31214
|
*/
|
|
31224
31215
|
this.active = false;
|
|
31225
|
-
/**
|
|
31216
|
+
/** Specifies the icon used for the dropdown menu. */
|
|
31226
31217
|
this.dropdownIconType = "chevron";
|
|
31227
31218
|
/**
|
|
31228
|
-
|
|
31229
|
-
disabling interaction. with the primary button
|
|
31219
|
+
When true, a busy indicator is displayed on the primary button.
|
|
31230
31220
|
*/
|
|
31231
31221
|
this.loading = false;
|
|
31232
|
-
/**
|
|
31222
|
+
/**
|
|
31223
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
31224
|
+
*
|
|
31225
|
+
* 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".
|
|
31226
|
+
*
|
|
31227
|
+
*/
|
|
31233
31228
|
this.overlayPositioning = "absolute";
|
|
31234
|
-
/**
|
|
31229
|
+
/** Specifies the size of the component. */
|
|
31235
31230
|
this.scale = "m";
|
|
31236
|
-
/**
|
|
31231
|
+
/** Specifies the width of the component. */
|
|
31237
31232
|
this.width = "auto";
|
|
31238
31233
|
this.calciteSplitButtonPrimaryClickHandler = (event) => this.calciteSplitButtonPrimaryClick.emit(event);
|
|
31239
31234
|
this.calciteSplitButtonSecondaryClickHandler = (event) => this.calciteSplitButtonSecondaryClick.emit(event);
|
|
@@ -31322,13 +31317,13 @@ class Stepper {
|
|
|
31322
31317
|
// Public Properties
|
|
31323
31318
|
//
|
|
31324
31319
|
//--------------------------------------------------------------------------
|
|
31325
|
-
/**
|
|
31320
|
+
/** When true, displays a status icon in the `calcite-stepper-item` heading. */
|
|
31326
31321
|
this.icon = false;
|
|
31327
|
-
/**
|
|
31322
|
+
/** Defines the layout of the component. */
|
|
31328
31323
|
this.layout = "horizontal";
|
|
31329
|
-
/**
|
|
31324
|
+
/** When true, displays the step number in the `calcite-stepper-item` heading. */
|
|
31330
31325
|
this.numbered = false;
|
|
31331
|
-
/**
|
|
31326
|
+
/** Specifies the size of the component. */
|
|
31332
31327
|
this.scale = "m";
|
|
31333
31328
|
//--------------------------------------------------------------------------
|
|
31334
31329
|
//
|
|
@@ -31430,7 +31425,7 @@ class Stepper {
|
|
|
31430
31425
|
// Public Methods
|
|
31431
31426
|
//
|
|
31432
31427
|
//--------------------------------------------------------------------------
|
|
31433
|
-
/**
|
|
31428
|
+
/** Set the next `calcite-stepper-item` as active. */
|
|
31434
31429
|
async nextStep() {
|
|
31435
31430
|
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
31436
31431
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -31438,7 +31433,7 @@ class Stepper {
|
|
|
31438
31433
|
}
|
|
31439
31434
|
this.updateStep(enabledStepIndex);
|
|
31440
31435
|
}
|
|
31441
|
-
/**
|
|
31436
|
+
/** Set the previous `calcite-stepper-item` as active. */
|
|
31442
31437
|
async prevStep() {
|
|
31443
31438
|
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
31444
31439
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -31447,7 +31442,7 @@ class Stepper {
|
|
|
31447
31442
|
this.updateStep(enabledStepIndex);
|
|
31448
31443
|
}
|
|
31449
31444
|
/**
|
|
31450
|
-
*
|
|
31445
|
+
* Set a specified `calcite-stepper-item` as active.
|
|
31451
31446
|
*
|
|
31452
31447
|
* @param step
|
|
31453
31448
|
*/
|
|
@@ -31457,7 +31452,7 @@ class Stepper {
|
|
|
31457
31452
|
this.updateStep(position);
|
|
31458
31453
|
}
|
|
31459
31454
|
}
|
|
31460
|
-
/**
|
|
31455
|
+
/** Set the first `calcite-stepper-item` as active. */
|
|
31461
31456
|
async startStep() {
|
|
31462
31457
|
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
31463
31458
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -31465,7 +31460,7 @@ class Stepper {
|
|
|
31465
31460
|
}
|
|
31466
31461
|
this.updateStep(enabledStepIndex);
|
|
31467
31462
|
}
|
|
31468
|
-
/**
|
|
31463
|
+
/** Set the last `calcite-stepper-item` as active. */
|
|
31469
31464
|
async endStep() {
|
|
31470
31465
|
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
31471
31466
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -31562,25 +31557,25 @@ class StepperItem {
|
|
|
31562
31557
|
// Public Properties
|
|
31563
31558
|
//
|
|
31564
31559
|
//--------------------------------------------------------------------------
|
|
31565
|
-
/**
|
|
31560
|
+
/** When true, the component is active. */
|
|
31566
31561
|
this.active = false;
|
|
31567
|
-
/**
|
|
31562
|
+
/** When true, the component's workflow has been completed. */
|
|
31568
31563
|
this.complete = false;
|
|
31569
|
-
/**
|
|
31564
|
+
/** When true, the component contains an error that requires resolution from the user. */
|
|
31570
31565
|
this.error = false;
|
|
31571
|
-
/**
|
|
31566
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
31572
31567
|
this.disabled = false;
|
|
31573
31568
|
// internal props inherited from wrapping calcite-stepper
|
|
31574
|
-
/**
|
|
31569
|
+
/** Defines the layout of the component. */
|
|
31575
31570
|
/** @internal */
|
|
31576
31571
|
this.layout = "horizontal";
|
|
31577
|
-
/**
|
|
31572
|
+
/** When true, displays a status icon in the `calcite-stepper-item` heading. */
|
|
31578
31573
|
/** @internal */
|
|
31579
31574
|
this.icon = false;
|
|
31580
|
-
/**
|
|
31575
|
+
/** When true, displays the step number in the `calcite-stepper-item` heading. */
|
|
31581
31576
|
/** @internal */
|
|
31582
31577
|
this.numbered = false;
|
|
31583
|
-
/** the
|
|
31578
|
+
/** Specifies the size of the component. */
|
|
31584
31579
|
/** @internal */
|
|
31585
31580
|
this.scale = "m";
|
|
31586
31581
|
//--------------------------------------------------------------------------
|
|
@@ -31744,17 +31739,17 @@ class Switch {
|
|
|
31744
31739
|
// Properties
|
|
31745
31740
|
//
|
|
31746
31741
|
//--------------------------------------------------------------------------
|
|
31747
|
-
/**
|
|
31742
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
31748
31743
|
this.disabled = false;
|
|
31749
|
-
/**
|
|
31744
|
+
/** Specifies the size of the component. */
|
|
31750
31745
|
this.scale = "m";
|
|
31751
31746
|
/**
|
|
31752
|
-
*
|
|
31747
|
+
* When true, the component is checked.
|
|
31753
31748
|
*
|
|
31754
|
-
* @deprecated use
|
|
31749
|
+
* @deprecated use "checked" instead.
|
|
31755
31750
|
*/
|
|
31756
31751
|
this.switched = false;
|
|
31757
|
-
/**
|
|
31752
|
+
/** When true, the component is checked. */
|
|
31758
31753
|
this.checked = false;
|
|
31759
31754
|
//--------------------------------------------------------------------------
|
|
31760
31755
|
//
|
|
@@ -31762,8 +31757,7 @@ class Switch {
|
|
|
31762
31757
|
//
|
|
31763
31758
|
//--------------------------------------------------------------------------
|
|
31764
31759
|
this.keyDownHandler = (event) => {
|
|
31765
|
-
|
|
31766
|
-
if (!this.disabled && (key === " " || key === "Enter")) {
|
|
31760
|
+
if (!this.disabled && isActivationKey(event.key)) {
|
|
31767
31761
|
this.toggle();
|
|
31768
31762
|
event.preventDefault();
|
|
31769
31763
|
}
|
|
@@ -31987,7 +31981,7 @@ class Tab {
|
|
|
31987
31981
|
}; }
|
|
31988
31982
|
}
|
|
31989
31983
|
|
|
31990
|
-
const tabNavCss = "@-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*/.sc-calcite-tab-nav:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
31984
|
+
const tabNavCss = "@-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*/.sc-calcite-tab-nav:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tab-nav{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*/.calcite-animate__in.sc-calcite-tab-nav{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-nav{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-nav{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-nav{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab-nav:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-nav-h{display:none !important}/*!@:host*/.sc-calcite-tab-nav-h{position:relative;display:-ms-flexbox;display:flex}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-nav-h{min-block-size:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-nav-h{min-block-size:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-nav-h{min-block-size:2.75rem}/*!@.tab-nav*/.tab-nav.sc-calcite-tab-nav{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}/*!@:host([layout=center]) .tab-nav*/[layout=center].sc-calcite-tab-nav-h .tab-nav.sc-calcite-tab-nav{-ms-flex-pack:center;justify-content:center}/*!@.tab-nav-active-indicator-container*/.tab-nav-active-indicator-container.sc-calcite-tab-nav{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}/*!@:host([position=below]) .tab-nav-active-indicator*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=bottom]) .tab-nav-active-indicator*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([position=below]) .tab-nav-active-indicator-container*/[position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-start:0px;inset-block-end:unset}/*!@:host([position=bottom]) .tab-nav-active-indicator-container*/[position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset;inset-block-start:0px}/*!@:host([bordered]) .tab-nav-active-indicator-container*/[bordered].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:unset}/*!@:host([bordered][position=below]) .tab-nav-active-indicator-container*/[bordered][position=below].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}/*!@:host([bordered][position=bottom]) .tab-nav-active-indicator-container*/[bordered][position=bottom].sc-calcite-tab-nav-h .tab-nav-active-indicator-container.sc-calcite-tab-nav{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){/*!@.tab-nav-active-indicator*/.tab-nav-active-indicator.sc-calcite-tab-nav{background-color:highlight}}";
|
|
31991
31985
|
|
|
31992
31986
|
/**
|
|
31993
31987
|
* @slot - A slot for adding `calcite-tab-title`s.
|
|
@@ -33158,7 +33152,7 @@ class TimePicker {
|
|
|
33158
33152
|
}
|
|
33159
33153
|
};
|
|
33160
33154
|
this.hourKeyDownHandler = (event) => {
|
|
33161
|
-
const key = event
|
|
33155
|
+
const { key } = event;
|
|
33162
33156
|
if (numberKeys.includes(key)) {
|
|
33163
33157
|
const keyAsNumber = parseInt(key);
|
|
33164
33158
|
let newHour;
|
|
@@ -33203,7 +33197,6 @@ class TimePicker {
|
|
|
33203
33197
|
this.incrementHour();
|
|
33204
33198
|
break;
|
|
33205
33199
|
case " ":
|
|
33206
|
-
case "Spacebar":
|
|
33207
33200
|
event.preventDefault();
|
|
33208
33201
|
break;
|
|
33209
33202
|
}
|
|
@@ -33266,7 +33259,6 @@ class TimePicker {
|
|
|
33266
33259
|
this.decrementMeridiem();
|
|
33267
33260
|
break;
|
|
33268
33261
|
case " ":
|
|
33269
|
-
case "Spacebar":
|
|
33270
33262
|
event.preventDefault();
|
|
33271
33263
|
break;
|
|
33272
33264
|
}
|
|
@@ -33282,7 +33274,7 @@ class TimePicker {
|
|
|
33282
33274
|
}
|
|
33283
33275
|
};
|
|
33284
33276
|
this.minuteKeyDownHandler = (event) => {
|
|
33285
|
-
const key = event
|
|
33277
|
+
const { key } = event;
|
|
33286
33278
|
if (numberKeys.includes(key)) {
|
|
33287
33279
|
const keyAsNumber = parseInt(key);
|
|
33288
33280
|
let newMinute;
|
|
@@ -33313,7 +33305,6 @@ class TimePicker {
|
|
|
33313
33305
|
this.incrementMinute();
|
|
33314
33306
|
break;
|
|
33315
33307
|
case " ":
|
|
33316
|
-
case "Spacebar":
|
|
33317
33308
|
event.preventDefault();
|
|
33318
33309
|
break;
|
|
33319
33310
|
}
|
|
@@ -33330,7 +33321,7 @@ class TimePicker {
|
|
|
33330
33321
|
}
|
|
33331
33322
|
};
|
|
33332
33323
|
this.secondKeyDownHandler = (event) => {
|
|
33333
|
-
const key = event
|
|
33324
|
+
const { key } = event;
|
|
33334
33325
|
if (numberKeys.includes(key)) {
|
|
33335
33326
|
const keyAsNumber = parseInt(key);
|
|
33336
33327
|
let newSecond;
|
|
@@ -33361,7 +33352,6 @@ class TimePicker {
|
|
|
33361
33352
|
this.incrementSecond();
|
|
33362
33353
|
break;
|
|
33363
33354
|
case " ":
|
|
33364
|
-
case "Spacebar":
|
|
33365
33355
|
event.preventDefault();
|
|
33366
33356
|
break;
|
|
33367
33357
|
}
|
|
@@ -33473,24 +33463,31 @@ class TimePicker {
|
|
|
33473
33463
|
this.calciteInternalTimePickerFocus.emit();
|
|
33474
33464
|
}
|
|
33475
33465
|
keyDownHandler(event) {
|
|
33476
|
-
const key = event
|
|
33466
|
+
const { defaultPrevented, key } = event;
|
|
33467
|
+
if (defaultPrevented) {
|
|
33468
|
+
return;
|
|
33469
|
+
}
|
|
33477
33470
|
switch (this.activeEl) {
|
|
33478
33471
|
case this.hourEl:
|
|
33479
33472
|
if (key === "ArrowRight") {
|
|
33480
33473
|
this.setFocus("minute");
|
|
33474
|
+
event.preventDefault();
|
|
33481
33475
|
}
|
|
33482
33476
|
break;
|
|
33483
33477
|
case this.minuteEl:
|
|
33484
33478
|
switch (key) {
|
|
33485
33479
|
case "ArrowLeft":
|
|
33486
33480
|
this.setFocus("hour");
|
|
33481
|
+
event.preventDefault();
|
|
33487
33482
|
break;
|
|
33488
33483
|
case "ArrowRight":
|
|
33489
33484
|
if (this.step !== 60) {
|
|
33490
33485
|
this.setFocus("second");
|
|
33486
|
+
event.preventDefault();
|
|
33491
33487
|
}
|
|
33492
33488
|
else if (this.hourCycle === "12") {
|
|
33493
33489
|
this.setFocus("meridiem");
|
|
33490
|
+
event.preventDefault();
|
|
33494
33491
|
}
|
|
33495
33492
|
break;
|
|
33496
33493
|
}
|
|
@@ -33499,10 +33496,12 @@ class TimePicker {
|
|
|
33499
33496
|
switch (key) {
|
|
33500
33497
|
case "ArrowLeft":
|
|
33501
33498
|
this.setFocus("minute");
|
|
33499
|
+
event.preventDefault();
|
|
33502
33500
|
break;
|
|
33503
33501
|
case "ArrowRight":
|
|
33504
33502
|
if (this.hourCycle === "12") {
|
|
33505
33503
|
this.setFocus("meridiem");
|
|
33504
|
+
event.preventDefault();
|
|
33506
33505
|
}
|
|
33507
33506
|
break;
|
|
33508
33507
|
}
|
|
@@ -33512,9 +33511,11 @@ class TimePicker {
|
|
|
33512
33511
|
case "ArrowLeft":
|
|
33513
33512
|
if (this.step !== 60) {
|
|
33514
33513
|
this.setFocus("second");
|
|
33514
|
+
event.preventDefault();
|
|
33515
33515
|
}
|
|
33516
33516
|
else {
|
|
33517
33517
|
this.setFocus("minute");
|
|
33518
|
+
event.preventDefault();
|
|
33518
33519
|
}
|
|
33519
33520
|
break;
|
|
33520
33521
|
}
|
|
@@ -33541,7 +33542,7 @@ class TimePicker {
|
|
|
33541
33542
|
//
|
|
33542
33543
|
// --------------------------------------------------------------------------
|
|
33543
33544
|
buttonActivated(event) {
|
|
33544
|
-
const key = event
|
|
33545
|
+
const { key } = event;
|
|
33545
33546
|
if (key === " ") {
|
|
33546
33547
|
event.preventDefault();
|
|
33547
33548
|
}
|
|
@@ -34222,7 +34223,12 @@ class Tooltip {
|
|
|
34222
34223
|
* When true, the component is open.
|
|
34223
34224
|
*/
|
|
34224
34225
|
this.open = false;
|
|
34225
|
-
/**
|
|
34226
|
+
/**
|
|
34227
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
34228
|
+
*
|
|
34229
|
+
* 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".
|
|
34230
|
+
*
|
|
34231
|
+
*/
|
|
34226
34232
|
this.overlayPositioning = "absolute";
|
|
34227
34233
|
/**
|
|
34228
34234
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -35054,6 +35060,9 @@ class ValueList {
|
|
|
35054
35060
|
this.handleFilter = handleFilter.bind(this);
|
|
35055
35061
|
this.getItemData = getItemData.bind(this);
|
|
35056
35062
|
this.keyDownHandler = (event) => {
|
|
35063
|
+
if (event.defaultPrevented) {
|
|
35064
|
+
return;
|
|
35065
|
+
}
|
|
35057
35066
|
const { handle, item } = getHandleAndItemElement(event);
|
|
35058
35067
|
if (handle && !item.handleActivated && event.key === " ") {
|
|
35059
35068
|
this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
|