@esri/calcite-components 1.0.0-next.556 → 1.0.0-next.559
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-1886398f.entry.js → p-03d542f4.entry.js} +2 -2
- package/dist/calcite/{p-7766ddc2.system.js → p-04a25a81.system.js} +1 -1
- package/dist/calcite/p-05829d04.entry.js +6 -0
- package/dist/calcite/p-06a38846.entry.js +6 -0
- package/dist/calcite/{p-f0ff8d83.entry.js → p-06f11c4e.entry.js} +2 -2
- package/dist/calcite/p-0a77887c.entry.js +6 -0
- package/dist/calcite/p-0b653287.system.entry.js +6 -0
- package/dist/calcite/{p-f79661f0.entry.js → p-0bf072c3.entry.js} +2 -2
- package/dist/calcite/{p-fc12f99e.js → p-0c2bf0c6.js} +1 -1
- package/dist/calcite/p-0fbd8711.system.entry.js +6 -0
- package/dist/calcite/p-10e9b11f.entry.js +6 -0
- package/dist/calcite/p-115bd6db.entry.js +6 -0
- package/dist/calcite/{p-0ad78e61.js → p-118cd67c.js} +1 -1
- package/dist/calcite/{p-5e728d5f.js → p-13c530e6.js} +1 -1
- package/dist/calcite/{p-33a3bf9f.system.js → p-142a543c.system.js} +1 -1
- package/dist/calcite/p-1639c4dc.js +7 -0
- package/dist/calcite/p-171606f0.entry.js +6 -0
- package/dist/calcite/{p-326d61e7.system.js → p-191b4beb.system.js} +1 -1
- package/dist/calcite/p-1b8baf94.entry.js +6 -0
- package/dist/calcite/p-1d2b54b0.system.entry.js +6 -0
- package/dist/calcite/p-1e145df2.entry.js +6 -0
- package/dist/calcite/p-22214647.entry.js +6 -0
- package/dist/calcite/p-2554ce25.entry.js +6 -0
- package/dist/calcite/{p-0e9102ac.system.entry.js → p-2563538f.system.entry.js} +2 -2
- package/dist/calcite/p-25b4492c.entry.js +6 -0
- package/dist/calcite/{p-d7ac85d7.system.entry.js → p-269923ad.system.entry.js} +2 -2
- package/dist/calcite/{p-997a3daa.js → p-27e6a383.js} +1 -1
- package/dist/calcite/p-2a106ec3.system.entry.js +6 -0
- package/dist/calcite/p-2b4c8a3a.entry.js +6 -0
- package/dist/calcite/p-2d2f20d2.entry.js +6 -0
- package/dist/calcite/p-2d9c0cc9.entry.js +6 -0
- package/dist/calcite/p-2dfa0397.entry.js +6 -0
- package/dist/calcite/p-3217706d.entry.js +6 -0
- package/dist/calcite/{p-d2102cf0.system.js → p-3609cc3a.system.js} +1 -1
- package/dist/calcite/p-37498ec9.system.entry.js +6 -0
- package/dist/calcite/{p-eb1fa8a7.system.entry.js → p-37b5ab4e.system.entry.js} +2 -2
- package/dist/calcite/p-37b7a067.system.entry.js +6 -0
- package/dist/calcite/p-38a50251.system.entry.js +6 -0
- package/dist/calcite/p-38af76f3.js +6 -0
- package/dist/calcite/{p-3116eb16.system.js → p-3955fb18.system.js} +2 -2
- package/dist/calcite/{p-5002689a.js → p-3d0528a3.js} +1 -1
- package/dist/calcite/p-3d5c483e.system.entry.js +6 -0
- package/dist/calcite/p-3e68d709.entry.js +6 -0
- package/dist/calcite/{p-a20caf86.entry.js → p-403a73c4.entry.js} +2 -2
- package/dist/calcite/{p-50a678e9.system.entry.js → p-40fc130a.system.entry.js} +2 -2
- package/dist/calcite/p-419ee9aa.system.entry.js +6 -0
- package/dist/calcite/p-484be887.entry.js +6 -0
- package/dist/calcite/p-48663efd.system.entry.js +6 -0
- package/dist/calcite/{p-576a68ad.js → p-49c5dd7f.js} +1 -1
- package/dist/calcite/p-49dc0d00.js +6 -0
- package/dist/calcite/{p-7a8dc196.system.entry.js → p-4ba0bd34.entry.js} +3 -3
- package/dist/calcite/p-4c2d2b76.system.entry.js +6 -0
- package/dist/calcite/p-4e65fbf8.entry.js +6 -0
- package/dist/calcite/p-50cc9f99.js +6 -0
- package/dist/calcite/{p-0865b1c4.system.entry.js → p-516e7dac.system.entry.js} +2 -2
- package/dist/calcite/{p-a530e53f.system.js → p-51877626.system.js} +1 -1
- package/dist/calcite/{p-70152b55.system.js → p-520c20d6.system.js} +1 -1
- package/dist/calcite/p-523f75df.system.entry.js +6 -0
- package/dist/calcite/{p-3e4fc663.js → p-52605b46.js} +2 -2
- package/dist/calcite/{p-8b5a056d.system.js → p-55b90362.system.js} +1 -1
- package/dist/calcite/p-58be6f09.system.entry.js +6 -0
- package/dist/calcite/{p-f540b806.system.js → p-5a6d196f.system.js} +2 -2
- package/dist/calcite/p-5c11a9c4.entry.js +6 -0
- package/dist/calcite/p-5ed5f66a.system.entry.js +6 -0
- package/dist/calcite/{p-e0f120b1.js → p-5eee7770.js} +1 -1
- package/dist/calcite/p-61380cbc.entry.js +6 -0
- package/dist/calcite/p-61b21778.system.entry.js +6 -0
- package/dist/calcite/p-6678cd35.entry.js +6 -0
- package/dist/calcite/p-6ab5f989.system.js +6 -0
- package/dist/calcite/{p-1a4731f1.system.entry.js → p-6b1bd5b3.system.entry.js} +2 -2
- package/dist/calcite/p-6bf681da.entry.js +6 -0
- package/dist/calcite/p-6bfd1f64.entry.js +6 -0
- package/dist/calcite/p-6c51c2e7.system.entry.js +6 -0
- package/dist/calcite/{p-48f5a675.system.js → p-6c741275.system.js} +1 -1
- package/dist/calcite/p-6fd5f607.entry.js +6 -0
- package/dist/calcite/p-710ada7a.system.entry.js +6 -0
- package/dist/calcite/p-7140d803.system.entry.js +6 -0
- package/dist/calcite/p-716c7b36.system.js +6 -0
- package/dist/calcite/p-71fe5470.system.entry.js +6 -0
- package/dist/calcite/{p-51e58ac3.system.js → p-72453cd1.system.js} +1 -1
- package/dist/calcite/p-735c1a05.entry.js +6 -0
- package/dist/calcite/{p-05fe3ea5.js → p-74a46c20.js} +2 -2
- package/dist/calcite/p-74c13238.system.entry.js +6 -0
- package/dist/calcite/p-758c8bf6.entry.js +6 -0
- package/dist/calcite/p-76baf89b.system.js +7 -0
- package/dist/calcite/{p-79359620.system.js → p-770702d4.system.js} +1 -1
- package/dist/calcite/{p-a86406ed.system.js → p-79dba19a.system.js} +2 -2
- package/dist/calcite/{p-cef9685e.system.js → p-7ab8536b.system.js} +2 -2
- package/dist/calcite/p-7ae271dc.system.entry.js +6 -0
- package/dist/calcite/p-7d20e5b1.entry.js +6 -0
- package/dist/calcite/{p-4e299082.system.js → p-82884d34.system.js} +2 -2
- package/dist/calcite/p-83202085.system.entry.js +6 -0
- package/dist/calcite/p-83e12e96.system.entry.js +6 -0
- package/dist/calcite/p-83fadd53.system.entry.js +6 -0
- package/dist/calcite/p-84f0cd63.system.entry.js +6 -0
- package/dist/calcite/p-866a708f.entry.js +6 -0
- package/dist/calcite/p-8677bedd.system.entry.js +6 -0
- package/dist/calcite/p-86c15989.system.entry.js +6 -0
- package/dist/calcite/{p-aacb2155.js → p-882514e4.js} +2 -2
- package/dist/calcite/{p-c5166dab.system.entry.js → p-88f6ce9a.system.entry.js} +2 -2
- package/dist/calcite/p-89f3b362.entry.js +6 -0
- package/dist/calcite/p-8a732bb1.entry.js +6 -0
- package/dist/calcite/p-8f86dd6a.system.entry.js +6 -0
- package/dist/calcite/p-90aaf7e9.system.js +6 -0
- package/dist/calcite/p-921928b3.system.entry.js +6 -0
- package/dist/calcite/{p-a683a9bb.js → p-943ab787.js} +2 -2
- package/dist/calcite/{p-7369776f.js → p-947f8b63.js} +2 -2
- package/dist/calcite/p-958994f3.entry.js +6 -0
- package/dist/calcite/p-9677f628.entry.js +6 -0
- package/dist/calcite/p-985f49f2.entry.js +6 -0
- package/dist/calcite/{p-bbaad92f.system.js → p-9e0a3d06.system.js} +2 -2
- package/dist/calcite/p-9e740a59.entry.js +6 -0
- package/dist/calcite/{p-19248611.js → p-9f20d202.js} +1 -1
- package/dist/calcite/{p-0a755cdf.system.js → p-9ffa7d9c.system.js} +1 -1
- package/dist/calcite/p-a1c4a6ad.entry.js +6 -0
- package/dist/calcite/p-a2ef8419.entry.js +6 -0
- package/dist/calcite/{p-8afb9e1c.system.js → p-a3a7e041.system.js} +1 -1
- package/dist/calcite/p-a66190e2.entry.js +6 -0
- package/dist/calcite/{p-d579af0f.system.js → p-a6ca43e9.system.js} +2 -2
- package/dist/calcite/p-a9d79c6d.system.entry.js +6 -0
- package/dist/calcite/p-ab146ba9.system.js +6 -0
- package/dist/calcite/{p-dd735a43.js → p-ab9c30fe.js} +1 -1
- package/dist/calcite/p-abf3ff6a.entry.js +6 -0
- package/dist/calcite/{p-5d6bb522.system.js → p-adb45637.system.js} +2 -2
- package/dist/calcite/{p-6daf675b.entry.js → p-aff938dd.entry.js} +2 -2
- package/dist/calcite/{p-da9458eb.js → p-b0992691.js} +1 -1
- package/dist/calcite/p-b2367c17.system.entry.js +6 -0
- package/dist/calcite/p-b2e27974.entry.js +6 -0
- package/dist/calcite/p-b3361861.system.entry.js +6 -0
- package/dist/calcite/p-b3d0be1e.system.entry.js +6 -0
- package/dist/calcite/p-b3fedb93.system.entry.js +6 -0
- package/dist/calcite/p-b5a79a12.system.entry.js +6 -0
- package/dist/calcite/{p-b5103bd6.system.js → p-b8bab335.system.js} +2 -2
- package/dist/calcite/{p-b19f561c.system.js → p-b8f65b33.system.js} +1 -1
- package/dist/calcite/{p-f6fae0da.entry.js → p-b95252ab.entry.js} +2 -2
- package/dist/calcite/{p-af62631d.js → p-ba40c0b3.js} +1 -1
- package/dist/calcite/{p-19ef2670.entry.js → p-bc479d34.entry.js} +2 -2
- package/dist/calcite/p-bca0cdbb.entry.js +6 -0
- package/dist/calcite/p-bd9d402e.system.js +6 -0
- package/dist/calcite/p-be591017.js +6 -0
- package/dist/calcite/p-be799a6e.system.entry.js +6 -0
- package/dist/calcite/p-c5642352.js +6 -0
- package/dist/calcite/p-c594efbb.js +6 -0
- package/dist/calcite/p-c6b6d7b5.system.entry.js +6 -0
- package/dist/calcite/p-c8076a86.entry.js +6 -0
- package/dist/calcite/{p-eea677b9.js → p-c8483877.js} +1 -1
- package/dist/calcite/p-cf4a4137.system.entry.js +6 -0
- package/dist/calcite/p-cf64cbd8.system.entry.js +6 -0
- package/dist/calcite/p-d238c129.js +6 -0
- package/dist/calcite/p-d60c8771.system.entry.js +6 -0
- package/dist/calcite/{p-a0cad5d7.js → p-d74290a4.js} +1 -1
- package/dist/calcite/p-d81dfb83.system.entry.js +6 -0
- package/dist/calcite/{p-5f4e9358.system.entry.js → p-d8cfce90.system.entry.js} +2 -2
- package/dist/calcite/p-d9f6894b.system.entry.js +6 -0
- package/dist/calcite/p-da55a2a2.system.entry.js +6 -0
- package/dist/calcite/p-db425a98.system.entry.js +6 -0
- package/dist/calcite/{p-fd4f16b4.system.js → p-dc2c9e6a.system.js} +1 -1
- package/dist/calcite/{p-7d0ab794.entry.js → p-dd35b795.entry.js} +2 -2
- package/dist/calcite/p-dd9ade49.system.entry.js +6 -0
- package/dist/calcite/p-e0eff4ba.entry.js +6 -0
- package/dist/calcite/p-e14292e0.entry.js +6 -0
- package/dist/calcite/p-e4c07a30.entry.js +6 -0
- package/dist/calcite/{p-6eced7b5.system.entry.js → p-e54fe96b.system.entry.js} +2 -2
- package/dist/calcite/p-e6774958.system.entry.js +6 -0
- package/dist/calcite/p-eb3679d8.system.entry.js +6 -0
- package/dist/calcite/{p-be74a343.js → p-f48a4d09.js} +2 -2
- package/dist/calcite/{p-bbc42dac.entry.js → p-f627cf89.entry.js} +2 -2
- package/dist/calcite/p-f9a72798.entry.js +6 -0
- package/dist/calcite/p-fb709767.system.entry.js +6 -0
- package/dist/calcite/p-fcac4bbd.entry.js +6 -0
- package/dist/calcite/p-fcbf80fa.entry.js +6 -0
- package/dist/calcite/p-fd46a8ac.system.entry.js +6 -0
- package/dist/calcite/p-fdfb78fe.entry.js +6 -0
- package/dist/calcite/p-fedbc7d8.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-b50957be.js → ExpandToggle-31eb7dee.js} +5 -5
- package/dist/cjs/{Heading-1b066533.js → Heading-8534111e.js} +2 -2
- package/dist/cjs/app-globals-04826f1f.js +50 -0
- package/dist/cjs/{array-5ca2f088.js → array-fa4ffb86.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -20
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +32 -13
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -11
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
- package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +17 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -11
- package/dist/cjs/calcite.cjs.js +6 -3
- package/dist/cjs/{conditionalSlot-c9e8a19a.js → conditionalSlot-7b7b65f3.js} +3 -3
- package/dist/cjs/{debounce-f9c5fb44.js → debounce-5d084634.js} +1 -1
- package/dist/cjs/{dom-70b983a2.js → dom-1a30c464.js} +4 -18
- package/dist/cjs/{filter-328c7b8b.js → filter-4275ac6d.js} +2 -2
- package/dist/cjs/{floating-ui-8a544187.js → floating-ui-f811e8c4.js} +59 -10
- package/dist/cjs/{form-7e91825a.js → form-857dcd62.js} +6 -4
- package/dist/cjs/{guid-bb58e051.js → guid-dd5800b6.js} +1 -1
- package/dist/cjs/{index-fd388681.js → index-8842c1e0.js} +5 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-93b0bea2.js → interactive-960fb2fb.js} +1 -1
- package/dist/cjs/{interfaces-8051a72f.js → interfaces-468230c4.js} +1 -1
- package/dist/cjs/{key-a8b30c50.js → key-5b9005ff.js} +1 -1
- package/dist/cjs/{label-4c18233e.js → label-b60354cb.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-b7df0b1f.js → locale-6cf57424.js} +2 -2
- package/dist/cjs/{math-a3254e0c.js → math-3788d662.js} +1 -1
- package/dist/cjs/{observers-ec5cb025.js → observers-27f5884d.js} +1 -1
- package/dist/cjs/{openCloseComponent-03671cb7.js → openCloseComponent-e60e1062.js} +1 -1
- package/dist/cjs/{resources-efcf402f.js → resources-15d4f550.js} +1 -1
- package/dist/cjs/{resources-5c096e0b.js → resources-b0a2583b.js} +3 -3
- package/dist/cjs/resources-bf3fa84c.js +24 -0
- package/dist/cjs/{resources-de0d48aa.js → resources-ca171f68.js} +1 -1
- package/dist/cjs/{resources-0fa70b4c.js → resources-e1b7244d.js} +5 -5
- package/dist/cjs/{sortable.esm-00e9d640.js → sortable.esm-bb913d5c.js} +1 -1
- package/dist/cjs/{utils-e1a09f13.js → utils-f97c06fe.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +9 -3
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -2
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +27 -9
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +29 -13
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +4 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +16 -13
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +15 -6
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +4 -2
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +2 -2
- package/dist/collection/components/popover/popover.js +8 -3
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +2 -2
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +5 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +2 -2
- package/dist/collection/components/select/select.js +15 -15
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +17 -17
- package/dist/collection/components/slider/slider.js +38 -38
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +32 -28
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -21
- package/dist/collection/components/stepper-item/stepper-item.js +19 -19
- package/dist/collection/components/switch/switch.js +16 -17
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +13 -2
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +8 -3
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +4 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +4 -2
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +9 -3
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +4 -4
- package/dist/components/calcite-accordion-item.js +4 -3
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +2 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +30 -12
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +18 -15
- package/dist/components/calcite-input-date-picker.js +18 -9
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +8 -5
- package/dist/components/calcite-input-text.js +8 -5
- package/dist/components/calcite-input-time-picker.js +13 -6
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -4
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +4 -3
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +4 -3
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +4 -4
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +8 -8
- package/dist/components/calcite-shell-center-row.js +5 -5
- package/dist/components/calcite-shell-panel.js +8 -8
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +16 -16
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +16 -12
- package/dist/components/calcite-stepper-item.js +10 -10
- package/dist/components/calcite-stepper.js +11 -11
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +9 -4
- package/dist/components/calcite-tree-item.js +4 -3
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +6 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +2 -2
- package/dist/components/date-picker-day.js +6 -5
- package/dist/components/date-picker-month-header.js +6 -9
- package/dist/components/date-picker-month.js +5 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -15
- package/dist/components/dropdown.js +30 -14
- package/dist/components/filter.js +741 -168
- package/dist/components/filter2.js +169 -741
- package/dist/components/floating-ui.js +59 -10
- package/dist/components/form.js +6 -4
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +4 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +5 -92
- package/dist/components/index.js +45 -94
- package/dist/components/input.js +8 -5
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +112 -87
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +2 -2
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +10 -5
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +4 -5
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +9 -10
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +14 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/custom-elements/index.js +328 -141
- package/dist/esm/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +5 -5
- package/dist/esm/{Heading-4c268816.js → Heading-fa8cfb41.js} +2 -2
- package/dist/esm/app-globals-811a0a9d.js +48 -0
- package/dist/esm/{array-68e32723.js → array-b441def2.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -6
- package/dist/esm/calcite-action-bar.entry.js +11 -10
- package/dist/esm/calcite-action-group.entry.js +9 -8
- package/dist/esm/calcite-action-menu.entry.js +15 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -9
- package/dist/esm/calcite-action.entry.js +7 -6
- package/dist/esm/calcite-alert.entry.js +7 -6
- package/dist/esm/calcite-avatar.entry.js +6 -5
- package/dist/esm/calcite-block_2.entry.js +10 -9
- package/dist/esm/calcite-button.entry.js +9 -8
- package/dist/esm/calcite-card.entry.js +7 -6
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +39 -20
- package/dist/esm/calcite-date-picker_4.entry.js +18 -17
- package/dist/esm/calcite-dropdown_3.entry.js +36 -19
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +9 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +23 -22
- package/dist/esm/calcite-handle.entry.js +7 -4
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +23 -19
- package/dist/esm/calcite-input-date-picker.entry.js +26 -16
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-number.entry.js +15 -12
- package/dist/esm/calcite-input-text.entry.js +12 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +32 -13
- package/dist/esm/calcite-input.entry.js +15 -12
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +6 -5
- package/dist/esm/calcite-list_3.entry.js +9 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -8
- package/dist/esm/calcite-notice.entry.js +8 -7
- package/dist/esm/calcite-option_3.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +12 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -11
- package/dist/esm/calcite-popover_2.entry.js +17 -11
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +8 -7
- package/dist/esm/calcite-rating.entry.js +10 -9
- package/dist/esm/calcite-scrim.entry.js +4 -5
- package/dist/esm/calcite-shell_3.entry.js +18 -17
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +17 -13
- package/dist/esm/calcite-stepper_2.entry.js +23 -22
- package/dist/esm/calcite-switch.entry.js +15 -15
- package/dist/esm/calcite-tab_4.entry.js +7 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -7
- package/dist/esm/calcite-tooltip_2.entry.js +12 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -6
- package/dist/esm/calcite-value-list_2.entry.js +15 -11
- package/dist/esm/calcite.js +6 -3
- package/dist/esm/{conditionalSlot-40a54fd0.js → conditionalSlot-c65185f0.js} +3 -3
- package/dist/esm/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm/{dom-1f4b2c5c.js → dom-1c1f36c2.js} +4 -16
- package/dist/esm/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm/{floating-ui-0c89f0e1.js → floating-ui-7e6438e5.js} +59 -10
- package/dist/esm/{form-def7282e.js → form-65542bdd.js} +6 -4
- package/dist/esm/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm/{index-5a5db037.js → index-d4e46725.js} +5 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm/{resources-10717072.js → resources-0693d83b.js} +5 -5
- package/dist/esm/{resources-a67dcc05.js → resources-1a9e7ece.js} +3 -3
- package/dist/esm/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm/resources-8ed5d9e4.js +19 -0
- package/dist/esm/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +2 -2
- package/dist/esm-es5/Heading-fa8cfb41.js +6 -0
- package/dist/esm-es5/app-globals-811a0a9d.js +6 -0
- package/dist/esm-es5/{array-68e32723.js → array-b441def2.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-40a54fd0.js → conditionalSlot-c65185f0.js} +2 -2
- package/dist/esm-es5/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm-es5/dom-1c1f36c2.js +6 -0
- package/dist/esm-es5/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm-es5/floating-ui-7e6438e5.js +6 -0
- package/dist/esm-es5/form-65542bdd.js +6 -0
- package/dist/esm-es5/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm-es5/index-d4e46725.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm-es5/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm-es5/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm-es5/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm-es5/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm-es5/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm-es5/{resources-10717072.js → resources-0693d83b.js} +2 -2
- package/dist/esm-es5/{resources-a67dcc05.js → resources-1a9e7ece.js} +2 -2
- package/dist/esm-es5/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm-es5/resources-8ed5d9e4.js +6 -0
- package/dist/esm-es5/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm-es5/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/extras/docs-json.json +125 -125
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +6 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +6 -1
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +6 -1
- package/dist/types/components/radio-button/radio-button.d.ts +2 -2
- package/dist/types/components/scrim/scrim.d.ts +2 -3
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
- package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
- package/dist/types/components/slider/slider.d.ts +32 -29
- package/dist/types/components/split-button/split-button.d.ts +24 -20
- package/dist/types/components/stepper/stepper.d.ts +11 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
- package/dist/types/components/switch/switch.d.ts +11 -11
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +184 -184
- package/dist/types/utils/form.d.ts +3 -2
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +341 -328
- package/package.json +12 -11
- package/readme.md +2 -2
- package/dist/calcite/p-09b4c5d6.system.entry.js +0 -6
- package/dist/calcite/p-0d82783f.system.entry.js +0 -6
- package/dist/calcite/p-1238a41c.js +0 -6
- package/dist/calcite/p-16e5f591.entry.js +0 -6
- package/dist/calcite/p-18fb7ebc.system.entry.js +0 -6
- package/dist/calcite/p-1b0db26c.entry.js +0 -6
- package/dist/calcite/p-1b916f76.system.entry.js +0 -6
- package/dist/calcite/p-1c2e0daa.system.entry.js +0 -6
- package/dist/calcite/p-1d699c3b.system.entry.js +0 -6
- package/dist/calcite/p-1e259c2b.system.entry.js +0 -6
- package/dist/calcite/p-237f6388.entry.js +0 -6
- package/dist/calcite/p-24b189a7.entry.js +0 -6
- package/dist/calcite/p-272a7973.system.entry.js +0 -6
- package/dist/calcite/p-27f691c6.entry.js +0 -6
- package/dist/calcite/p-28aec55e.entry.js +0 -6
- package/dist/calcite/p-2a13ccd7.system.entry.js +0 -6
- package/dist/calcite/p-2a7bd887.entry.js +0 -6
- package/dist/calcite/p-2e449f8b.js +0 -6
- package/dist/calcite/p-2f28e6c6.entry.js +0 -6
- package/dist/calcite/p-318d4e47.system.entry.js +0 -6
- package/dist/calcite/p-31b57443.system.entry.js +0 -6
- package/dist/calcite/p-337de307.system.entry.js +0 -6
- package/dist/calcite/p-35736b65.entry.js +0 -6
- package/dist/calcite/p-374a14fa.entry.js +0 -6
- package/dist/calcite/p-3cd92e8b.js +0 -7
- package/dist/calcite/p-3d1a3386.system.entry.js +0 -6
- package/dist/calcite/p-41f603c6.entry.js +0 -6
- package/dist/calcite/p-443e7cd5.js +0 -6
- package/dist/calcite/p-452dc9cd.entry.js +0 -6
- package/dist/calcite/p-499b4d7f.system.entry.js +0 -6
- package/dist/calcite/p-4b1acc25.entry.js +0 -6
- package/dist/calcite/p-4c59c464.system.entry.js +0 -6
- package/dist/calcite/p-4f381b22.entry.js +0 -6
- package/dist/calcite/p-4fef9785.system.entry.js +0 -6
- package/dist/calcite/p-51686f87.entry.js +0 -6
- package/dist/calcite/p-5277787a.entry.js +0 -6
- package/dist/calcite/p-54f1b900.system.entry.js +0 -6
- package/dist/calcite/p-558eb439.entry.js +0 -6
- package/dist/calcite/p-573b7727.entry.js +0 -6
- package/dist/calcite/p-593dd378.system.entry.js +0 -6
- package/dist/calcite/p-60e29c28.entry.js +0 -6
- package/dist/calcite/p-6124422d.entry.js +0 -6
- package/dist/calcite/p-614577b3.entry.js +0 -6
- package/dist/calcite/p-63e68260.entry.js +0 -6
- package/dist/calcite/p-66b8488f.system.js +0 -7
- package/dist/calcite/p-709f45ca.system.entry.js +0 -6
- package/dist/calcite/p-7560b5cb.entry.js +0 -6
- package/dist/calcite/p-78773123.entry.js +0 -6
- package/dist/calcite/p-787df3d9.entry.js +0 -6
- package/dist/calcite/p-807dbeff.entry.js +0 -6
- package/dist/calcite/p-85f55348.system.entry.js +0 -6
- package/dist/calcite/p-8726c076.system.entry.js +0 -6
- package/dist/calcite/p-899506b7.entry.js +0 -6
- package/dist/calcite/p-8b09e41f.system.entry.js +0 -6
- package/dist/calcite/p-8c074397.entry.js +0 -6
- package/dist/calcite/p-8cca323e.entry.js +0 -6
- package/dist/calcite/p-8dd41a41.system.entry.js +0 -6
- package/dist/calcite/p-8e4bc86a.system.entry.js +0 -6
- package/dist/calcite/p-8f9cd7c2.system.entry.js +0 -6
- package/dist/calcite/p-923cc8f7.entry.js +0 -6
- package/dist/calcite/p-9404368d.entry.js +0 -6
- package/dist/calcite/p-993dc453.js +0 -6
- package/dist/calcite/p-9b3f7af5.system.js +0 -6
- package/dist/calcite/p-9ec5ed46.entry.js +0 -6
- package/dist/calcite/p-9ff0ebb3.system.entry.js +0 -6
- package/dist/calcite/p-a27c7171.entry.js +0 -6
- package/dist/calcite/p-a2e892e5.entry.js +0 -6
- package/dist/calcite/p-a5ef90f9.system.js +0 -6
- package/dist/calcite/p-a6ad3821.entry.js +0 -6
- package/dist/calcite/p-b08b2ad9.system.entry.js +0 -6
- package/dist/calcite/p-b0a6c09b.system.entry.js +0 -6
- package/dist/calcite/p-b1a0f06b.entry.js +0 -6
- package/dist/calcite/p-b25dd020.system.entry.js +0 -6
- package/dist/calcite/p-b8fb2780.entry.js +0 -6
- package/dist/calcite/p-ba9601c8.system.entry.js +0 -6
- package/dist/calcite/p-bc2dc6af.system.entry.js +0 -6
- package/dist/calcite/p-bebb3777.system.entry.js +0 -6
- package/dist/calcite/p-bfb4cbdc.entry.js +0 -6
- package/dist/calcite/p-c26f3841.system.entry.js +0 -6
- package/dist/calcite/p-c8a07e77.system.entry.js +0 -6
- package/dist/calcite/p-cb4235cd.system.entry.js +0 -6
- package/dist/calcite/p-cd5c0d53.system.entry.js +0 -6
- package/dist/calcite/p-cd76ddd3.system.entry.js +0 -6
- package/dist/calcite/p-cdaa1968.entry.js +0 -6
- package/dist/calcite/p-cdd2f5f3.system.entry.js +0 -6
- package/dist/calcite/p-d3126106.entry.js +0 -6
- package/dist/calcite/p-d3bd8e42.entry.js +0 -6
- package/dist/calcite/p-d64ad5b8.entry.js +0 -6
- package/dist/calcite/p-da0d407c.entry.js +0 -6
- package/dist/calcite/p-da190323.system.entry.js +0 -6
- package/dist/calcite/p-da602e55.entry.js +0 -6
- package/dist/calcite/p-dafa6b14.system.entry.js +0 -6
- package/dist/calcite/p-db716c4d.entry.js +0 -6
- package/dist/calcite/p-dce7bd73.entry.js +0 -6
- package/dist/calcite/p-dd371621.system.js +0 -6
- package/dist/calcite/p-de18336c.system.entry.js +0 -6
- package/dist/calcite/p-e17fe6f2.system.entry.js +0 -6
- package/dist/calcite/p-e31a759f.system.entry.js +0 -6
- package/dist/calcite/p-e35ac74b.js +0 -6
- package/dist/calcite/p-e37d3fd0.system.entry.js +0 -6
- package/dist/calcite/p-e629fa5b.system.entry.js +0 -6
- package/dist/calcite/p-e89b1604.entry.js +0 -6
- package/dist/calcite/p-ee43e34c.system.entry.js +0 -6
- package/dist/calcite/p-eedbbe06.entry.js +0 -6
- package/dist/calcite/p-eef36edb.entry.js +0 -6
- package/dist/calcite/p-f285278c.system.entry.js +0 -6
- package/dist/calcite/p-f37111f3.entry.js +0 -6
- package/dist/calcite/p-f5d88620.system.entry.js +0 -6
- package/dist/calcite/p-f8995cf2.system.entry.js +0 -6
- package/dist/esm-es5/Heading-4c268816.js +0 -6
- package/dist/esm-es5/dom-1f4b2c5c.js +0 -6
- package/dist/esm-es5/floating-ui-0c89f0e1.js +0 -6
- package/dist/esm-es5/form-def7282e.js +0 -6
- package/dist/esm-es5/index-5a5db037.js +0 -7
|
@@ -1,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
|
import { b as getElementDir } from './dom.js';
|
|
7
7
|
|
|
@@ -852,7 +852,7 @@ function getWindow(node) {
|
|
|
852
852
|
return node;
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
-
function getComputedStyle
|
|
855
|
+
function getComputedStyle(element) {
|
|
856
856
|
return getWindow(element).getComputedStyle(element);
|
|
857
857
|
}
|
|
858
858
|
|
|
@@ -894,7 +894,7 @@ function isOverflowElement(element) {
|
|
|
894
894
|
overflow,
|
|
895
895
|
overflowX,
|
|
896
896
|
overflowY
|
|
897
|
-
} = getComputedStyle
|
|
897
|
+
} = getComputedStyle(element);
|
|
898
898
|
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
|
899
899
|
}
|
|
900
900
|
function isTableElement(element) {
|
|
@@ -903,7 +903,7 @@ function isTableElement(element) {
|
|
|
903
903
|
function isContainingBlock(element) {
|
|
904
904
|
// TODO: Try and use feature detection here instead
|
|
905
905
|
const isFirefox = /firefox/i.test(getUAString());
|
|
906
|
-
const css = getComputedStyle
|
|
906
|
+
const css = getComputedStyle(element); // This is non-exhaustive but covers the most common CSS properties that
|
|
907
907
|
// create a containing block.
|
|
908
908
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
909
909
|
|
|
@@ -1046,7 +1046,55 @@ function getTrueOffsetParent(element) {
|
|
|
1046
1046
|
return null;
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
|
-
return element
|
|
1049
|
+
return composedOffsetParent(element);
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* Polyfills the old offsetParent behavior from before the spec was changed:
|
|
1053
|
+
* https://github.com/w3c/csswg-drafts/issues/159
|
|
1054
|
+
*/
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
function composedOffsetParent(element) {
|
|
1058
|
+
let {
|
|
1059
|
+
offsetParent
|
|
1060
|
+
} = element;
|
|
1061
|
+
let ancestor = element;
|
|
1062
|
+
let foundInsideSlot = false;
|
|
1063
|
+
|
|
1064
|
+
while (ancestor && ancestor !== offsetParent) {
|
|
1065
|
+
const {
|
|
1066
|
+
assignedSlot
|
|
1067
|
+
} = ancestor;
|
|
1068
|
+
|
|
1069
|
+
if (assignedSlot) {
|
|
1070
|
+
let newOffsetParent = assignedSlot.offsetParent;
|
|
1071
|
+
|
|
1072
|
+
if (getComputedStyle(assignedSlot).display === 'contents') {
|
|
1073
|
+
const hadStyleAttribute = assignedSlot.hasAttribute('style');
|
|
1074
|
+
const oldDisplay = assignedSlot.style.display;
|
|
1075
|
+
assignedSlot.style.display = getComputedStyle(ancestor).display;
|
|
1076
|
+
newOffsetParent = assignedSlot.offsetParent;
|
|
1077
|
+
assignedSlot.style.display = oldDisplay;
|
|
1078
|
+
|
|
1079
|
+
if (!hadStyleAttribute) {
|
|
1080
|
+
assignedSlot.removeAttribute('style');
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
ancestor = assignedSlot;
|
|
1085
|
+
|
|
1086
|
+
if (offsetParent !== newOffsetParent) {
|
|
1087
|
+
offsetParent = newOffsetParent;
|
|
1088
|
+
foundInsideSlot = true;
|
|
1089
|
+
}
|
|
1090
|
+
} else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {
|
|
1091
|
+
break;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
ancestor = isShadowRoot(ancestor) && ancestor.host || ancestor.parentNode;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
return offsetParent;
|
|
1050
1098
|
}
|
|
1051
1099
|
|
|
1052
1100
|
function getContainingBlock(element) {
|
|
@@ -1060,7 +1108,8 @@ function getContainingBlock(element) {
|
|
|
1060
1108
|
if (isContainingBlock(currentNode)) {
|
|
1061
1109
|
return currentNode;
|
|
1062
1110
|
} else {
|
|
1063
|
-
|
|
1111
|
+
const parent = currentNode.parentNode;
|
|
1112
|
+
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
1064
1113
|
}
|
|
1065
1114
|
}
|
|
1066
1115
|
|
|
@@ -1184,7 +1233,7 @@ function getDocumentRect(element) {
|
|
|
1184
1233
|
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1185
1234
|
const y = -scroll.scrollTop;
|
|
1186
1235
|
|
|
1187
|
-
if (getComputedStyle
|
|
1236
|
+
if (getComputedStyle(body || html).direction === 'rtl') {
|
|
1188
1237
|
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
1189
1238
|
}
|
|
1190
1239
|
|
|
@@ -1283,7 +1332,7 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
|
|
|
1283
1332
|
|
|
1284
1333
|
function getClippingAncestors(element) {
|
|
1285
1334
|
const clippingAncestors = getOverflowAncestors(element);
|
|
1286
|
-
const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle
|
|
1335
|
+
const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle(element).position);
|
|
1287
1336
|
const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
1288
1337
|
|
|
1289
1338
|
if (!isElement(clipperElement)) {
|
|
@@ -1344,7 +1393,7 @@ const platform = {
|
|
|
1344
1393
|
};
|
|
1345
1394
|
},
|
|
1346
1395
|
getClientRects: element => Array.from(element.getClientRects()),
|
|
1347
|
-
isRTL: element => getComputedStyle
|
|
1396
|
+
isRTL: element => getComputedStyle(element).direction === 'rtl'
|
|
1348
1397
|
};
|
|
1349
1398
|
|
|
1350
1399
|
/**
|
|
@@ -1609,4 +1658,4 @@ const visiblePointerSize = 4;
|
|
|
1609
1658
|
*/
|
|
1610
1659
|
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1611
1660
|
|
|
1612
|
-
export { FloatingCSS as F, disconnectFloatingUI as a,
|
|
1661
|
+
export { FloatingCSS as F, disconnectFloatingUI as a, defaultMenuPlacement as b, connectFloatingUI as c, defaultOffsetDistance as d, filterComputedPlacements as f, positionFloatingUI as p };
|
package/dist/components/form.js
CHANGED
|
@@ -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 {
|
|
7
|
-
import { h } from '@stencil/core/internal/client';
|
|
6
|
+
import { d as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
|
+
import { h } from '@stencil/core/internal/client/index.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes.
|
|
@@ -35,13 +35,15 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
35
35
|
* Helper to submit a form.
|
|
36
36
|
*
|
|
37
37
|
* @param component
|
|
38
|
+
* @returns true if its associated form was submitted, false otherwise.
|
|
38
39
|
*/
|
|
39
40
|
function submitForm(component) {
|
|
40
41
|
const { formEl } = component;
|
|
41
42
|
if (!formEl) {
|
|
42
|
-
return;
|
|
43
|
+
return false;
|
|
43
44
|
}
|
|
44
45
|
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
|
46
|
+
return true;
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* Helper to reset a form.
|
package/dist/components/graph.js
CHANGED
|
@@ -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, forceUpdate, h } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
|
package/dist/components/guid.js
CHANGED
|
@@ -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, createEvent, h } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
9
9
|
|
|
@@ -45,12 +45,14 @@ const Handle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
45
45
|
switch (event.key) {
|
|
46
46
|
case " ":
|
|
47
47
|
this.activated = !this.activated;
|
|
48
|
+
event.preventDefault();
|
|
48
49
|
break;
|
|
49
50
|
case "ArrowUp":
|
|
50
51
|
case "ArrowDown":
|
|
51
52
|
if (!this.activated) {
|
|
52
53
|
return;
|
|
53
54
|
}
|
|
55
|
+
event.preventDefault();
|
|
54
56
|
const direction = event.key.toLowerCase().replace("arrow", "");
|
|
55
57
|
this.calciteHandleNudge.emit({ handle: this.el, direction });
|
|
56
58
|
break;
|
package/dist/components/icon.js
CHANGED
|
@@ -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 { getAssetPath, proxyCustomElement, HTMLElement, h, Host, Build } from '@stencil/core/internal/client';
|
|
6
|
+
import { getAssetPath, proxyCustomElement, HTMLElement, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getElementDir, t as toAriaBoolean } from './dom.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
|
|
@@ -1,96 +1,6 @@
|
|
|
1
1
|
/* calcite custom elements */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { Action as CalciteAction } from '../types/components/action/action';
|
|
5
|
-
export { ActionBar as CalciteActionBar } from '../types/components/action-bar/action-bar';
|
|
6
|
-
export { ActionGroup as CalciteActionGroup } from '../types/components/action-group/action-group';
|
|
7
|
-
export { ActionMenu as CalciteActionMenu } from '../types/components/action-menu/action-menu';
|
|
8
|
-
export { ActionPad as CalciteActionPad } from '../types/components/action-pad/action-pad';
|
|
9
|
-
export { Alert as CalciteAlert } from '../types/components/alert/alert';
|
|
10
|
-
export { Avatar as CalciteAvatar } from '../types/components/avatar/avatar';
|
|
11
|
-
export { Block as CalciteBlock } from '../types/components/block/block';
|
|
12
|
-
export { BlockSection as CalciteBlockSection } from '../types/components/block-section/block-section';
|
|
13
|
-
export { Button as CalciteButton } from '../types/components/button/button';
|
|
14
|
-
export { Card as CalciteCard } from '../types/components/card/card';
|
|
15
|
-
export { Checkbox as CalciteCheckbox } from '../types/components/checkbox/checkbox';
|
|
16
|
-
export { Chip as CalciteChip } from '../types/components/chip/chip';
|
|
17
|
-
export { ColorPicker as CalciteColorPicker } from '../types/components/color-picker/color-picker';
|
|
18
|
-
export { ColorPickerHexInput as CalciteColorPickerHexInput } from '../types/components/color-picker-hex-input/color-picker-hex-input';
|
|
19
|
-
export { ColorPickerSwatch as CalciteColorPickerSwatch } from '../types/components/color-picker-swatch/color-picker-swatch';
|
|
20
|
-
export { Combobox as CalciteCombobox } from '../types/components/combobox/combobox';
|
|
21
|
-
export { ComboboxItem as CalciteComboboxItem } from '../types/components/combobox-item/combobox-item';
|
|
22
|
-
export { ComboboxItemGroup as CalciteComboboxItemGroup } from '../types/components/combobox-item-group/combobox-item-group';
|
|
23
|
-
export { DatePicker as CalciteDatePicker } from '../types/components/date-picker/date-picker';
|
|
24
|
-
export { DatePickerDay as CalciteDatePickerDay } from '../types/components/date-picker-day/date-picker-day';
|
|
25
|
-
export { DatePickerMonth as CalciteDatePickerMonth } from '../types/components/date-picker-month/date-picker-month';
|
|
26
|
-
export { DatePickerMonthHeader as CalciteDatePickerMonthHeader } from '../types/components/date-picker-month-header/date-picker-month-header';
|
|
27
|
-
export { Dropdown as CalciteDropdown } from '../types/components/dropdown/dropdown';
|
|
28
|
-
export { DropdownGroup as CalciteDropdownGroup } from '../types/components/dropdown-group/dropdown-group';
|
|
29
|
-
export { DropdownItem as CalciteDropdownItem } from '../types/components/dropdown-item/dropdown-item';
|
|
30
|
-
export { Fab as CalciteFab } from '../types/components/fab/fab';
|
|
31
|
-
export { Filter as CalciteFilter } from '../types/components/filter/filter';
|
|
32
|
-
export { Flow as CalciteFlow } from '../types/components/flow/flow';
|
|
33
|
-
export { Graph as CalciteGraph } from '../types/components/graph/graph';
|
|
34
|
-
export { Handle as CalciteHandle } from '../types/components/handle/handle';
|
|
35
|
-
export { Icon as CalciteIcon } from '../types/components/icon/icon';
|
|
36
|
-
export { InlineEditable as CalciteInlineEditable } from '../types/components/inline-editable/inline-editable';
|
|
37
|
-
export { Input as CalciteInput } from '../types/components/input/input';
|
|
38
|
-
export { InputDatePicker as CalciteInputDatePicker } from '../types/components/input-date-picker/input-date-picker';
|
|
39
|
-
export { InputMessage as CalciteInputMessage } from '../types/components/input-message/input-message';
|
|
40
|
-
export { InputNumber as CalciteInputNumber } from '../types/components/input-number/input-number';
|
|
41
|
-
export { InputText as CalciteInputText } from '../types/components/input-text/input-text';
|
|
42
|
-
export { InputTimePicker as CalciteInputTimePicker } from '../types/components/input-time-picker/input-time-picker';
|
|
43
|
-
export { Label as CalciteLabel } from '../types/components/label/label';
|
|
44
|
-
export { Link as CalciteLink } from '../types/components/link/link';
|
|
45
|
-
export { List as CalciteList } from '../types/components/list/list';
|
|
46
|
-
export { ListItem as CalciteListItem } from '../types/components/list-item/list-item';
|
|
47
|
-
export { ListItemGroup as CalciteListItemGroup } from '../types/components/list-item-group/list-item-group';
|
|
48
|
-
export { Loader as CalciteLoader } from '../types/components/loader/loader';
|
|
49
|
-
export { Modal as CalciteModal } from '../types/components/modal/modal';
|
|
50
|
-
export { Notice as CalciteNotice } from '../types/components/notice/notice';
|
|
51
|
-
export { Option as CalciteOption } from '../types/components/option/option';
|
|
52
|
-
export { OptionGroup as CalciteOptionGroup } from '../types/components/option-group/option-group';
|
|
53
|
-
export { Pagination as CalcitePagination } from '../types/components/pagination/pagination';
|
|
54
|
-
export { Panel as CalcitePanel } from '../types/components/panel/panel';
|
|
55
|
-
export { PickList as CalcitePickList } from '../types/components/pick-list/pick-list';
|
|
56
|
-
export { PickListGroup as CalcitePickListGroup } from '../types/components/pick-list-group/pick-list-group';
|
|
57
|
-
export { PickListItem as CalcitePickListItem } from '../types/components/pick-list-item/pick-list-item';
|
|
58
|
-
export { Popover as CalcitePopover } from '../types/components/popover/popover';
|
|
59
|
-
export { PopoverManager as CalcitePopoverManager } from '../types/components/popover-manager/popover-manager';
|
|
60
|
-
export { Progress as CalciteProgress } from '../types/components/progress/progress';
|
|
61
|
-
export { RadioButton as CalciteRadioButton } from '../types/components/radio-button/radio-button';
|
|
62
|
-
export { RadioButtonGroup as CalciteRadioButtonGroup } from '../types/components/radio-button-group/radio-button-group';
|
|
63
|
-
export { RadioGroup as CalciteRadioGroup } from '../types/components/radio-group/radio-group';
|
|
64
|
-
export { RadioGroupItem as CalciteRadioGroupItem } from '../types/components/radio-group-item/radio-group-item';
|
|
65
|
-
export { Rating as CalciteRating } from '../types/components/rating/rating';
|
|
66
|
-
export { Scrim as CalciteScrim } from '../types/components/scrim/scrim';
|
|
67
|
-
export { Select as CalciteSelect } from '../types/components/select/select';
|
|
68
|
-
export { Shell as CalciteShell } from '../types/components/shell/shell';
|
|
69
|
-
export { ShellCenterRow as CalciteShellCenterRow } from '../types/components/shell-center-row/shell-center-row';
|
|
70
|
-
export { ShellPanel as CalciteShellPanel } from '../types/components/shell-panel/shell-panel';
|
|
71
|
-
export { Slider as CalciteSlider } from '../types/components/slider/slider';
|
|
72
|
-
export { SortableList as CalciteSortableList } from '../types/components/sortable-list/sortable-list';
|
|
73
|
-
export { SplitButton as CalciteSplitButton } from '../types/components/split-button/split-button';
|
|
74
|
-
export { Stepper as CalciteStepper } from '../types/components/stepper/stepper';
|
|
75
|
-
export { StepperItem as CalciteStepperItem } from '../types/components/stepper-item/stepper-item';
|
|
76
|
-
export { Switch as CalciteSwitch } from '../types/components/switch/switch';
|
|
77
|
-
export { Tab as CalciteTab } from '../types/components/tab/tab';
|
|
78
|
-
export { TabNav as CalciteTabNav } from '../types/components/tab-nav/tab-nav';
|
|
79
|
-
export { TabTitle as CalciteTabTitle } from '../types/components/tab-title/tab-title';
|
|
80
|
-
export { Tabs as CalciteTabs } from '../types/components/tabs/tabs';
|
|
81
|
-
export { Tile as CalciteTile } from '../types/components/tile/tile';
|
|
82
|
-
export { TileSelect as CalciteTileSelect } from '../types/components/tile-select/tile-select';
|
|
83
|
-
export { TileSelectGroup as CalciteTileSelectGroup } from '../types/components/tile-select-group/tile-select-group';
|
|
84
|
-
export { TimePicker as CalciteTimePicker } from '../types/components/time-picker/time-picker';
|
|
85
|
-
export { Tip as CalciteTip } from '../types/components/tip/tip';
|
|
86
|
-
export { TipGroup as CalciteTipGroup } from '../types/components/tip-group/tip-group';
|
|
87
|
-
export { TipManager as CalciteTipManager } from '../types/components/tip-manager/tip-manager';
|
|
88
|
-
export { Tooltip as CalciteTooltip } from '../types/components/tooltip/tooltip';
|
|
89
|
-
export { TooltipManager as CalciteTooltipManager } from '../types/components/tooltip-manager/tooltip-manager';
|
|
90
|
-
export { Tree as CalciteTree } from '../types/components/tree/tree';
|
|
91
|
-
export { TreeItem as CalciteTreeItem } from '../types/components/tree-item/tree-item';
|
|
92
|
-
export { ValueList as CalciteValueList } from '../types/components/value-list/value-list';
|
|
93
|
-
export { ValueListItem as CalciteValueListItem } from '../types/components/value-list-item/value-list-item';
|
|
2
|
+
|
|
3
|
+
import type { Components, JSX } from "../types/components";
|
|
94
4
|
|
|
95
5
|
/**
|
|
96
6
|
* Used to manually set the base path where assets can be found.
|
|
@@ -110,4 +20,7 @@ export interface SetPlatformOptions {
|
|
|
110
20
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
111
21
|
}
|
|
112
22
|
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
23
|
+
|
|
24
|
+
export type { Components, JSX };
|
|
25
|
+
|
|
113
26
|
export * from '../types/components';
|
package/dist/components/index.js
CHANGED
|
@@ -1,98 +1,49 @@
|
|
|
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
|
-
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export { CalciteList, defineCustomElement as defineCustomElementCalciteList } from './calcite-list.js';
|
|
51
|
-
export { CalciteListItem, defineCustomElement as defineCustomElementCalciteListItem } from './calcite-list-item.js';
|
|
52
|
-
export { CalciteListItemGroup, defineCustomElement as defineCustomElementCalciteListItemGroup } from './calcite-list-item-group.js';
|
|
53
|
-
export { CalciteLoader, defineCustomElement as defineCustomElementCalciteLoader } from './calcite-loader.js';
|
|
54
|
-
export { CalciteModal, defineCustomElement as defineCustomElementCalciteModal } from './calcite-modal.js';
|
|
55
|
-
export { CalciteNotice, defineCustomElement as defineCustomElementCalciteNotice } from './calcite-notice.js';
|
|
56
|
-
export { CalciteOption, defineCustomElement as defineCustomElementCalciteOption } from './calcite-option.js';
|
|
57
|
-
export { CalciteOptionGroup, defineCustomElement as defineCustomElementCalciteOptionGroup } from './calcite-option-group.js';
|
|
58
|
-
export { CalcitePagination, defineCustomElement as defineCustomElementCalcitePagination } from './calcite-pagination.js';
|
|
59
|
-
export { CalcitePanel, defineCustomElement as defineCustomElementCalcitePanel } from './calcite-panel.js';
|
|
60
|
-
export { CalcitePickList, defineCustomElement as defineCustomElementCalcitePickList } from './calcite-pick-list.js';
|
|
61
|
-
export { CalcitePickListGroup, defineCustomElement as defineCustomElementCalcitePickListGroup } from './calcite-pick-list-group.js';
|
|
62
|
-
export { CalcitePickListItem, defineCustomElement as defineCustomElementCalcitePickListItem } from './calcite-pick-list-item.js';
|
|
63
|
-
export { CalcitePopover, defineCustomElement as defineCustomElementCalcitePopover } from './calcite-popover.js';
|
|
64
|
-
export { CalcitePopoverManager, defineCustomElement as defineCustomElementCalcitePopoverManager } from './calcite-popover-manager.js';
|
|
65
|
-
export { CalciteProgress, defineCustomElement as defineCustomElementCalciteProgress } from './calcite-progress.js';
|
|
66
|
-
export { CalciteRadioButton, defineCustomElement as defineCustomElementCalciteRadioButton } from './calcite-radio-button.js';
|
|
67
|
-
export { CalciteRadioButtonGroup, defineCustomElement as defineCustomElementCalciteRadioButtonGroup } from './calcite-radio-button-group.js';
|
|
68
|
-
export { CalciteRadioGroup, defineCustomElement as defineCustomElementCalciteRadioGroup } from './calcite-radio-group.js';
|
|
69
|
-
export { CalciteRadioGroupItem, defineCustomElement as defineCustomElementCalciteRadioGroupItem } from './calcite-radio-group-item.js';
|
|
70
|
-
export { CalciteRating, defineCustomElement as defineCustomElementCalciteRating } from './calcite-rating.js';
|
|
71
|
-
export { CalciteScrim, defineCustomElement as defineCustomElementCalciteScrim } from './calcite-scrim.js';
|
|
72
|
-
export { CalciteSelect, defineCustomElement as defineCustomElementCalciteSelect } from './calcite-select.js';
|
|
73
|
-
export { CalciteShell, defineCustomElement as defineCustomElementCalciteShell } from './calcite-shell.js';
|
|
74
|
-
export { CalciteShellCenterRow, defineCustomElement as defineCustomElementCalciteShellCenterRow } from './calcite-shell-center-row.js';
|
|
75
|
-
export { CalciteShellPanel, defineCustomElement as defineCustomElementCalciteShellPanel } from './calcite-shell-panel.js';
|
|
76
|
-
export { CalciteSlider, defineCustomElement as defineCustomElementCalciteSlider } from './calcite-slider.js';
|
|
77
|
-
export { CalciteSortableList, defineCustomElement as defineCustomElementCalciteSortableList } from './calcite-sortable-list.js';
|
|
78
|
-
export { CalciteSplitButton, defineCustomElement as defineCustomElementCalciteSplitButton } from './calcite-split-button.js';
|
|
79
|
-
export { CalciteStepper, defineCustomElement as defineCustomElementCalciteStepper } from './calcite-stepper.js';
|
|
80
|
-
export { CalciteStepperItem, defineCustomElement as defineCustomElementCalciteStepperItem } from './calcite-stepper-item.js';
|
|
81
|
-
export { CalciteSwitch, defineCustomElement as defineCustomElementCalciteSwitch } from './calcite-switch.js';
|
|
82
|
-
export { CalciteTab, defineCustomElement as defineCustomElementCalciteTab } from './calcite-tab.js';
|
|
83
|
-
export { CalciteTabNav, defineCustomElement as defineCustomElementCalciteTabNav } from './calcite-tab-nav.js';
|
|
84
|
-
export { CalciteTabTitle, defineCustomElement as defineCustomElementCalciteTabTitle } from './calcite-tab-title.js';
|
|
85
|
-
export { CalciteTabs, defineCustomElement as defineCustomElementCalciteTabs } from './calcite-tabs.js';
|
|
86
|
-
export { CalciteTile, defineCustomElement as defineCustomElementCalciteTile } from './calcite-tile.js';
|
|
87
|
-
export { CalciteTileSelect, defineCustomElement as defineCustomElementCalciteTileSelect } from './calcite-tile-select.js';
|
|
88
|
-
export { CalciteTileSelectGroup, defineCustomElement as defineCustomElementCalciteTileSelectGroup } from './calcite-tile-select-group.js';
|
|
89
|
-
export { CalciteTimePicker, defineCustomElement as defineCustomElementCalciteTimePicker } from './calcite-time-picker.js';
|
|
90
|
-
export { CalciteTip, defineCustomElement as defineCustomElementCalciteTip } from './calcite-tip.js';
|
|
91
|
-
export { CalciteTipGroup, defineCustomElement as defineCustomElementCalciteTipGroup } from './calcite-tip-group.js';
|
|
92
|
-
export { CalciteTipManager, defineCustomElement as defineCustomElementCalciteTipManager } from './calcite-tip-manager.js';
|
|
93
|
-
export { CalciteTooltip, defineCustomElement as defineCustomElementCalciteTooltip } from './calcite-tooltip.js';
|
|
94
|
-
export { CalciteTooltipManager, defineCustomElement as defineCustomElementCalciteTooltipManager } from './calcite-tooltip-manager.js';
|
|
95
|
-
export { CalciteTree, defineCustomElement as defineCustomElementCalciteTree } from './calcite-tree.js';
|
|
96
|
-
export { CalciteTreeItem, defineCustomElement as defineCustomElementCalciteTreeItem } from './calcite-tree-item.js';
|
|
97
|
-
export { CalciteValueList, defineCustomElement as defineCustomElementCalciteValueList } from './calcite-value-list.js';
|
|
98
|
-
export { CalciteValueListItem, defineCustomElement as defineCustomElementCalciteValueListItem } from './calcite-value-list-item.js';
|
|
6
|
+
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { d as darkTheme, a as autoTheme } from './resources.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Emits when the theme is dynamically toggled between light and dark on <body> or in OS preferences.
|
|
11
|
+
*/
|
|
12
|
+
function initThemeChangeEvent() {
|
|
13
|
+
const { classList } = document.body;
|
|
14
|
+
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
15
|
+
const getTheme = () => classList.contains(darkTheme) || (classList.contains(autoTheme) && prefersDark) ? "dark" : "light";
|
|
16
|
+
const emitThemeChange = (theme) => document.body.dispatchEvent(new CustomEvent("calciteThemeChange", { bubbles: true, detail: { theme } }));
|
|
17
|
+
const themeChangeHandler = (newTheme) => {
|
|
18
|
+
currentTheme !== newTheme && emitThemeChange(newTheme);
|
|
19
|
+
currentTheme = newTheme;
|
|
20
|
+
};
|
|
21
|
+
let currentTheme = getTheme();
|
|
22
|
+
// emits event on page load
|
|
23
|
+
emitThemeChange(currentTheme);
|
|
24
|
+
// emits event when changing OS theme preferences
|
|
25
|
+
window
|
|
26
|
+
.matchMedia("(prefers-color-scheme: dark)")
|
|
27
|
+
.addEventListener("change", (event) => themeChangeHandler(event.matches ? "dark" : "light"));
|
|
28
|
+
// emits event when toggling between theme classes on <body>
|
|
29
|
+
new MutationObserver(() => themeChangeHandler(getTheme())).observe(document.body, {
|
|
30
|
+
attributes: true,
|
|
31
|
+
attributeFilter: ["class"]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
37
|
+
*
|
|
38
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
39
|
+
*/
|
|
40
|
+
function appGlobalScript () {
|
|
41
|
+
if (isBrowser()) {
|
|
42
|
+
initThemeChangeEvent();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
46
|
+
|
|
47
|
+
const globalScripts = appGlobalScript;
|
|
48
|
+
|
|
49
|
+
globalScripts();
|
package/dist/components/input.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.559
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { a as getSlotted, s as setRequestedIcon, g as getElementProp, b as getElementDir } from './dom.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
9
9
|
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
10
10
|
import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale.js';
|
|
11
11
|
import { n as numberKeys } from './key.js';
|
|
12
|
+
import { T as TEXT$1, C as CSS_UTILITY } from './resources.js';
|
|
12
13
|
import { d as decimalPlaces } from './math.js';
|
|
13
14
|
import { c as createObserver } from './observers.js';
|
|
14
15
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -153,7 +154,9 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
153
154
|
event.preventDefault();
|
|
154
155
|
}
|
|
155
156
|
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
156
|
-
submitForm(this)
|
|
157
|
+
if (submitForm(this)) {
|
|
158
|
+
event.preventDefault();
|
|
159
|
+
}
|
|
157
160
|
}
|
|
158
161
|
};
|
|
159
162
|
this.clearInputValue = (nativeEvent) => {
|
|
@@ -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
|
var TreeSelectionMode;
|
|
7
7
|
(function (TreeSelectionMode) {
|
package/dist/components/key.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
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|