@esri/calcite-components 1.0.0-next.672 → 1.0.0-next.673
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-87a2c5f8.js → p-00a3d833.js} +2 -2
- package/dist/calcite/{p-040d4ed7.entry.js → p-02451989.entry.js} +2 -2
- package/dist/calcite/{p-a34004e9.js → p-0312c300.js} +1 -1
- package/dist/calcite/{p-18b6324f.js → p-03aacc0c.js} +2 -2
- package/dist/calcite/{p-9cf0c45a.entry.js → p-044e18a4.entry.js} +2 -2
- package/dist/calcite/{p-d66cd1da.entry.js → p-0e6128c0.entry.js} +2 -2
- package/dist/calcite/{p-7ea27317.entry.js → p-0ee1b299.entry.js} +2 -2
- package/dist/calcite/{p-b2226e04.js → p-1200eee5.js} +2 -2
- package/dist/calcite/{p-f9416714.js → p-120c6254.js} +1 -1
- package/dist/calcite/{p-fcd9a3f8.entry.js → p-15971291.entry.js} +2 -2
- package/dist/calcite/{p-32520128.entry.js → p-17479a34.entry.js} +2 -2
- package/dist/calcite/{p-6551e4bd.entry.js → p-17b5f9f4.entry.js} +2 -2
- package/dist/calcite/{p-0766cb4e.entry.js → p-1cea0df3.entry.js} +2 -2
- package/dist/calcite/{p-c4f38d06.entry.js → p-1d0f3763.entry.js} +2 -2
- package/dist/calcite/{p-d7b647fd.js → p-2889430e.js} +1 -1
- package/dist/calcite/{p-3805496e.entry.js → p-2b742229.entry.js} +2 -2
- package/dist/calcite/{p-f68b009f.entry.js → p-2b86a2af.entry.js} +2 -2
- package/dist/calcite/{p-b4eb7cf4.entry.js → p-306de109.entry.js} +2 -2
- package/dist/calcite/{p-d46bee4a.js → p-32b43a87.js} +1 -1
- package/dist/calcite/{p-9a90b1d9.entry.js → p-3af917cb.entry.js} +2 -2
- package/dist/calcite/{p-3ff4f800.entry.js → p-3b4e71e8.entry.js} +2 -2
- package/dist/calcite/{p-806e2edd.entry.js → p-40d26a92.entry.js} +2 -2
- package/dist/calcite/{p-6bdfd350.entry.js → p-4a7d4d83.entry.js} +2 -2
- package/dist/calcite/{p-6bf3c17b.entry.js → p-4be191bb.entry.js} +2 -2
- package/dist/calcite/{p-8c277904.js → p-551dfe99.js} +1 -1
- package/dist/calcite/{p-d7caf02e.entry.js → p-55c904e8.entry.js} +2 -2
- package/dist/calcite/{p-2b0ce648.entry.js → p-586e76ef.entry.js} +2 -2
- package/dist/calcite/{p-13246aad.entry.js → p-5b339f4f.entry.js} +2 -2
- package/dist/calcite/{p-7201cfde.js → p-5b451bb1.js} +1 -1
- package/dist/calcite/{p-6e4ff2e4.entry.js → p-5c6c60be.entry.js} +2 -2
- package/dist/calcite/{p-0c273062.entry.js → p-628b79a0.entry.js} +2 -2
- package/dist/calcite/{p-14df81ce.entry.js → p-63f2160f.entry.js} +2 -2
- package/dist/calcite/{p-b68383ac.entry.js → p-6911ab61.entry.js} +2 -2
- package/dist/calcite/{p-43dbad05.entry.js → p-69cca1f4.entry.js} +2 -2
- package/dist/calcite/{p-34d59235.entry.js → p-6baa3333.entry.js} +2 -2
- package/dist/calcite/{p-5067db72.entry.js → p-6da4a82e.entry.js} +2 -2
- package/dist/calcite/{p-edbdef6f.entry.js → p-70d8dbb7.entry.js} +2 -2
- package/dist/calcite/{p-60cd65d7.entry.js → p-7158b21a.entry.js} +2 -2
- package/dist/calcite/{p-b92e80a0.entry.js → p-79007643.entry.js} +2 -2
- package/dist/calcite/{p-8aa4c48b.js → p-7a712283.js} +2 -2
- package/dist/calcite/{p-02024471.entry.js → p-7ad574fd.entry.js} +2 -2
- package/dist/calcite/{p-432b442e.entry.js → p-7d6cf892.entry.js} +2 -2
- package/dist/calcite/{p-b94e7cf5.entry.js → p-84df1154.entry.js} +2 -2
- package/dist/calcite/{p-cacd4065.entry.js → p-8816627f.entry.js} +2 -2
- package/dist/calcite/{p-a1d589d6.js → p-88797b23.js} +2 -2
- package/dist/calcite/{p-5ea62ae2.entry.js → p-89e2f4d7.entry.js} +2 -2
- package/dist/calcite/p-8e1057f3.js +6 -0
- package/dist/calcite/{p-8bc3070f.js → p-8e456a7f.js} +1 -1
- package/dist/calcite/{p-f363d522.js → p-8e6528a1.js} +2 -2
- package/dist/calcite/{p-965b2e66.entry.js → p-8fb1d40d.entry.js} +2 -2
- package/dist/calcite/{p-d5005a2a.js → p-92a83599.js} +1 -1
- package/dist/calcite/{p-7d7a82c4.js → p-9912146b.js} +1 -1
- package/dist/calcite/{p-f9fe8d30.js → p-9ded03eb.js} +1 -1
- package/dist/calcite/{p-3b797e31.js → p-a07d8dc4.js} +2 -2
- package/dist/calcite/{p-f3f01c59.entry.js → p-a222eb57.entry.js} +2 -2
- package/dist/calcite/{p-2bcb7ed8.entry.js → p-a7a56d0e.entry.js} +2 -2
- package/dist/calcite/{p-ad2977b3.entry.js → p-b4c3a344.entry.js} +2 -2
- package/dist/calcite/{p-d2badf90.js → p-b4f78353.js} +1 -1
- package/dist/calcite/{p-f2575246.entry.js → p-b5e08b6a.entry.js} +2 -2
- package/dist/calcite/{p-7f81bbd3.js → p-b679236a.js} +1 -1
- package/dist/calcite/{p-4a536572.entry.js → p-b6848154.entry.js} +2 -2
- package/dist/calcite/{p-7c549859.entry.js → p-be5356b3.entry.js} +2 -2
- package/dist/calcite/{p-c93545fd.js → p-c0ba4231.js} +2 -2
- package/dist/calcite/{p-05892830.entry.js → p-c0c6b493.entry.js} +2 -2
- package/dist/calcite/{p-29564a32.entry.js → p-c122d256.entry.js} +2 -2
- package/dist/calcite/p-c2fffd9f.js +6 -0
- package/dist/calcite/{p-b629de77.js → p-c6b2223b.js} +1 -1
- package/dist/calcite/{p-432711a4.entry.js → p-c764597c.entry.js} +2 -2
- package/dist/calcite/{p-04ae65f3.entry.js → p-c7b4bb0a.entry.js} +2 -2
- package/dist/calcite/{p-532dcbf8.entry.js → p-cacb0ee8.entry.js} +2 -2
- package/dist/calcite/{p-ce51833b.entry.js → p-ce40f359.entry.js} +2 -2
- package/dist/calcite/{p-2eacf4f2.entry.js → p-d0b29518.entry.js} +2 -2
- package/dist/calcite/{p-df2d941e.entry.js → p-d0ee4845.entry.js} +2 -2
- package/dist/calcite/{p-a76ffa80.js → p-d32e48b7.js} +2 -2
- package/dist/calcite/{p-aefc6a33.entry.js → p-d3c22508.entry.js} +2 -2
- package/dist/calcite/{p-40361781.js → p-d4f63669.js} +2 -2
- package/dist/calcite/{p-655e4f06.entry.js → p-d7ad70f1.entry.js} +2 -2
- package/dist/calcite/p-d9a1ea8f.js +6 -0
- package/dist/calcite/{p-3db0eed6.entry.js → p-dc513dbe.entry.js} +2 -2
- package/dist/calcite/{p-92bcf3fb.entry.js → p-dcbd6434.entry.js} +2 -2
- package/dist/calcite/{p-31bd7e2f.js → p-dd66ee12.js} +3 -3
- package/dist/calcite/{p-b1afdc0c.js → p-dfc5881e.js} +1 -1
- package/dist/calcite/{p-3461834a.entry.js → p-e2e35597.entry.js} +2 -2
- package/dist/calcite/{p-ce1a08b8.js → p-e3afcd1b.js} +1 -1
- package/dist/calcite/{p-ba646fbf.entry.js → p-e6825cc5.entry.js} +2 -2
- package/dist/calcite/{p-b175ec20.entry.js → p-e8e38469.entry.js} +2 -2
- package/dist/calcite/{p-ac63f2f8.entry.js → p-eddf7014.entry.js} +2 -2
- package/dist/calcite/{p-c66f25c4.js → p-f58c4cc5.js} +2 -2
- package/dist/calcite/{p-46c8178b.entry.js → p-f70eb16c.entry.js} +2 -2
- package/dist/calcite/{p-0bf76d5f.js → p-f7d41709.js} +1 -1
- package/dist/calcite/{p-eadda9da.entry.js → p-f90afa60.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d6fcd02b.js → ExpandToggle-5b1926fe.js} +5 -5
- package/dist/cjs/{Heading-32d2b787.js → Heading-74bc68df.js} +2 -2
- package/dist/cjs/{app-globals-f1597dc0.js → app-globals-6f7ab7bc.js} +2 -2
- package/dist/cjs/{array-6921ab6b.js → array-a8f6743b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +11 -11
- 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 +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- 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 +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- 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 +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- 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 +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- 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.cjs.entry.js +8 -8
- 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-98a903ba.js → conditionalSlot-c7b12fb7.js} +3 -3
- package/dist/cjs/{debounce-ed4e5dbc.js → debounce-f70b04d9.js} +1 -1
- package/dist/cjs/{dom-a819d514.js → dom-7cd3ac14.js} +3 -3
- package/dist/cjs/{filter-c5affbce.js → filter-de6019a7.js} +2 -2
- package/dist/cjs/{floating-ui-045bef74.js → floating-ui-c0f52a93.js} +130 -59
- package/dist/cjs/{focusTrapComponent-6a5e6b59.js → focusTrapComponent-1ed044a7.js} +3 -4
- package/dist/cjs/{form-631d94fe.js → form-e67fef8d.js} +3 -3
- package/dist/cjs/{guid-4327a17f.js → guid-803dc6ed.js} +1 -1
- package/dist/cjs/{index-ffc98317.js → index-61a7f5ee.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-4cdab5e1.js → interactive-584a7c7c.js} +1 -1
- package/dist/cjs/{interfaces-a1639541.js → interfaces-a1633d80.js} +1 -1
- package/dist/cjs/{key-7649c64b.js → key-98fbd85a.js} +1 -1
- package/dist/cjs/{label-3baa401f.js → label-6ff89eef.js} +2 -2
- package/dist/cjs/{loadable-f46da01e.js → loadable-e716b00c.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-65747c40.js → locale-1f2f9b9c.js} +4 -4
- package/dist/cjs/{math-3c620b41.js → math-b0cceb58.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-27be5856.js → nonChromiumPlatformUtils-c3ac2a1b.js} +6 -6
- package/dist/cjs/{observers-a1a1380c.js → observers-8dbffb17.js} +1 -1
- package/dist/cjs/{openCloseComponent-0bb4f69c.js → openCloseComponent-96fb3bdf.js} +2 -2
- package/dist/cjs/{resources-3ad04b6a.js → resources-0d26465c.js} +5 -5
- package/dist/cjs/{resources-b97ae3c4.js → resources-5aa614ad.js} +1 -1
- package/dist/cjs/{resources-e2101756.js → resources-7ce46cb8.js} +1 -1
- package/dist/cjs/{resources-d7536e12.js → resources-92d45721.js} +3 -3
- package/dist/cjs/{resources-665ef116.js → resources-d01ee45e.js} +1 -1
- package/dist/cjs/{resources-27fd5958.js → resources-e56d23db.js} +1 -1
- package/dist/cjs/{sortable.esm-081b969e.js → sortable.esm-e3b5e42c.js} +1 -1
- package/dist/cjs/{utils-8f79e232.js → utils-17a04d31.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.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/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.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/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.js +1 -1
- 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 +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.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.js +1 -1
- package/dist/collection/components/popover/resources.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.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 +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +2 -3
- 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/loadable.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.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.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 +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +127 -56
- package/dist/components/focusTrapComponent.js +2 -3
- 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/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/loadable.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-be882d97.js → ExpandToggle-89bbf899.js} +5 -5
- package/dist/esm/{Heading-d9d6a2bd.js → Heading-24069013.js} +2 -2
- package/dist/esm/{app-globals-491b8d0f.js → app-globals-e0ead8d6.js} +2 -2
- package/dist/esm/{array-6492d48b.js → array-55ff882a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +11 -11
- 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 +10 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- 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 +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +10 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- 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 +10 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +10 -10
- 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 +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- 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-e8996d42.js → conditionalSlot-48030014.js} +3 -3
- package/dist/esm/{debounce-60ee31c2.js → debounce-108e110f.js} +1 -1
- package/dist/esm/{dom-c342229b.js → dom-b0b48ab2.js} +3 -3
- package/dist/esm/{filter-89ec633e.js → filter-30b11d91.js} +2 -2
- package/dist/esm/{floating-ui-8d520bdb.js → floating-ui-93740eb5.js} +130 -59
- package/dist/esm/{focusTrapComponent-abb5fa39.js → focusTrapComponent-1bf82385.js} +3 -4
- package/dist/esm/{form-47c98610.js → form-d5f8ad6b.js} +3 -3
- package/dist/esm/{guid-25cfcb34.js → guid-4d7be14f.js} +1 -1
- package/dist/esm/{index-2b4630f9.js → index-a08626e0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-2ed49093.js → interactive-15cae482.js} +1 -1
- package/dist/esm/{interfaces-23cab187.js → interfaces-36f4960b.js} +1 -1
- package/dist/esm/{key-034168b5.js → key-d745be66.js} +1 -1
- package/dist/esm/{label-5b3c762a.js → label-012f685e.js} +2 -2
- package/dist/esm/{loadable-f3bde1f2.js → loadable-e8f5bdb5.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-21ca1c13.js → locale-01902eaa.js} +4 -4
- package/dist/esm/{math-a86e115c.js → math-f613a90e.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-165f3ea4.js → nonChromiumPlatformUtils-51e9f398.js} +6 -6
- package/dist/esm/{observers-93e6f0f5.js → observers-d81f5b44.js} +1 -1
- package/dist/esm/{openCloseComponent-4b156b9f.js → openCloseComponent-1b7e339f.js} +2 -2
- package/dist/esm/{resources-63a9718a.js → resources-0e4a7971.js} +3 -3
- package/dist/esm/{resources-e127cb83.js → resources-70240c43.js} +1 -1
- package/dist/esm/{resources-39631cd8.js → resources-914caef6.js} +1 -1
- package/dist/esm/{resources-908b3513.js → resources-ec80a09b.js} +5 -5
- package/dist/esm/{resources-efc703c7.js → resources-fa821e5a.js} +1 -1
- package/dist/esm/{resources-c4d4c197.js → resources-fea37fdd.js} +1 -1
- package/dist/esm/{sortable.esm-0eaea722.js → sortable.esm-6b2a2104.js} +1 -1
- package/dist/esm/{utils-9cf277d0.js → utils-8e14a7c0.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- 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/hydrate/index.js +128 -58
- package/package.json +4 -4
- package/dist/calcite/p-061145c6.js +0 -6
- package/dist/calcite/p-73e38ab1.js +0 -6
- package/dist/calcite/p-8a1cdef6.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.673
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -14422,16 +14422,25 @@ async function detectOverflow(middlewareArguments, options) {
|
|
|
14422
14422
|
x,
|
|
14423
14423
|
y
|
|
14424
14424
|
} : rects.reference;
|
|
14425
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
14426
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
14427
|
+
x: 1,
|
|
14428
|
+
y: 1
|
|
14429
|
+
} : {
|
|
14430
|
+
x: 1,
|
|
14431
|
+
y: 1
|
|
14432
|
+
};
|
|
14425
14433
|
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
14426
14434
|
rect,
|
|
14427
|
-
offsetParent
|
|
14435
|
+
offsetParent,
|
|
14428
14436
|
strategy
|
|
14429
14437
|
}) : rect);
|
|
14438
|
+
|
|
14430
14439
|
return {
|
|
14431
|
-
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
|
14432
|
-
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
|
14433
|
-
left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
|
|
14434
|
-
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
|
14440
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
14441
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
14442
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
14443
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
14435
14444
|
};
|
|
14436
14445
|
}
|
|
14437
14446
|
|
|
@@ -15020,11 +15029,17 @@ function getNodeName(node) {
|
|
|
15020
15029
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
15021
15030
|
}
|
|
15022
15031
|
|
|
15032
|
+
let uaString;
|
|
15023
15033
|
function getUAString() {
|
|
15034
|
+
if (uaString) {
|
|
15035
|
+
return uaString;
|
|
15036
|
+
}
|
|
15037
|
+
|
|
15024
15038
|
const uaData = navigator.userAgentData;
|
|
15025
15039
|
|
|
15026
15040
|
if (uaData && Array.isArray(uaData.brands)) {
|
|
15027
|
-
|
|
15041
|
+
uaString = uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
|
|
15042
|
+
return uaString;
|
|
15028
15043
|
}
|
|
15029
15044
|
|
|
15030
15045
|
return navigator.userAgent;
|
|
@@ -15087,11 +15102,37 @@ function isLastTraversableNode(node) {
|
|
|
15087
15102
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
15088
15103
|
}
|
|
15089
15104
|
|
|
15090
|
-
const
|
|
15091
|
-
|
|
15092
|
-
|
|
15105
|
+
const FALLBACK_SCALE = {
|
|
15106
|
+
x: 1,
|
|
15107
|
+
y: 1
|
|
15108
|
+
};
|
|
15109
|
+
function getScale(element) {
|
|
15110
|
+
const domElement = !isElement(element) && element.contextElement ? element.contextElement : isElement(element) ? element : null;
|
|
15111
|
+
|
|
15112
|
+
if (!domElement) {
|
|
15113
|
+
return FALLBACK_SCALE;
|
|
15114
|
+
}
|
|
15115
|
+
|
|
15116
|
+
const rect = domElement.getBoundingClientRect();
|
|
15117
|
+
const css = getComputedStyle$1(domElement);
|
|
15118
|
+
let x = rect.width / parseFloat(css.width);
|
|
15119
|
+
let y = rect.height / parseFloat(css.height); // 0, NaN, or Infinity should always fallback to 1.
|
|
15120
|
+
|
|
15121
|
+
if (!x || !Number.isFinite(x)) {
|
|
15122
|
+
x = 1;
|
|
15123
|
+
}
|
|
15093
15124
|
|
|
15094
|
-
|
|
15125
|
+
if (!y || !Number.isFinite(y)) {
|
|
15126
|
+
y = 1;
|
|
15127
|
+
}
|
|
15128
|
+
|
|
15129
|
+
return {
|
|
15130
|
+
x,
|
|
15131
|
+
y
|
|
15132
|
+
};
|
|
15133
|
+
}
|
|
15134
|
+
|
|
15135
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
15095
15136
|
var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;
|
|
15096
15137
|
|
|
15097
15138
|
if (includeScale === void 0) {
|
|
@@ -15103,27 +15144,24 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
|
15103
15144
|
}
|
|
15104
15145
|
|
|
15105
15146
|
const clientRect = element.getBoundingClientRect();
|
|
15106
|
-
let
|
|
15107
|
-
let elementToCheckForScale = element;
|
|
15108
|
-
let scaleX = 1;
|
|
15109
|
-
let scaleY = 1;
|
|
15110
|
-
|
|
15111
|
-
if (!isElement(element) && element.contextElement) {
|
|
15112
|
-
contextRect = element.contextElement.getBoundingClientRect();
|
|
15113
|
-
elementToCheckForScale = element.contextElement;
|
|
15114
|
-
}
|
|
15147
|
+
let scale = FALLBACK_SCALE;
|
|
15115
15148
|
|
|
15116
|
-
if (includeScale
|
|
15117
|
-
|
|
15118
|
-
|
|
15149
|
+
if (includeScale) {
|
|
15150
|
+
if (offsetParent) {
|
|
15151
|
+
if (isElement(offsetParent)) {
|
|
15152
|
+
scale = getScale(offsetParent);
|
|
15153
|
+
}
|
|
15154
|
+
} else {
|
|
15155
|
+
scale = getScale(element);
|
|
15156
|
+
}
|
|
15119
15157
|
}
|
|
15120
15158
|
|
|
15121
15159
|
const win = isElement(element) ? getWindow(element) : window;
|
|
15122
15160
|
const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
15123
|
-
const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) /
|
|
15124
|
-
const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) /
|
|
15125
|
-
const width = clientRect.width /
|
|
15126
|
-
const height = clientRect.height /
|
|
15161
|
+
const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) / scale.x;
|
|
15162
|
+
const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) / scale.y;
|
|
15163
|
+
const width = clientRect.width / scale.x;
|
|
15164
|
+
const height = clientRect.height / scale.y;
|
|
15127
15165
|
return {
|
|
15128
15166
|
width,
|
|
15129
15167
|
height,
|
|
@@ -15160,16 +15198,10 @@ function getWindowScrollBarX(element) {
|
|
|
15160
15198
|
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
15161
15199
|
}
|
|
15162
15200
|
|
|
15163
|
-
function isScaled(element) {
|
|
15164
|
-
const rect = getBoundingClientRect(element);
|
|
15165
|
-
return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;
|
|
15166
|
-
}
|
|
15167
|
-
|
|
15168
15201
|
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
15169
15202
|
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
15170
15203
|
const documentElement = getDocumentElement(offsetParent);
|
|
15171
|
-
const rect = getBoundingClientRect(element,
|
|
15172
|
-
isOffsetParentAnElement && isScaled(offsetParent), strategy === 'fixed');
|
|
15204
|
+
const rect = getBoundingClientRect(element, true, strategy === 'fixed', offsetParent);
|
|
15173
15205
|
let scroll = {
|
|
15174
15206
|
scrollLeft: 0,
|
|
15175
15207
|
scrollTop: 0
|
|
@@ -15285,6 +15317,10 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
15285
15317
|
scrollLeft: 0,
|
|
15286
15318
|
scrollTop: 0
|
|
15287
15319
|
};
|
|
15320
|
+
let scale = {
|
|
15321
|
+
x: 1,
|
|
15322
|
+
y: 1
|
|
15323
|
+
};
|
|
15288
15324
|
const offsets = {
|
|
15289
15325
|
x: 0,
|
|
15290
15326
|
y: 0
|
|
@@ -15297,18 +15333,21 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
15297
15333
|
|
|
15298
15334
|
if (isHTMLElement(offsetParent)) {
|
|
15299
15335
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
15336
|
+
scale = getScale(offsetParent);
|
|
15300
15337
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
15301
15338
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
15302
|
-
} // This doesn't appear to
|
|
15339
|
+
} // This doesn't appear to need to be negated.
|
|
15303
15340
|
// else if (documentElement) {
|
|
15304
15341
|
// offsets.x = getWindowScrollBarX(documentElement);
|
|
15305
15342
|
// }
|
|
15306
15343
|
|
|
15307
15344
|
}
|
|
15308
15345
|
|
|
15309
|
-
return {
|
|
15310
|
-
|
|
15311
|
-
|
|
15346
|
+
return {
|
|
15347
|
+
width: rect.width * scale.x,
|
|
15348
|
+
height: rect.height * scale.y,
|
|
15349
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
15350
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
15312
15351
|
};
|
|
15313
15352
|
}
|
|
15314
15353
|
|
|
@@ -15340,6 +15379,9 @@ function getViewportRect(element, strategy) {
|
|
|
15340
15379
|
};
|
|
15341
15380
|
}
|
|
15342
15381
|
|
|
15382
|
+
const min = Math.min;
|
|
15383
|
+
const max = Math.max;
|
|
15384
|
+
|
|
15343
15385
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
15344
15386
|
|
|
15345
15387
|
function getDocumentRect(element) {
|
|
@@ -15398,19 +15440,28 @@ function getOverflowAncestors(node, list) {
|
|
|
15398
15440
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
15399
15441
|
}
|
|
15400
15442
|
|
|
15443
|
+
// Returns the inner client rect, subtracting scrollbars if present
|
|
15401
15444
|
function getInnerBoundingClientRect(element, strategy) {
|
|
15402
|
-
const clientRect = getBoundingClientRect(element,
|
|
15445
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
15403
15446
|
const top = clientRect.top + element.clientTop;
|
|
15404
15447
|
const left = clientRect.left + element.clientLeft;
|
|
15448
|
+
const scale = isHTMLElement(element) ? getScale(element) : {
|
|
15449
|
+
x: 1,
|
|
15450
|
+
y: 1
|
|
15451
|
+
};
|
|
15452
|
+
const width = element.clientWidth * scale.x;
|
|
15453
|
+
const height = element.clientHeight * scale.y;
|
|
15454
|
+
const x = left * scale.x;
|
|
15455
|
+
const y = top * scale.y;
|
|
15405
15456
|
return {
|
|
15406
|
-
top,
|
|
15407
|
-
left,
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
width
|
|
15413
|
-
height
|
|
15457
|
+
top: y,
|
|
15458
|
+
left: x,
|
|
15459
|
+
right: x + width,
|
|
15460
|
+
bottom: y + height,
|
|
15461
|
+
x,
|
|
15462
|
+
y,
|
|
15463
|
+
width,
|
|
15464
|
+
height
|
|
15414
15465
|
};
|
|
15415
15466
|
}
|
|
15416
15467
|
|
|
@@ -15424,12 +15475,18 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
15424
15475
|
}
|
|
15425
15476
|
|
|
15426
15477
|
return rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
15427
|
-
} // A "clipping ancestor" is an
|
|
15428
|
-
// clipping (or hiding)
|
|
15429
|
-
//
|
|
15478
|
+
} // A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
15479
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
15480
|
+
// of the given element up the tree.
|
|
15430
15481
|
|
|
15431
15482
|
|
|
15432
|
-
function getClippingElementAncestors(element) {
|
|
15483
|
+
function getClippingElementAncestors(element, cache) {
|
|
15484
|
+
const cachedResult = cache.get(element);
|
|
15485
|
+
|
|
15486
|
+
if (cachedResult) {
|
|
15487
|
+
return cachedResult;
|
|
15488
|
+
}
|
|
15489
|
+
|
|
15433
15490
|
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
15434
15491
|
let currentContainingBlockComputedStyle = null;
|
|
15435
15492
|
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
@@ -15451,6 +15508,7 @@ function getClippingElementAncestors(element) {
|
|
|
15451
15508
|
currentNode = getParentNode(currentNode);
|
|
15452
15509
|
}
|
|
15453
15510
|
|
|
15511
|
+
cache.set(element, result);
|
|
15454
15512
|
return result;
|
|
15455
15513
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
15456
15514
|
// clipping ancestors
|
|
@@ -15463,7 +15521,7 @@ function getClippingRect(_ref) {
|
|
|
15463
15521
|
rootBoundary,
|
|
15464
15522
|
strategy
|
|
15465
15523
|
} = _ref;
|
|
15466
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element) : [].concat(boundary);
|
|
15524
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
15467
15525
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
15468
15526
|
const firstClippingAncestor = clippingAncestors[0];
|
|
15469
15527
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -15489,6 +15547,7 @@ const platform = {
|
|
|
15489
15547
|
getDimensions,
|
|
15490
15548
|
getOffsetParent,
|
|
15491
15549
|
getDocumentElement,
|
|
15550
|
+
getScale,
|
|
15492
15551
|
|
|
15493
15552
|
async getElementRects(_ref) {
|
|
15494
15553
|
let {
|
|
@@ -15518,10 +15577,22 @@ const platform = {
|
|
|
15518
15577
|
* strategy.
|
|
15519
15578
|
*/
|
|
15520
15579
|
|
|
15521
|
-
const computePosition = (reference, floating, options) =>
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15580
|
+
const computePosition = (reference, floating, options) => {
|
|
15581
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
15582
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
15583
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
15584
|
+
const cache = new Map();
|
|
15585
|
+
const mergedOptions = {
|
|
15586
|
+
platform,
|
|
15587
|
+
...options
|
|
15588
|
+
};
|
|
15589
|
+
const platformWithCache = { ...mergedOptions.platform,
|
|
15590
|
+
_c: cache
|
|
15591
|
+
};
|
|
15592
|
+
return computePosition$1(reference, floating, { ...mergedOptions,
|
|
15593
|
+
platform: platformWithCache
|
|
15594
|
+
});
|
|
15595
|
+
};
|
|
15525
15596
|
|
|
15526
15597
|
const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
|
|
15527
15598
|
async function patchFloatingUiForNonChromiumBrowsers() {
|
|
@@ -24993,8 +25064,7 @@ function connectFocusTrap(component) {
|
|
|
24993
25064
|
focusTrapEl.tabIndex = -1;
|
|
24994
25065
|
}
|
|
24995
25066
|
const focusTrapOptions = {
|
|
24996
|
-
|
|
24997
|
-
clickOutsideDeactivates: false,
|
|
25067
|
+
clickOutsideDeactivates: true,
|
|
24998
25068
|
document: focusTrapEl.ownerDocument,
|
|
24999
25069
|
escapeDeactivates: false,
|
|
25000
25070
|
fallbackFocus: focusTrapEl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.673",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"url": "git+https://github.com/Esri/calcite-components.git"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@floating-ui/dom": "1.0.
|
|
73
|
+
"@floating-ui/dom": "1.0.10",
|
|
74
74
|
"@stencil/core": "2.20.0",
|
|
75
75
|
"@types/color": "3.0.3",
|
|
76
76
|
"color": "4.2.3",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"eslint-plugin-jsdoc": "39.6.4",
|
|
128
128
|
"eslint-plugin-prettier": "4.2.1",
|
|
129
129
|
"eslint-plugin-react": "7.31.11",
|
|
130
|
-
"eslint-plugin-unicorn": "45.0.
|
|
130
|
+
"eslint-plugin-unicorn": "45.0.2",
|
|
131
131
|
"gh-release": "6.0.4",
|
|
132
132
|
"git-semver-tags": "4.1.1",
|
|
133
133
|
"husky": "8.0.2",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"jest-cli": "27.4.5",
|
|
137
137
|
"lint-staged": "13.1.0",
|
|
138
138
|
"postcss": "8.4.19",
|
|
139
|
-
"prettier": "2.8.
|
|
139
|
+
"prettier": "2.8.1",
|
|
140
140
|
"puppeteer": "10.0.0",
|
|
141
141
|
"quicktype-core": "6.1.0",
|
|
142
142
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.672
|
|
5
|
-
*/
|
|
6
|
-
import{c as t,a as n}from"./p-c66f25c4.js";import{d as e}from"./p-d7b647fd.js";function o(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function i(t){return["top","bottom"].includes(o(t))?"x":"y"}function a(t){return"y"===t?"height":"width"}function l(t,n,e){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=a(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(o(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function s(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=s(y),x=l[p?"floating"===m?"reference":"floating":m],h=c(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,w=c(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),strategy:f}):v);return{top:h.top-w.top+g.top,bottom:w.bottom-h.bottom+g.bottom,left:h.left-w.left+g.left,right:w.right-h.right+g.right}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function g(t,n,e){void 0===e&&(e=!1);const o=r(t),l=i(t),s=a(l);let c="x"===l?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const x={start:"end",end:"start"};function h(t){return t.replace(/start|end/g,(t=>x[t]))}const v=["top","right","bottom","left"],w=v.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=n,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",flipAlignment:x=!0,...v}=t,w=o(r),b=[l,...m||(w!==l&&x?function(t){const n=y(t);return[h(t),n,h(n)]}(l):[y(l)])],A=await f(n,v),P=[];let R=(null==(e=i.flip)?void 0:e.overflows)||[];if(u&&P.push(A[w]),d){const{main:t,cross:n}=g(r,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));P.push(A[t],A[n])}if(R=[...R,{placement:r,overflows:P}],!P.every((t=>t<=0))){var k,E;const t=(null!=(k=null==(E=i.flip)?void 0:E.index)?k:0)+1,n=b[t];if(n)return{data:{index:t,overflows:R},reset:{placement:n}};let e="bottom";switch(p){case"bestFit":{var D;const t=null==(D=R.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:D[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(t){return v.some((n=>t[n]>=0))}const R=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=A(await f(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{const n=A(await f(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function E(t){return k(t).getComputedStyle(t)}function D(t){return $(t)?(t.nodeName||"").toLowerCase():""}function F(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function M(t){return t instanceof k(t).HTMLElement}function O(t){return t instanceof k(t).Element}function $(t){return t instanceof k(t).Node}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=E(t);return/auto|scroll|overlay|hidden/.test(n+o+e)&&!["inline","contents"].includes(r)}function S(t){return["table","td","th"].includes(D(t))}function B(t){const n=/firefox/i.test(F()),e=E(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function C(){return!/^((?!chrome|android).)*safari/i.test(F())}function z(t){return["html","body","#document"].includes(D(t))}const L=Math.min,H=Math.max,I=Math.round;function W(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=l,c=t,f=1,u=1;!O(t)&&t.contextElement&&(s=t.contextElement.getBoundingClientRect(),c=t.contextElement),n&&M(c)&&(f=c.offsetWidth>0&&I(s.width)/c.offsetWidth||1,u=c.offsetHeight>0&&I(s.height)/c.offsetHeight||1);const d=O(t)?k(t):window,m=!C()&&e,p=(l.left+(m&&null!=(o=null==(r=d.visualViewport)?void 0:r.offsetLeft)?o:0))/f,y=(l.top+(m&&null!=(i=null==(a=d.visualViewport)?void 0:a.offsetTop)?i:0))/u,g=l.width/f,x=l.height/u;return{width:g,height:x,top:y,right:p+g,bottom:y+x,left:p,x:p,y}}function q(t){return(($(t)?t.ownerDocument:t.document)||window.document).documentElement}function N(t){return O(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return W(q(t)).left+N(t).scrollLeft}function V(t,n,e){const o=M(n),r=q(n),i=W(t,o&&function(t){const n=W(t);return I(n.width)!==t.offsetWidth||I(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==D(n)||j(r))&&(a=N(n)),M(n)){const t=W(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function X(t){if("html"===D(t))return t;const n=t.assignedSlot||t.parentNode||(T(t)?t.host:null)||q(t);return T(n)?n.host:n}function Y(t){return M(t)&&"fixed"!==E(t).position?t.offsetParent:null}function G(t){const n=k(t);let e=Y(t);for(;e&&S(e)&&"static"===E(e).position;)e=Y(e);return e&&("html"===D(e)||"body"===D(e)&&"static"===E(e).position&&!B(e))?n:e||function(t){let n=X(t);for(;M(n)&&!z(n);){if(B(n))return n;n=X(n)}return null}(t)||n}function J(t){const n=X(t);return z(n)?t.ownerDocument.body:M(n)&&j(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],j(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){return"viewport"===n?c(function(t,n){const e=k(t),o=q(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=C();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):O(n)?function(t,n){const e=W(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):c(function(t){var n;const e=q(t),o=N(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=H(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=H(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+U(t);const s=-o.scrollTop;return"rtl"===E(r||e).direction&&(l+=H(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(q(t)))}const Z={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t){let n=K(t).filter((t=>O(t)&&"body"!==D(t))),e=null;const o="fixed"===E(t).position;let r=o?X(t):t;for(;O(r)&&!z(r);){const t=E(r),i=B(r);(o?i||e:i||"static"!==t.position||!e||!["absolute","fixed"].includes(e.position))?e=t:n=n.filter((t=>t!==r)),r=X(r)}return n}(n):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=H(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=M(e),i=q(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==D(e)||j(i))&&(a=N(e)),M(e))){const t=W(e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:O,getDimensions:function(t){if(M(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=W(t);return{width:n.width,height:n.height}},getOffsetParent:G,getDocumentElement:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||G,i=this.getDimensions;return{reference:V(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===E(t).direction};const _={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},tt=async function(){if(_.floatingUINonChromiumPositioningFix&&/firefox|safari/i.test(function(){const t=navigator.userAgentData;return t?.brands?t.brands.map((t=>`${t.brand}/${t.version}`)).join(" "):navigator.userAgent}())){const{getClippingRect:t,getElementRects:n,getOffsetParent:e}=await import("./p-a1d589d6.js");Z.getClippingRect=t,Z.getOffsetParent=e,Z.getElementRects=n}}(),nt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],et="bottom-start",ot={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function rt({placement:t,disableFlip:n,flipPlacements:e,offsetDistance:l,offsetSkidding:c,arrowEl:u,type:d}){const p=[(void 0===y&&(y={}),{name:"shift",options:y,async fn(t){const{x:n,y:e,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=y,u={x:n,y:e},d=await f(t,c),p=i(o(r)),g="x"===p?"y":"x";let x=u[p],h=u[g];a&&(x=m(x+d["y"===p?"top":"left"],x,x-d["y"===p?"bottom":"right"])),l&&(h=m(h+d["y"===g?"top":"left"],h,h-d["y"===g?"bottom":"right"]));const v=s.fn({...t,[p]:x,[g]:h});return{...v,data:{x:v.x-n,y:v.y-e}}}}),R()];var y,x;if("menu"===d)return[...p,b({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===d||"tooltip"===d){const d=[...p,(x={mainAxis:"number"==typeof l?l:0,crossAxis:"number"==typeof c?c:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:e}=t,a=await async function(t,n){const{placement:e,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=o(e),f=r(e),u="x"===i(e),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:e+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?d.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,i,a,l,s;const{x:c,y:u,rects:d,middlewareData:m,placement:p,platform:y,elements:x}=n,{alignment:v=null,allowedPlacements:b=w,autoAlignment:A=!0,...P}=t,R=function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>o(t)===t))).filter((e=>!t||r(e)===t||!!n&&h(e)!==e))}(v,A,b),k=await f(n,P),E=null!=(e=null==(i=m.autoPlacement)?void 0:i.index)?e:0,D=R[E];if(null==D)return{};const{main:F,cross:M}=g(D,d,await(null==y.isRTL?void 0:y.isRTL(x.floating)));if(p!==D)return{x:c,y:u,reset:{placement:R[0]}};const O=[k[o(D)],k[F],k[M]],$=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:D,overflows:O}],T=R[E+1];if(T)return{data:{index:E+1,overflows:$},reset:{placement:T}};const j=$.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),S=null==(s=j.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:s.placement,B=null!=S?S:j[0].placement;return B!==p?{data:{index:E+1,overflows:$},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||d.push(b(e?{fallbackPlacements:e}:{})),u&&d.push((t=>({name:"arrow",options:t,async fn(n){const{element:e,padding:o=0}=null!=t?t:{},{x:l,y:c,placement:f,rects:u,platform:d}=n;if(null==e)return{};const p=s(o),y={x:l,y:c},g=i(f),x=r(f),h=a(g),v=await d.getDimensions(e),w="y"===g?"top":"left",b="y"===g?"bottom":"right",A=u.reference[h]+u.reference[g]-y[g]-u.floating[h],P=y[g]-u.reference[g],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(e));let k=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0;0===k&&(k=u.floating[h]);const E=p[w],D=k-v[h]-p[b],F=k/2-v[h]/2+(A/2-P/2),M=m(E,F,D);return{[g]:y[g]-(("start"===x?p[w]:p[b])>0&&F!==M&&u.reference[h]<=u.floating[h]?F<E?E-F:D-F:0),data:{[g]:M,centerOffset:F-M}}}}))({element:u})),d}return[]}function it(t,n){const e=t.filter((t=>nt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${nt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function at(t,e){const o=["left","right"];return"rtl"===n(t)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function lt(t,n,e=!1){if(t.open)return e?st(n):ct(n)}const st=e(ct,100,{leading:!0,maxWait:100});async function ct({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await tt;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(x=t,h=n,v={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:at(n,o),middleware:rt({placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,arrowEl:f,type:u})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=l(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:v,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...v}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=l(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(x,h,{platform:Z,...v}));var x,h,v;if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const w=g?.hide?.referenceHidden?"hidden":null,b=w?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:w,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const ft=new WeakMap;function ut(t,n,e){if(!e||!n)return;dt(t,n,e);const o=t.overlayPositioning;Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:o}),"absolute"===o&&xt(e),ft.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=s||i?[...O(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),O(t)&&!l&&u.observe(t),O(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?W(t):null;return l&&function n(){const o=W(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition())))}function dt(t,n,e){if(!e||!n)return;yt(e).removeEventListener("transitionend",gt);const o=ft.get(t);o&&o(),ft.delete(t)}const mt=Math.ceil(Math.hypot(4,4));function pt(t){t&&"absolute"===t.style.position&&yt(t).addEventListener("transitionend",gt)}function yt(t){return t.shadowRoot||t}function gt(n){const e=n.target;if("opacity"===n.propertyName&&e.classList.contains(ot.animation)){const n=function(n){return t(n,"[data-placement]")}(e);xt(n),yt(n).removeEventListener("transitionend",gt)}}function xt(t){t.style.transform="",t.style.top="0",t.style.left="0"}export{ot as F,dt as a,mt as b,ut as c,et as d,c as e,it as f,lt as r,pt as u}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.672
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-b1afdc0c.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const c=r.level?`h${r.level}`:"div";return delete r.level,t(c,{...r},a)};export{a as H,r as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.672
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-b1afdc0c.js";import{c as o}from"./p-b629de77.js";const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",a)),n.observe(t.el,s)}function i(t){c.delete(t.el),a(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|