@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
package/dist/components/label.js
CHANGED
|
@@ -1,101 +1,126 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label2.js';
|
|
6
|
+
import { q as queryElementRoots, d as closestElementCrossShadowBoundary } from './dom.js';
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Exported for testing purposes only
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
const labelClickEvent = "calciteInternalLabelClick";
|
|
14
|
+
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
15
|
+
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
16
|
+
const labelTagName = "calcite-label";
|
|
17
|
+
const onLabelClickMap = new WeakMap();
|
|
18
|
+
const onLabelConnectedMap = new WeakMap();
|
|
19
|
+
const onLabelDisconnectedMap = new WeakMap();
|
|
20
|
+
const unlabeledComponents = new Set();
|
|
21
|
+
const findLabelForComponent = (componentEl) => {
|
|
22
|
+
const { id } = componentEl;
|
|
23
|
+
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
24
|
+
if (forLabel) {
|
|
25
|
+
return forLabel;
|
|
26
|
+
}
|
|
27
|
+
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
28
|
+
if (!parentLabel ||
|
|
29
|
+
// labelable components within other custom elements are not considered labelable
|
|
30
|
+
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return parentLabel;
|
|
11
34
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this.layout = "default";
|
|
38
|
-
/**
|
|
39
|
-
* is the label disabled
|
|
40
|
-
*
|
|
41
|
-
* @deprecated use the `disabled` property on the interactive components instead
|
|
42
|
-
*/
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* eliminates any space around the label
|
|
46
|
-
*
|
|
47
|
-
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
48
|
-
*/
|
|
49
|
-
this.disableSpacing = false;
|
|
50
|
-
//--------------------------------------------------------------------------
|
|
51
|
-
//
|
|
52
|
-
// Private Methods
|
|
53
|
-
//
|
|
54
|
-
//--------------------------------------------------------------------------
|
|
55
|
-
this.labelClickHandler = (event) => {
|
|
56
|
-
this.calciteInternalLabelClick.emit({
|
|
57
|
-
sourceEvent: event
|
|
58
|
-
});
|
|
59
|
-
};
|
|
35
|
+
function hasAncestorCustomElements(label, componentEl) {
|
|
36
|
+
let traversedElements;
|
|
37
|
+
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
38
|
+
const listener = (event) => {
|
|
39
|
+
event.stopImmediatePropagation();
|
|
40
|
+
const composedPath = event.composedPath();
|
|
41
|
+
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
42
|
+
};
|
|
43
|
+
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
44
|
+
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
45
|
+
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
46
|
+
const ancestorCustomElements = traversedElements
|
|
47
|
+
.filter((el) => el !== componentEl && el !== label)
|
|
48
|
+
.filter((el) => { var _a; return (_a = el.tagName) === null || _a === void 0 ? void 0 : _a.includes("-"); });
|
|
49
|
+
return ancestorCustomElements.length > 0;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Helper to set up label interactions on connectedCallback.
|
|
53
|
+
*
|
|
54
|
+
* @param component
|
|
55
|
+
*/
|
|
56
|
+
function connectLabel(component) {
|
|
57
|
+
const labelEl = findLabelForComponent(component.el);
|
|
58
|
+
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
59
|
+
return;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
62
|
+
if (labelEl) {
|
|
63
|
+
component.labelEl = labelEl;
|
|
64
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
65
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
66
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
67
|
+
unlabeledComponents.delete(component);
|
|
68
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
69
|
+
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
70
|
+
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
68
71
|
}
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
else if (!unlabeledComponents.has(component)) {
|
|
73
|
+
boundOnLabelDisconnected();
|
|
74
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
71
75
|
}
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
79
|
+
*
|
|
80
|
+
* @param component
|
|
81
|
+
*/
|
|
82
|
+
function disconnectLabel(component) {
|
|
83
|
+
unlabeledComponents.delete(component);
|
|
84
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
85
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
86
|
+
onLabelConnectedMap.delete(component);
|
|
87
|
+
onLabelDisconnectedMap.delete(component);
|
|
88
|
+
if (!component.labelEl) {
|
|
89
|
+
return;
|
|
74
90
|
}
|
|
75
|
-
get
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
|
|
92
|
+
component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
|
|
93
|
+
onLabelClickMap.delete(component.labelEl);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Helper to get the label text from a component.
|
|
97
|
+
*
|
|
98
|
+
* @param component
|
|
99
|
+
*/
|
|
100
|
+
function getLabelText(component) {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
103
|
+
}
|
|
104
|
+
function onLabelClick(event) {
|
|
105
|
+
if (this.disabled) {
|
|
88
106
|
return;
|
|
89
107
|
}
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
108
|
+
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
109
|
+
if (containedLabelableChildClicked) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
this.onLabelClick(event);
|
|
113
|
+
}
|
|
114
|
+
function onLabelConnected() {
|
|
115
|
+
if (unlabeledComponents.has(this)) {
|
|
116
|
+
connectLabel(this);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function onLabelDisconnected() {
|
|
120
|
+
unlabeledComponents.add(this);
|
|
121
|
+
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
122
|
+
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
123
|
+
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
98
124
|
}
|
|
99
|
-
defineCustomElement();
|
|
100
125
|
|
|
101
|
-
export {
|
|
126
|
+
export { labelDisconnectedEvent as a, connectLabel as c, disconnectLabel as d, getLabelText as g, labelConnectedEvent as l };
|
|
@@ -1,126 +1,101 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label.js';
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
const labelClickEvent = "calciteInternalLabelClick";
|
|
14
|
-
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
15
|
-
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
16
|
-
const labelTagName = "calcite-label";
|
|
17
|
-
const onLabelClickMap = new WeakMap();
|
|
18
|
-
const onLabelConnectedMap = new WeakMap();
|
|
19
|
-
const onLabelDisconnectedMap = new WeakMap();
|
|
20
|
-
const unlabeledComponents = new Set();
|
|
21
|
-
const findLabelForComponent = (componentEl) => {
|
|
22
|
-
const { id } = componentEl;
|
|
23
|
-
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
24
|
-
if (forLabel) {
|
|
25
|
-
return forLabel;
|
|
26
|
-
}
|
|
27
|
-
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
28
|
-
if (!parentLabel ||
|
|
29
|
-
// labelable components within other custom elements are not considered labelable
|
|
30
|
-
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
return parentLabel;
|
|
9
|
+
const CSS = {
|
|
10
|
+
container: "container"
|
|
34
11
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
12
|
+
|
|
13
|
+
const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";
|
|
14
|
+
|
|
15
|
+
const Label = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.__registerHost();
|
|
19
|
+
this.__attachShadow();
|
|
20
|
+
this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick", 2);
|
|
21
|
+
//--------------------------------------------------------------------------
|
|
22
|
+
//
|
|
23
|
+
// Properties
|
|
24
|
+
//
|
|
25
|
+
//--------------------------------------------------------------------------
|
|
26
|
+
/** specify the text alignment of the label */
|
|
27
|
+
this.alignment = "start";
|
|
28
|
+
/**
|
|
29
|
+
* specify the status of the label and any child input / input messages
|
|
30
|
+
*
|
|
31
|
+
* @deprecated set directly on child element instead
|
|
32
|
+
*/
|
|
33
|
+
this.status = "idle";
|
|
34
|
+
/** specify the scale of the label, defaults to m */
|
|
35
|
+
this.scale = "m";
|
|
36
|
+
/** is the wrapped element positioned inline with the label slotted text */
|
|
37
|
+
this.layout = "default";
|
|
38
|
+
/**
|
|
39
|
+
* is the label disabled
|
|
40
|
+
*
|
|
41
|
+
* @deprecated use the `disabled` property on the interactive components instead
|
|
42
|
+
*/
|
|
43
|
+
this.disabled = false;
|
|
44
|
+
/**
|
|
45
|
+
* eliminates any space around the label
|
|
46
|
+
*
|
|
47
|
+
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
48
|
+
*/
|
|
49
|
+
this.disableSpacing = false;
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
//
|
|
52
|
+
// Private Methods
|
|
53
|
+
//
|
|
54
|
+
//--------------------------------------------------------------------------
|
|
55
|
+
this.labelClickHandler = (event) => {
|
|
56
|
+
this.calciteInternalLabelClick.emit({
|
|
57
|
+
sourceEvent: event
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
69
|
-
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
70
|
-
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
61
|
+
//--------------------------------------------------------------------------
|
|
62
|
+
//
|
|
63
|
+
// Lifecycle
|
|
64
|
+
//
|
|
65
|
+
//--------------------------------------------------------------------------
|
|
66
|
+
connectedCallback() {
|
|
67
|
+
document.dispatchEvent(new CustomEvent(labelConnectedEvent));
|
|
71
68
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
69
|
+
disconnectedCallback() {
|
|
70
|
+
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
75
71
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
79
|
-
*
|
|
80
|
-
* @param component
|
|
81
|
-
*/
|
|
82
|
-
function disconnectLabel(component) {
|
|
83
|
-
unlabeledComponents.delete(component);
|
|
84
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
85
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
86
|
-
onLabelConnectedMap.delete(component);
|
|
87
|
-
onLabelDisconnectedMap.delete(component);
|
|
88
|
-
if (!component.labelEl) {
|
|
89
|
-
return;
|
|
72
|
+
render() {
|
|
73
|
+
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS.container }, h("slot", null))));
|
|
90
74
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
function onLabelClick(event) {
|
|
105
|
-
if (this.disabled) {
|
|
75
|
+
get el() { return this; }
|
|
76
|
+
static get style() { return labelCss; }
|
|
77
|
+
}, [1, "calcite-label", {
|
|
78
|
+
"alignment": [513],
|
|
79
|
+
"status": [513],
|
|
80
|
+
"for": [513],
|
|
81
|
+
"scale": [513],
|
|
82
|
+
"layout": [513],
|
|
83
|
+
"disabled": [516],
|
|
84
|
+
"disableSpacing": [4, "disable-spacing"]
|
|
85
|
+
}]);
|
|
86
|
+
function defineCustomElement() {
|
|
87
|
+
if (typeof customElements === "undefined") {
|
|
106
88
|
return;
|
|
107
89
|
}
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
connectLabel(this);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
function onLabelDisconnected() {
|
|
120
|
-
unlabeledComponents.add(this);
|
|
121
|
-
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
122
|
-
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
123
|
-
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
90
|
+
const components = ["calcite-label"];
|
|
91
|
+
components.forEach(tagName => { switch (tagName) {
|
|
92
|
+
case "calcite-label":
|
|
93
|
+
if (!customElements.get(tagName)) {
|
|
94
|
+
customElements.define(tagName, Label);
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
} });
|
|
124
98
|
}
|
|
99
|
+
defineCustomElement();
|
|
125
100
|
|
|
126
|
-
export {
|
|
101
|
+
export { Label as L, defineCustomElement as d };
|
package/dist/components/link.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import { b as getElementDir,
|
|
6
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { b as getElementDir, f as focusElement } from './dom.js';
|
|
8
|
+
import { C as CSS_UTILITY } from './resources.js';
|
|
8
9
|
import { u as updateHostInteraction } from './interactive.js';
|
|
9
10
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
10
11
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
|
|
9
9
|
const loaderCss = "@charset \"UTF-8\";@-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{position:relative;margin-inline:auto;display:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:none}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-margin-before:calc(var(--calcite-loader-size) + 1.5rem);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;inset-inline-start:0px;-webkit-transform-origin:center;transform-origin:center;overflow:visible;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all var(--calcite-internal-animation-timing-fast) linear;transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);-webkit-margin-end:calc(var(--calcite-loader-size-inline) * 0.5);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{inset-block-start:0px;inset-inline-start:0px;margin:0px;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
package/dist/components/math.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { Build } from '@stencil/core/internal/client';
|
|
6
|
+
import { Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
|
-
import { I as ICON_TYPES } from './
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { I as ICON_TYPES } from './resources2.js';
|
|
8
8
|
import { a as getSlotted, t as toAriaBoolean } from './dom.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { d as defaultOffsetDistance, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS } from './floating-ui.js';
|
|
8
8
|
import { g as guid } from './guid.js';
|
|
9
9
|
import { t as toAriaBoolean, q as queryElementRoots } from './dom.js';
|
|
10
10
|
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
|
|
@@ -65,7 +65,7 @@ class PopoverManager {
|
|
|
65
65
|
.forEach((popover) => popover.toggle(false));
|
|
66
66
|
};
|
|
67
67
|
this.keyHandler = (event) => {
|
|
68
|
-
if (!isActivationKey(event.key)) {
|
|
68
|
+
if (event.defaultPrevented || !isActivationKey(event.key)) {
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
this.togglePopovers(event);
|
|
@@ -161,7 +161,12 @@ const Popover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
161
161
|
* When true, displays and positions the component.
|
|
162
162
|
*/
|
|
163
163
|
this.open = false;
|
|
164
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Determines the type of positioning to use for the overlaid content.
|
|
166
|
+
*
|
|
167
|
+
* Using the "absolute" value will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. The "fixed" value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is "fixed".
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
165
170
|
this.overlayPositioning = "absolute";
|
|
166
171
|
/**
|
|
167
172
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
8
8
|
const progressCss = "@-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{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:1;inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:1;background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;-webkit-animation:looping-progress-bar-ani 2200ms linear infinite;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@-webkit-keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}";
|
|
9
9
|
|