@esri/calcite-components 1.0.0-next.606 → 1.0.0-next.607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-8faadeb1.js → p-0194be0b.js} +1 -1
- package/dist/calcite/{p-dbb8e6a4.js → p-04cd97f0.js} +2 -2
- package/dist/calcite/{p-404c6db8.entry.js → p-05d91128.entry.js} +2 -2
- package/dist/calcite/{p-ac96d103.entry.js → p-0a89a06d.entry.js} +2 -2
- package/dist/calcite/{p-791e76fc.entry.js → p-0c941429.entry.js} +2 -2
- package/dist/calcite/{p-967401e4.entry.js → p-10ed6464.entry.js} +2 -2
- package/dist/calcite/{p-1e3fdded.entry.js → p-1142d6c8.entry.js} +2 -2
- package/dist/calcite/p-1305ee55.entry.js +6 -0
- package/dist/calcite/p-15fac2ab.js +6 -0
- package/dist/calcite/{p-0020d7d5.entry.js → p-215f9b3e.entry.js} +2 -2
- package/dist/calcite/{p-ccd21f8c.js → p-228742f9.js} +2 -2
- package/dist/calcite/{p-06c6854a.entry.js → p-233e9c82.entry.js} +2 -2
- package/dist/calcite/{p-1e8d2fd7.entry.js → p-2577a91d.entry.js} +2 -2
- package/dist/calcite/{p-39ebfe9e.entry.js → p-27480e42.entry.js} +2 -2
- package/dist/calcite/{p-441037a9.entry.js → p-2824d942.entry.js} +2 -2
- package/dist/calcite/{p-96f53f90.entry.js → p-29e7d607.entry.js} +2 -2
- package/dist/calcite/{p-1eb05bb2.entry.js → p-2a2d9854.entry.js} +2 -2
- package/dist/calcite/{p-e5b5b117.entry.js → p-2ac4da68.entry.js} +2 -2
- package/dist/calcite/{p-33732b8f.entry.js → p-2b623d7a.entry.js} +2 -2
- package/dist/calcite/{p-54c6ec8e.js → p-2e91306b.js} +1 -1
- package/dist/calcite/{p-d973937d.entry.js → p-3191298d.entry.js} +2 -2
- package/dist/calcite/{p-98a6c8a4.js → p-331f03ef.js} +2 -2
- package/dist/calcite/{p-da82a06e.entry.js → p-35a4696c.entry.js} +2 -2
- package/dist/calcite/{p-1b06322f.entry.js → p-35f864c5.entry.js} +2 -2
- package/dist/calcite/{p-c8ffd3f8.entry.js → p-36207d38.entry.js} +2 -2
- package/dist/calcite/{p-36522d79.entry.js → p-389235c5.entry.js} +2 -2
- package/dist/calcite/p-3ad75dbc.entry.js +6 -0
- package/dist/calcite/{p-1de1447f.entry.js → p-3c0e6bf9.entry.js} +2 -2
- package/dist/calcite/{p-4d4bc233.entry.js → p-3f71cb54.entry.js} +2 -2
- package/dist/calcite/{p-8cf35eb8.entry.js → p-4053f375.entry.js} +2 -2
- package/dist/calcite/{p-c416a37b.entry.js → p-4054de19.entry.js} +2 -2
- package/dist/calcite/{p-cafb01e6.entry.js → p-4b6ab904.entry.js} +2 -2
- package/dist/calcite/{p-9df2c651.js → p-4bba5de5.js} +2 -2
- package/dist/calcite/{p-d5b3c1bb.entry.js → p-4d118fe7.entry.js} +2 -2
- package/dist/calcite/{p-9c59c88e.js → p-534d76ec.js} +1 -1
- package/dist/calcite/{p-9f88a197.entry.js → p-56e13c26.entry.js} +2 -2
- package/dist/calcite/{p-bf16098b.entry.js → p-57cd8bf6.entry.js} +2 -2
- package/dist/calcite/{p-74cc2ffc.js → p-5a7d6abb.js} +1 -1
- package/dist/calcite/{p-58a34298.js → p-68be1a57.js} +1 -1
- package/dist/calcite/{p-2eeff261.js → p-724ffb2b.js} +1 -1
- package/dist/calcite/{p-59bddc1f.js → p-792a67ad.js} +1 -1
- package/dist/calcite/{p-af04fadb.entry.js → p-7f645e69.entry.js} +2 -2
- package/dist/calcite/{p-37141771.js → p-8027c4fc.js} +2 -2
- package/dist/calcite/{p-718e40b5.entry.js → p-860f95db.entry.js} +2 -2
- package/dist/calcite/{p-7be2ad3b.entry.js → p-8bbc5021.entry.js} +2 -2
- package/dist/calcite/{p-c8f9eae5.entry.js → p-8ce99d30.entry.js} +2 -2
- package/dist/calcite/p-8d64e950.js +6 -0
- package/dist/calcite/{p-f8706ae9.entry.js → p-963f91e7.entry.js} +2 -2
- package/dist/calcite/{p-72c5d8e9.entry.js → p-976bd33d.entry.js} +2 -2
- package/dist/calcite/{p-452356bd.js → p-9cc66598.js} +2 -2
- package/dist/calcite/{p-b5284c7c.entry.js → p-9ef24687.entry.js} +2 -2
- package/dist/calcite/{p-a88b4c26.js → p-a19ba1b8.js} +1 -1
- package/dist/calcite/{p-32ef135d.entry.js → p-a214e596.entry.js} +2 -2
- package/dist/calcite/p-a4f2a140.js +6 -0
- package/dist/calcite/{p-edbb9009.js → p-a9c93bf7.js} +1 -1
- package/dist/calcite/{p-1e272a5d.js → p-ab2f0124.js} +1 -1
- package/dist/calcite/{p-72b59949.entry.js → p-ae537940.entry.js} +2 -2
- package/dist/calcite/{p-eb47be9d.js → p-aec0e90c.js} +1 -1
- package/dist/calcite/{p-a6373ef6.js → p-b068d057.js} +2 -2
- package/dist/calcite/{p-c7447ff5.entry.js → p-b2c6b06b.entry.js} +2 -2
- package/dist/calcite/{p-d2f79079.entry.js → p-b96cd9fe.entry.js} +2 -2
- package/dist/calcite/p-ba8d8dbd.entry.js +6 -0
- package/dist/calcite/{p-ba03e197.entry.js → p-bd7bf633.entry.js} +2 -2
- package/dist/calcite/{p-c564ee3d.js → p-befa72be.js} +1 -1
- package/dist/calcite/{p-a322bb86.entry.js → p-c1f41172.entry.js} +2 -2
- package/dist/calcite/{p-c5b28b2a.entry.js → p-c3f0ca58.entry.js} +2 -2
- package/dist/calcite/{p-8599b693.entry.js → p-c7a40044.entry.js} +2 -2
- package/dist/calcite/{p-20ab02b7.entry.js → p-c943664b.entry.js} +2 -2
- package/dist/calcite/{p-4b1cc441.js → p-c9c594e4.js} +2 -2
- package/dist/calcite/{p-5ef97e90.entry.js → p-cfd04b12.entry.js} +2 -2
- package/dist/calcite/{p-8d075e37.js → p-d5d91d87.js} +1 -1
- package/dist/calcite/p-db5ed768.entry.js +6 -0
- package/dist/calcite/{p-5a979e32.entry.js → p-dbd28f14.entry.js} +2 -2
- package/dist/calcite/{p-40e1d497.js → p-de41e5a9.js} +1 -1
- package/dist/calcite/{p-538fd2ae.entry.js → p-de5ad6d3.entry.js} +2 -2
- package/dist/calcite/p-dfda39cf.entry.js +6 -0
- package/dist/calcite/{p-1dd5f101.entry.js → p-dfe47ce7.entry.js} +2 -2
- package/dist/calcite/{p-52d3de61.entry.js → p-e0cb72b7.entry.js} +2 -2
- package/dist/calcite/{p-187c562d.entry.js → p-e423377f.entry.js} +2 -2
- package/dist/calcite/{p-a3f7f3c6.entry.js → p-e85ec259.entry.js} +2 -2
- package/dist/calcite/{p-f532a20d.entry.js → p-eb088883.entry.js} +2 -2
- package/dist/calcite/p-ecd9436e.js +6 -0
- package/dist/calcite/{p-aed4b6fc.entry.js → p-ef74f7df.entry.js} +2 -2
- package/dist/calcite/{p-1ed53169.js → p-f0513696.js} +1 -1
- package/dist/calcite/{p-7b0c6ea0.js → p-f478e34c.js} +2 -2
- package/dist/calcite/p-f9398f20.entry.js +6 -0
- package/dist/calcite/p-fad91c38.entry.js +6 -0
- package/dist/calcite/{p-f69de408.js → p-ff2616f4.js} +1 -1
- package/dist/calcite/{p-d90a2e81.entry.js → p-ffb58fa7.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-4c94697a.js → ExpandToggle-e018f211.js} +5 -5
- package/dist/cjs/{Heading-3af0e212.js → Heading-c23ab3be.js} +2 -2
- package/dist/cjs/{app-globals-3186acc4.js → app-globals-882315c5.js} +2 -2
- package/dist/cjs/{array-4f023a91.js → array-46b159ae.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +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 +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +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 +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +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-4f4eea6a.js} +3 -3
- package/dist/cjs/{debounce-7c328f60.js → debounce-62882659.js} +1 -1
- package/dist/cjs/{dom-c8d2699b.js → dom-4d157abb.js} +3 -3
- package/dist/cjs/{filter-9a46e30b.js → filter-da2797e5.js} +2 -2
- package/dist/cjs/{floating-ui-1eb7dfe6.js → floating-ui-e4e82078.js} +175 -23
- package/dist/cjs/{form-131e64b8.js → form-2f418822.js} +3 -3
- package/dist/cjs/{guid-ad9b119b.js → guid-1d60d25f.js} +1 -1
- package/dist/cjs/{index-b1ba5282.js → index-9624081e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-baf36661.js → interactive-f3855fe3.js} +1 -1
- package/dist/cjs/{interfaces-084c0793.js → interfaces-78ca36e7.js} +1 -1
- package/dist/cjs/{key-59a119b9.js → key-dbb23e1d.js} +1 -1
- package/dist/cjs/{label-415bc940.js → label-cf0a7e54.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-02d3d5ef.js → locale-9261eb8c.js} +4 -4
- package/dist/cjs/{math-45a2d4c0.js → math-70844c29.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-e6d5cb22.js +506 -0
- package/dist/cjs/{observers-bf725ee8.js → observers-53e1a6d6.js} +1 -1
- package/dist/cjs/{openCloseComponent-f4966a6b.js → openCloseComponent-af87dcf3.js} +1 -1
- package/dist/cjs/{resources-55a2a593.js → resources-020cc6d5.js} +1 -1
- package/dist/cjs/{resources-79bc4e72.js → resources-2f6b4dae.js} +1 -1
- package/dist/cjs/{resources-ef23c4c9.js → resources-375914cd.js} +1 -1
- package/dist/cjs/{resources-12c592bb.js → resources-83f09a7b.js} +5 -5
- package/dist/cjs/{resources-f51e581d.js → resources-8477fc7e.js} +1 -1
- package/dist/cjs/{resources-0da64a64.js → resources-d07d3444.js} +3 -3
- package/dist/cjs/{sortable.esm-f5415dc8.js → sortable.esm-7dbec412.js} +1 -1
- package/dist/cjs/{utils-332df7b7.js → utils-a61e740b.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +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.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 +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.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +0 -1
- package/dist/collection/components/popover/popover.js +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 +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 +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 +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +498 -0
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +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-c19c7ae6.js} +5 -5
- package/dist/esm/{Heading-11c2a834.js → Heading-55c4005d.js} +2 -2
- package/dist/esm/{app-globals-1b919870.js → app-globals-a52284f2.js} +2 -2
- package/dist/esm/{array-16ebf5c6.js → array-740ce6b6.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +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 +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +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 +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +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-3441e8f2.js} +3 -3
- package/dist/esm/{debounce-98d20a38.js → debounce-97857fea.js} +1 -1
- package/dist/esm/{dom-640caf51.js → dom-fbef4a17.js} +3 -3
- package/dist/esm/{filter-38e63edc.js → filter-5c7687ab.js} +2 -2
- package/dist/esm/{floating-ui-b2f9718e.js → floating-ui-d7d7ebf5.js} +173 -22
- package/dist/esm/{form-493b70e6.js → form-6c6f44c9.js} +3 -3
- package/dist/esm/{guid-11f68c50.js → guid-46425949.js} +1 -1
- package/dist/esm/{index-06118eda.js → index-dd350c9e.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-fccdf326.js → interactive-7bb63697.js} +1 -1
- package/dist/esm/{interfaces-d9428b54.js → interfaces-1e4b4247.js} +1 -1
- package/dist/esm/{key-754bbff1.js → key-9fd0ee2d.js} +1 -1
- package/dist/esm/{label-57dd65d4.js → label-4476feb8.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-4e463ebf.js → locale-59ce851a.js} +4 -4
- package/dist/esm/{math-99ba6bfb.js → math-f58b6249.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-9a77a585.js +502 -0
- package/dist/esm/{observers-74e54f0e.js → observers-4a45256c.js} +1 -1
- package/dist/esm/{openCloseComponent-ccf3f367.js → openCloseComponent-16ae97af.js} +1 -1
- package/dist/esm/{resources-f7ec4e42.js → resources-06042c92.js} +1 -1
- package/dist/esm/{resources-9331d9fa.js → resources-172c2a25.js} +1 -1
- package/dist/esm/{resources-bad5148f.js → resources-51ebf03b.js} +5 -5
- package/dist/esm/{resources-d9cf35ab.js → resources-57d6fea9.js} +3 -3
- package/dist/esm/{resources-f3f5aa83.js → resources-c905d6cb.js} +1 -1
- package/dist/esm/{resources-64b0963b.js → resources-f25e2a24.js} +1 -1
- package/dist/esm/{sortable.esm-76542737.js → sortable.esm-6094be14.js} +1 -1
- package/dist/esm/{utils-703b7ab8.js → utils-94170855.js} +1 -1
- package/dist/extras/docs-json.json +43 -13
- 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-time-picker/input-time-picker.d.ts +6 -2
- 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 +12 -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 +266 -165
- 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-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,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.607
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
8
|
+
const dom = require('./dom-4d157abb.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Exported for testing purposes only
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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.607
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
12
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-9624081e.js');
|
|
11
|
+
const appGlobals = require('./app-globals-882315c5.js');
|
|
12
|
+
require('./resources-020cc6d5.js');
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.607
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const key = require('./key-
|
|
9
|
-
const observers = require('./observers-
|
|
10
|
-
const dom = require('./dom-
|
|
8
|
+
const key = require('./key-dbb23e1d.js');
|
|
9
|
+
const observers = require('./observers-53e1a6d6.js');
|
|
10
|
+
const dom = require('./dom-4d157abb.js');
|
|
11
11
|
|
|
12
12
|
// adopted from https://stackoverflow.com/a/66939244
|
|
13
13
|
class BigDecimal {
|
|
@@ -0,0 +1,506 @@
|
|
|
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.607
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const floatingUi = require('./floating-ui-e4e82078.js');
|
|
9
|
+
require('./dom-4d157abb.js');
|
|
10
|
+
require('./resources-020cc6d5.js');
|
|
11
|
+
require('./guid-1d60d25f.js');
|
|
12
|
+
require('./debounce-62882659.js');
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This module provides utils to fix positioning across shadow DOM in non-Chromium browsers
|
|
16
|
+
*
|
|
17
|
+
* It is based on floating-ui's distributable
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* 👇 the following are needed to fix shadow DOM positioning 👇️
|
|
21
|
+
*
|
|
22
|
+
* @param element
|
|
23
|
+
*/
|
|
24
|
+
function getTrueOffsetParent(element) {
|
|
25
|
+
if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return composedOffsetParent(element);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Polyfills the old offsetParent behavior from before the spec was changed:
|
|
32
|
+
* https://github.com/w3c/csswg-drafts/issues/159
|
|
33
|
+
*
|
|
34
|
+
* @param element
|
|
35
|
+
*/
|
|
36
|
+
function composedOffsetParent(element) {
|
|
37
|
+
let { offsetParent } = element;
|
|
38
|
+
let ancestor = element;
|
|
39
|
+
let foundInsideSlot = false;
|
|
40
|
+
while (ancestor && ancestor !== offsetParent) {
|
|
41
|
+
const { assignedSlot } = ancestor;
|
|
42
|
+
if (assignedSlot) {
|
|
43
|
+
let newOffsetParent = assignedSlot.offsetParent;
|
|
44
|
+
if (getComputedStyle(assignedSlot).display === "contents") {
|
|
45
|
+
const hadStyleAttribute = assignedSlot.hasAttribute("style");
|
|
46
|
+
const oldDisplay = assignedSlot.style.display;
|
|
47
|
+
assignedSlot.style.display = getComputedStyle(ancestor).display;
|
|
48
|
+
newOffsetParent = assignedSlot.offsetParent;
|
|
49
|
+
assignedSlot.style.display = oldDisplay;
|
|
50
|
+
if (!hadStyleAttribute) {
|
|
51
|
+
assignedSlot.removeAttribute("style");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
ancestor = assignedSlot;
|
|
55
|
+
if (offsetParent !== newOffsetParent) {
|
|
56
|
+
offsetParent = newOffsetParent;
|
|
57
|
+
foundInsideSlot = true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
ancestor = (isShadowRoot(ancestor) && ancestor.host) || ancestor.parentNode;
|
|
64
|
+
}
|
|
65
|
+
return offsetParent;
|
|
66
|
+
}
|
|
67
|
+
function getElementRects(_ref) {
|
|
68
|
+
const { reference, floating, strategy } = _ref;
|
|
69
|
+
return {
|
|
70
|
+
reference: getRectRelativeToOffsetParent(reference, getOffsetParent(floating), strategy),
|
|
71
|
+
floating: { ...getDimensions(floating), x: 0, y: 0 }
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* ☝️ the following are needed to fix shadow DOM positioning ☝️
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* 👇 the following are taken directly from floating-ui's ESM distributable to support the exports above 👇️
|
|
79
|
+
*
|
|
80
|
+
* **Notes**:
|
|
81
|
+
* unused functions are removed
|
|
82
|
+
* ESLint is disabled
|
|
83
|
+
* TS-warnings are suppressed
|
|
84
|
+
*/
|
|
85
|
+
/* eslint-disable */
|
|
86
|
+
function isWindow(value) {
|
|
87
|
+
return value && value.document && value.location && value.alert && value.setInterval;
|
|
88
|
+
}
|
|
89
|
+
function getWindow(node) {
|
|
90
|
+
if (node == null) {
|
|
91
|
+
return window;
|
|
92
|
+
}
|
|
93
|
+
if (!isWindow(node)) {
|
|
94
|
+
const ownerDocument = node.ownerDocument;
|
|
95
|
+
return ownerDocument ? ownerDocument.defaultView || window : window;
|
|
96
|
+
}
|
|
97
|
+
return node;
|
|
98
|
+
}
|
|
99
|
+
function getComputedStyle(element) {
|
|
100
|
+
return getWindow(element).getComputedStyle(element);
|
|
101
|
+
}
|
|
102
|
+
function getNodeName(node) {
|
|
103
|
+
return isWindow(node) ? "" : node ? (node.nodeName || "").toLowerCase() : "";
|
|
104
|
+
}
|
|
105
|
+
function getUAString() {
|
|
106
|
+
// @ts-ignore
|
|
107
|
+
const uaData = navigator.userAgentData;
|
|
108
|
+
if (uaData != null && uaData.brands) {
|
|
109
|
+
return uaData.brands.map((item) => item.brand + "/" + item.version).join(" ");
|
|
110
|
+
}
|
|
111
|
+
return navigator.userAgent;
|
|
112
|
+
}
|
|
113
|
+
function isHTMLElement(value) {
|
|
114
|
+
return value instanceof getWindow(value).HTMLElement;
|
|
115
|
+
}
|
|
116
|
+
function isElement(value) {
|
|
117
|
+
return value instanceof getWindow(value).Element;
|
|
118
|
+
}
|
|
119
|
+
function isNode(value) {
|
|
120
|
+
return value instanceof getWindow(value).Node;
|
|
121
|
+
}
|
|
122
|
+
function isShadowRoot(node) {
|
|
123
|
+
// Browsers without `ShadowRoot` support
|
|
124
|
+
if (typeof ShadowRoot === "undefined") {
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
const OwnElement = getWindow(node).ShadowRoot;
|
|
128
|
+
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
129
|
+
}
|
|
130
|
+
function isOverflowElement(element) {
|
|
131
|
+
// Firefox wants us to check `-x` and `-y` variations as well
|
|
132
|
+
const { overflow, overflowX, overflowY, display } = getComputedStyle(element);
|
|
133
|
+
return (/auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display));
|
|
134
|
+
}
|
|
135
|
+
function isTableElement(element) {
|
|
136
|
+
return ["table", "td", "th"].includes(getNodeName(element));
|
|
137
|
+
}
|
|
138
|
+
function isContainingBlock(element) {
|
|
139
|
+
// TODO: Try and use feature detection here instead
|
|
140
|
+
const isFirefox = /firefox/i.test(getUAString());
|
|
141
|
+
const css = getComputedStyle(element); // This is non-exhaustive but covers the most common CSS properties that
|
|
142
|
+
// create a containing block.
|
|
143
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
144
|
+
return (css.transform !== "none" ||
|
|
145
|
+
css.perspective !== "none" ||
|
|
146
|
+
(isFirefox && css.willChange === "filter") ||
|
|
147
|
+
(isFirefox && (css.filter ? css.filter !== "none" : false)) ||
|
|
148
|
+
["transform", "perspective"].some((value) => css.willChange.includes(value)) ||
|
|
149
|
+
["paint", "layout", "strict", "content"].some(
|
|
150
|
+
// TS 4.1 compat
|
|
151
|
+
(value) => {
|
|
152
|
+
const contain = css.contain;
|
|
153
|
+
return contain != null ? contain.includes(value) : false;
|
|
154
|
+
}));
|
|
155
|
+
}
|
|
156
|
+
function isLayoutViewport() {
|
|
157
|
+
// Not Safari
|
|
158
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString()); // Feature detection for this fails in various ways
|
|
159
|
+
// • Always-visible scrollbar or not
|
|
160
|
+
// • Width of <html>, etc.
|
|
161
|
+
// const vV = win.visualViewport;
|
|
162
|
+
// return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;
|
|
163
|
+
}
|
|
164
|
+
function isLastTraversableNode(node) {
|
|
165
|
+
return ["html", "body", "#document"].includes(getNodeName(node));
|
|
166
|
+
}
|
|
167
|
+
const min = Math.min;
|
|
168
|
+
const max = Math.max;
|
|
169
|
+
const round = Math.round;
|
|
170
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
171
|
+
var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;
|
|
172
|
+
if (includeScale === void 0) {
|
|
173
|
+
includeScale = false;
|
|
174
|
+
}
|
|
175
|
+
if (isFixedStrategy === void 0) {
|
|
176
|
+
isFixedStrategy = false;
|
|
177
|
+
}
|
|
178
|
+
const clientRect = element.getBoundingClientRect();
|
|
179
|
+
let scaleX = 1;
|
|
180
|
+
let scaleY = 1;
|
|
181
|
+
if (includeScale && isHTMLElement(element)) {
|
|
182
|
+
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
183
|
+
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
184
|
+
}
|
|
185
|
+
const win = isElement(element) ? getWindow(element) : window;
|
|
186
|
+
const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
187
|
+
const x = (clientRect.left +
|
|
188
|
+
(addVisualOffsets
|
|
189
|
+
? (_win$visualViewport$o =
|
|
190
|
+
(_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null
|
|
191
|
+
? _win$visualViewport$o
|
|
192
|
+
: 0
|
|
193
|
+
: 0)) /
|
|
194
|
+
scaleX;
|
|
195
|
+
const y = (clientRect.top +
|
|
196
|
+
(addVisualOffsets
|
|
197
|
+
? (_win$visualViewport$o2 =
|
|
198
|
+
(_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null
|
|
199
|
+
? _win$visualViewport$o2
|
|
200
|
+
: 0
|
|
201
|
+
: 0)) /
|
|
202
|
+
scaleY;
|
|
203
|
+
const width = clientRect.width / scaleX;
|
|
204
|
+
const height = clientRect.height / scaleY;
|
|
205
|
+
return {
|
|
206
|
+
width,
|
|
207
|
+
height,
|
|
208
|
+
top: y,
|
|
209
|
+
right: x + width,
|
|
210
|
+
bottom: y + height,
|
|
211
|
+
left: x,
|
|
212
|
+
x,
|
|
213
|
+
y
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
function getDocumentElement(node) {
|
|
217
|
+
return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;
|
|
218
|
+
}
|
|
219
|
+
function getNodeScroll(element) {
|
|
220
|
+
if (isElement(element)) {
|
|
221
|
+
return {
|
|
222
|
+
scrollLeft: element.scrollLeft,
|
|
223
|
+
scrollTop: element.scrollTop
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
return {
|
|
227
|
+
scrollLeft: element.pageXOffset,
|
|
228
|
+
scrollTop: element.pageYOffset
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function getWindowScrollBarX(element) {
|
|
232
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
233
|
+
// incorrect for RTL.
|
|
234
|
+
// @ts-ignore
|
|
235
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
236
|
+
}
|
|
237
|
+
function isScaled(element) {
|
|
238
|
+
// @ts-ignore
|
|
239
|
+
const rect = getBoundingClientRect(element);
|
|
240
|
+
return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;
|
|
241
|
+
}
|
|
242
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
243
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
244
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
245
|
+
const rect = getBoundingClientRect(element, // @ts-ignore - checked above (TS 4.1 compat)
|
|
246
|
+
isOffsetParentAnElement && isScaled(offsetParent), strategy === "fixed");
|
|
247
|
+
let scroll = {
|
|
248
|
+
scrollLeft: 0,
|
|
249
|
+
scrollTop: 0
|
|
250
|
+
};
|
|
251
|
+
const offsets = {
|
|
252
|
+
x: 0,
|
|
253
|
+
y: 0
|
|
254
|
+
};
|
|
255
|
+
if (isOffsetParentAnElement || (!isOffsetParentAnElement && strategy !== "fixed")) {
|
|
256
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
257
|
+
scroll = getNodeScroll(offsetParent);
|
|
258
|
+
}
|
|
259
|
+
if (isHTMLElement(offsetParent)) {
|
|
260
|
+
// @ts-ignore
|
|
261
|
+
const offsetRect = getBoundingClientRect(offsetParent, true);
|
|
262
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
263
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
264
|
+
}
|
|
265
|
+
else if (documentElement) {
|
|
266
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
return {
|
|
270
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
271
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
272
|
+
width: rect.width,
|
|
273
|
+
height: rect.height
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
function getParentNode(node) {
|
|
277
|
+
if (getNodeName(node) === "html") {
|
|
278
|
+
return node;
|
|
279
|
+
}
|
|
280
|
+
return (
|
|
281
|
+
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
282
|
+
// @ts-ignore
|
|
283
|
+
node.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
284
|
+
node.parentNode || // DOM Element detected
|
|
285
|
+
(isShadowRoot(node) ? node.host : null) || // ShadowRoot detected
|
|
286
|
+
getDocumentElement(node) // fallback
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
function getContainingBlock(element) {
|
|
290
|
+
let currentNode = getParentNode(element);
|
|
291
|
+
if (isShadowRoot(currentNode)) {
|
|
292
|
+
currentNode = currentNode.host;
|
|
293
|
+
}
|
|
294
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
295
|
+
if (isContainingBlock(currentNode)) {
|
|
296
|
+
return currentNode;
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
const parent = currentNode.parentNode;
|
|
300
|
+
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
return null;
|
|
304
|
+
} // Gets the closest ancestor positioned element. Handles some edge cases,
|
|
305
|
+
// such as table ancestors and cross browser bugs.
|
|
306
|
+
function getOffsetParent(element) {
|
|
307
|
+
const window = getWindow(element);
|
|
308
|
+
let offsetParent = getTrueOffsetParent(element);
|
|
309
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === "static") {
|
|
310
|
+
offsetParent = getTrueOffsetParent(offsetParent);
|
|
311
|
+
}
|
|
312
|
+
if (offsetParent &&
|
|
313
|
+
(getNodeName(offsetParent) === "html" ||
|
|
314
|
+
(getNodeName(offsetParent) === "body" &&
|
|
315
|
+
getComputedStyle(offsetParent).position === "static" &&
|
|
316
|
+
!isContainingBlock(offsetParent)))) {
|
|
317
|
+
return window;
|
|
318
|
+
}
|
|
319
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
320
|
+
}
|
|
321
|
+
function getDimensions(element) {
|
|
322
|
+
if (isHTMLElement(element)) {
|
|
323
|
+
return {
|
|
324
|
+
width: element.offsetWidth,
|
|
325
|
+
height: element.offsetHeight
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
// @ts-ignore
|
|
329
|
+
const rect = getBoundingClientRect(element);
|
|
330
|
+
return {
|
|
331
|
+
width: rect.width,
|
|
332
|
+
height: rect.height
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function getViewportRect(element, strategy) {
|
|
336
|
+
const win = getWindow(element);
|
|
337
|
+
const html = getDocumentElement(element);
|
|
338
|
+
const visualViewport = win.visualViewport;
|
|
339
|
+
let width = html.clientWidth;
|
|
340
|
+
let height = html.clientHeight;
|
|
341
|
+
let x = 0;
|
|
342
|
+
let y = 0;
|
|
343
|
+
if (visualViewport) {
|
|
344
|
+
width = visualViewport.width;
|
|
345
|
+
height = visualViewport.height;
|
|
346
|
+
const layoutViewport = isLayoutViewport();
|
|
347
|
+
if (layoutViewport || (!layoutViewport && strategy === "fixed")) {
|
|
348
|
+
x = visualViewport.offsetLeft;
|
|
349
|
+
y = visualViewport.offsetTop;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
return {
|
|
353
|
+
width,
|
|
354
|
+
height,
|
|
355
|
+
x,
|
|
356
|
+
y
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
360
|
+
function getDocumentRect(element) {
|
|
361
|
+
var _element$ownerDocumen;
|
|
362
|
+
const html = getDocumentElement(element);
|
|
363
|
+
const scroll = getNodeScroll(element);
|
|
364
|
+
const body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
365
|
+
const width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
366
|
+
const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
367
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
368
|
+
const y = -scroll.scrollTop;
|
|
369
|
+
if (getComputedStyle(body || html).direction === "rtl") {
|
|
370
|
+
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
371
|
+
}
|
|
372
|
+
return {
|
|
373
|
+
width,
|
|
374
|
+
height,
|
|
375
|
+
x,
|
|
376
|
+
y
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
function getNearestOverflowAncestor(node) {
|
|
380
|
+
const parentNode = getParentNode(node);
|
|
381
|
+
if (isLastTraversableNode(parentNode)) {
|
|
382
|
+
// @ts-ignore assume body is always available
|
|
383
|
+
return node.ownerDocument.body;
|
|
384
|
+
}
|
|
385
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
386
|
+
return parentNode;
|
|
387
|
+
}
|
|
388
|
+
return getNearestOverflowAncestor(parentNode);
|
|
389
|
+
}
|
|
390
|
+
function getOverflowAncestors(node, list) {
|
|
391
|
+
var _node$ownerDocument;
|
|
392
|
+
if (list === void 0) {
|
|
393
|
+
list = [];
|
|
394
|
+
}
|
|
395
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
396
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
|
|
397
|
+
const win = getWindow(scrollableAncestor);
|
|
398
|
+
const target = isBody
|
|
399
|
+
? [win].concat(win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [])
|
|
400
|
+
: scrollableAncestor;
|
|
401
|
+
const updatedList = list.concat(target);
|
|
402
|
+
return isBody
|
|
403
|
+
? updatedList // @ts-ignore: isBody tells us target will be an HTMLElement here
|
|
404
|
+
: updatedList.concat(getOverflowAncestors(target));
|
|
405
|
+
}
|
|
406
|
+
function contains(parent, child) {
|
|
407
|
+
const rootNode = child.getRootNode == null ? void 0 : child.getRootNode(); // First, attempt with faster native method
|
|
408
|
+
if (parent.contains(child)) {
|
|
409
|
+
return true;
|
|
410
|
+
} // then fallback to custom implementation with Shadow DOM support
|
|
411
|
+
else if (rootNode && isShadowRoot(rootNode)) {
|
|
412
|
+
let next = child;
|
|
413
|
+
do {
|
|
414
|
+
// use `===` replace node.isSameNode()
|
|
415
|
+
if (next && parent === next) {
|
|
416
|
+
return true;
|
|
417
|
+
} // @ts-ignore: need a better way to handle this...
|
|
418
|
+
next = next.parentNode || next.host;
|
|
419
|
+
} while (next);
|
|
420
|
+
}
|
|
421
|
+
return false;
|
|
422
|
+
}
|
|
423
|
+
function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
|
|
424
|
+
let currentNode = element;
|
|
425
|
+
while (currentNode && !isLastTraversableNode(currentNode) && !clippingAncestors.includes(currentNode)) {
|
|
426
|
+
if (isElement(currentNode) && ["absolute", "fixed"].includes(getComputedStyle(currentNode).position)) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
const parentNode = getParentNode(currentNode);
|
|
430
|
+
currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
|
|
431
|
+
}
|
|
432
|
+
return currentNode;
|
|
433
|
+
}
|
|
434
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
435
|
+
const clientRect = getBoundingClientRect(element, false, strategy === "fixed");
|
|
436
|
+
const top = clientRect.top + element.clientTop;
|
|
437
|
+
const left = clientRect.left + element.clientLeft;
|
|
438
|
+
return {
|
|
439
|
+
top,
|
|
440
|
+
left,
|
|
441
|
+
x: left,
|
|
442
|
+
y: top,
|
|
443
|
+
right: left + element.clientWidth,
|
|
444
|
+
bottom: top + element.clientHeight,
|
|
445
|
+
width: element.clientWidth,
|
|
446
|
+
height: element.clientHeight
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
|
|
450
|
+
if (clippingParent === "viewport") {
|
|
451
|
+
return floatingUi.rectToClientRect(getViewportRect(element, strategy));
|
|
452
|
+
}
|
|
453
|
+
if (isElement(clippingParent)) {
|
|
454
|
+
return getInnerBoundingClientRect(clippingParent, strategy);
|
|
455
|
+
}
|
|
456
|
+
return floatingUi.rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
457
|
+
} // A "clipping ancestor" is an overflowable container with the characteristic of
|
|
458
|
+
// clipping (or hiding) overflowing elements with a position different from
|
|
459
|
+
// `initial`
|
|
460
|
+
function getClippingAncestors(element) {
|
|
461
|
+
// @ts-ignore
|
|
462
|
+
const clippingAncestors = getOverflowAncestors(element);
|
|
463
|
+
const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);
|
|
464
|
+
let clipperElement = null;
|
|
465
|
+
if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {
|
|
466
|
+
const offsetParent = getOffsetParent(nearestEscapableParent);
|
|
467
|
+
if (isOverflowElement(nearestEscapableParent)) {
|
|
468
|
+
clipperElement = nearestEscapableParent;
|
|
469
|
+
}
|
|
470
|
+
else if (isHTMLElement(offsetParent)) {
|
|
471
|
+
clipperElement = offsetParent;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
if (!isElement(clipperElement)) {
|
|
475
|
+
return [];
|
|
476
|
+
} // @ts-ignore isElement check ensures we return Array<Element>
|
|
477
|
+
return clippingAncestors.filter((clippingAncestors) => clipperElement &&
|
|
478
|
+
isElement(clippingAncestors) &&
|
|
479
|
+
contains(clippingAncestors, clipperElement) &&
|
|
480
|
+
getNodeName(clippingAncestors) !== "body");
|
|
481
|
+
} // Gets the maximum area that the element is visible in due to any number of
|
|
482
|
+
// clipping ancestors
|
|
483
|
+
function getClippingRect(_ref) {
|
|
484
|
+
let { element, boundary, rootBoundary, strategy } = _ref;
|
|
485
|
+
const mainClippingAncestors = boundary === "clippingAncestors" ? getClippingAncestors(element) : [].concat(boundary);
|
|
486
|
+
const clippingAncestors = [...mainClippingAncestors, rootBoundary];
|
|
487
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
488
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
489
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
490
|
+
accRect.top = max(rect.top, accRect.top);
|
|
491
|
+
accRect.right = min(rect.right, accRect.right);
|
|
492
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
493
|
+
accRect.left = max(rect.left, accRect.left);
|
|
494
|
+
return accRect;
|
|
495
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
496
|
+
return {
|
|
497
|
+
width: clippingRect.right - clippingRect.left,
|
|
498
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
499
|
+
x: clippingRect.left,
|
|
500
|
+
y: clippingRect.top
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
exports.getClippingRect = getClippingRect;
|
|
505
|
+
exports.getElementRects = getElementRects;
|
|
506
|
+
exports.getOffsetParent = getOffsetParent;
|
|
@@ -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.607
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const array = require('./array-
|
|
10
|
-
const debounce = require('./debounce-
|
|
11
|
-
const index = require('./index-
|
|
8
|
+
const dom = require('./dom-4d157abb.js');
|
|
9
|
+
const array = require('./array-46b159ae.js');
|
|
10
|
+
const debounce = require('./debounce-62882659.js');
|
|
11
|
+
const index = require('./index-9624081e.js');
|
|
12
12
|
|
|
13
13
|
const CSS$2 = {
|
|
14
14
|
heading: "heading",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.607
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const locale = require('./locale-
|
|
8
|
+
const index = require('./index-9624081e.js');
|
|
9
|
+
const locale = require('./locale-9261eb8c.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Check if date is within a min and max
|