@esri/calcite-components 1.0.0-next.605 → 1.0.0-next.607
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/index.esm.js +1 -1
- package/dist/calcite/{p-da9fb826.js → p-0194be0b.js} +1 -1
- package/dist/calcite/{p-c4ec7584.js → p-04cd97f0.js} +2 -2
- package/dist/calcite/{p-a3311f4c.entry.js → p-05d91128.entry.js} +2 -2
- package/dist/calcite/{p-d22a5a99.entry.js → p-0a89a06d.entry.js} +2 -2
- package/dist/calcite/{p-d73bfb49.entry.js → p-0c941429.entry.js} +2 -2
- package/dist/calcite/{p-56529171.entry.js → p-10ed6464.entry.js} +2 -2
- package/dist/calcite/{p-6fa69299.entry.js → p-1142d6c8.entry.js} +2 -2
- package/dist/calcite/p-1305ee55.entry.js +6 -0
- package/dist/calcite/p-15fac2ab.js +6 -0
- package/dist/calcite/{p-c05f14e1.entry.js → p-215f9b3e.entry.js} +2 -2
- package/dist/calcite/{p-47b05392.js → p-228742f9.js} +2 -2
- package/dist/calcite/{p-39310407.entry.js → p-233e9c82.entry.js} +2 -2
- package/dist/calcite/{p-a7ff8b5e.entry.js → p-2577a91d.entry.js} +2 -2
- package/dist/calcite/{p-a4b453ef.entry.js → p-27480e42.entry.js} +2 -2
- package/dist/calcite/{p-665d6690.entry.js → p-2824d942.entry.js} +2 -2
- package/dist/calcite/{p-7da1bd2d.entry.js → p-29e7d607.entry.js} +2 -2
- package/dist/calcite/{p-c4f35c1d.entry.js → p-2a2d9854.entry.js} +2 -2
- package/dist/calcite/{p-1b29b480.entry.js → p-2ac4da68.entry.js} +2 -2
- package/dist/calcite/{p-c5b161a3.entry.js → p-2b623d7a.entry.js} +2 -2
- package/dist/calcite/{p-d6395bde.js → p-2e91306b.js} +1 -1
- package/dist/calcite/{p-20cf073f.entry.js → p-3191298d.entry.js} +2 -2
- package/dist/calcite/{p-62faaa89.js → p-331f03ef.js} +2 -2
- package/dist/calcite/{p-b245e0bd.entry.js → p-35a4696c.entry.js} +2 -2
- package/dist/calcite/{p-76b938c3.entry.js → p-35f864c5.entry.js} +2 -2
- package/dist/calcite/{p-8bf0b09d.entry.js → p-36207d38.entry.js} +2 -2
- package/dist/calcite/{p-143ce726.entry.js → p-389235c5.entry.js} +2 -2
- package/dist/calcite/p-3ad75dbc.entry.js +6 -0
- package/dist/calcite/{p-c2a1336a.entry.js → p-3c0e6bf9.entry.js} +2 -2
- package/dist/calcite/{p-b2a0941a.entry.js → p-3f71cb54.entry.js} +2 -2
- package/dist/calcite/{p-5996812a.entry.js → p-4053f375.entry.js} +2 -2
- package/dist/calcite/{p-57ea3109.entry.js → p-4054de19.entry.js} +2 -2
- package/dist/calcite/{p-53361e13.entry.js → p-4b6ab904.entry.js} +2 -2
- package/dist/calcite/{p-16fca6d8.js → p-4bba5de5.js} +2 -2
- package/dist/calcite/{p-f5ab8322.entry.js → p-4d118fe7.entry.js} +2 -2
- package/dist/calcite/{p-42828fde.js → p-534d76ec.js} +1 -1
- package/dist/calcite/{p-2190ab0e.entry.js → p-56e13c26.entry.js} +2 -2
- package/dist/calcite/{p-07f07127.entry.js → p-57cd8bf6.entry.js} +2 -2
- package/dist/calcite/{p-811b9da2.js → p-5a7d6abb.js} +1 -1
- package/dist/calcite/{p-81a65195.js → p-68be1a57.js} +1 -1
- package/dist/calcite/{p-0a3c5912.js → p-724ffb2b.js} +1 -1
- package/dist/calcite/{p-45e5800d.js → p-792a67ad.js} +1 -1
- package/dist/calcite/{p-f614abb8.entry.js → p-7f645e69.entry.js} +2 -2
- package/dist/calcite/{p-ca974433.js → p-8027c4fc.js} +2 -2
- package/dist/calcite/{p-4ed85873.entry.js → p-860f95db.entry.js} +2 -2
- package/dist/calcite/{p-6faba067.entry.js → p-8bbc5021.entry.js} +2 -2
- package/dist/calcite/{p-6e531fad.entry.js → p-8ce99d30.entry.js} +2 -2
- package/dist/calcite/p-8d64e950.js +6 -0
- package/dist/calcite/{p-78f25919.entry.js → p-963f91e7.entry.js} +2 -2
- package/dist/calcite/{p-3489af4d.entry.js → p-976bd33d.entry.js} +2 -2
- package/dist/calcite/{p-ce4d590c.js → p-9cc66598.js} +2 -2
- package/dist/calcite/{p-c3ec4e71.entry.js → p-9ef24687.entry.js} +2 -2
- package/dist/calcite/{p-33a88844.js → p-a19ba1b8.js} +1 -1
- package/dist/calcite/{p-878d494f.entry.js → p-a214e596.entry.js} +2 -2
- package/dist/calcite/p-a4f2a140.js +6 -0
- package/dist/calcite/{p-061fbfb7.js → p-a9c93bf7.js} +1 -1
- package/dist/calcite/{p-eb756dbe.js → p-ab2f0124.js} +1 -1
- package/dist/calcite/{p-46ca1b08.entry.js → p-ae537940.entry.js} +2 -2
- package/dist/calcite/{p-ab26cd3b.js → p-aec0e90c.js} +1 -1
- package/dist/calcite/{p-4c3134dd.js → p-b068d057.js} +2 -2
- package/dist/calcite/{p-42475cf6.entry.js → p-b2c6b06b.entry.js} +2 -2
- package/dist/calcite/{p-d5de3abc.entry.js → p-b96cd9fe.entry.js} +2 -2
- package/dist/calcite/p-ba8d8dbd.entry.js +6 -0
- package/dist/calcite/{p-e9e4fc82.entry.js → p-bd7bf633.entry.js} +2 -2
- package/dist/calcite/{p-7f698ba9.js → p-befa72be.js} +1 -1
- package/dist/calcite/{p-6ab1706e.entry.js → p-c1f41172.entry.js} +2 -2
- package/dist/calcite/{p-63d01694.entry.js → p-c3f0ca58.entry.js} +2 -2
- package/dist/calcite/{p-74721533.entry.js → p-c7a40044.entry.js} +2 -2
- package/dist/calcite/{p-28680a4a.entry.js → p-c943664b.entry.js} +2 -2
- package/dist/calcite/{p-020db3d6.js → p-c9c594e4.js} +2 -2
- package/dist/calcite/{p-8d4ba716.entry.js → p-cfd04b12.entry.js} +2 -2
- package/dist/calcite/{p-8e3d90c3.js → p-d5d91d87.js} +1 -1
- package/dist/calcite/{p-06371a0c.entry.js → p-db5ed768.entry.js} +2 -2
- package/dist/calcite/{p-0f6e96a2.entry.js → p-dbd28f14.entry.js} +2 -2
- package/dist/calcite/{p-7bc1e82f.js → p-de41e5a9.js} +1 -1
- package/dist/calcite/{p-05c81bc1.entry.js → p-de5ad6d3.entry.js} +2 -2
- package/dist/calcite/p-dfda39cf.entry.js +6 -0
- package/dist/calcite/{p-986d3211.entry.js → p-dfe47ce7.entry.js} +2 -2
- package/dist/calcite/{p-c72598c8.entry.js → p-e0cb72b7.entry.js} +2 -2
- package/dist/calcite/{p-577950c9.entry.js → p-e423377f.entry.js} +2 -2
- package/dist/calcite/{p-738681b2.entry.js → p-e85ec259.entry.js} +2 -2
- package/dist/calcite/{p-d177e8a3.entry.js → p-eb088883.entry.js} +2 -2
- package/dist/calcite/p-ecd9436e.js +6 -0
- package/dist/calcite/{p-da9b728f.entry.js → p-ef74f7df.entry.js} +2 -2
- package/dist/calcite/{p-b3d730dc.js → p-f0513696.js} +1 -1
- package/dist/calcite/{p-28944c7e.js → p-f478e34c.js} +2 -2
- package/dist/calcite/p-f9398f20.entry.js +6 -0
- package/dist/calcite/p-fad91c38.entry.js +6 -0
- package/dist/calcite/{p-1c6f2bf3.js → p-ff2616f4.js} +1 -1
- package/dist/calcite/{p-347cc141.entry.js → p-ffb58fa7.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-f150d947.js → ExpandToggle-e018f211.js} +5 -5
- package/dist/cjs/{Heading-5a456260.js → Heading-c23ab3be.js} +2 -2
- package/dist/cjs/{app-globals-1c45d3d1.js → app-globals-882315c5.js} +2 -2
- package/dist/cjs/{array-ec81caec.js → array-46b159ae.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +26 -24
- package/dist/cjs/calcite-button.cjs.entry.js +26 -20
- package/dist/cjs/calcite-card.cjs.entry.js +14 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -16
- package/dist/cjs/calcite-chip.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +52 -55
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +52 -44
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +38 -27
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +44 -33
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -16
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +37 -28
- 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 +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +29 -20
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-2d66c859.js → conditionalSlot-4f4eea6a.js} +3 -3
- package/dist/cjs/{debounce-c9573a72.js → debounce-62882659.js} +1 -1
- package/dist/cjs/{dom-701c026a.js → dom-4d157abb.js} +3 -3
- package/dist/cjs/{filter-6e58d73c.js → filter-da2797e5.js} +2 -2
- package/dist/cjs/{floating-ui-6d57c957.js → floating-ui-e4e82078.js} +175 -23
- package/dist/cjs/{form-c07a24e1.js → form-2f418822.js} +3 -3
- package/dist/cjs/{guid-28a45376.js → guid-1d60d25f.js} +1 -1
- package/dist/cjs/{index-06f4e4a7.js → index-9624081e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3612d791.js → interactive-f3855fe3.js} +1 -1
- package/dist/cjs/{interfaces-ec1e235a.js → interfaces-78ca36e7.js} +1 -1
- package/dist/cjs/{key-c4719ef5.js → key-dbb23e1d.js} +1 -1
- package/dist/cjs/{label-6a9f46fe.js → label-cf0a7e54.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ccc83c4a.js → locale-9261eb8c.js} +4 -4
- package/dist/cjs/{math-09e9fbc0.js → math-70844c29.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-e6d5cb22.js +506 -0
- package/dist/cjs/{observers-11c52473.js → observers-53e1a6d6.js} +1 -1
- package/dist/cjs/{openCloseComponent-8fa915a1.js → openCloseComponent-af87dcf3.js} +1 -1
- package/dist/cjs/{resources-3786d362.js → resources-020cc6d5.js} +1 -1
- package/dist/cjs/{resources-fa828919.js → resources-2f6b4dae.js} +1 -1
- package/dist/cjs/{resources-1dee3f64.js → resources-375914cd.js} +1 -1
- package/dist/cjs/{resources-08e926e6.js → resources-83f09a7b.js} +5 -5
- package/dist/cjs/{resources-dd1bf8b6.js → resources-8477fc7e.js} +1 -1
- package/dist/cjs/{resources-2fe6016f.js → resources-d07d3444.js} +3 -3
- package/dist/cjs/{sortable.esm-091035e0.js → sortable.esm-7dbec412.js} +1 -1
- package/dist/cjs/{utils-859c359b.js → utils-a61e740b.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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 +1 -1
- 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 +31 -31
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +15 -13
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +49 -34
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +19 -18
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +26 -21
- package/dist/collection/components/chip/chip.js +21 -21
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +65 -66
- 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 +12 -14
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +5 -5
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -2
- package/dist/collection/components/combobox/combobox.js +66 -51
- 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 +19 -17
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
- 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/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 +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +40 -21
- 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/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 +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/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/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- 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 +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +0 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +49 -30
- 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 +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +25 -10
- 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/modal.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +0 -1
- package/dist/collection/components/popover/popover.js +40 -23
- 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 +1 -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/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 +1 -1
- 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 +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- 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 +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.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/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/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.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 +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +3 -3
- 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.css +0 -1
- package/dist/collection/components/tooltip/tooltip.js +35 -18
- 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/utils.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/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -2
- 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/config.js +22 -0
- 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/nonChromiumPlatformUtils.js +496 -0
- package/dist/collection/utils/floating-ui.js +123 -12
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- 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 +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +18 -12
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +3 -3
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +7 -5
- package/dist/components/calcite-block.js +11 -11
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +8 -7
- 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 +35 -36
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +7 -5
- package/dist/components/calcite-combobox.js +35 -29
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +31 -21
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +12 -6
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +10 -8
- package/dist/components/chip.js +10 -10
- package/dist/components/color-picker-hex-input.js +7 -9
- package/dist/components/color-picker-swatch.js +3 -3
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +29 -19
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +181 -22
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- 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 +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +498 -0
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +28 -20
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +24 -16
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/esm/{ExpandToggle-b309a912.js → ExpandToggle-c19c7ae6.js} +5 -5
- package/dist/esm/{Heading-dfd64184.js → Heading-55c4005d.js} +2 -2
- package/dist/esm/{app-globals-332f4aa7.js → app-globals-a52284f2.js} +2 -2
- package/dist/esm/{array-b93a5fb6.js → array-740ce6b6.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +26 -24
- package/dist/esm/calcite-button.entry.js +26 -20
- package/dist/esm/calcite-card.entry.js +14 -13
- package/dist/esm/calcite-checkbox.entry.js +18 -16
- package/dist/esm/calcite-chip.entry.js +16 -16
- package/dist/esm/calcite-color-picker_3.entry.js +52 -55
- package/dist/esm/calcite-combobox_3.entry.js +52 -44
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- package/dist/esm/calcite-dropdown_3.entry.js +38 -27
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +44 -33
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +22 -16
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +37 -28
- 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 +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +9 -9
- package/dist/esm/calcite-tooltip_2.entry.js +29 -20
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-db9ad6d4.js → conditionalSlot-3441e8f2.js} +3 -3
- package/dist/esm/{debounce-e42a1373.js → debounce-97857fea.js} +1 -1
- package/dist/esm/{dom-a2d12054.js → dom-fbef4a17.js} +3 -3
- package/dist/esm/{filter-2e4f1cbb.js → filter-5c7687ab.js} +2 -2
- package/dist/esm/{floating-ui-3124e4cb.js → floating-ui-d7d7ebf5.js} +173 -22
- package/dist/esm/{form-d0932f60.js → form-6c6f44c9.js} +3 -3
- package/dist/esm/{guid-7e7f8cb7.js → guid-46425949.js} +1 -1
- package/dist/esm/{index-f0e069a3.js → index-dd350c9e.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-109aac6f.js → interactive-7bb63697.js} +1 -1
- package/dist/esm/{interfaces-a195ea5d.js → interfaces-1e4b4247.js} +1 -1
- package/dist/esm/{key-c2bf57be.js → key-9fd0ee2d.js} +1 -1
- package/dist/esm/{label-289d45ea.js → label-4476feb8.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-a8017a0f.js → locale-59ce851a.js} +4 -4
- package/dist/esm/{math-db28d599.js → math-f58b6249.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-9a77a585.js +502 -0
- package/dist/esm/{observers-02263ad9.js → observers-4a45256c.js} +1 -1
- package/dist/esm/{openCloseComponent-12bcbae8.js → openCloseComponent-16ae97af.js} +1 -1
- package/dist/esm/{resources-565275f0.js → resources-06042c92.js} +1 -1
- package/dist/esm/{resources-eeb28d59.js → resources-172c2a25.js} +1 -1
- package/dist/esm/{resources-e94ec9de.js → resources-51ebf03b.js} +5 -5
- package/dist/esm/{resources-41048db6.js → resources-57d6fea9.js} +3 -3
- package/dist/esm/{resources-bd0bd4fb.js → resources-c905d6cb.js} +1 -1
- package/dist/esm/{resources-b4d4d0ee.js → resources-f25e2a24.js} +1 -1
- package/dist/esm/{sortable.esm-0511272f.js → sortable.esm-6094be14.js} +1 -1
- package/dist/esm/{utils-fa27285e.js → utils-94170855.js} +1 -1
- package/dist/extras/docs-json.json +238 -188
- 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/block/block.d.ts +22 -20
- package/dist/types/components/block-section/block-section.d.ts +12 -10
- package/dist/types/components/button/button.d.ts +35 -19
- package/dist/types/components/card/card.d.ts +11 -10
- package/dist/types/components/checkbox/checkbox.d.ts +16 -14
- package/dist/types/components/chip/chip.d.ts +12 -12
- package/dist/types/components/color-picker/color-picker.d.ts +36 -39
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +6 -8
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +31 -28
- package/dist/types/components/combobox-item/combobox-item.d.ts +14 -12
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +6 -3
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +13 -10
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +7 -3
- package/dist/types/components/popover/popover.d.ts +8 -5
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +7 -4
- package/dist/types/components.d.ts +314 -294
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
- package/dist/types/utils/floating-ui.d.ts +45 -2
- package/hydrate/index.js +404 -293
- package/package.json +2 -2
- package/dist/calcite/p-19449fc2.entry.js +0 -6
- package/dist/calcite/p-36270916.entry.js +0 -6
- package/dist/calcite/p-3d77c2ee.js +0 -6
- package/dist/calcite/p-52b4a671.entry.js +0 -6
- package/dist/calcite/p-5875d9d9.entry.js +0 -6
- package/dist/calcite/p-6ee9d00f.js +0 -6
- package/dist/calcite/p-90cc2b83.entry.js +0 -6
- package/dist/calcite/p-e03c020c.js +0 -6
- package/dist/calcite/p-e3f1310b.entry.js +0 -6
|
@@ -1,17 +1,17 @@
|
|
|
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.607
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, d as getThemeName } from './dom-
|
|
8
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-
|
|
9
|
-
import { c as clamp } from './math-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { i as isActivationKey } from './key-
|
|
12
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-dd350c9e.js';
|
|
7
|
+
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, d as getThemeName } from './dom-fbef4a17.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-94170855.js';
|
|
9
|
+
import { c as clamp } from './math-f58b6249.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-7bb63697.js';
|
|
11
|
+
import { i as isActivationKey } from './key-9fd0ee2d.js';
|
|
12
|
+
import { d as debounce, i as isObject } from './debounce-97857fea.js';
|
|
13
|
+
import './resources-f25e2a24.js';
|
|
14
|
+
import './guid-46425949.js';
|
|
15
15
|
|
|
16
16
|
/** Error message constants. */
|
|
17
17
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2305,12 +2305,16 @@ const ColorPicker = class {
|
|
|
2305
2305
|
//
|
|
2306
2306
|
//--------------------------------------------------------------------------
|
|
2307
2307
|
/**
|
|
2308
|
-
* When false
|
|
2308
|
+
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
|
2309
2309
|
*
|
|
2310
|
-
* When true, clearing the input
|
|
2310
|
+
* When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
|
|
2311
2311
|
*/
|
|
2312
2312
|
this.allowEmpty = false;
|
|
2313
|
-
/**
|
|
2313
|
+
/**
|
|
2314
|
+
* Specifies the appearance style of the component -
|
|
2315
|
+
*
|
|
2316
|
+
* `"solid"` (containing border) or `"minimal"` (no containing border).
|
|
2317
|
+
*/
|
|
2314
2318
|
this.appearance = "solid";
|
|
2315
2319
|
/**
|
|
2316
2320
|
* Internal prop for advanced use-cases.
|
|
@@ -2319,146 +2323,141 @@ const ColorPicker = class {
|
|
|
2319
2323
|
*/
|
|
2320
2324
|
this.color = DEFAULT_COLOR$1;
|
|
2321
2325
|
/**
|
|
2322
|
-
* When true
|
|
2326
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
2323
2327
|
*/
|
|
2324
2328
|
this.disabled = false;
|
|
2325
2329
|
/**
|
|
2326
|
-
* The format of
|
|
2330
|
+
* The format of `value`.
|
|
2327
2331
|
*
|
|
2328
|
-
* When "auto"
|
|
2332
|
+
* When `"auto"`, the format will be inferred from `value` when set.
|
|
2329
2333
|
*
|
|
2330
2334
|
* @default "auto"
|
|
2331
2335
|
*/
|
|
2332
2336
|
this.format = defaultFormat;
|
|
2333
|
-
/** When true
|
|
2337
|
+
/** When `true`, hides the Hex input. */
|
|
2334
2338
|
this.hideHex = false;
|
|
2335
|
-
/** When true
|
|
2339
|
+
/** When `true`, hides the RGB/HSV channel inputs. */
|
|
2336
2340
|
this.hideChannels = false;
|
|
2337
|
-
/** When true
|
|
2341
|
+
/** When `true`, hides the saved colors section. */
|
|
2338
2342
|
this.hideSaved = false;
|
|
2339
2343
|
/**
|
|
2340
|
-
*
|
|
2344
|
+
* Accessible name for the RGB section's blue channel.
|
|
2341
2345
|
*
|
|
2342
2346
|
* @default "B"
|
|
2343
2347
|
*/
|
|
2344
2348
|
this.intlB = TEXT.b;
|
|
2345
2349
|
/**
|
|
2346
|
-
*
|
|
2350
|
+
* Accessible name for the RGB section's blue channel description.
|
|
2347
2351
|
*
|
|
2348
2352
|
* @default "Blue"
|
|
2349
2353
|
*/
|
|
2350
2354
|
this.intlBlue = TEXT.blue;
|
|
2351
2355
|
/**
|
|
2352
|
-
*
|
|
2356
|
+
* Accessible name for the delete color button.
|
|
2353
2357
|
*
|
|
2354
2358
|
* @default "Delete color"
|
|
2355
2359
|
*/
|
|
2356
2360
|
this.intlDeleteColor = TEXT.deleteColor;
|
|
2357
2361
|
/**
|
|
2358
|
-
*
|
|
2362
|
+
* Accessible name for the RGB section's green channel.
|
|
2359
2363
|
*
|
|
2360
2364
|
* @default "G"
|
|
2361
2365
|
*/
|
|
2362
2366
|
this.intlG = TEXT.g;
|
|
2363
2367
|
/**
|
|
2364
|
-
*
|
|
2368
|
+
* Accessible name for the RGB section's green channel description.
|
|
2365
2369
|
*
|
|
2366
2370
|
* @default "Green"
|
|
2367
2371
|
*/
|
|
2368
2372
|
this.intlGreen = TEXT.green;
|
|
2369
2373
|
/**
|
|
2370
|
-
*
|
|
2374
|
+
* Accessible name for the HSV section's hue channel.
|
|
2371
2375
|
*
|
|
2372
2376
|
* @default "H"
|
|
2373
2377
|
*/
|
|
2374
2378
|
this.intlH = TEXT.h;
|
|
2375
2379
|
/**
|
|
2376
|
-
*
|
|
2380
|
+
* Accessible name for the HSV mode.
|
|
2377
2381
|
*
|
|
2378
2382
|
* @default "HSV"
|
|
2379
2383
|
*/
|
|
2380
2384
|
this.intlHsv = TEXT.hsv;
|
|
2381
2385
|
/**
|
|
2382
|
-
*
|
|
2386
|
+
* Accessible name for the Hex input.
|
|
2383
2387
|
*
|
|
2384
2388
|
* @default "Hex"
|
|
2385
2389
|
*/
|
|
2386
2390
|
this.intlHex = TEXT.hex;
|
|
2387
2391
|
/**
|
|
2388
|
-
*
|
|
2392
|
+
* Accessible name for the HSV section's hue channel description.
|
|
2389
2393
|
*
|
|
2390
2394
|
* @default "Hue"
|
|
2391
2395
|
*/
|
|
2392
2396
|
this.intlHue = TEXT.hue;
|
|
2393
2397
|
/**
|
|
2394
|
-
*
|
|
2398
|
+
* Accessible name for the Hex input when there is no color selected.
|
|
2395
2399
|
*
|
|
2396
2400
|
* @default "No color"
|
|
2397
2401
|
*/
|
|
2398
2402
|
this.intlNoColor = TEXT.noColor;
|
|
2399
2403
|
/**
|
|
2400
|
-
*
|
|
2404
|
+
* Accessible name for the RGB section's red channel.
|
|
2401
2405
|
*
|
|
2402
2406
|
* @default "R"
|
|
2403
2407
|
*/
|
|
2404
2408
|
this.intlR = TEXT.r;
|
|
2405
2409
|
/**
|
|
2406
|
-
*
|
|
2410
|
+
* Accessible name for the RGB section's red channel description.
|
|
2407
2411
|
*
|
|
2408
2412
|
* @default "Red"
|
|
2409
2413
|
*/
|
|
2410
2414
|
this.intlRed = TEXT.red;
|
|
2411
2415
|
/**
|
|
2412
|
-
*
|
|
2416
|
+
* Accessible name for the RGB mode.
|
|
2413
2417
|
*
|
|
2414
2418
|
* @default "RGB"
|
|
2415
2419
|
*/
|
|
2416
2420
|
this.intlRgb = TEXT.rgb;
|
|
2417
2421
|
/**
|
|
2418
|
-
*
|
|
2422
|
+
* Accessible name for the HSV section's saturation channel.
|
|
2419
2423
|
*
|
|
2420
2424
|
* @default "S"
|
|
2421
2425
|
*/
|
|
2422
2426
|
this.intlS = TEXT.s;
|
|
2423
2427
|
/**
|
|
2424
|
-
*
|
|
2428
|
+
* Accessible name for the HSV section's saturation channel description.
|
|
2425
2429
|
*
|
|
2426
2430
|
* @default "Saturation"
|
|
2427
2431
|
*/
|
|
2428
2432
|
this.intlSaturation = TEXT.saturation;
|
|
2429
2433
|
/**
|
|
2430
|
-
*
|
|
2434
|
+
* Accessible name for the save color button.
|
|
2431
2435
|
*
|
|
2432
2436
|
* @default "Save color"
|
|
2433
2437
|
*/
|
|
2434
2438
|
this.intlSaveColor = TEXT.saveColor;
|
|
2435
2439
|
/**
|
|
2436
|
-
*
|
|
2440
|
+
* Accessible name for the saved colors section.
|
|
2437
2441
|
*
|
|
2438
2442
|
* @default "Saved"
|
|
2439
2443
|
*/
|
|
2440
2444
|
this.intlSaved = TEXT.saved;
|
|
2441
2445
|
/**
|
|
2442
|
-
*
|
|
2446
|
+
* Accessible name for the HSV section's value channel.
|
|
2443
2447
|
*
|
|
2444
2448
|
* @default "V"
|
|
2445
2449
|
*/
|
|
2446
2450
|
this.intlV = TEXT.v;
|
|
2447
2451
|
/**
|
|
2448
|
-
*
|
|
2452
|
+
* Accessible name for the HSV section's value channel description.
|
|
2449
2453
|
*
|
|
2450
2454
|
* @default "Value"
|
|
2451
2455
|
*/
|
|
2452
2456
|
this.intlValue = TEXT.value;
|
|
2453
|
-
/**
|
|
2454
|
-
* The scale of the color picker.
|
|
2455
|
-
*/
|
|
2457
|
+
/** Specifies the size of the component. */
|
|
2456
2458
|
this.scale = "m";
|
|
2457
2459
|
/**
|
|
2458
|
-
* The component's value.
|
|
2459
|
-
*
|
|
2460
|
-
* This value can be either a CSS color string,
|
|
2461
|
-
* a RGB, HSL or HSV object.
|
|
2460
|
+
* The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.
|
|
2462
2461
|
*
|
|
2463
2462
|
* The type will be preserved as the color is updated.
|
|
2464
2463
|
*
|
|
@@ -3138,29 +3137,27 @@ const ColorPickerHexInput = class {
|
|
|
3138
3137
|
//
|
|
3139
3138
|
//--------------------------------------------------------------------------
|
|
3140
3139
|
/**
|
|
3141
|
-
* When false
|
|
3140
|
+
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
|
3142
3141
|
*
|
|
3143
|
-
* When true, clearing the input
|
|
3142
|
+
* When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
|
|
3144
3143
|
*/
|
|
3145
3144
|
this.allowEmpty = false;
|
|
3146
3145
|
/**
|
|
3147
|
-
*
|
|
3146
|
+
* Accessible name for the Hex input.
|
|
3148
3147
|
*
|
|
3149
3148
|
* @default "Hex"
|
|
3150
3149
|
*/
|
|
3151
3150
|
this.intlHex = TEXT.hex;
|
|
3152
3151
|
/**
|
|
3153
|
-
*
|
|
3152
|
+
* Accessible name for the Hex input when there is no color selected.
|
|
3154
3153
|
*
|
|
3155
3154
|
* @default "No color"
|
|
3156
3155
|
*/
|
|
3157
3156
|
this.intlNoColor = TEXT.noColor;
|
|
3158
|
-
/**
|
|
3159
|
-
* The component's scale.
|
|
3160
|
-
*/
|
|
3157
|
+
/** Specifies the size of the component. */
|
|
3161
3158
|
this.scale = "m";
|
|
3162
3159
|
/**
|
|
3163
|
-
* The
|
|
3160
|
+
* The Hex value.
|
|
3164
3161
|
*/
|
|
3165
3162
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
3166
3163
|
this.onCalciteInternalInputBlur = () => {
|
|
@@ -3334,11 +3331,11 @@ const ColorPickerSwatch = class {
|
|
|
3334
3331
|
//
|
|
3335
3332
|
//--------------------------------------------------------------------------
|
|
3336
3333
|
/**
|
|
3337
|
-
*
|
|
3334
|
+
* When `true`, the component is active.
|
|
3338
3335
|
*/
|
|
3339
3336
|
this.active = false;
|
|
3340
3337
|
/**
|
|
3341
|
-
*
|
|
3338
|
+
* Specifies the size of the component.
|
|
3342
3339
|
*/
|
|
3343
3340
|
this.scale = "m";
|
|
3344
3341
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
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.607
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as filter } from './filter-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI,
|
|
9
|
-
import { g as guid } from './guid-
|
|
10
|
-
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, e as getElementProp, g as getSlotted } from './dom-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import { u as updateHostInteraction } from './interactive-
|
|
15
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
16
|
-
import { d as debounce } from './debounce-
|
|
17
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
18
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dd350c9e.js';
|
|
7
|
+
import { f as filter } from './filter-5c7687ab.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-d7d7ebf5.js';
|
|
9
|
+
import { g as guid } from './guid-46425949.js';
|
|
10
|
+
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, e as getElementProp, g as getSlotted } from './dom-fbef4a17.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-4476feb8.js';
|
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-6c6f44c9.js';
|
|
13
|
+
import { c as createObserver } from './observers-4a45256c.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-7bb63697.js';
|
|
15
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-16ae97af.js';
|
|
16
|
+
import { d as debounce } from './debounce-97857fea.js';
|
|
17
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-3441e8f2.js';
|
|
18
|
+
import './resources-f25e2a24.js';
|
|
19
19
|
|
|
20
20
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
21
21
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -46,7 +46,7 @@ function getDepth(element) {
|
|
|
46
46
|
return result.snapshotLength;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;
|
|
49
|
+
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
50
50
|
|
|
51
51
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
52
52
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -71,16 +71,16 @@ const Combobox = class {
|
|
|
71
71
|
//
|
|
72
72
|
//--------------------------------------------------------------------------
|
|
73
73
|
/**
|
|
74
|
-
* When true
|
|
74
|
+
* When `true`, displays and positions the component.
|
|
75
75
|
*
|
|
76
|
-
* @deprecated use open instead
|
|
76
|
+
* @deprecated use `open` instead.
|
|
77
77
|
*/
|
|
78
78
|
this.active = false;
|
|
79
|
-
/**When true
|
|
79
|
+
/**When `true`, displays and positions the component. */
|
|
80
80
|
this.open = false;
|
|
81
|
-
/**
|
|
81
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
82
82
|
this.disabled = false;
|
|
83
|
-
/**
|
|
83
|
+
/** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */
|
|
84
84
|
this.maxItems = 0;
|
|
85
85
|
/**
|
|
86
86
|
* Determines the type of positioning to use for the overlaid content.
|
|
@@ -92,24 +92,24 @@ const Combobox = class {
|
|
|
92
92
|
*/
|
|
93
93
|
this.overlayPositioning = "absolute";
|
|
94
94
|
/**
|
|
95
|
-
* When true
|
|
95
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
96
96
|
*
|
|
97
97
|
* @internal
|
|
98
98
|
*/
|
|
99
99
|
this.required = false;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* Specifies the selection mode -
|
|
102
|
+
* `"multi"` (allow any number of selected items),
|
|
103
|
+
* `"single"` (allow only one selection), or
|
|
104
|
+
* `"ancestors"` (like `"multi"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).
|
|
105
105
|
*/
|
|
106
106
|
this.selectionMode = "multi";
|
|
107
|
-
/**
|
|
107
|
+
/** Specifies the size of the component. */
|
|
108
108
|
this.scale = "m";
|
|
109
|
-
/** The value(s)
|
|
109
|
+
/** The component's value(s) from the selected `calcite-combobox-item`(s). */
|
|
110
110
|
this.value = null;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.
|
|
113
113
|
*
|
|
114
114
|
* @default "Remove tag"
|
|
115
115
|
*/
|
|
@@ -141,7 +141,6 @@ const Combobox = class {
|
|
|
141
141
|
// Private Methods
|
|
142
142
|
//
|
|
143
143
|
// --------------------------------------------------------------------------
|
|
144
|
-
this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
|
|
145
144
|
this.setFilteredPlacements = () => {
|
|
146
145
|
const { el, flipPlacements } = this;
|
|
147
146
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -273,11 +272,11 @@ const Combobox = class {
|
|
|
273
272
|
if (!listContainerEl || !open) {
|
|
274
273
|
return;
|
|
275
274
|
}
|
|
276
|
-
await this.
|
|
275
|
+
await this.reposition(true);
|
|
277
276
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
278
277
|
listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
279
278
|
listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
|
|
280
|
-
await this.
|
|
279
|
+
await this.reposition(true);
|
|
281
280
|
};
|
|
282
281
|
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
|
283
282
|
this.open = false;
|
|
@@ -412,6 +411,9 @@ const Combobox = class {
|
|
|
412
411
|
this.open = value;
|
|
413
412
|
}
|
|
414
413
|
openHandler(value) {
|
|
414
|
+
if (!value) {
|
|
415
|
+
updateAfterClose(this.floatingEl);
|
|
416
|
+
}
|
|
415
417
|
if (this.disabled) {
|
|
416
418
|
this.active = false;
|
|
417
419
|
this.open = false;
|
|
@@ -430,7 +432,7 @@ const Combobox = class {
|
|
|
430
432
|
this.setMaxScrollerHeight();
|
|
431
433
|
}
|
|
432
434
|
overlayPositioningHandler() {
|
|
433
|
-
this.
|
|
435
|
+
this.reposition(true);
|
|
434
436
|
}
|
|
435
437
|
valueHandler(value) {
|
|
436
438
|
if (!this.internalValueChangeFlag) {
|
|
@@ -449,7 +451,7 @@ const Combobox = class {
|
|
|
449
451
|
}
|
|
450
452
|
flipPlacementsHandler() {
|
|
451
453
|
this.setFilteredPlacements();
|
|
452
|
-
this.
|
|
454
|
+
this.reposition(true);
|
|
453
455
|
}
|
|
454
456
|
//--------------------------------------------------------------------------
|
|
455
457
|
//
|
|
@@ -476,17 +478,21 @@ const Combobox = class {
|
|
|
476
478
|
// Public Methods
|
|
477
479
|
//
|
|
478
480
|
//--------------------------------------------------------------------------
|
|
479
|
-
/**
|
|
480
|
-
|
|
481
|
+
/**
|
|
482
|
+
* Updates the position of the component.
|
|
483
|
+
*
|
|
484
|
+
* @param delayed
|
|
485
|
+
*/
|
|
486
|
+
async reposition(delayed = false) {
|
|
481
487
|
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
|
482
|
-
return
|
|
488
|
+
return reposition(this, {
|
|
483
489
|
floatingEl,
|
|
484
490
|
referenceEl,
|
|
485
491
|
overlayPositioning,
|
|
486
492
|
placement,
|
|
487
493
|
flipPlacements: filteredFlipPlacements,
|
|
488
494
|
type: "menu"
|
|
489
|
-
});
|
|
495
|
+
}, delayed);
|
|
490
496
|
}
|
|
491
497
|
/** Sets focus on the component. */
|
|
492
498
|
async setFocus() {
|
|
@@ -510,7 +516,7 @@ const Combobox = class {
|
|
|
510
516
|
connectForm(this);
|
|
511
517
|
connectOpenCloseComponent(this);
|
|
512
518
|
this.setFilteredPlacements();
|
|
513
|
-
this.
|
|
519
|
+
this.reposition(true);
|
|
514
520
|
if (this.active) {
|
|
515
521
|
this.activeHandler(this.active);
|
|
516
522
|
}
|
|
@@ -523,11 +529,11 @@ const Combobox = class {
|
|
|
523
529
|
}
|
|
524
530
|
componentDidLoad() {
|
|
525
531
|
afterConnectDefaultValueSet(this, this.getValue());
|
|
526
|
-
this.
|
|
532
|
+
this.reposition(true);
|
|
527
533
|
}
|
|
528
534
|
componentDidRender() {
|
|
529
535
|
if (this.el.offsetHeight !== this.inputHeight) {
|
|
530
|
-
this.
|
|
536
|
+
this.reposition(true);
|
|
531
537
|
this.inputHeight = this.el.offsetHeight;
|
|
532
538
|
}
|
|
533
539
|
updateHostInteraction(this);
|
|
@@ -901,13 +907,15 @@ const ComboboxItem = class {
|
|
|
901
907
|
// Properties
|
|
902
908
|
//
|
|
903
909
|
// --------------------------------------------------------------------------
|
|
904
|
-
/** When true
|
|
910
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
905
911
|
this.disabled = false;
|
|
906
|
-
/**
|
|
912
|
+
/**
|
|
913
|
+
* When `true`, the component is selected.
|
|
914
|
+
*/
|
|
907
915
|
this.selected = false;
|
|
908
|
-
/**
|
|
916
|
+
/** When `true`, the component is active. */
|
|
909
917
|
this.active = false;
|
|
910
|
-
/**
|
|
918
|
+
/** The `id` attribute of the component. When omitted, a globally unique identifier is used. */
|
|
911
919
|
this.guid = guid();
|
|
912
920
|
this.scale = "m";
|
|
913
921
|
// --------------------------------------------------------------------------
|
|
@@ -1,18 +1,18 @@
|
|
|
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.607
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, f as getDaysDiff, d as dateToISO, a as dateFromISO, g as getValueAsDateRange, b as dateFromRange, c as getLocaleData, s as setEndOfDay, H as HEADING_LEVEL, e as sameDate, i as inRange, h as getOrder, n as nextMonth, j as prevMonth } from './resources-
|
|
8
|
-
import { c as connectLocalized, n as numberStringFormatter, d as disconnectLocalized } from './locale-
|
|
9
|
-
import { a as getElementDir } from './dom-
|
|
10
|
-
import { C as CSS_UTILITY } from './resources-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import { H as Heading } from './Heading-
|
|
14
|
-
import './observers-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-dd350c9e.js';
|
|
7
|
+
import { T as TEXT, f as getDaysDiff, d as dateToISO, a as dateFromISO, g as getValueAsDateRange, b as dateFromRange, c as getLocaleData, s as setEndOfDay, H as HEADING_LEVEL, e as sameDate, i as inRange, h as getOrder, n as nextMonth, j as prevMonth } from './resources-57d6fea9.js';
|
|
8
|
+
import { c as connectLocalized, n as numberStringFormatter, d as disconnectLocalized } from './locale-59ce851a.js';
|
|
9
|
+
import { a as getElementDir } from './dom-fbef4a17.js';
|
|
10
|
+
import { C as CSS_UTILITY } from './resources-f25e2a24.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-7bb63697.js';
|
|
12
|
+
import { i as isActivationKey } from './key-9fd0ee2d.js';
|
|
13
|
+
import { H as Heading } from './Heading-55c4005d.js';
|
|
14
|
+
import './observers-4a45256c.js';
|
|
15
|
+
import './guid-46425949.js';
|
|
16
16
|
|
|
17
17
|
const datePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
|
18
18
|
|