@esri/calcite-components 1.0.0-next.606 → 1.0.0-next.608
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-edbb9009.js → p-011bc8ee.js} +1 -1
- package/dist/calcite/{p-1eb05bb2.entry.js → p-050c5bfa.entry.js} +2 -2
- package/dist/calcite/{p-af04fadb.entry.js → p-0ac46f5b.entry.js} +2 -2
- package/dist/calcite/{p-e5b5b117.entry.js → p-10a0423a.entry.js} +2 -2
- package/dist/calcite/{p-32ef135d.entry.js → p-1242df2f.entry.js} +2 -2
- package/dist/calcite/p-18a6ab98.js +6 -0
- package/dist/calcite/{p-37141771.js → p-19f1fc1a.js} +2 -2
- package/dist/calcite/{p-59bddc1f.js → p-19ffb9df.js} +1 -1
- package/dist/calcite/{p-1e272a5d.js → p-1a5cacb8.js} +1 -1
- package/dist/calcite/{p-72c5d8e9.entry.js → p-1b2aafc4.entry.js} +2 -2
- package/dist/calcite/{p-9f88a197.entry.js → p-1bf66b35.entry.js} +2 -2
- package/dist/calcite/{p-c8ffd3f8.entry.js → p-1d009cd3.entry.js} +2 -2
- package/dist/calcite/{p-d5b3c1bb.entry.js → p-27072a59.entry.js} +2 -2
- package/dist/calcite/{p-54c6ec8e.js → p-27b92178.js} +1 -1
- package/dist/calcite/{p-9c59c88e.js → p-28279e5b.js} +1 -1
- package/dist/calcite/{p-58a34298.js → p-28895e53.js} +1 -1
- package/dist/calcite/{p-8faadeb1.js → p-299f97f2.js} +1 -1
- package/dist/calcite/p-29bbf02e.js +6 -0
- package/dist/calcite/{p-c8f9eae5.entry.js → p-2ba3c4dd.entry.js} +2 -2
- package/dist/calcite/{p-bf16098b.entry.js → p-2e9146d0.entry.js} +2 -2
- package/dist/calcite/{p-c564ee3d.js → p-34e9bed2.js} +1 -1
- package/dist/calcite/{p-c5b28b2a.entry.js → p-37cb2680.entry.js} +2 -2
- package/dist/calcite/p-394a1cea.entry.js +6 -0
- package/dist/calcite/{p-1b06322f.entry.js → p-3dfcd6f7.entry.js} +2 -2
- package/dist/calcite/{p-404c6db8.entry.js → p-3f76acf2.entry.js} +2 -2
- package/dist/calcite/{p-dbb8e6a4.js → p-3fa609d5.js} +2 -2
- package/dist/calcite/{p-a6373ef6.js → p-3fcb9034.js} +2 -2
- package/dist/calcite/{p-1de1447f.entry.js → p-45e53f55.entry.js} +2 -2
- package/dist/calcite/{p-452356bd.js → p-4856dddb.js} +2 -2
- package/dist/calcite/{p-74cc2ffc.js → p-49e5d777.js} +1 -1
- package/dist/calcite/{p-8599b693.entry.js → p-4b8f2cc6.entry.js} +2 -2
- package/dist/calcite/p-4c57359d.entry.js +6 -0
- package/dist/calcite/{p-5a979e32.entry.js → p-4d7133d9.entry.js} +2 -2
- package/dist/calcite/{p-40e1d497.js → p-51d0515b.js} +1 -1
- package/dist/calcite/p-532cef5c.entry.js +6 -0
- package/dist/calcite/{p-f532a20d.entry.js → p-54d273e8.entry.js} +2 -2
- package/dist/calcite/{p-ba03e197.entry.js → p-5a18b7f4.entry.js} +2 -2
- package/dist/calcite/p-5d6e52d4.entry.js +6 -0
- package/dist/calcite/{p-96f53f90.entry.js → p-60ced749.entry.js} +2 -2
- package/dist/calcite/p-621d5429.js +6 -0
- package/dist/calcite/p-65335b2b.entry.js +6 -0
- package/dist/calcite/{p-5ef97e90.entry.js → p-66d4ce20.entry.js} +2 -2
- package/dist/calcite/{p-4d4bc233.entry.js → p-6f54481b.entry.js} +2 -2
- package/dist/calcite/{p-d2f79079.entry.js → p-70ca1c26.entry.js} +2 -2
- package/dist/calcite/{p-718e40b5.entry.js → p-728c6fc2.entry.js} +2 -2
- package/dist/calcite/{p-0020d7d5.entry.js → p-752a8d00.entry.js} +2 -2
- package/dist/calcite/{p-2eeff261.js → p-7d472b89.js} +1 -1
- package/dist/calcite/p-807bda75.entry.js +6 -0
- package/dist/calcite/{p-d973937d.entry.js → p-837ffe1e.entry.js} +2 -2
- package/dist/calcite/{p-ac96d103.entry.js → p-855fd4d7.entry.js} +2 -2
- package/dist/calcite/{p-20ab02b7.entry.js → p-8666e688.entry.js} +2 -2
- package/dist/calcite/{p-441037a9.entry.js → p-877d38e1.entry.js} +2 -2
- package/dist/calcite/{p-cafb01e6.entry.js → p-8831891e.entry.js} +2 -2
- package/dist/calcite/{p-c7447ff5.entry.js → p-89c058e4.entry.js} +2 -2
- package/dist/calcite/{p-52d3de61.entry.js → p-911b246e.entry.js} +2 -2
- package/dist/calcite/{p-eb47be9d.js → p-92cc49ae.js} +1 -1
- package/dist/calcite/{p-4b1cc441.js → p-949abf15.js} +2 -2
- package/dist/calcite/{p-b5284c7c.entry.js → p-954eef5d.entry.js} +2 -2
- package/dist/calcite/{p-da82a06e.entry.js → p-96f5af97.entry.js} +2 -2
- package/dist/calcite/{p-ccd21f8c.js → p-97d57adb.js} +2 -2
- package/dist/calcite/{p-c416a37b.entry.js → p-9c9ccc12.entry.js} +2 -2
- package/dist/calcite/{p-a322bb86.entry.js → p-9e35701e.entry.js} +2 -2
- package/dist/calcite/{p-8d075e37.js → p-a04c9515.js} +1 -1
- package/dist/calcite/p-a31ab73c.entry.js +6 -0
- package/dist/calcite/{p-1dd5f101.entry.js → p-a65e95d2.entry.js} +2 -2
- package/dist/calcite/{p-aed4b6fc.entry.js → p-a80301bb.entry.js} +2 -2
- package/dist/calcite/{p-33732b8f.entry.js → p-adb4d487.entry.js} +2 -2
- package/dist/calcite/{p-36522d79.entry.js → p-aeee54d1.entry.js} +2 -2
- package/dist/calcite/{p-d90a2e81.entry.js → p-b0ac90ac.entry.js} +2 -2
- package/dist/calcite/{p-06c6854a.entry.js → p-b5978ef5.entry.js} +2 -2
- package/dist/calcite/{p-a3f7f3c6.entry.js → p-bf83a066.entry.js} +2 -2
- package/dist/calcite/{p-a88b4c26.js → p-c0b13ce0.js} +1 -1
- package/dist/calcite/{p-f69de408.js → p-c0e6bfd3.js} +1 -1
- package/dist/calcite/{p-967401e4.entry.js → p-c239aa2b.entry.js} +2 -2
- package/dist/calcite/{p-72b59949.entry.js → p-c3ec5007.entry.js} +2 -2
- package/dist/calcite/{p-1e8d2fd7.entry.js → p-c4c10ed9.entry.js} +2 -2
- package/dist/calcite/{p-9df2c651.js → p-d0f36c4f.js} +2 -2
- package/dist/calcite/{p-8cf35eb8.entry.js → p-d6cb9bd1.entry.js} +2 -2
- package/dist/calcite/{p-98a6c8a4.js → p-da2c5bde.js} +2 -2
- package/dist/calcite/{p-187c562d.entry.js → p-db4b767d.entry.js} +2 -2
- package/dist/calcite/{p-791e76fc.entry.js → p-ebeb6981.entry.js} +2 -2
- package/dist/calcite/{p-7be2ad3b.entry.js → p-ee38e857.entry.js} +2 -2
- package/dist/calcite/{p-39ebfe9e.entry.js → p-f0d35a0d.entry.js} +2 -2
- package/dist/calcite/{p-1ed53169.js → p-f193166a.js} +1 -1
- package/dist/calcite/p-f2393c60.entry.js +6 -0
- package/dist/calcite/{p-1e3fdded.entry.js → p-f3351947.entry.js} +2 -2
- package/dist/calcite/p-f6f6c8f4.js +6 -0
- package/dist/calcite/{p-7b0c6ea0.js → p-f75b9bae.js} +2 -2
- package/dist/calcite/{p-f8706ae9.entry.js → p-f9dd57c3.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-4c94697a.js → ExpandToggle-fe4238af.js} +5 -5
- package/dist/cjs/{Heading-3af0e212.js → Heading-f8942a9b.js} +2 -2
- package/dist/cjs/{app-globals-3186acc4.js → app-globals-87cc97d5.js} +2 -2
- package/dist/cjs/{array-4f023a91.js → array-a371274e.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 +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +33 -27
- 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 +5 -5
- 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 +37 -26
- package/dist/cjs/calcite-input-message.cjs.entry.js +12 -7
- 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 +21 -15
- 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 +10 -5
- 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 +36 -27
- 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 +8 -8
- 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 +12 -12
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-cb35bd49.js → conditionalSlot-d483eeec.js} +3 -3
- package/dist/cjs/{debounce-7c328f60.js → debounce-d37073f8.js} +1 -1
- package/dist/cjs/{dom-c8d2699b.js → dom-438cf820.js} +3 -3
- package/dist/cjs/{filter-9a46e30b.js → filter-417a10f5.js} +2 -2
- package/dist/cjs/{floating-ui-1eb7dfe6.js → floating-ui-211aac7d.js} +175 -23
- package/dist/cjs/{form-131e64b8.js → form-c1972559.js} +3 -3
- package/dist/cjs/{guid-ad9b119b.js → guid-46161d10.js} +1 -1
- package/dist/cjs/{index-b1ba5282.js → index-c5b688a1.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-baf36661.js → interactive-76c6345c.js} +1 -1
- package/dist/cjs/{interfaces-084c0793.js → interfaces-6375f24e.js} +1 -1
- package/dist/cjs/{key-59a119b9.js → key-e2155dc2.js} +1 -1
- package/dist/cjs/{label-415bc940.js → label-21de0ff3.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-02d3d5ef.js → locale-5c4b7a28.js} +4 -4
- package/dist/cjs/{math-45a2d4c0.js → math-5f60a1e1.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-aa1fad96.js +506 -0
- package/dist/cjs/{observers-bf725ee8.js → observers-e12f45ca.js} +1 -1
- package/dist/cjs/{openCloseComponent-f4966a6b.js → openCloseComponent-a609980b.js} +1 -1
- package/dist/cjs/{resources-79bc4e72.js → resources-025fab60.js} +1 -1
- package/dist/cjs/{resources-12c592bb.js → resources-044f089d.js} +5 -5
- package/dist/cjs/{resources-55a2a593.js → resources-2e5bd4b4.js} +1 -1
- package/dist/cjs/{resources-0da64a64.js → resources-bc05554f.js} +3 -3
- package/dist/cjs/{resources-f51e581d.js → resources-de01a800.js} +1 -1
- package/dist/cjs/{resources-ef23c4c9.js → resources-ee3f699f.js} +1 -1
- package/dist/cjs/{sortable.esm-f5415dc8.js → sortable.esm-00c4fa50.js} +1 -1
- package/dist/cjs/{utils-332df7b7.js → utils-db431c41.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 +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/resources.js +1 -1
- package/dist/collection/components/button/button.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/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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.css +0 -1
- package/dist/collection/components/combobox/combobox.js +32 -17
- 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/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.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 +35 -16
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +6 -16
- package/dist/collection/components/input-message/input-message.js +14 -3
- 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 +23 -8
- 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.css +0 -7
- package/dist/collection/components/loader/loader.js +14 -3
- 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 +38 -21
- 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 +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.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.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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +22 -16
- 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 +24 -14
- package/dist/components/calcite-input-message.js +8 -3
- 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 +11 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- 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 +1 -1
- 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 +8 -3
- 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 +27 -19
- 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-246dd7c6.js → ExpandToggle-e12726c1.js} +5 -5
- package/dist/esm/{Heading-11c2a834.js → Heading-f79e69a8.js} +2 -2
- package/dist/esm/{app-globals-1b919870.js → app-globals-a2b52b66.js} +2 -2
- package/dist/esm/{array-16ebf5c6.js → array-d19f31ef.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 +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +33 -27
- 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 +5 -5
- 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 +37 -26
- package/dist/esm/calcite-input-message.entry.js +12 -7
- 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 +21 -15
- 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 +10 -5
- 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 +36 -27
- 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 +8 -8
- 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 +12 -12
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-833c523f.js → conditionalSlot-4d2ab5e9.js} +3 -3
- package/dist/esm/{debounce-98d20a38.js → debounce-2bc2a354.js} +1 -1
- package/dist/esm/{dom-640caf51.js → dom-a87ef22f.js} +3 -3
- package/dist/esm/{filter-38e63edc.js → filter-761cb8ee.js} +2 -2
- package/dist/esm/{floating-ui-b2f9718e.js → floating-ui-ac993e39.js} +173 -22
- package/dist/esm/{form-493b70e6.js → form-a1efc73f.js} +3 -3
- package/dist/esm/{guid-11f68c50.js → guid-9d2910aa.js} +1 -1
- package/dist/esm/{index-06118eda.js → index-a6731e85.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-fccdf326.js → interactive-39616428.js} +1 -1
- package/dist/esm/{interfaces-d9428b54.js → interfaces-95d67796.js} +1 -1
- package/dist/esm/{key-754bbff1.js → key-3563e7c6.js} +1 -1
- package/dist/esm/{label-57dd65d4.js → label-df0add79.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-4e463ebf.js → locale-f75032e0.js} +4 -4
- package/dist/esm/{math-99ba6bfb.js → math-05526307.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-42471681.js +502 -0
- package/dist/esm/{observers-74e54f0e.js → observers-fcb97ebe.js} +1 -1
- package/dist/esm/{openCloseComponent-ccf3f367.js → openCloseComponent-a87c611f.js} +1 -1
- package/dist/esm/{resources-d9cf35ab.js → resources-29dda08c.js} +3 -3
- package/dist/esm/{resources-f3f5aa83.js → resources-2f4811b0.js} +1 -1
- package/dist/esm/{resources-bad5148f.js → resources-524fe319.js} +5 -5
- package/dist/esm/{resources-f7ec4e42.js → resources-624c9301.js} +1 -1
- package/dist/esm/{resources-64b0963b.js → resources-7432b8c4.js} +1 -1
- package/dist/esm/{resources-9331d9fa.js → resources-80f6302b.js} +1 -1
- package/dist/esm/{sortable.esm-76542737.js → sortable.esm-c1ee4e1b.js} +1 -1
- package/dist/esm/{utils-703b7ab8.js → utils-fc240fcd.js} +1 -1
- package/dist/extras/docs-json.json +65 -15
- 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/combobox/combobox.d.ts +6 -3
- package/dist/types/components/dropdown/dropdown.d.ts +6 -3
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -3
- package/dist/types/components/input-message/input-message.d.ts +6 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -2
- package/dist/types/components/loader/loader.d.ts +6 -1
- package/dist/types/components/popover/popover.d.ts +7 -4
- package/dist/types/components/tooltip/tooltip.d.ts +7 -4
- package/dist/types/components.d.ts +20 -6
- 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 +280 -169
- package/package.json +2 -2
- package/dist/calcite/p-03afda80.entry.js +0 -6
- package/dist/calcite/p-0ae7c12f.js +0 -6
- package/dist/calcite/p-22cfa796.entry.js +0 -6
- package/dist/calcite/p-2a78a458.entry.js +0 -6
- package/dist/calcite/p-2d12183c.entry.js +0 -6
- package/dist/calcite/p-538fd2ae.entry.js +0 -6
- package/dist/calcite/p-91036706.js +0 -6
- package/dist/calcite/p-c3e7ad35.entry.js +0 -6
- package/dist/calcite/p-cff1af31.entry.js +0 -6
- package/dist/calcite/p-da13cffd.entry.js +0 -6
- package/dist/calcite/p-fe3f8e2f.js +0 -6
|
@@ -1,15 +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.608
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { c as createObserver } from './observers-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-a6731e85.js';
|
|
7
|
+
import { g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-a87ef22f.js';
|
|
8
|
+
import { H as Heading, c as constrainHeadingLevel } from './Heading-f79e69a8.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-4d2ab5e9.js';
|
|
10
|
+
import { c as createObserver } from './observers-fcb97ebe.js';
|
|
11
|
+
import './resources-7432b8c4.js';
|
|
12
|
+
import './guid-9d2910aa.js';
|
|
13
13
|
|
|
14
14
|
const CSS$1 = {
|
|
15
15
|
header: "header",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.608
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { b as defaultOffsetDistance, c as connectFloatingUI,
|
|
9
|
-
import { i as isPrimaryPointerButton, q as queryElementRoots, t as toAriaBoolean } from './dom-
|
|
10
|
-
import
|
|
11
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-a6731e85.js';
|
|
7
|
+
import { g as guid } from './guid-9d2910aa.js';
|
|
8
|
+
import { b as defaultOffsetDistance, c as connectFloatingUI, u as updateAfterClose, a as disconnectFloatingUI, r as reposition, F as FloatingCSS } from './floating-ui-ac993e39.js';
|
|
9
|
+
import { i as isPrimaryPointerButton, q as queryElementRoots, t as toAriaBoolean } from './dom-a87ef22f.js';
|
|
10
|
+
import './debounce-2bc2a354.js';
|
|
11
|
+
import './resources-7432b8c4.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
container: "container",
|
|
@@ -176,7 +176,7 @@ class TooltipManager$1 {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
const tooltipCss = "@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{display:block;position:absolute;z-index:999
|
|
179
|
+
const tooltipCss = "@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{display:block;position:absolute;z-index:999}.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}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}.container{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
180
180
|
|
|
181
181
|
const manager = new TooltipManager$1();
|
|
182
182
|
const Tooltip = class {
|
|
@@ -225,7 +225,6 @@ const Tooltip = class {
|
|
|
225
225
|
// Private Methods
|
|
226
226
|
//
|
|
227
227
|
// --------------------------------------------------------------------------
|
|
228
|
-
this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
|
|
229
228
|
this.setUpReferenceElement = (warn = true) => {
|
|
230
229
|
this.removeReferences();
|
|
231
230
|
this.effectiveReferenceElement = this.getReferenceElement();
|
|
@@ -264,19 +263,24 @@ const Tooltip = class {
|
|
|
264
263
|
};
|
|
265
264
|
}
|
|
266
265
|
offsetDistanceOffsetHandler() {
|
|
267
|
-
this.
|
|
266
|
+
this.reposition(true);
|
|
268
267
|
}
|
|
269
268
|
offsetSkiddingHandler() {
|
|
270
|
-
this.
|
|
269
|
+
this.reposition(true);
|
|
271
270
|
}
|
|
272
|
-
openHandler() {
|
|
273
|
-
|
|
271
|
+
openHandler(value) {
|
|
272
|
+
if (value) {
|
|
273
|
+
this.reposition(true);
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
updateAfterClose(this.el);
|
|
277
|
+
}
|
|
274
278
|
}
|
|
275
279
|
overlayPositioningHandler() {
|
|
276
|
-
this.
|
|
280
|
+
this.reposition(true);
|
|
277
281
|
}
|
|
278
282
|
placementHandler() {
|
|
279
|
-
this.
|
|
283
|
+
this.reposition(true);
|
|
280
284
|
}
|
|
281
285
|
referenceElementHandler() {
|
|
282
286
|
this.setUpReferenceElement();
|
|
@@ -293,7 +297,7 @@ const Tooltip = class {
|
|
|
293
297
|
if (this.referenceElement && !this.effectiveReferenceElement) {
|
|
294
298
|
this.setUpReferenceElement();
|
|
295
299
|
}
|
|
296
|
-
this.
|
|
300
|
+
this.reposition(true);
|
|
297
301
|
this.hasLoaded = true;
|
|
298
302
|
}
|
|
299
303
|
disconnectedCallback() {
|
|
@@ -305,19 +309,24 @@ const Tooltip = class {
|
|
|
305
309
|
// Public Methods
|
|
306
310
|
//
|
|
307
311
|
// --------------------------------------------------------------------------
|
|
308
|
-
/**
|
|
309
|
-
|
|
312
|
+
/**
|
|
313
|
+
* Updates the position of the component.
|
|
314
|
+
*
|
|
315
|
+
* @param delayed
|
|
316
|
+
*/
|
|
317
|
+
async reposition(delayed = false) {
|
|
310
318
|
const { el, effectiveReferenceElement, placement, overlayPositioning, offsetDistance, offsetSkidding, arrowEl } = this;
|
|
311
|
-
return
|
|
319
|
+
return reposition(this, {
|
|
312
320
|
floatingEl: el,
|
|
313
321
|
referenceEl: effectiveReferenceElement,
|
|
314
322
|
overlayPositioning,
|
|
315
323
|
placement,
|
|
316
324
|
offsetDistance,
|
|
317
325
|
offsetSkidding,
|
|
326
|
+
includeArrow: true,
|
|
318
327
|
arrowEl,
|
|
319
328
|
type: "tooltip"
|
|
320
|
-
});
|
|
329
|
+
}, delayed);
|
|
321
330
|
}
|
|
322
331
|
getReferenceElement() {
|
|
323
332
|
const { referenceElement, el } = this;
|
|
@@ -1,15 +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.608
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement, n as nodeListToArray, l as getRootNode, g as getSlotted, a as getElementDir, t as toAriaBoolean, m as filterDirectChildren } from './dom-
|
|
8
|
-
import { C as CSS_UTILITY } from './resources-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import './guid-
|
|
12
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a6731e85.js';
|
|
7
|
+
import { f as focusElement, n as nodeListToArray, l as getRootNode, g as getSlotted, a as getElementDir, t as toAriaBoolean, m as filterDirectChildren } from './dom-a87ef22f.js';
|
|
8
|
+
import { C as CSS_UTILITY } from './resources-7432b8c4.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-4d2ab5e9.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-39616428.js';
|
|
11
|
+
import './guid-9d2910aa.js';
|
|
12
|
+
import './observers-fcb97ebe.js';
|
|
13
13
|
|
|
14
14
|
var TreeSelectionMode;
|
|
15
15
|
(function (TreeSelectionMode) {
|
|
@@ -1,19 +1,19 @@
|
|
|
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.608
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { S as Sortable } from './sortable.esm-
|
|
8
|
-
import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import { g as getSlotted } from './dom-
|
|
13
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
14
|
-
import './array-
|
|
15
|
-
import './debounce-
|
|
16
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-a6731e85.js';
|
|
7
|
+
import { S as Sortable } from './sortable.esm-c1ee4e1b.js';
|
|
8
|
+
import { g as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, c as moveItemIndex, i as initialize, e as initializeObserver, f as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List, I as ICON_TYPES$1, C as CSS$1, S as SLOTS$1 } from './resources-524fe319.js';
|
|
9
|
+
import { c as createObserver } from './observers-fcb97ebe.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-39616428.js';
|
|
11
|
+
import { g as guid } from './guid-9d2910aa.js';
|
|
12
|
+
import { g as getSlotted } from './dom-a87ef22f.js';
|
|
13
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-4d2ab5e9.js';
|
|
14
|
+
import './array-d19f31ef.js';
|
|
15
|
+
import './debounce-2bc2a354.js';
|
|
16
|
+
import './resources-7432b8c4.js';
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
19
19
|
container: "container",
|
package/dist/esm/calcite.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.608
|
|
5
5
|
*/
|
|
6
|
-
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
import { g as globalScripts } from './app-globals-
|
|
8
|
-
import './resources-
|
|
6
|
+
import { d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-a6731e85.js';
|
|
7
|
+
import { g as globalScripts } from './app-globals-a2b52b66.js';
|
|
8
|
+
import './resources-7432b8c4.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -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.608
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
6
|
+
import { f as forceUpdate } from './index-a6731e85.js';
|
|
7
|
+
import { c as createObserver } from './observers-fcb97ebe.js';
|
|
8
8
|
|
|
9
9
|
const observed = new Set();
|
|
10
10
|
let mutationObserver;
|
|
@@ -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.608
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
@@ -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.608
|
|
5
5
|
*/
|
|
6
|
-
import { C as CSS_UTILITY } from './resources-
|
|
7
|
-
import { g as guid } from './guid-
|
|
6
|
+
import { C as CSS_UTILITY } from './resources-7432b8c4.js';
|
|
7
|
+
import { g as guid } from './guid-9d2910aa.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* This helper will guarantee an ID on the provided element.
|
|
@@ -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.608
|
|
5
5
|
*/
|
|
6
|
-
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-
|
|
6
|
+
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-2bc2a354.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -1,9 +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.608
|
|
5
5
|
*/
|
|
6
|
-
import { a as getElementDir } from './dom-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary, a as getElementDir } from './dom-a87ef22f.js';
|
|
7
|
+
import { d as debounce } from './debounce-2bc2a354.js';
|
|
7
8
|
|
|
8
9
|
function getSide(placement) {
|
|
9
10
|
return placement.split('-')[0];
|
|
@@ -893,9 +894,10 @@ function isOverflowElement(element) {
|
|
|
893
894
|
const {
|
|
894
895
|
overflow,
|
|
895
896
|
overflowX,
|
|
896
|
-
overflowY
|
|
897
|
+
overflowY,
|
|
898
|
+
display
|
|
897
899
|
} = getComputedStyle(element);
|
|
898
|
-
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
|
900
|
+
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
899
901
|
}
|
|
900
902
|
function isTableElement(element) {
|
|
901
903
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
@@ -907,8 +909,11 @@ function isContainingBlock(element) {
|
|
|
907
909
|
// create a containing block.
|
|
908
910
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
909
911
|
|
|
910
|
-
return css.transform !== 'none' || css.perspective !== 'none' ||
|
|
911
|
-
|
|
912
|
+
return css.transform !== 'none' || css.perspective !== 'none' || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some( // TS 4.1 compat
|
|
913
|
+
value => {
|
|
914
|
+
const contain = css.contain;
|
|
915
|
+
return contain != null ? contain.includes(value) : false;
|
|
916
|
+
});
|
|
912
917
|
}
|
|
913
918
|
function isLayoutViewport() {
|
|
914
919
|
// Not Safari
|
|
@@ -918,6 +923,9 @@ function isLayoutViewport() {
|
|
|
918
923
|
// const vV = win.visualViewport;
|
|
919
924
|
// return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;
|
|
920
925
|
}
|
|
926
|
+
function isLastTraversableNode(node) {
|
|
927
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
928
|
+
}
|
|
921
929
|
|
|
922
930
|
const min = Math.min;
|
|
923
931
|
const max = Math.max;
|
|
@@ -1056,7 +1064,7 @@ function getContainingBlock(element) {
|
|
|
1056
1064
|
currentNode = currentNode.host;
|
|
1057
1065
|
}
|
|
1058
1066
|
|
|
1059
|
-
while (isHTMLElement(currentNode) && !
|
|
1067
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1060
1068
|
if (isContainingBlock(currentNode)) {
|
|
1061
1069
|
return currentNode;
|
|
1062
1070
|
} else {
|
|
@@ -1200,7 +1208,7 @@ function getDocumentRect(element) {
|
|
|
1200
1208
|
function getNearestOverflowAncestor(node) {
|
|
1201
1209
|
const parentNode = getParentNode(node);
|
|
1202
1210
|
|
|
1203
|
-
if (
|
|
1211
|
+
if (isLastTraversableNode(parentNode)) {
|
|
1204
1212
|
// @ts-ignore assume body is always available
|
|
1205
1213
|
return node.ownerDocument.body;
|
|
1206
1214
|
}
|
|
@@ -1251,6 +1259,22 @@ function contains(parent, child) {
|
|
|
1251
1259
|
return false;
|
|
1252
1260
|
}
|
|
1253
1261
|
|
|
1262
|
+
function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
|
|
1263
|
+
let currentNode = element;
|
|
1264
|
+
|
|
1265
|
+
while (currentNode && !isLastTraversableNode(currentNode) && // @ts-expect-error
|
|
1266
|
+
!clippingAncestors.includes(currentNode)) {
|
|
1267
|
+
if (isElement(currentNode) && ['absolute', 'fixed'].includes(getComputedStyle(currentNode).position)) {
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
const parentNode = getParentNode(currentNode);
|
|
1272
|
+
currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
return currentNode;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1254
1278
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1255
1279
|
const clientRect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
1256
1280
|
const top = clientRect.top + element.clientTop;
|
|
@@ -1284,15 +1308,25 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
|
|
|
1284
1308
|
|
|
1285
1309
|
function getClippingAncestors(element) {
|
|
1286
1310
|
const clippingAncestors = getOverflowAncestors(element);
|
|
1287
|
-
const
|
|
1288
|
-
|
|
1311
|
+
const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);
|
|
1312
|
+
let clipperElement = null;
|
|
1313
|
+
|
|
1314
|
+
if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {
|
|
1315
|
+
const offsetParent = getOffsetParent(nearestEscapableParent);
|
|
1316
|
+
|
|
1317
|
+
if (isOverflowElement(nearestEscapableParent)) {
|
|
1318
|
+
clipperElement = nearestEscapableParent;
|
|
1319
|
+
} else if (isHTMLElement(offsetParent)) {
|
|
1320
|
+
clipperElement = offsetParent;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1289
1323
|
|
|
1290
1324
|
if (!isElement(clipperElement)) {
|
|
1291
1325
|
return [];
|
|
1292
1326
|
} // @ts-ignore isElement check ensures we return Array<Element>
|
|
1293
1327
|
|
|
1294
1328
|
|
|
1295
|
-
return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
|
|
1329
|
+
return clippingAncestors.filter(clippingAncestors => clipperElement && isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
|
|
1296
1330
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
1297
1331
|
// clipping ancestors
|
|
1298
1332
|
|
|
@@ -1359,12 +1393,11 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1359
1393
|
|
|
1360
1394
|
const {
|
|
1361
1395
|
ancestorScroll: _ancestorScroll = true,
|
|
1362
|
-
ancestorResize
|
|
1396
|
+
ancestorResize = true,
|
|
1363
1397
|
elementResize = true,
|
|
1364
1398
|
animationFrame = false
|
|
1365
1399
|
} = options;
|
|
1366
1400
|
const ancestorScroll = _ancestorScroll && !animationFrame;
|
|
1367
|
-
const ancestorResize = _ancestorResize && !animationFrame;
|
|
1368
1401
|
const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
|
|
1369
1402
|
ancestors.forEach(ancestor => {
|
|
1370
1403
|
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
@@ -1433,6 +1466,45 @@ const computePosition = (reference, floating, options) => computePosition$1(refe
|
|
|
1433
1466
|
...options
|
|
1434
1467
|
});
|
|
1435
1468
|
|
|
1469
|
+
/**
|
|
1470
|
+
* This module helps users provide custom configuration for component internals.
|
|
1471
|
+
*
|
|
1472
|
+
* @internal
|
|
1473
|
+
*/
|
|
1474
|
+
const configOverrides = globalThis["calciteComponentsConfig"];
|
|
1475
|
+
const config = {
|
|
1476
|
+
/**
|
|
1477
|
+
* We apply a custom fix to improve positioning for non-Chromium browsers.
|
|
1478
|
+
* The fix comes at a performance cost, so provides users a way to opt-out if necessary.
|
|
1479
|
+
*
|
|
1480
|
+
* @internal
|
|
1481
|
+
*/
|
|
1482
|
+
floatingUINonChromiumPositioningFix: true,
|
|
1483
|
+
...configOverrides
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
1487
|
+
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
1488
|
+
function getUAString() {
|
|
1489
|
+
const uaData = navigator.userAgentData;
|
|
1490
|
+
if (uaData === null || uaData === void 0 ? void 0 : uaData.brands) {
|
|
1491
|
+
return uaData.brands.map((item) => `${item.brand}/${item.version}`).join(" ");
|
|
1492
|
+
}
|
|
1493
|
+
return navigator.userAgent;
|
|
1494
|
+
}
|
|
1495
|
+
if (config.floatingUINonChromiumPositioningFix &&
|
|
1496
|
+
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
1497
|
+
/firefox|safari/i.test(getUAString())) {
|
|
1498
|
+
const { getClippingRect, getElementRects, getOffsetParent } = await import('./nonChromiumPlatformUtils-42471681.js');
|
|
1499
|
+
platform.getClippingRect = getClippingRect;
|
|
1500
|
+
platform.getOffsetParent = getOffsetParent;
|
|
1501
|
+
platform.getElementRects = getElementRects;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
const placementDataAttribute = "data-placement";
|
|
1505
|
+
/**
|
|
1506
|
+
* Exported for testing purposes only
|
|
1507
|
+
*/
|
|
1436
1508
|
const repositionDebounceTimeout = 100;
|
|
1437
1509
|
const effectivePlacements = [
|
|
1438
1510
|
"top",
|
|
@@ -1513,9 +1585,40 @@ function getEffectivePlacement(floatingEl, placement) {
|
|
|
1513
1585
|
.replace(/leading/gi, placements[0])
|
|
1514
1586
|
.replace(/trailing/gi, placements[1]);
|
|
1515
1587
|
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1590
|
+
*
|
|
1591
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
1592
|
+
*
|
|
1593
|
+
* @param component
|
|
1594
|
+
* @param options
|
|
1595
|
+
* @param options.referenceEl
|
|
1596
|
+
* @param options.floatingEl
|
|
1597
|
+
* @param options.overlayPositioning
|
|
1598
|
+
* @param options.placement
|
|
1599
|
+
* @param options.disableFlip
|
|
1600
|
+
* @param options.flipPlacements
|
|
1601
|
+
* @param options.offsetDistance
|
|
1602
|
+
* @param options.offsetSkidding
|
|
1603
|
+
* @param options.arrowEl
|
|
1604
|
+
* @param options.type
|
|
1605
|
+
* @param delayed
|
|
1606
|
+
*/
|
|
1607
|
+
async function reposition(component, options, delayed = false) {
|
|
1608
|
+
if (!component.open) {
|
|
1609
|
+
return;
|
|
1610
|
+
}
|
|
1611
|
+
return delayed ? debouncedReposition(options) : positionFloatingUI(options);
|
|
1612
|
+
}
|
|
1613
|
+
const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1614
|
+
leading: true,
|
|
1615
|
+
maxWait: repositionDebounceTimeout
|
|
1616
|
+
});
|
|
1516
1617
|
/**
|
|
1517
1618
|
* Positions the floating element relative to the reference element.
|
|
1518
1619
|
*
|
|
1620
|
+
* **Note:** exported for testing purposes only
|
|
1621
|
+
*
|
|
1519
1622
|
* @param root0
|
|
1520
1623
|
* @param root0.referenceEl
|
|
1521
1624
|
* @param root0.floatingEl
|
|
@@ -1527,12 +1630,14 @@ function getEffectivePlacement(floatingEl, placement) {
|
|
|
1527
1630
|
* @param root0.offsetSkidding
|
|
1528
1631
|
* @param root0.arrowEl
|
|
1529
1632
|
* @param root0.type
|
|
1633
|
+
* @param root0.includeArrow
|
|
1530
1634
|
*/
|
|
1531
|
-
async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
1635
|
+
async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, includeArrow = false, arrowEl, type }) {
|
|
1532
1636
|
var _a;
|
|
1533
|
-
if (!referenceEl || !floatingEl) {
|
|
1637
|
+
if (!referenceEl || !floatingEl || (includeArrow && !arrowEl)) {
|
|
1534
1638
|
return null;
|
|
1535
1639
|
}
|
|
1640
|
+
await floatingUIBrowserCheck;
|
|
1536
1641
|
const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
|
|
1537
1642
|
strategy: overlayPositioning,
|
|
1538
1643
|
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
@@ -1558,7 +1663,7 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
|
|
|
1558
1663
|
const referenceHidden = (_a = middlewareData === null || middlewareData === void 0 ? void 0 : middlewareData.hide) === null || _a === void 0 ? void 0 : _a.referenceHidden;
|
|
1559
1664
|
const visibility = referenceHidden ? "hidden" : null;
|
|
1560
1665
|
const pointerEvents = visibility ? "none" : null;
|
|
1561
|
-
floatingEl.setAttribute(
|
|
1666
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1562
1667
|
const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
|
|
1563
1668
|
Object.assign(floatingEl.style, {
|
|
1564
1669
|
visibility,
|
|
@@ -1569,6 +1674,11 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
|
|
|
1569
1674
|
transform
|
|
1570
1675
|
});
|
|
1571
1676
|
}
|
|
1677
|
+
/**
|
|
1678
|
+
* Exported for testing purposes only
|
|
1679
|
+
*
|
|
1680
|
+
* @internal
|
|
1681
|
+
*/
|
|
1572
1682
|
const cleanupMap = new WeakMap();
|
|
1573
1683
|
/**
|
|
1574
1684
|
* Helper to set up floating element interactions on connectedCallback.
|
|
@@ -1582,11 +1692,15 @@ function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1582
1692
|
return;
|
|
1583
1693
|
}
|
|
1584
1694
|
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1695
|
+
const position = component.overlayPositioning;
|
|
1696
|
+
// ensure position matches for initial positioning
|
|
1697
|
+
floatingEl.style.position = position;
|
|
1698
|
+
if (position === "absolute") {
|
|
1699
|
+
moveOffScreen(floatingEl);
|
|
1700
|
+
}
|
|
1701
|
+
const runAutoUpdate = autoUpdate
|
|
1702
|
+
;
|
|
1703
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1590
1704
|
}
|
|
1591
1705
|
/**
|
|
1592
1706
|
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
@@ -1599,6 +1713,7 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
1599
1713
|
if (!floatingEl || !referenceEl) {
|
|
1600
1714
|
return;
|
|
1601
1715
|
}
|
|
1716
|
+
getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
|
|
1602
1717
|
const cleanup = cleanupMap.get(component);
|
|
1603
1718
|
if (cleanup) {
|
|
1604
1719
|
cleanup();
|
|
@@ -1612,5 +1727,41 @@ const visiblePointerSize = 4;
|
|
|
1612
1727
|
* @default 6
|
|
1613
1728
|
*/
|
|
1614
1729
|
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1730
|
+
/**
|
|
1731
|
+
* This utils applies floating element styles to avoid affecting layout when closed.
|
|
1732
|
+
*
|
|
1733
|
+
* This should be called when the closing transition will start.
|
|
1734
|
+
*
|
|
1735
|
+
* @param floatingEl
|
|
1736
|
+
*/
|
|
1737
|
+
function updateAfterClose(floatingEl) {
|
|
1738
|
+
if (!floatingEl || floatingEl.style.position !== "absolute") {
|
|
1739
|
+
return;
|
|
1740
|
+
}
|
|
1741
|
+
getTransitionTarget(floatingEl).addEventListener("transitionend", handleTransitionElTransitionEnd);
|
|
1742
|
+
}
|
|
1743
|
+
function getTransitionTarget(floatingEl) {
|
|
1744
|
+
// assumes floatingEl w/ shadowRoot is a FloatingUIComponent
|
|
1745
|
+
return floatingEl.shadowRoot || floatingEl;
|
|
1746
|
+
}
|
|
1747
|
+
function handleTransitionElTransitionEnd(event) {
|
|
1748
|
+
const floatingTransitionEl = event.target;
|
|
1749
|
+
if (
|
|
1750
|
+
// using any prop from floating-ui transition
|
|
1751
|
+
event.propertyName === "opacity" &&
|
|
1752
|
+
floatingTransitionEl.classList.contains(FloatingCSS.animation)) {
|
|
1753
|
+
const floatingEl = getFloatingElFromTransitionTarget(floatingTransitionEl);
|
|
1754
|
+
moveOffScreen(floatingEl);
|
|
1755
|
+
getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
function moveOffScreen(floatingEl) {
|
|
1759
|
+
floatingEl.style.transform = "";
|
|
1760
|
+
floatingEl.style.top = "-99999px";
|
|
1761
|
+
floatingEl.style.left = "-99999px";
|
|
1762
|
+
}
|
|
1763
|
+
function getFloatingElFromTransitionTarget(floatingTransitionEl) {
|
|
1764
|
+
return closestElementCrossShadowBoundary(floatingTransitionEl, `[${placementDataAttribute}]`);
|
|
1765
|
+
}
|
|
1615
1766
|
|
|
1616
|
-
export { FloatingCSS as F, disconnectFloatingUI as a, defaultOffsetDistance as b, connectFloatingUI as c, defaultMenuPlacement as d, filterComputedPlacements as f,
|
|
1767
|
+
export { FloatingCSS as F, disconnectFloatingUI as a, defaultOffsetDistance as b, connectFloatingUI as c, defaultMenuPlacement as d, rectToClientRect as e, filterComputedPlacements as f, reposition as r, updateAfterClose as u };
|
|
@@ -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.608
|
|
5
5
|
*/
|
|
6
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
7
|
-
import { h } from './index-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary } from './dom-a87ef22f.js';
|
|
7
|
+
import { h } from './index-a6731e85.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes.
|
package/dist/esm/index.js
CHANGED