@esri/calcite-components 1.0.0-next.556 → 1.0.0-next.559
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-1886398f.entry.js → p-03d542f4.entry.js} +2 -2
- package/dist/calcite/{p-7766ddc2.system.js → p-04a25a81.system.js} +1 -1
- package/dist/calcite/p-05829d04.entry.js +6 -0
- package/dist/calcite/p-06a38846.entry.js +6 -0
- package/dist/calcite/{p-f0ff8d83.entry.js → p-06f11c4e.entry.js} +2 -2
- package/dist/calcite/p-0a77887c.entry.js +6 -0
- package/dist/calcite/p-0b653287.system.entry.js +6 -0
- package/dist/calcite/{p-f79661f0.entry.js → p-0bf072c3.entry.js} +2 -2
- package/dist/calcite/{p-fc12f99e.js → p-0c2bf0c6.js} +1 -1
- package/dist/calcite/p-0fbd8711.system.entry.js +6 -0
- package/dist/calcite/p-10e9b11f.entry.js +6 -0
- package/dist/calcite/p-115bd6db.entry.js +6 -0
- package/dist/calcite/{p-0ad78e61.js → p-118cd67c.js} +1 -1
- package/dist/calcite/{p-5e728d5f.js → p-13c530e6.js} +1 -1
- package/dist/calcite/{p-33a3bf9f.system.js → p-142a543c.system.js} +1 -1
- package/dist/calcite/p-1639c4dc.js +7 -0
- package/dist/calcite/p-171606f0.entry.js +6 -0
- package/dist/calcite/{p-326d61e7.system.js → p-191b4beb.system.js} +1 -1
- package/dist/calcite/p-1b8baf94.entry.js +6 -0
- package/dist/calcite/p-1d2b54b0.system.entry.js +6 -0
- package/dist/calcite/p-1e145df2.entry.js +6 -0
- package/dist/calcite/p-22214647.entry.js +6 -0
- package/dist/calcite/p-2554ce25.entry.js +6 -0
- package/dist/calcite/{p-0e9102ac.system.entry.js → p-2563538f.system.entry.js} +2 -2
- package/dist/calcite/p-25b4492c.entry.js +6 -0
- package/dist/calcite/{p-d7ac85d7.system.entry.js → p-269923ad.system.entry.js} +2 -2
- package/dist/calcite/{p-997a3daa.js → p-27e6a383.js} +1 -1
- package/dist/calcite/p-2a106ec3.system.entry.js +6 -0
- package/dist/calcite/p-2b4c8a3a.entry.js +6 -0
- package/dist/calcite/p-2d2f20d2.entry.js +6 -0
- package/dist/calcite/p-2d9c0cc9.entry.js +6 -0
- package/dist/calcite/p-2dfa0397.entry.js +6 -0
- package/dist/calcite/p-3217706d.entry.js +6 -0
- package/dist/calcite/{p-d2102cf0.system.js → p-3609cc3a.system.js} +1 -1
- package/dist/calcite/p-37498ec9.system.entry.js +6 -0
- package/dist/calcite/{p-eb1fa8a7.system.entry.js → p-37b5ab4e.system.entry.js} +2 -2
- package/dist/calcite/p-37b7a067.system.entry.js +6 -0
- package/dist/calcite/p-38a50251.system.entry.js +6 -0
- package/dist/calcite/p-38af76f3.js +6 -0
- package/dist/calcite/{p-3116eb16.system.js → p-3955fb18.system.js} +2 -2
- package/dist/calcite/{p-5002689a.js → p-3d0528a3.js} +1 -1
- package/dist/calcite/p-3d5c483e.system.entry.js +6 -0
- package/dist/calcite/p-3e68d709.entry.js +6 -0
- package/dist/calcite/{p-a20caf86.entry.js → p-403a73c4.entry.js} +2 -2
- package/dist/calcite/{p-50a678e9.system.entry.js → p-40fc130a.system.entry.js} +2 -2
- package/dist/calcite/p-419ee9aa.system.entry.js +6 -0
- package/dist/calcite/p-484be887.entry.js +6 -0
- package/dist/calcite/p-48663efd.system.entry.js +6 -0
- package/dist/calcite/{p-576a68ad.js → p-49c5dd7f.js} +1 -1
- package/dist/calcite/p-49dc0d00.js +6 -0
- package/dist/calcite/{p-7a8dc196.system.entry.js → p-4ba0bd34.entry.js} +3 -3
- package/dist/calcite/p-4c2d2b76.system.entry.js +6 -0
- package/dist/calcite/p-4e65fbf8.entry.js +6 -0
- package/dist/calcite/p-50cc9f99.js +6 -0
- package/dist/calcite/{p-0865b1c4.system.entry.js → p-516e7dac.system.entry.js} +2 -2
- package/dist/calcite/{p-a530e53f.system.js → p-51877626.system.js} +1 -1
- package/dist/calcite/{p-70152b55.system.js → p-520c20d6.system.js} +1 -1
- package/dist/calcite/p-523f75df.system.entry.js +6 -0
- package/dist/calcite/{p-3e4fc663.js → p-52605b46.js} +2 -2
- package/dist/calcite/{p-8b5a056d.system.js → p-55b90362.system.js} +1 -1
- package/dist/calcite/p-58be6f09.system.entry.js +6 -0
- package/dist/calcite/{p-f540b806.system.js → p-5a6d196f.system.js} +2 -2
- package/dist/calcite/p-5c11a9c4.entry.js +6 -0
- package/dist/calcite/p-5ed5f66a.system.entry.js +6 -0
- package/dist/calcite/{p-e0f120b1.js → p-5eee7770.js} +1 -1
- package/dist/calcite/p-61380cbc.entry.js +6 -0
- package/dist/calcite/p-61b21778.system.entry.js +6 -0
- package/dist/calcite/p-6678cd35.entry.js +6 -0
- package/dist/calcite/p-6ab5f989.system.js +6 -0
- package/dist/calcite/{p-1a4731f1.system.entry.js → p-6b1bd5b3.system.entry.js} +2 -2
- package/dist/calcite/p-6bf681da.entry.js +6 -0
- package/dist/calcite/p-6bfd1f64.entry.js +6 -0
- package/dist/calcite/p-6c51c2e7.system.entry.js +6 -0
- package/dist/calcite/{p-48f5a675.system.js → p-6c741275.system.js} +1 -1
- package/dist/calcite/p-6fd5f607.entry.js +6 -0
- package/dist/calcite/p-710ada7a.system.entry.js +6 -0
- package/dist/calcite/p-7140d803.system.entry.js +6 -0
- package/dist/calcite/p-716c7b36.system.js +6 -0
- package/dist/calcite/p-71fe5470.system.entry.js +6 -0
- package/dist/calcite/{p-51e58ac3.system.js → p-72453cd1.system.js} +1 -1
- package/dist/calcite/p-735c1a05.entry.js +6 -0
- package/dist/calcite/{p-05fe3ea5.js → p-74a46c20.js} +2 -2
- package/dist/calcite/p-74c13238.system.entry.js +6 -0
- package/dist/calcite/p-758c8bf6.entry.js +6 -0
- package/dist/calcite/p-76baf89b.system.js +7 -0
- package/dist/calcite/{p-79359620.system.js → p-770702d4.system.js} +1 -1
- package/dist/calcite/{p-a86406ed.system.js → p-79dba19a.system.js} +2 -2
- package/dist/calcite/{p-cef9685e.system.js → p-7ab8536b.system.js} +2 -2
- package/dist/calcite/p-7ae271dc.system.entry.js +6 -0
- package/dist/calcite/p-7d20e5b1.entry.js +6 -0
- package/dist/calcite/{p-4e299082.system.js → p-82884d34.system.js} +2 -2
- package/dist/calcite/p-83202085.system.entry.js +6 -0
- package/dist/calcite/p-83e12e96.system.entry.js +6 -0
- package/dist/calcite/p-83fadd53.system.entry.js +6 -0
- package/dist/calcite/p-84f0cd63.system.entry.js +6 -0
- package/dist/calcite/p-866a708f.entry.js +6 -0
- package/dist/calcite/p-8677bedd.system.entry.js +6 -0
- package/dist/calcite/p-86c15989.system.entry.js +6 -0
- package/dist/calcite/{p-aacb2155.js → p-882514e4.js} +2 -2
- package/dist/calcite/{p-c5166dab.system.entry.js → p-88f6ce9a.system.entry.js} +2 -2
- package/dist/calcite/p-89f3b362.entry.js +6 -0
- package/dist/calcite/p-8a732bb1.entry.js +6 -0
- package/dist/calcite/p-8f86dd6a.system.entry.js +6 -0
- package/dist/calcite/p-90aaf7e9.system.js +6 -0
- package/dist/calcite/p-921928b3.system.entry.js +6 -0
- package/dist/calcite/{p-a683a9bb.js → p-943ab787.js} +2 -2
- package/dist/calcite/{p-7369776f.js → p-947f8b63.js} +2 -2
- package/dist/calcite/p-958994f3.entry.js +6 -0
- package/dist/calcite/p-9677f628.entry.js +6 -0
- package/dist/calcite/p-985f49f2.entry.js +6 -0
- package/dist/calcite/{p-bbaad92f.system.js → p-9e0a3d06.system.js} +2 -2
- package/dist/calcite/p-9e740a59.entry.js +6 -0
- package/dist/calcite/{p-19248611.js → p-9f20d202.js} +1 -1
- package/dist/calcite/{p-0a755cdf.system.js → p-9ffa7d9c.system.js} +1 -1
- package/dist/calcite/p-a1c4a6ad.entry.js +6 -0
- package/dist/calcite/p-a2ef8419.entry.js +6 -0
- package/dist/calcite/{p-8afb9e1c.system.js → p-a3a7e041.system.js} +1 -1
- package/dist/calcite/p-a66190e2.entry.js +6 -0
- package/dist/calcite/{p-d579af0f.system.js → p-a6ca43e9.system.js} +2 -2
- package/dist/calcite/p-a9d79c6d.system.entry.js +6 -0
- package/dist/calcite/p-ab146ba9.system.js +6 -0
- package/dist/calcite/{p-dd735a43.js → p-ab9c30fe.js} +1 -1
- package/dist/calcite/p-abf3ff6a.entry.js +6 -0
- package/dist/calcite/{p-5d6bb522.system.js → p-adb45637.system.js} +2 -2
- package/dist/calcite/{p-6daf675b.entry.js → p-aff938dd.entry.js} +2 -2
- package/dist/calcite/{p-da9458eb.js → p-b0992691.js} +1 -1
- package/dist/calcite/p-b2367c17.system.entry.js +6 -0
- package/dist/calcite/p-b2e27974.entry.js +6 -0
- package/dist/calcite/p-b3361861.system.entry.js +6 -0
- package/dist/calcite/p-b3d0be1e.system.entry.js +6 -0
- package/dist/calcite/p-b3fedb93.system.entry.js +6 -0
- package/dist/calcite/p-b5a79a12.system.entry.js +6 -0
- package/dist/calcite/{p-b5103bd6.system.js → p-b8bab335.system.js} +2 -2
- package/dist/calcite/{p-b19f561c.system.js → p-b8f65b33.system.js} +1 -1
- package/dist/calcite/{p-f6fae0da.entry.js → p-b95252ab.entry.js} +2 -2
- package/dist/calcite/{p-af62631d.js → p-ba40c0b3.js} +1 -1
- package/dist/calcite/{p-19ef2670.entry.js → p-bc479d34.entry.js} +2 -2
- package/dist/calcite/p-bca0cdbb.entry.js +6 -0
- package/dist/calcite/p-bd9d402e.system.js +6 -0
- package/dist/calcite/p-be591017.js +6 -0
- package/dist/calcite/p-be799a6e.system.entry.js +6 -0
- package/dist/calcite/p-c5642352.js +6 -0
- package/dist/calcite/p-c594efbb.js +6 -0
- package/dist/calcite/p-c6b6d7b5.system.entry.js +6 -0
- package/dist/calcite/p-c8076a86.entry.js +6 -0
- package/dist/calcite/{p-eea677b9.js → p-c8483877.js} +1 -1
- package/dist/calcite/p-cf4a4137.system.entry.js +6 -0
- package/dist/calcite/p-cf64cbd8.system.entry.js +6 -0
- package/dist/calcite/p-d238c129.js +6 -0
- package/dist/calcite/p-d60c8771.system.entry.js +6 -0
- package/dist/calcite/{p-a0cad5d7.js → p-d74290a4.js} +1 -1
- package/dist/calcite/p-d81dfb83.system.entry.js +6 -0
- package/dist/calcite/{p-5f4e9358.system.entry.js → p-d8cfce90.system.entry.js} +2 -2
- package/dist/calcite/p-d9f6894b.system.entry.js +6 -0
- package/dist/calcite/p-da55a2a2.system.entry.js +6 -0
- package/dist/calcite/p-db425a98.system.entry.js +6 -0
- package/dist/calcite/{p-fd4f16b4.system.js → p-dc2c9e6a.system.js} +1 -1
- package/dist/calcite/{p-7d0ab794.entry.js → p-dd35b795.entry.js} +2 -2
- package/dist/calcite/p-dd9ade49.system.entry.js +6 -0
- package/dist/calcite/p-e0eff4ba.entry.js +6 -0
- package/dist/calcite/p-e14292e0.entry.js +6 -0
- package/dist/calcite/p-e4c07a30.entry.js +6 -0
- package/dist/calcite/{p-6eced7b5.system.entry.js → p-e54fe96b.system.entry.js} +2 -2
- package/dist/calcite/p-e6774958.system.entry.js +6 -0
- package/dist/calcite/p-eb3679d8.system.entry.js +6 -0
- package/dist/calcite/{p-be74a343.js → p-f48a4d09.js} +2 -2
- package/dist/calcite/{p-bbc42dac.entry.js → p-f627cf89.entry.js} +2 -2
- package/dist/calcite/p-f9a72798.entry.js +6 -0
- package/dist/calcite/p-fb709767.system.entry.js +6 -0
- package/dist/calcite/p-fcac4bbd.entry.js +6 -0
- package/dist/calcite/p-fcbf80fa.entry.js +6 -0
- package/dist/calcite/p-fd46a8ac.system.entry.js +6 -0
- package/dist/calcite/p-fdfb78fe.entry.js +6 -0
- package/dist/calcite/p-fedbc7d8.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-b50957be.js → ExpandToggle-31eb7dee.js} +5 -5
- package/dist/cjs/{Heading-1b066533.js → Heading-8534111e.js} +2 -2
- package/dist/cjs/app-globals-04826f1f.js +50 -0
- package/dist/cjs/{array-5ca2f088.js → array-fa4ffb86.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -7
- 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 +10 -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 +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- 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 +23 -22
- 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 +32 -13
- 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 -11
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -9
- 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 -15
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -6
- 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-c9e8a19a.js → conditionalSlot-7b7b65f3.js} +3 -3
- package/dist/cjs/{debounce-f9c5fb44.js → debounce-5d084634.js} +1 -1
- package/dist/cjs/{dom-70b983a2.js → dom-1a30c464.js} +4 -18
- package/dist/cjs/{filter-328c7b8b.js → filter-4275ac6d.js} +2 -2
- package/dist/cjs/{floating-ui-8a544187.js → floating-ui-f811e8c4.js} +59 -10
- package/dist/cjs/{form-7e91825a.js → form-857dcd62.js} +6 -4
- package/dist/cjs/{guid-bb58e051.js → guid-dd5800b6.js} +1 -1
- package/dist/cjs/{index-fd388681.js → index-8842c1e0.js} +5 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-93b0bea2.js → interactive-960fb2fb.js} +1 -1
- package/dist/cjs/{interfaces-8051a72f.js → interfaces-468230c4.js} +1 -1
- package/dist/cjs/{key-a8b30c50.js → key-5b9005ff.js} +1 -1
- package/dist/cjs/{label-4c18233e.js → label-b60354cb.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-b7df0b1f.js → locale-6cf57424.js} +2 -2
- package/dist/cjs/{math-a3254e0c.js → math-3788d662.js} +1 -1
- package/dist/cjs/{observers-ec5cb025.js → observers-27f5884d.js} +1 -1
- package/dist/cjs/{openCloseComponent-03671cb7.js → openCloseComponent-e60e1062.js} +1 -1
- package/dist/cjs/{resources-efcf402f.js → resources-15d4f550.js} +1 -1
- package/dist/cjs/{resources-5c096e0b.js → resources-b0a2583b.js} +3 -3
- package/dist/cjs/resources-bf3fa84c.js +24 -0
- package/dist/cjs/{resources-de0d48aa.js → resources-ca171f68.js} +1 -1
- package/dist/cjs/{resources-0fa70b4c.js → resources-e1b7244d.js} +5 -5
- package/dist/cjs/{sortable.esm-00e9d640.js → sortable.esm-bb913d5c.js} +1 -1
- package/dist/cjs/{utils-e1a09f13.js → utils-f97c06fe.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -2
- 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 +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +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 +3 -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 +4 -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 +2 -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 +2 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +2 -2
- 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 +38 -38
- 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 +16 -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.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 +13 -2
- 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 +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +9 -3
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +4 -4
- package/dist/components/calcite-accordion-item.js +4 -3
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- 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 +2 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +30 -12
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +18 -15
- package/dist/components/calcite-input-date-picker.js +18 -9
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +8 -5
- package/dist/components/calcite-input-text.js +8 -5
- package/dist/components/calcite-input-time-picker.js +13 -6
- 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 +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -4
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +4 -3
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +4 -3
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +4 -4
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +8 -8
- package/dist/components/calcite-shell-center-row.js +5 -5
- package/dist/components/calcite-shell-panel.js +8 -8
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +16 -16
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +16 -12
- package/dist/components/calcite-stepper-item.js +10 -10
- package/dist/components/calcite-stepper.js +11 -11
- 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 +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +9 -4
- package/dist/components/calcite-tree-item.js +4 -3
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +6 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/date-picker-day.js +6 -5
- package/dist/components/date-picker-month-header.js +6 -9
- package/dist/components/date-picker-month.js +5 -2
- package/dist/components/date-picker.js +2 -2
- 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 +30 -14
- 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 +6 -4
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +4 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +5 -92
- package/dist/components/index.js +45 -94
- package/dist/components/input.js +8 -5
- 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 +4 -3
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +2 -2
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +10 -5
- package/dist/components/progress.js +2 -2
- 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 +4 -5
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +9 -10
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +14 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/custom-elements/index.js +328 -141
- package/dist/esm/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +5 -5
- package/dist/esm/{Heading-4c268816.js → Heading-fa8cfb41.js} +2 -2
- package/dist/esm/app-globals-811a0a9d.js +48 -0
- package/dist/esm/{array-68e32723.js → array-b441def2.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -6
- 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 +10 -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 +9 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- 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 +23 -22
- 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 +32 -13
- 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 -11
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +8 -7
- package/dist/esm/calcite-rating.entry.js +10 -9
- 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 -15
- package/dist/esm/calcite-tab_4.entry.js +7 -6
- 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-40a54fd0.js → conditionalSlot-c65185f0.js} +3 -3
- package/dist/esm/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm/{dom-1f4b2c5c.js → dom-1c1f36c2.js} +4 -16
- package/dist/esm/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm/{floating-ui-0c89f0e1.js → floating-ui-7e6438e5.js} +59 -10
- package/dist/esm/{form-def7282e.js → form-65542bdd.js} +6 -4
- package/dist/esm/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm/{index-5a5db037.js → index-d4e46725.js} +5 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm/{resources-10717072.js → resources-0693d83b.js} +5 -5
- package/dist/esm/{resources-a67dcc05.js → resources-1a9e7ece.js} +3 -3
- package/dist/esm/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm/resources-8ed5d9e4.js +19 -0
- package/dist/esm/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +2 -2
- package/dist/esm-es5/Heading-fa8cfb41.js +6 -0
- package/dist/esm-es5/app-globals-811a0a9d.js +6 -0
- package/dist/esm-es5/{array-68e32723.js → array-b441def2.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-40a54fd0.js → conditionalSlot-c65185f0.js} +2 -2
- package/dist/esm-es5/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm-es5/dom-1c1f36c2.js +6 -0
- package/dist/esm-es5/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm-es5/floating-ui-7e6438e5.js +6 -0
- package/dist/esm-es5/form-65542bdd.js +6 -0
- package/dist/esm-es5/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm-es5/index-d4e46725.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm-es5/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm-es5/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm-es5/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm-es5/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm-es5/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm-es5/{resources-10717072.js → resources-0693d83b.js} +2 -2
- package/dist/esm-es5/{resources-a67dcc05.js → resources-1a9e7ece.js} +2 -2
- package/dist/esm-es5/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm-es5/resources-8ed5d9e4.js +6 -0
- package/dist/esm-es5/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm-es5/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/extras/docs-json.json +125 -125
- 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 +2 -2
- 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 +184 -184
- 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 +341 -328
- package/package.json +12 -11
- package/readme.md +2 -2
- package/dist/calcite/p-09b4c5d6.system.entry.js +0 -6
- package/dist/calcite/p-0d82783f.system.entry.js +0 -6
- package/dist/calcite/p-1238a41c.js +0 -6
- package/dist/calcite/p-16e5f591.entry.js +0 -6
- package/dist/calcite/p-18fb7ebc.system.entry.js +0 -6
- package/dist/calcite/p-1b0db26c.entry.js +0 -6
- package/dist/calcite/p-1b916f76.system.entry.js +0 -6
- package/dist/calcite/p-1c2e0daa.system.entry.js +0 -6
- package/dist/calcite/p-1d699c3b.system.entry.js +0 -6
- package/dist/calcite/p-1e259c2b.system.entry.js +0 -6
- package/dist/calcite/p-237f6388.entry.js +0 -6
- package/dist/calcite/p-24b189a7.entry.js +0 -6
- package/dist/calcite/p-272a7973.system.entry.js +0 -6
- package/dist/calcite/p-27f691c6.entry.js +0 -6
- package/dist/calcite/p-28aec55e.entry.js +0 -6
- package/dist/calcite/p-2a13ccd7.system.entry.js +0 -6
- package/dist/calcite/p-2a7bd887.entry.js +0 -6
- package/dist/calcite/p-2e449f8b.js +0 -6
- package/dist/calcite/p-2f28e6c6.entry.js +0 -6
- package/dist/calcite/p-318d4e47.system.entry.js +0 -6
- package/dist/calcite/p-31b57443.system.entry.js +0 -6
- package/dist/calcite/p-337de307.system.entry.js +0 -6
- package/dist/calcite/p-35736b65.entry.js +0 -6
- package/dist/calcite/p-374a14fa.entry.js +0 -6
- package/dist/calcite/p-3cd92e8b.js +0 -7
- package/dist/calcite/p-3d1a3386.system.entry.js +0 -6
- package/dist/calcite/p-41f603c6.entry.js +0 -6
- package/dist/calcite/p-443e7cd5.js +0 -6
- package/dist/calcite/p-452dc9cd.entry.js +0 -6
- package/dist/calcite/p-499b4d7f.system.entry.js +0 -6
- package/dist/calcite/p-4b1acc25.entry.js +0 -6
- package/dist/calcite/p-4c59c464.system.entry.js +0 -6
- package/dist/calcite/p-4f381b22.entry.js +0 -6
- package/dist/calcite/p-4fef9785.system.entry.js +0 -6
- package/dist/calcite/p-51686f87.entry.js +0 -6
- package/dist/calcite/p-5277787a.entry.js +0 -6
- package/dist/calcite/p-54f1b900.system.entry.js +0 -6
- package/dist/calcite/p-558eb439.entry.js +0 -6
- package/dist/calcite/p-573b7727.entry.js +0 -6
- package/dist/calcite/p-593dd378.system.entry.js +0 -6
- package/dist/calcite/p-60e29c28.entry.js +0 -6
- package/dist/calcite/p-6124422d.entry.js +0 -6
- package/dist/calcite/p-614577b3.entry.js +0 -6
- package/dist/calcite/p-63e68260.entry.js +0 -6
- package/dist/calcite/p-66b8488f.system.js +0 -7
- package/dist/calcite/p-709f45ca.system.entry.js +0 -6
- package/dist/calcite/p-7560b5cb.entry.js +0 -6
- package/dist/calcite/p-78773123.entry.js +0 -6
- package/dist/calcite/p-787df3d9.entry.js +0 -6
- package/dist/calcite/p-807dbeff.entry.js +0 -6
- package/dist/calcite/p-85f55348.system.entry.js +0 -6
- package/dist/calcite/p-8726c076.system.entry.js +0 -6
- package/dist/calcite/p-899506b7.entry.js +0 -6
- package/dist/calcite/p-8b09e41f.system.entry.js +0 -6
- package/dist/calcite/p-8c074397.entry.js +0 -6
- package/dist/calcite/p-8cca323e.entry.js +0 -6
- package/dist/calcite/p-8dd41a41.system.entry.js +0 -6
- package/dist/calcite/p-8e4bc86a.system.entry.js +0 -6
- package/dist/calcite/p-8f9cd7c2.system.entry.js +0 -6
- package/dist/calcite/p-923cc8f7.entry.js +0 -6
- package/dist/calcite/p-9404368d.entry.js +0 -6
- package/dist/calcite/p-993dc453.js +0 -6
- package/dist/calcite/p-9b3f7af5.system.js +0 -6
- package/dist/calcite/p-9ec5ed46.entry.js +0 -6
- package/dist/calcite/p-9ff0ebb3.system.entry.js +0 -6
- package/dist/calcite/p-a27c7171.entry.js +0 -6
- package/dist/calcite/p-a2e892e5.entry.js +0 -6
- package/dist/calcite/p-a5ef90f9.system.js +0 -6
- package/dist/calcite/p-a6ad3821.entry.js +0 -6
- package/dist/calcite/p-b08b2ad9.system.entry.js +0 -6
- package/dist/calcite/p-b0a6c09b.system.entry.js +0 -6
- package/dist/calcite/p-b1a0f06b.entry.js +0 -6
- package/dist/calcite/p-b25dd020.system.entry.js +0 -6
- package/dist/calcite/p-b8fb2780.entry.js +0 -6
- package/dist/calcite/p-ba9601c8.system.entry.js +0 -6
- package/dist/calcite/p-bc2dc6af.system.entry.js +0 -6
- package/dist/calcite/p-bebb3777.system.entry.js +0 -6
- package/dist/calcite/p-bfb4cbdc.entry.js +0 -6
- package/dist/calcite/p-c26f3841.system.entry.js +0 -6
- package/dist/calcite/p-c8a07e77.system.entry.js +0 -6
- package/dist/calcite/p-cb4235cd.system.entry.js +0 -6
- package/dist/calcite/p-cd5c0d53.system.entry.js +0 -6
- package/dist/calcite/p-cd76ddd3.system.entry.js +0 -6
- package/dist/calcite/p-cdaa1968.entry.js +0 -6
- package/dist/calcite/p-cdd2f5f3.system.entry.js +0 -6
- package/dist/calcite/p-d3126106.entry.js +0 -6
- package/dist/calcite/p-d3bd8e42.entry.js +0 -6
- package/dist/calcite/p-d64ad5b8.entry.js +0 -6
- package/dist/calcite/p-da0d407c.entry.js +0 -6
- package/dist/calcite/p-da190323.system.entry.js +0 -6
- package/dist/calcite/p-da602e55.entry.js +0 -6
- package/dist/calcite/p-dafa6b14.system.entry.js +0 -6
- package/dist/calcite/p-db716c4d.entry.js +0 -6
- package/dist/calcite/p-dce7bd73.entry.js +0 -6
- package/dist/calcite/p-dd371621.system.js +0 -6
- package/dist/calcite/p-de18336c.system.entry.js +0 -6
- package/dist/calcite/p-e17fe6f2.system.entry.js +0 -6
- package/dist/calcite/p-e31a759f.system.entry.js +0 -6
- package/dist/calcite/p-e35ac74b.js +0 -6
- package/dist/calcite/p-e37d3fd0.system.entry.js +0 -6
- package/dist/calcite/p-e629fa5b.system.entry.js +0 -6
- package/dist/calcite/p-e89b1604.entry.js +0 -6
- package/dist/calcite/p-ee43e34c.system.entry.js +0 -6
- package/dist/calcite/p-eedbbe06.entry.js +0 -6
- package/dist/calcite/p-eef36edb.entry.js +0 -6
- package/dist/calcite/p-f285278c.system.entry.js +0 -6
- package/dist/calcite/p-f37111f3.entry.js +0 -6
- package/dist/calcite/p-f5d88620.system.entry.js +0 -6
- package/dist/calcite/p-f8995cf2.system.entry.js +0 -6
- package/dist/esm-es5/Heading-4c268816.js +0 -6
- package/dist/esm-es5/dom-1f4b2c5c.js +0 -6
- package/dist/esm-es5/floating-ui-0c89f0e1.js +0 -6
- package/dist/esm-es5/form-def7282e.js +0 -6
- package/dist/esm-es5/index-5a5db037.js +0 -7
|
@@ -1,11 +1,64 @@
|
|
|
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.559
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
8
8
|
|
|
9
|
+
const autoTheme = "calcite-theme-auto";
|
|
10
|
+
const darkTheme = "calcite-theme-dark";
|
|
11
|
+
const lightTheme = "calcite-theme-light";
|
|
12
|
+
const CSS_UTILITY = {
|
|
13
|
+
autoTheme,
|
|
14
|
+
darkTheme,
|
|
15
|
+
lightTheme,
|
|
16
|
+
rtl: "calcite--rtl"
|
|
17
|
+
};
|
|
18
|
+
const TEXT$u = {
|
|
19
|
+
loading: "Loading"
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Emits when the theme is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
24
|
+
*/
|
|
25
|
+
function initThemeChangeEvent() {
|
|
26
|
+
const { classList } = document.body;
|
|
27
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
28
|
+
const getTheme = () => classList.contains(darkTheme) || (classList.contains(autoTheme) && prefersDark) ? "dark" : "light";
|
|
29
|
+
const emitThemeChange = (theme) => document.body.dispatchEvent(new CustomEvent("calciteThemeChange", { bubbles: true, detail: { theme } }));
|
|
30
|
+
const themeChangeHandler = (newTheme) => {
|
|
31
|
+
currentTheme !== newTheme && emitThemeChange(newTheme);
|
|
32
|
+
currentTheme = newTheme;
|
|
33
|
+
};
|
|
34
|
+
let currentTheme = getTheme();
|
|
35
|
+
// emits event on page load
|
|
36
|
+
emitThemeChange(currentTheme);
|
|
37
|
+
// emits event when changing OS theme preferences
|
|
38
|
+
window
|
|
39
|
+
.matchMedia("(prefers-color-scheme: dark)")
|
|
40
|
+
.addEventListener("change", (event) => themeChangeHandler(event.matches ? "dark" : "light"));
|
|
41
|
+
// emits event when toggling between theme classes on <body>
|
|
42
|
+
new MutationObserver(() => themeChangeHandler(getTheme())).observe(document.body, {
|
|
43
|
+
attributes: true,
|
|
44
|
+
attributeFilter: ["class"]
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
50
|
+
*
|
|
51
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
52
|
+
*/
|
|
53
|
+
function appGlobalScript () {
|
|
54
|
+
if (isBrowser()) {
|
|
55
|
+
initThemeChangeEvent();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
59
|
+
|
|
60
|
+
const globalScripts = appGlobalScript;
|
|
61
|
+
|
|
9
62
|
const accordionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
|
|
10
63
|
|
|
11
64
|
const Accordion = class extends HTMLElement$1 {
|
|
@@ -153,19 +206,6 @@ const Accordion = class extends HTMLElement$1 {
|
|
|
153
206
|
static get style() { return accordionCss; }
|
|
154
207
|
};
|
|
155
208
|
|
|
156
|
-
const autoTheme = "calcite-theme-auto";
|
|
157
|
-
const darkTheme = "calcite-theme-dark";
|
|
158
|
-
const lightTheme = "calcite-theme-light";
|
|
159
|
-
const CSS_UTILITY = {
|
|
160
|
-
autoTheme,
|
|
161
|
-
darkTheme,
|
|
162
|
-
lightTheme,
|
|
163
|
-
rtl: "calcite--rtl"
|
|
164
|
-
};
|
|
165
|
-
const TEXT$u = {
|
|
166
|
-
loading: "Loading"
|
|
167
|
-
};
|
|
168
|
-
|
|
169
209
|
function gen(counts) {
|
|
170
210
|
return counts
|
|
171
211
|
.map((count) => {
|
|
@@ -2434,7 +2474,12 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2434
2474
|
* When true, the component is open.
|
|
2435
2475
|
*/
|
|
2436
2476
|
this.open = false;
|
|
2437
|
-
/**
|
|
2477
|
+
/**
|
|
2478
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
2479
|
+
*
|
|
2480
|
+
* 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".
|
|
2481
|
+
*
|
|
2482
|
+
*/
|
|
2438
2483
|
this.overlayPositioning = "absolute";
|
|
2439
2484
|
/**
|
|
2440
2485
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -2582,6 +2627,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2582
2627
|
}
|
|
2583
2628
|
if (key === "Escape") {
|
|
2584
2629
|
this.toggleOpen(false);
|
|
2630
|
+
event.preventDefault();
|
|
2585
2631
|
return;
|
|
2586
2632
|
}
|
|
2587
2633
|
if (!actionElements.length) {
|
|
@@ -3808,13 +3854,15 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
3808
3854
|
* Helper to submit a form.
|
|
3809
3855
|
*
|
|
3810
3856
|
* @param component
|
|
3857
|
+
* @returns true if its associated form was submitted, false otherwise.
|
|
3811
3858
|
*/
|
|
3812
3859
|
function submitForm(component) {
|
|
3813
3860
|
const { formEl } = component;
|
|
3814
3861
|
if (!formEl) {
|
|
3815
|
-
return;
|
|
3862
|
+
return false;
|
|
3816
3863
|
}
|
|
3817
3864
|
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
|
3865
|
+
return true;
|
|
3818
3866
|
}
|
|
3819
3867
|
/**
|
|
3820
3868
|
* Helper to reset a form.
|
|
@@ -6999,7 +7047,6 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
6999
7047
|
this.handleSavedColorKeyDown = (event) => {
|
|
7000
7048
|
if (isActivationKey(event.key)) {
|
|
7001
7049
|
event.preventDefault();
|
|
7002
|
-
event.stopPropagation();
|
|
7003
7050
|
this.handleSavedColorSelect(event);
|
|
7004
7051
|
}
|
|
7005
7052
|
};
|
|
@@ -8864,11 +8911,59 @@ function getParentNode(node) {
|
|
|
8864
8911
|
}
|
|
8865
8912
|
|
|
8866
8913
|
function getTrueOffsetParent(element) {
|
|
8867
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
8914
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
8868
8915
|
return null;
|
|
8869
8916
|
}
|
|
8870
8917
|
|
|
8871
|
-
return element
|
|
8918
|
+
return composedOffsetParent(element);
|
|
8919
|
+
}
|
|
8920
|
+
/**
|
|
8921
|
+
* Polyfills the old offsetParent behavior from before the spec was changed:
|
|
8922
|
+
* https://github.com/w3c/csswg-drafts/issues/159
|
|
8923
|
+
*/
|
|
8924
|
+
|
|
8925
|
+
|
|
8926
|
+
function composedOffsetParent(element) {
|
|
8927
|
+
let {
|
|
8928
|
+
offsetParent
|
|
8929
|
+
} = element;
|
|
8930
|
+
let ancestor = element;
|
|
8931
|
+
let foundInsideSlot = false;
|
|
8932
|
+
|
|
8933
|
+
while (ancestor && ancestor !== offsetParent) {
|
|
8934
|
+
const {
|
|
8935
|
+
assignedSlot
|
|
8936
|
+
} = ancestor;
|
|
8937
|
+
|
|
8938
|
+
if (assignedSlot) {
|
|
8939
|
+
let newOffsetParent = assignedSlot.offsetParent;
|
|
8940
|
+
|
|
8941
|
+
if (getComputedStyle$1(assignedSlot).display === 'contents') {
|
|
8942
|
+
const hadStyleAttribute = assignedSlot.hasAttribute('style');
|
|
8943
|
+
const oldDisplay = assignedSlot.style.display;
|
|
8944
|
+
assignedSlot.style.display = getComputedStyle$1(ancestor).display;
|
|
8945
|
+
newOffsetParent = assignedSlot.offsetParent;
|
|
8946
|
+
assignedSlot.style.display = oldDisplay;
|
|
8947
|
+
|
|
8948
|
+
if (!hadStyleAttribute) {
|
|
8949
|
+
assignedSlot.removeAttribute('style');
|
|
8950
|
+
}
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
ancestor = assignedSlot;
|
|
8954
|
+
|
|
8955
|
+
if (offsetParent !== newOffsetParent) {
|
|
8956
|
+
offsetParent = newOffsetParent;
|
|
8957
|
+
foundInsideSlot = true;
|
|
8958
|
+
}
|
|
8959
|
+
} else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {
|
|
8960
|
+
break;
|
|
8961
|
+
}
|
|
8962
|
+
|
|
8963
|
+
ancestor = isShadowRoot(ancestor) && ancestor.host || ancestor.parentNode;
|
|
8964
|
+
}
|
|
8965
|
+
|
|
8966
|
+
return offsetParent;
|
|
8872
8967
|
}
|
|
8873
8968
|
|
|
8874
8969
|
function getContainingBlock(element) {
|
|
@@ -8882,7 +8977,8 @@ function getContainingBlock(element) {
|
|
|
8882
8977
|
if (isContainingBlock(currentNode)) {
|
|
8883
8978
|
return currentNode;
|
|
8884
8979
|
} else {
|
|
8885
|
-
|
|
8980
|
+
const parent = currentNode.parentNode;
|
|
8981
|
+
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
8886
8982
|
}
|
|
8887
8983
|
}
|
|
8888
8984
|
|
|
@@ -8895,11 +8991,11 @@ function getOffsetParent(element) {
|
|
|
8895
8991
|
const window = getWindow(element);
|
|
8896
8992
|
let offsetParent = getTrueOffsetParent(element);
|
|
8897
8993
|
|
|
8898
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
8994
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
8899
8995
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
8900
8996
|
}
|
|
8901
8997
|
|
|
8902
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
8998
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
8903
8999
|
return window;
|
|
8904
9000
|
}
|
|
8905
9001
|
|
|
@@ -9501,7 +9597,12 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9501
9597
|
this.disabled = false;
|
|
9502
9598
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
9503
9599
|
this.maxItems = 0;
|
|
9504
|
-
/**
|
|
9600
|
+
/**
|
|
9601
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
9602
|
+
*
|
|
9603
|
+
* 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".
|
|
9604
|
+
*
|
|
9605
|
+
*/
|
|
9505
9606
|
this.overlayPositioning = "absolute";
|
|
9506
9607
|
/**
|
|
9507
9608
|
* When true, makes the component required for form-submission.
|
|
@@ -9583,19 +9684,22 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9583
9684
|
break;
|
|
9584
9685
|
case "ArrowLeft":
|
|
9585
9686
|
this.previousChip();
|
|
9687
|
+
event.preventDefault();
|
|
9586
9688
|
break;
|
|
9587
9689
|
case "ArrowRight":
|
|
9588
9690
|
this.nextChip();
|
|
9691
|
+
event.preventDefault();
|
|
9589
9692
|
break;
|
|
9590
9693
|
case "ArrowUp":
|
|
9694
|
+
event.preventDefault();
|
|
9591
9695
|
this.shiftActiveItemIndex(-1);
|
|
9592
9696
|
if (!this.comboboxInViewport()) {
|
|
9593
9697
|
this.el.scrollIntoView();
|
|
9594
9698
|
}
|
|
9595
9699
|
break;
|
|
9596
9700
|
case "ArrowDown":
|
|
9701
|
+
event.preventDefault();
|
|
9597
9702
|
if (!this.open) {
|
|
9598
|
-
event.preventDefault();
|
|
9599
9703
|
this.open = true;
|
|
9600
9704
|
}
|
|
9601
9705
|
this.shiftActiveItemIndex(1);
|
|
@@ -9611,9 +9715,10 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9611
9715
|
}
|
|
9612
9716
|
break;
|
|
9613
9717
|
case "Home":
|
|
9614
|
-
if (this.open) {
|
|
9615
|
-
|
|
9718
|
+
if (!this.open) {
|
|
9719
|
+
return;
|
|
9616
9720
|
}
|
|
9721
|
+
event.preventDefault();
|
|
9617
9722
|
this.updateActiveItemIndex(0);
|
|
9618
9723
|
this.scrollToActiveItem();
|
|
9619
9724
|
if (!this.comboboxInViewport()) {
|
|
@@ -9621,9 +9726,10 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9621
9726
|
}
|
|
9622
9727
|
break;
|
|
9623
9728
|
case "End":
|
|
9624
|
-
if (this.open) {
|
|
9625
|
-
|
|
9729
|
+
if (!this.open) {
|
|
9730
|
+
return;
|
|
9626
9731
|
}
|
|
9732
|
+
event.preventDefault();
|
|
9627
9733
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
9628
9734
|
this.scrollToActiveItem();
|
|
9629
9735
|
if (!this.comboboxInViewport()) {
|
|
@@ -9632,27 +9738,35 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9632
9738
|
break;
|
|
9633
9739
|
case "Escape":
|
|
9634
9740
|
this.open = false;
|
|
9741
|
+
event.preventDefault();
|
|
9635
9742
|
break;
|
|
9636
9743
|
case "Enter":
|
|
9637
9744
|
if (this.activeItemIndex > -1) {
|
|
9638
9745
|
this.toggleSelection(this.visibleItems[this.activeItemIndex]);
|
|
9746
|
+
event.preventDefault();
|
|
9639
9747
|
}
|
|
9640
9748
|
else if (this.activeChipIndex > -1) {
|
|
9641
9749
|
this.removeActiveChip();
|
|
9750
|
+
event.preventDefault();
|
|
9642
9751
|
}
|
|
9643
9752
|
else if (this.allowCustomValues && this.text) {
|
|
9644
9753
|
this.addCustomChip(this.text, true);
|
|
9754
|
+
event.preventDefault();
|
|
9645
9755
|
}
|
|
9646
9756
|
else if (!event.defaultPrevented) {
|
|
9647
|
-
submitForm(this)
|
|
9757
|
+
if (submitForm(this)) {
|
|
9758
|
+
event.preventDefault();
|
|
9759
|
+
}
|
|
9648
9760
|
}
|
|
9649
9761
|
break;
|
|
9650
9762
|
case "Delete":
|
|
9651
9763
|
case "Backspace":
|
|
9652
9764
|
if (this.activeChipIndex > -1) {
|
|
9765
|
+
event.preventDefault();
|
|
9653
9766
|
this.removeActiveChip();
|
|
9654
9767
|
}
|
|
9655
9768
|
else if (!this.text && this.isMulti()) {
|
|
9769
|
+
event.preventDefault();
|
|
9656
9770
|
this.removeLastChip();
|
|
9657
9771
|
}
|
|
9658
9772
|
break;
|
|
@@ -11396,9 +11510,9 @@ const DatePickerDay = class extends HTMLElement$1 {
|
|
|
11396
11510
|
!this.disabled && this.calciteDaySelect.emit();
|
|
11397
11511
|
};
|
|
11398
11512
|
this.keyDownHandler = (event) => {
|
|
11399
|
-
|
|
11400
|
-
if (isActivationKey(key)) {
|
|
11513
|
+
if (isActivationKey(event.key)) {
|
|
11401
11514
|
!this.disabled && this.calciteDaySelect.emit();
|
|
11515
|
+
event.preventDefault();
|
|
11402
11516
|
}
|
|
11403
11517
|
};
|
|
11404
11518
|
}
|
|
@@ -11447,6 +11561,9 @@ const DatePickerMonth = class extends HTMLElement$1 {
|
|
|
11447
11561
|
//
|
|
11448
11562
|
//--------------------------------------------------------------------------
|
|
11449
11563
|
this.keyDownHandler = (event) => {
|
|
11564
|
+
if (event.defaultPrevented) {
|
|
11565
|
+
return;
|
|
11566
|
+
}
|
|
11450
11567
|
const isRTL = this.el.dir === "rtl";
|
|
11451
11568
|
switch (event.key) {
|
|
11452
11569
|
case "ArrowUp":
|
|
@@ -11778,8 +11895,7 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
|
|
|
11778
11895
|
this.handleArrowClick(event, this.prevMonthDate);
|
|
11779
11896
|
};
|
|
11780
11897
|
this.prevMonthKeydown = (event) => {
|
|
11781
|
-
|
|
11782
|
-
if (isActivationKey(key)) {
|
|
11898
|
+
if (isActivationKey(event.key)) {
|
|
11783
11899
|
this.prevMonthClick(event);
|
|
11784
11900
|
}
|
|
11785
11901
|
};
|
|
@@ -11787,8 +11903,7 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
|
|
|
11787
11903
|
this.handleArrowClick(event, this.nextMonthDate);
|
|
11788
11904
|
};
|
|
11789
11905
|
this.nextMonthKeydown = (event) => {
|
|
11790
|
-
|
|
11791
|
-
if (isActivationKey(key)) {
|
|
11906
|
+
if (isActivationKey(event.key)) {
|
|
11792
11907
|
this.nextMonthClick(event);
|
|
11793
11908
|
}
|
|
11794
11909
|
};
|
|
@@ -11796,8 +11911,7 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
|
|
|
11796
11911
|
* Update active month on clicks of left/right arrows
|
|
11797
11912
|
*/
|
|
11798
11913
|
this.handleArrowClick = (event, date) => {
|
|
11799
|
-
event
|
|
11800
|
-
event.stopPropagation();
|
|
11914
|
+
event.preventDefault();
|
|
11801
11915
|
this.calciteDatePickerSelect.emit(date);
|
|
11802
11916
|
};
|
|
11803
11917
|
}
|
|
@@ -11932,7 +12046,12 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11932
12046
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
11933
12047
|
*/
|
|
11934
12048
|
this.maxItems = 0;
|
|
11935
|
-
/**
|
|
12049
|
+
/**
|
|
12050
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
12051
|
+
*
|
|
12052
|
+
* 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".
|
|
12053
|
+
*
|
|
12054
|
+
*/
|
|
11936
12055
|
this.overlayPositioning = "absolute";
|
|
11937
12056
|
/**
|
|
11938
12057
|
* Determines where the dropdown will be positioned relative to the button.
|
|
@@ -12043,19 +12162,29 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12043
12162
|
if (target !== this.referenceEl) {
|
|
12044
12163
|
return;
|
|
12045
12164
|
}
|
|
12046
|
-
const { key } = event;
|
|
12047
|
-
if (
|
|
12048
|
-
this.closeCalciteDropdown();
|
|
12165
|
+
const { defaultPrevented, key } = event;
|
|
12166
|
+
if (defaultPrevented) {
|
|
12049
12167
|
return;
|
|
12050
12168
|
}
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
case "Enter":
|
|
12054
|
-
this.openCalciteDropdown();
|
|
12055
|
-
break;
|
|
12056
|
-
case "Escape":
|
|
12169
|
+
if (this.open) {
|
|
12170
|
+
if (key === "Escape") {
|
|
12057
12171
|
this.closeCalciteDropdown();
|
|
12058
|
-
|
|
12172
|
+
event.preventDefault();
|
|
12173
|
+
return;
|
|
12174
|
+
}
|
|
12175
|
+
else if (event.shiftKey && key === "Tab") {
|
|
12176
|
+
this.closeCalciteDropdown();
|
|
12177
|
+
event.preventDefault();
|
|
12178
|
+
return;
|
|
12179
|
+
}
|
|
12180
|
+
}
|
|
12181
|
+
if (isActivationKey(key)) {
|
|
12182
|
+
this.openCalciteDropdown();
|
|
12183
|
+
event.preventDefault();
|
|
12184
|
+
}
|
|
12185
|
+
else if (key === "Escape") {
|
|
12186
|
+
this.closeCalciteDropdown();
|
|
12187
|
+
event.preventDefault();
|
|
12059
12188
|
}
|
|
12060
12189
|
};
|
|
12061
12190
|
this.focusOnFirstActiveOrFirstItem = () => {
|
|
@@ -12694,6 +12823,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12694
12823
|
this.keyDownHandler = (event) => {
|
|
12695
12824
|
if (event.key === "Escape") {
|
|
12696
12825
|
this.clear();
|
|
12826
|
+
event.preventDefault();
|
|
12697
12827
|
}
|
|
12698
12828
|
if (event.key === "Enter") {
|
|
12699
12829
|
event.preventDefault();
|
|
@@ -13129,12 +13259,14 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13129
13259
|
switch (event.key) {
|
|
13130
13260
|
case " ":
|
|
13131
13261
|
this.activated = !this.activated;
|
|
13262
|
+
event.preventDefault();
|
|
13132
13263
|
break;
|
|
13133
13264
|
case "ArrowUp":
|
|
13134
13265
|
case "ArrowDown":
|
|
13135
13266
|
if (!this.activated) {
|
|
13136
13267
|
return;
|
|
13137
13268
|
}
|
|
13269
|
+
event.preventDefault();
|
|
13138
13270
|
const direction = event.key.toLowerCase().replace("arrow", "");
|
|
13139
13271
|
this.calciteHandleNudge.emit({ handle: this.el, direction });
|
|
13140
13272
|
break;
|
|
@@ -13410,20 +13542,23 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13410
13542
|
};
|
|
13411
13543
|
this.escapeKeyHandler = async (event) => {
|
|
13412
13544
|
var _a;
|
|
13413
|
-
if (event.
|
|
13414
|
-
if (event.key === "Tab" && this.shouldShowControls) {
|
|
13415
|
-
if (!event.shiftKey && event.target === this.inputElement) {
|
|
13416
|
-
event.preventDefault();
|
|
13417
|
-
this.cancelEditingButton.setFocus();
|
|
13418
|
-
}
|
|
13419
|
-
if (!!event.shiftKey && event.target === this.cancelEditingButton) {
|
|
13420
|
-
event.preventDefault();
|
|
13421
|
-
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
13422
|
-
}
|
|
13423
|
-
}
|
|
13545
|
+
if (event.defaultPrevented) {
|
|
13424
13546
|
return;
|
|
13425
13547
|
}
|
|
13426
|
-
|
|
13548
|
+
if (event.key === "Escape") {
|
|
13549
|
+
event.preventDefault();
|
|
13550
|
+
this.cancelEditing();
|
|
13551
|
+
}
|
|
13552
|
+
if (event.key === "Tab" && this.shouldShowControls) {
|
|
13553
|
+
if (!event.shiftKey && event.target === this.inputElement) {
|
|
13554
|
+
event.preventDefault();
|
|
13555
|
+
this.cancelEditingButton.setFocus();
|
|
13556
|
+
}
|
|
13557
|
+
if (!!event.shiftKey && event.target === this.cancelEditingButton) {
|
|
13558
|
+
event.preventDefault();
|
|
13559
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
13560
|
+
}
|
|
13561
|
+
}
|
|
13427
13562
|
};
|
|
13428
13563
|
this.cancelEditingHandler = async (event) => {
|
|
13429
13564
|
event.preventDefault();
|
|
@@ -13697,7 +13832,9 @@ const Input = class extends HTMLElement$1 {
|
|
|
13697
13832
|
event.preventDefault();
|
|
13698
13833
|
}
|
|
13699
13834
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
13700
|
-
submitForm(this)
|
|
13835
|
+
if (submitForm(this)) {
|
|
13836
|
+
event.preventDefault();
|
|
13837
|
+
}
|
|
13701
13838
|
}
|
|
13702
13839
|
};
|
|
13703
13840
|
this.clearInputValue = (nativeEvent) => {
|
|
@@ -14241,7 +14378,12 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14241
14378
|
* @internal
|
|
14242
14379
|
*/
|
|
14243
14380
|
this.required = false;
|
|
14244
|
-
/**
|
|
14381
|
+
/**
|
|
14382
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
14383
|
+
*
|
|
14384
|
+
* 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".
|
|
14385
|
+
*
|
|
14386
|
+
*/
|
|
14245
14387
|
this.overlayPositioning = "absolute";
|
|
14246
14388
|
/** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
|
|
14247
14389
|
this.proximitySelectionDisabled = false;
|
|
@@ -14273,13 +14415,17 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14273
14415
|
this.deactivate = () => {
|
|
14274
14416
|
this.open = false;
|
|
14275
14417
|
};
|
|
14276
|
-
this.keyDownHandler = (
|
|
14418
|
+
this.keyDownHandler = (event) => {
|
|
14419
|
+
const { defaultPrevented, key } = event;
|
|
14277
14420
|
if (key === "Enter" && !defaultPrevented) {
|
|
14278
|
-
submitForm(this)
|
|
14421
|
+
if (submitForm(this)) {
|
|
14422
|
+
event.preventDefault();
|
|
14423
|
+
}
|
|
14279
14424
|
}
|
|
14280
|
-
else if (key === "Escape") {
|
|
14425
|
+
else if (key === "Escape" && !defaultPrevented) {
|
|
14281
14426
|
this.active = false;
|
|
14282
14427
|
this.open = false;
|
|
14428
|
+
event.preventDefault();
|
|
14283
14429
|
}
|
|
14284
14430
|
};
|
|
14285
14431
|
this.inputBlur = (event) => {
|
|
@@ -14872,7 +15018,9 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
14872
15018
|
event.preventDefault();
|
|
14873
15019
|
}
|
|
14874
15020
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
14875
|
-
submitForm(this)
|
|
15021
|
+
if (submitForm(this)) {
|
|
15022
|
+
event.preventDefault();
|
|
15023
|
+
}
|
|
14876
15024
|
}
|
|
14877
15025
|
};
|
|
14878
15026
|
this.clearInputValue = (nativeEvent) => {
|
|
@@ -15361,7 +15509,9 @@ const InputText = class extends HTMLElement$1 {
|
|
|
15361
15509
|
event.preventDefault();
|
|
15362
15510
|
}
|
|
15363
15511
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
15364
|
-
submitForm(this)
|
|
15512
|
+
if (submitForm(this)) {
|
|
15513
|
+
event.preventDefault();
|
|
15514
|
+
}
|
|
15365
15515
|
}
|
|
15366
15516
|
};
|
|
15367
15517
|
this.clearInputTextValue = (nativeEvent) => {
|
|
@@ -15830,12 +15980,19 @@ const InputTimePicker = class extends HTMLElement$1 {
|
|
|
15830
15980
|
// Private Methods
|
|
15831
15981
|
//
|
|
15832
15982
|
// --------------------------------------------------------------------------
|
|
15833
|
-
this.keyDownHandler = (
|
|
15834
|
-
|
|
15835
|
-
|
|
15983
|
+
this.keyDownHandler = (event) => {
|
|
15984
|
+
const { defaultPrevented, key } = event;
|
|
15985
|
+
if (defaultPrevented) {
|
|
15986
|
+
return;
|
|
15987
|
+
}
|
|
15988
|
+
if (key === "Enter") {
|
|
15989
|
+
if (submitForm(this)) {
|
|
15990
|
+
event.preventDefault();
|
|
15991
|
+
}
|
|
15836
15992
|
}
|
|
15837
15993
|
if (key === "Escape" && this.active) {
|
|
15838
15994
|
this.active = false;
|
|
15995
|
+
event.preventDefault();
|
|
15839
15996
|
}
|
|
15840
15997
|
};
|
|
15841
15998
|
this.setCalcitePopoverEl = (el) => {
|
|
@@ -16720,8 +16877,9 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16720
16877
|
//
|
|
16721
16878
|
//--------------------------------------------------------------------------
|
|
16722
16879
|
handleEscape(event) {
|
|
16723
|
-
if (this.open && !this.disableEscape && event.key === "Escape") {
|
|
16880
|
+
if (this.open && !this.disableEscape && event.key === "Escape" && !event.defaultPrevented) {
|
|
16724
16881
|
this.close();
|
|
16882
|
+
event.preventDefault();
|
|
16725
16883
|
}
|
|
16726
16884
|
}
|
|
16727
16885
|
//--------------------------------------------------------------------------
|
|
@@ -17452,8 +17610,9 @@ const Panel = class extends HTMLElement$1 {
|
|
|
17452
17610
|
this.backButtonEl = node;
|
|
17453
17611
|
};
|
|
17454
17612
|
this.panelKeyDownHandler = (event) => {
|
|
17455
|
-
if (event.key === "Escape") {
|
|
17613
|
+
if (event.key === "Escape" && !event.defaultPrevented) {
|
|
17456
17614
|
this.close();
|
|
17615
|
+
event.preventDefault();
|
|
17457
17616
|
}
|
|
17458
17617
|
};
|
|
17459
17618
|
this.close = () => {
|
|
@@ -18392,7 +18551,7 @@ class PopoverManager$1 {
|
|
|
18392
18551
|
.forEach((popover) => popover.toggle(false));
|
|
18393
18552
|
};
|
|
18394
18553
|
this.keyHandler = (event) => {
|
|
18395
|
-
if (!isActivationKey(event.key)) {
|
|
18554
|
+
if (event.defaultPrevented || !isActivationKey(event.key)) {
|
|
18396
18555
|
return;
|
|
18397
18556
|
}
|
|
18398
18557
|
this.togglePopovers(event);
|
|
@@ -18488,7 +18647,12 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18488
18647
|
* When true, displays and positions the component.
|
|
18489
18648
|
*/
|
|
18490
18649
|
this.open = false;
|
|
18491
|
-
/**
|
|
18650
|
+
/**
|
|
18651
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
18652
|
+
*
|
|
18653
|
+
* 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".
|
|
18654
|
+
*
|
|
18655
|
+
*/
|
|
18492
18656
|
this.overlayPositioning = "absolute";
|
|
18493
18657
|
/**
|
|
18494
18658
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -18912,6 +19076,7 @@ const RadioButton = class extends HTMLElement$1 {
|
|
|
18912
19076
|
}
|
|
18913
19077
|
if (key === " ") {
|
|
18914
19078
|
this.check();
|
|
19079
|
+
event.preventDefault();
|
|
18915
19080
|
return;
|
|
18916
19081
|
}
|
|
18917
19082
|
let adjustedKey = key;
|
|
@@ -19540,7 +19705,7 @@ const Rating = class extends HTMLElement$1 {
|
|
|
19540
19705
|
return (h("span", { class: { wrapper: true } }, h("label", { class: { star: true, focused, selected, average, hovered, partial }, htmlFor: `${this.guid}-${i}`, onMouseOver: () => {
|
|
19541
19706
|
this.hoverValue = i;
|
|
19542
19707
|
} }, h("calcite-icon", { "aria-hidden": "true", class: "icon", icon: selected || average || this.readOnly ? "star-f" : "star", scale: this.scale }), partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, h("calcite-icon", { icon: "star-f", scale: this.scale }))), h("span", { class: "visually-hidden" }, this.intlStars.replace("${num}", `${i}`))), h("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) =>
|
|
19543
|
-
// click is fired from the
|
|
19708
|
+
// click is fired from the component's label, so we treat this as an internal event
|
|
19544
19709
|
event.stopPropagation(), onFocus: () => this.onFocusChange(i), onKeyDown: this.onKeyboardPressed, ref: (el) => (i === 1 || i === this.value) && (this.inputFocusRef = el), type: "radio", value: i })));
|
|
19545
19710
|
});
|
|
19546
19711
|
}
|
|
@@ -19596,14 +19761,13 @@ const Scrim = class extends HTMLElement$1 {
|
|
|
19596
19761
|
//
|
|
19597
19762
|
// --------------------------------------------------------------------------
|
|
19598
19763
|
/**
|
|
19599
|
-
*
|
|
19764
|
+
* Accessible name when the component is loading.
|
|
19600
19765
|
*
|
|
19601
19766
|
* @default "Loading"
|
|
19602
19767
|
*/
|
|
19603
19768
|
this.intlLoading = TEXT$4.loading;
|
|
19604
19769
|
/**
|
|
19605
|
-
*
|
|
19606
|
-
* Otherwise, will render opaque disabled state.
|
|
19770
|
+
* When true, a busy indicator is displayed.
|
|
19607
19771
|
*/
|
|
19608
19772
|
this.loading = false;
|
|
19609
19773
|
}
|
|
@@ -19649,23 +19813,23 @@ const Select = class extends HTMLElement$1 {
|
|
|
19649
19813
|
//
|
|
19650
19814
|
//--------------------------------------------------------------------------
|
|
19651
19815
|
/**
|
|
19652
|
-
* When true,
|
|
19816
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
19653
19817
|
*/
|
|
19654
19818
|
this.disabled = false;
|
|
19655
19819
|
/**
|
|
19656
|
-
* When true,
|
|
19820
|
+
* When true, the component must have a value on form submission.
|
|
19657
19821
|
*
|
|
19658
19822
|
* @internal
|
|
19659
19823
|
*/
|
|
19660
19824
|
this.required = false;
|
|
19661
19825
|
/**
|
|
19662
|
-
*
|
|
19826
|
+
* Specifies the size of the component.
|
|
19663
19827
|
*/
|
|
19664
19828
|
this.scale = "m";
|
|
19665
|
-
/** The
|
|
19829
|
+
/** The component's "selectedOption" value. */
|
|
19666
19830
|
this.value = null;
|
|
19667
19831
|
/**
|
|
19668
|
-
*
|
|
19832
|
+
* Specifies the width of the component.
|
|
19669
19833
|
*/
|
|
19670
19834
|
this.width = "auto";
|
|
19671
19835
|
this.componentToNativeEl = new Map();
|
|
@@ -19864,7 +20028,7 @@ const Shell = class extends HTMLElement$1 {
|
|
|
19864
20028
|
//
|
|
19865
20029
|
// --------------------------------------------------------------------------
|
|
19866
20030
|
/**
|
|
19867
|
-
* Positions the center content behind any calcite-shell-
|
|
20031
|
+
* Positions the center content behind any `calcite-shell-panel`s.
|
|
19868
20032
|
*/
|
|
19869
20033
|
this.contentBehind = false;
|
|
19870
20034
|
}
|
|
@@ -19945,15 +20109,15 @@ const ShellCenterRow = class extends HTMLElement$1 {
|
|
|
19945
20109
|
//
|
|
19946
20110
|
// --------------------------------------------------------------------------
|
|
19947
20111
|
/**
|
|
19948
|
-
*
|
|
20112
|
+
* When true, the content area displays like a floating panel.
|
|
19949
20113
|
*/
|
|
19950
20114
|
this.detached = false;
|
|
19951
20115
|
/**
|
|
19952
|
-
* Specifies the maximum height of the
|
|
20116
|
+
* Specifies the maximum height of the component.
|
|
19953
20117
|
*/
|
|
19954
20118
|
this.heightScale = "s";
|
|
19955
20119
|
/**
|
|
19956
|
-
*
|
|
20120
|
+
* Specifies the component's position. Will be flipped when the element direction is right-to-left ("rtl").
|
|
19957
20121
|
*/
|
|
19958
20122
|
this.position = "end";
|
|
19959
20123
|
}
|
|
@@ -20018,29 +20182,29 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20018
20182
|
//
|
|
20019
20183
|
// --------------------------------------------------------------------------
|
|
20020
20184
|
/**
|
|
20021
|
-
*
|
|
20185
|
+
* When true, hides the component's content area.
|
|
20022
20186
|
*/
|
|
20023
20187
|
this.collapsed = false;
|
|
20024
20188
|
/**
|
|
20025
|
-
*
|
|
20189
|
+
* When true, the content area displays like a floating panel.
|
|
20026
20190
|
*/
|
|
20027
20191
|
this.detached = false;
|
|
20028
20192
|
/**
|
|
20029
|
-
*
|
|
20193
|
+
* When "detached", specifies the maximum height of the component.
|
|
20030
20194
|
*/
|
|
20031
20195
|
this.detachedHeightScale = "l";
|
|
20032
20196
|
/**
|
|
20033
|
-
*
|
|
20197
|
+
* Specifies the width of the component's content area.
|
|
20034
20198
|
*/
|
|
20035
20199
|
this.widthScale = "m";
|
|
20036
20200
|
/**
|
|
20037
|
-
* Accessible
|
|
20201
|
+
* Accessible name for the resize separator.
|
|
20038
20202
|
*
|
|
20039
20203
|
* @default "Resize"
|
|
20040
20204
|
*/
|
|
20041
20205
|
this.intlResize = TEXT$3.resize;
|
|
20042
20206
|
/**
|
|
20043
|
-
*
|
|
20207
|
+
* When true and not "detached", the component's content area is resizable.
|
|
20044
20208
|
*/
|
|
20045
20209
|
this.resizable = false;
|
|
20046
20210
|
this.contentWidth = null;
|
|
@@ -20242,17 +20406,17 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20242
20406
|
// Properties
|
|
20243
20407
|
//
|
|
20244
20408
|
//--------------------------------------------------------------------------
|
|
20245
|
-
/**
|
|
20409
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
20246
20410
|
this.disabled = false;
|
|
20247
|
-
/**
|
|
20411
|
+
/** When true, indicates a histogram is present. */
|
|
20248
20412
|
this.hasHistogram = false;
|
|
20249
|
-
/**
|
|
20413
|
+
/** When true, displays label handles with their numeric value. */
|
|
20250
20414
|
this.labelHandles = false;
|
|
20251
|
-
/**
|
|
20415
|
+
/** When true and "ticks" is specified, displays label tick marks with their numeric value. */
|
|
20252
20416
|
this.labelTicks = false;
|
|
20253
|
-
/**
|
|
20417
|
+
/** The component's maximum selectable value. */
|
|
20254
20418
|
this.max = 100;
|
|
20255
|
-
/**
|
|
20419
|
+
/** The component's minimum selectable value. */
|
|
20256
20420
|
this.min = 0;
|
|
20257
20421
|
/**
|
|
20258
20422
|
* When true, the slider will display values from high to low.
|
|
@@ -20260,20 +20424,20 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20260
20424
|
* Note that this value will be ignored if the slider has an associated histogram.
|
|
20261
20425
|
*/
|
|
20262
20426
|
this.mirrored = false;
|
|
20263
|
-
/**
|
|
20427
|
+
/** When true, sets a finer point for handles. */
|
|
20264
20428
|
this.precise = false;
|
|
20265
20429
|
/**
|
|
20266
|
-
* When true,
|
|
20430
|
+
* When true, the component must have a value on form submission.
|
|
20267
20431
|
*/
|
|
20268
20432
|
this.required = false;
|
|
20269
|
-
/** When true, enables snap selection
|
|
20433
|
+
/** When true, enables snap selection in coordination with "step" via a mouse. */
|
|
20270
20434
|
this.snap = false;
|
|
20271
|
-
/**
|
|
20435
|
+
/** Specifies the interval to move with the up, or down keys. */
|
|
20272
20436
|
this.step = 1;
|
|
20273
|
-
/**
|
|
20437
|
+
/** The component's value. */
|
|
20274
20438
|
this.value = 0;
|
|
20275
20439
|
/**
|
|
20276
|
-
*
|
|
20440
|
+
* Specifies the size of the component.
|
|
20277
20441
|
*/
|
|
20278
20442
|
this.scale = "m";
|
|
20279
20443
|
this.guid = `calcite-slider-${guid()}`;
|
|
@@ -24187,30 +24351,34 @@ const SplitButton = class extends HTMLElement$1 {
|
|
|
24187
24351
|
this.__attachShadow();
|
|
24188
24352
|
this.calciteSplitButtonPrimaryClick = createEvent(this, "calciteSplitButtonPrimaryClick", 6);
|
|
24189
24353
|
this.calciteSplitButtonSecondaryClick = createEvent(this, "calciteSplitButtonSecondaryClick", 6);
|
|
24190
|
-
/**
|
|
24354
|
+
/** Specifies the appearance style of the component. */
|
|
24191
24355
|
this.appearance = "solid";
|
|
24192
|
-
/**
|
|
24356
|
+
/** Specifies the color of the component. */
|
|
24193
24357
|
this.color = "blue";
|
|
24194
|
-
/** is the
|
|
24358
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
24195
24359
|
this.disabled = false;
|
|
24196
24360
|
/**
|
|
24197
|
-
*
|
|
24361
|
+
* When true, the component is active.
|
|
24198
24362
|
*
|
|
24199
24363
|
* @internal
|
|
24200
24364
|
*/
|
|
24201
24365
|
this.active = false;
|
|
24202
|
-
/**
|
|
24366
|
+
/** Specifies the icon used for the dropdown menu. */
|
|
24203
24367
|
this.dropdownIconType = "chevron";
|
|
24204
24368
|
/**
|
|
24205
|
-
|
|
24206
|
-
disabling interaction. with the primary button
|
|
24369
|
+
When true, a busy indicator is displayed on the primary button.
|
|
24207
24370
|
*/
|
|
24208
24371
|
this.loading = false;
|
|
24209
|
-
/**
|
|
24372
|
+
/**
|
|
24373
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
24374
|
+
*
|
|
24375
|
+
* 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".
|
|
24376
|
+
*
|
|
24377
|
+
*/
|
|
24210
24378
|
this.overlayPositioning = "absolute";
|
|
24211
|
-
/**
|
|
24379
|
+
/** Specifies the size of the component. */
|
|
24212
24380
|
this.scale = "m";
|
|
24213
|
-
/**
|
|
24381
|
+
/** Specifies the width of the component. */
|
|
24214
24382
|
this.width = "auto";
|
|
24215
24383
|
this.calciteSplitButtonPrimaryClickHandler = (event) => this.calciteSplitButtonPrimaryClick.emit(event);
|
|
24216
24384
|
this.calciteSplitButtonSecondaryClickHandler = (event) => this.calciteSplitButtonSecondaryClick.emit(event);
|
|
@@ -24274,13 +24442,13 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24274
24442
|
// Public Properties
|
|
24275
24443
|
//
|
|
24276
24444
|
//--------------------------------------------------------------------------
|
|
24277
|
-
/**
|
|
24445
|
+
/** When true, displays a status icon in the `calcite-stepper-item` heading. */
|
|
24278
24446
|
this.icon = false;
|
|
24279
|
-
/**
|
|
24447
|
+
/** Defines the layout of the component. */
|
|
24280
24448
|
this.layout = "horizontal";
|
|
24281
|
-
/**
|
|
24449
|
+
/** When true, displays the step number in the `calcite-stepper-item` heading. */
|
|
24282
24450
|
this.numbered = false;
|
|
24283
|
-
/**
|
|
24451
|
+
/** Specifies the size of the component. */
|
|
24284
24452
|
this.scale = "m";
|
|
24285
24453
|
//--------------------------------------------------------------------------
|
|
24286
24454
|
//
|
|
@@ -24382,7 +24550,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24382
24550
|
// Public Methods
|
|
24383
24551
|
//
|
|
24384
24552
|
//--------------------------------------------------------------------------
|
|
24385
|
-
/**
|
|
24553
|
+
/** Set the next `calcite-stepper-item` as active. */
|
|
24386
24554
|
async nextStep() {
|
|
24387
24555
|
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
24388
24556
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -24390,7 +24558,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24390
24558
|
}
|
|
24391
24559
|
this.updateStep(enabledStepIndex);
|
|
24392
24560
|
}
|
|
24393
|
-
/**
|
|
24561
|
+
/** Set the previous `calcite-stepper-item` as active. */
|
|
24394
24562
|
async prevStep() {
|
|
24395
24563
|
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
24396
24564
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -24399,7 +24567,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24399
24567
|
this.updateStep(enabledStepIndex);
|
|
24400
24568
|
}
|
|
24401
24569
|
/**
|
|
24402
|
-
*
|
|
24570
|
+
* Set a specified `calcite-stepper-item` as active.
|
|
24403
24571
|
*
|
|
24404
24572
|
* @param step
|
|
24405
24573
|
*/
|
|
@@ -24409,7 +24577,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24409
24577
|
this.updateStep(position);
|
|
24410
24578
|
}
|
|
24411
24579
|
}
|
|
24412
|
-
/**
|
|
24580
|
+
/** Set the first `calcite-stepper-item` as active. */
|
|
24413
24581
|
async startStep() {
|
|
24414
24582
|
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
24415
24583
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -24417,7 +24585,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24417
24585
|
}
|
|
24418
24586
|
this.updateStep(enabledStepIndex);
|
|
24419
24587
|
}
|
|
24420
|
-
/**
|
|
24588
|
+
/** Set the last `calcite-stepper-item` as active. */
|
|
24421
24589
|
async endStep() {
|
|
24422
24590
|
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
24423
24591
|
if (typeof enabledStepIndex !== "number") {
|
|
@@ -24495,25 +24663,25 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
24495
24663
|
// Public Properties
|
|
24496
24664
|
//
|
|
24497
24665
|
//--------------------------------------------------------------------------
|
|
24498
|
-
/**
|
|
24666
|
+
/** When true, the component is active. */
|
|
24499
24667
|
this.active = false;
|
|
24500
|
-
/**
|
|
24668
|
+
/** When true, the component's workflow has been completed. */
|
|
24501
24669
|
this.complete = false;
|
|
24502
|
-
/**
|
|
24670
|
+
/** When true, the component contains an error that requires resolution from the user. */
|
|
24503
24671
|
this.error = false;
|
|
24504
|
-
/**
|
|
24672
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
24505
24673
|
this.disabled = false;
|
|
24506
24674
|
// internal props inherited from wrapping calcite-stepper
|
|
24507
|
-
/**
|
|
24675
|
+
/** Defines the layout of the component. */
|
|
24508
24676
|
/** @internal */
|
|
24509
24677
|
this.layout = "horizontal";
|
|
24510
|
-
/**
|
|
24678
|
+
/** When true, displays a status icon in the `calcite-stepper-item` heading. */
|
|
24511
24679
|
/** @internal */
|
|
24512
24680
|
this.icon = false;
|
|
24513
|
-
/**
|
|
24681
|
+
/** When true, displays the step number in the `calcite-stepper-item` heading. */
|
|
24514
24682
|
/** @internal */
|
|
24515
24683
|
this.numbered = false;
|
|
24516
|
-
/** the
|
|
24684
|
+
/** Specifies the size of the component. */
|
|
24517
24685
|
/** @internal */
|
|
24518
24686
|
this.scale = "m";
|
|
24519
24687
|
//--------------------------------------------------------------------------
|
|
@@ -24657,17 +24825,17 @@ const Switch = class extends HTMLElement$1 {
|
|
|
24657
24825
|
// Properties
|
|
24658
24826
|
//
|
|
24659
24827
|
//--------------------------------------------------------------------------
|
|
24660
|
-
/**
|
|
24828
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
24661
24829
|
this.disabled = false;
|
|
24662
|
-
/**
|
|
24830
|
+
/** Specifies the size of the component. */
|
|
24663
24831
|
this.scale = "m";
|
|
24664
24832
|
/**
|
|
24665
|
-
*
|
|
24833
|
+
* When true, the component is checked.
|
|
24666
24834
|
*
|
|
24667
|
-
* @deprecated use
|
|
24835
|
+
* @deprecated use "checked" instead.
|
|
24668
24836
|
*/
|
|
24669
24837
|
this.switched = false;
|
|
24670
|
-
/**
|
|
24838
|
+
/** When true, the component is checked. */
|
|
24671
24839
|
this.checked = false;
|
|
24672
24840
|
//--------------------------------------------------------------------------
|
|
24673
24841
|
//
|
|
@@ -24675,8 +24843,7 @@ const Switch = class extends HTMLElement$1 {
|
|
|
24675
24843
|
//
|
|
24676
24844
|
//--------------------------------------------------------------------------
|
|
24677
24845
|
this.keyDownHandler = (event) => {
|
|
24678
|
-
|
|
24679
|
-
if (!this.disabled && isActivationKey(key)) {
|
|
24846
|
+
if (!this.disabled && isActivationKey(event.key)) {
|
|
24680
24847
|
this.toggle();
|
|
24681
24848
|
event.preventDefault();
|
|
24682
24849
|
}
|
|
@@ -26239,24 +26406,31 @@ const TimePicker = class extends HTMLElement$1 {
|
|
|
26239
26406
|
this.calciteInternalTimePickerFocus.emit();
|
|
26240
26407
|
}
|
|
26241
26408
|
keyDownHandler(event) {
|
|
26242
|
-
const { key } = event;
|
|
26409
|
+
const { defaultPrevented, key } = event;
|
|
26410
|
+
if (defaultPrevented) {
|
|
26411
|
+
return;
|
|
26412
|
+
}
|
|
26243
26413
|
switch (this.activeEl) {
|
|
26244
26414
|
case this.hourEl:
|
|
26245
26415
|
if (key === "ArrowRight") {
|
|
26246
26416
|
this.setFocus("minute");
|
|
26417
|
+
event.preventDefault();
|
|
26247
26418
|
}
|
|
26248
26419
|
break;
|
|
26249
26420
|
case this.minuteEl:
|
|
26250
26421
|
switch (key) {
|
|
26251
26422
|
case "ArrowLeft":
|
|
26252
26423
|
this.setFocus("hour");
|
|
26424
|
+
event.preventDefault();
|
|
26253
26425
|
break;
|
|
26254
26426
|
case "ArrowRight":
|
|
26255
26427
|
if (this.step !== 60) {
|
|
26256
26428
|
this.setFocus("second");
|
|
26429
|
+
event.preventDefault();
|
|
26257
26430
|
}
|
|
26258
26431
|
else if (this.hourCycle === "12") {
|
|
26259
26432
|
this.setFocus("meridiem");
|
|
26433
|
+
event.preventDefault();
|
|
26260
26434
|
}
|
|
26261
26435
|
break;
|
|
26262
26436
|
}
|
|
@@ -26265,10 +26439,12 @@ const TimePicker = class extends HTMLElement$1 {
|
|
|
26265
26439
|
switch (key) {
|
|
26266
26440
|
case "ArrowLeft":
|
|
26267
26441
|
this.setFocus("minute");
|
|
26442
|
+
event.preventDefault();
|
|
26268
26443
|
break;
|
|
26269
26444
|
case "ArrowRight":
|
|
26270
26445
|
if (this.hourCycle === "12") {
|
|
26271
26446
|
this.setFocus("meridiem");
|
|
26447
|
+
event.preventDefault();
|
|
26272
26448
|
}
|
|
26273
26449
|
break;
|
|
26274
26450
|
}
|
|
@@ -26278,9 +26454,11 @@ const TimePicker = class extends HTMLElement$1 {
|
|
|
26278
26454
|
case "ArrowLeft":
|
|
26279
26455
|
if (this.step !== 60) {
|
|
26280
26456
|
this.setFocus("second");
|
|
26457
|
+
event.preventDefault();
|
|
26281
26458
|
}
|
|
26282
26459
|
else {
|
|
26283
26460
|
this.setFocus("minute");
|
|
26461
|
+
event.preventDefault();
|
|
26284
26462
|
}
|
|
26285
26463
|
break;
|
|
26286
26464
|
}
|
|
@@ -26896,7 +27074,12 @@ const Tooltip = class extends HTMLElement$1 {
|
|
|
26896
27074
|
* When true, the component is open.
|
|
26897
27075
|
*/
|
|
26898
27076
|
this.open = false;
|
|
26899
|
-
/**
|
|
27077
|
+
/**
|
|
27078
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
27079
|
+
*
|
|
27080
|
+
* 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".
|
|
27081
|
+
*
|
|
27082
|
+
*/
|
|
26900
27083
|
this.overlayPositioning = "absolute";
|
|
26901
27084
|
/**
|
|
26902
27085
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -27659,6 +27842,9 @@ const ValueList = class extends HTMLElement$1 {
|
|
|
27659
27842
|
this.handleFilter = handleFilter.bind(this);
|
|
27660
27843
|
this.getItemData = getItemData.bind(this);
|
|
27661
27844
|
this.keyDownHandler = (event) => {
|
|
27845
|
+
if (event.defaultPrevented) {
|
|
27846
|
+
return;
|
|
27847
|
+
}
|
|
27662
27848
|
const { handle, item } = getHandleAndItemElement(event);
|
|
27663
27849
|
if (handle && !item.handleActivated && event.key === " ") {
|
|
27664
27850
|
this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
|
|
@@ -27958,6 +28144,7 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
27958
28144
|
static get style() { return valueListItemCss; }
|
|
27959
28145
|
};
|
|
27960
28146
|
|
|
28147
|
+
globalScripts();
|
|
27961
28148
|
const CalciteAccordion = /*@__PURE__*/proxyCustomElement(Accordion, [1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemKeyEvent","calciteInternalAccordionItemKeyEvent"],[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]);
|
|
27962
28149
|
const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"expanded":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
|
|
27963
28150
|
const CalciteAction = /*@__PURE__*/proxyCustomElement(Action, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|