@esri/calcite-components 1.4.0-next.1 → 1.4.0-next.10
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/assets/icon/orientedImageryLayer16.json +1 -0
- package/dist/calcite/assets/icon/orientedImageryLayer24.json +1 -0
- package/dist/calcite/assets/icon/orientedImageryLayer32.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer16.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer24.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer32.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations16.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations24.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-202ec7cb.js → p-00383b72.js} +1 -1
- package/dist/calcite/{p-91a65b3d.entry.js → p-006421cf.entry.js} +2 -2
- package/dist/calcite/p-033b7e01.entry.js +6 -0
- package/dist/calcite/{p-929f251f.js → p-04577b20.js} +1 -1
- package/dist/calcite/{p-3fd6d05a.js → p-063a4869.js} +1 -1
- package/dist/calcite/{p-4fd321ce.entry.js → p-088553ab.entry.js} +2 -2
- package/dist/calcite/{p-9f47f20c.js → p-0990e4b1.js} +1 -1
- package/dist/calcite/p-0b5b83ca.js +6 -0
- package/dist/calcite/{p-eebb35d7.entry.js → p-0c5c7ac8.entry.js} +2 -2
- package/dist/calcite/{p-77e28424.entry.js → p-0f914551.entry.js} +2 -2
- package/dist/calcite/{p-0d8ab202.js → p-11d8b4fa.js} +2 -2
- package/dist/calcite/{p-16eb38b3.entry.js → p-12a17917.entry.js} +2 -2
- package/dist/calcite/{p-6f9a5b38.entry.js → p-166b2653.entry.js} +2 -2
- package/dist/calcite/{p-b96e03be.entry.js → p-1d8d9ad5.entry.js} +2 -2
- package/dist/calcite/p-21f70058.entry.js +6 -0
- package/dist/calcite/p-26ff46fc.entry.js +6 -0
- package/dist/calcite/{p-80f5c7dc.entry.js → p-285fde7a.entry.js} +2 -2
- package/dist/calcite/{p-8e588bd5.js → p-28bd653e.js} +3 -3
- package/dist/calcite/{p-355c6b51.js → p-2c11ed7d.js} +2 -2
- package/dist/calcite/{p-8eb242c3.entry.js → p-2e345437.entry.js} +2 -2
- package/dist/calcite/{p-160e376e.js → p-2fba8e6a.js} +1 -1
- package/dist/calcite/{p-ccdbdd3e.entry.js → p-33841e82.entry.js} +2 -2
- package/dist/calcite/{p-40e9ea4d.js → p-33c5c291.js} +1 -1
- package/dist/calcite/{p-4dfe3be2.js → p-369d7e1a.js} +1 -1
- package/dist/calcite/{p-192c9303.js → p-37d03f0c.js} +2 -2
- package/dist/calcite/{p-fdc776d9.js → p-386abb7d.js} +2 -2
- package/dist/calcite/{p-9f70d531.entry.js → p-39d22c35.entry.js} +2 -2
- package/dist/calcite/{p-9f492399.js → p-3d973854.js} +2 -2
- package/dist/calcite/{p-3c07d6d9.entry.js → p-3fe662f7.entry.js} +2 -2
- package/dist/calcite/{p-648773ca.entry.js → p-463c3817.entry.js} +2 -2
- package/dist/calcite/p-4e5db9b6.js +6 -0
- package/dist/calcite/{p-7b470dfe.js → p-4f50176e.js} +1 -1
- package/dist/calcite/p-504ea909.entry.js +6 -0
- package/dist/calcite/{p-16fa02e0.entry.js → p-548fb4ce.entry.js} +2 -2
- package/dist/calcite/{p-0e62bf57.entry.js → p-55caae0c.entry.js} +2 -2
- package/dist/calcite/{p-6b999e6a.entry.js → p-590cc126.entry.js} +2 -2
- package/dist/calcite/{p-bfd4b549.entry.js → p-5bc7013c.entry.js} +2 -2
- package/dist/calcite/{p-130cb272.entry.js → p-63d45233.entry.js} +2 -2
- package/dist/calcite/{p-1ee8a27c.entry.js → p-6b84d6ef.entry.js} +2 -2
- package/dist/calcite/p-6d7e5273.entry.js +6 -0
- package/dist/calcite/p-706ed58d.entry.js +6 -0
- package/dist/calcite/{p-9e966c8c.entry.js → p-718f633f.entry.js} +2 -2
- package/dist/calcite/{p-ca503db0.entry.js → p-7249fbe5.entry.js} +2 -2
- package/dist/calcite/{p-1ea5ac9d.entry.js → p-72ba446e.entry.js} +2 -2
- package/dist/calcite/{p-1a2f0b78.entry.js → p-75b724ae.entry.js} +2 -2
- package/dist/calcite/{p-f3fd38f8.entry.js → p-771ec30b.entry.js} +2 -2
- package/dist/calcite/{p-cb0f1e83.js → p-797661fe.js} +1 -1
- package/dist/calcite/{p-1c134cca.entry.js → p-7c870019.entry.js} +2 -2
- package/dist/calcite/{p-9419d79f.entry.js → p-7cb6bb0c.entry.js} +2 -2
- package/dist/calcite/{p-78f1640b.entry.js → p-7ddd51c0.entry.js} +2 -2
- package/dist/calcite/{p-f3481dad.entry.js → p-80b4addf.entry.js} +2 -2
- package/dist/calcite/{p-8bfca736.entry.js → p-83924270.entry.js} +2 -2
- package/dist/calcite/{p-3048b02a.js → p-892279b1.js} +1 -1
- package/dist/calcite/{p-b1128d62.entry.js → p-8d09a65c.entry.js} +2 -2
- package/dist/calcite/p-923166fc.entry.js +6 -0
- package/dist/calcite/{p-9a4aea5c.entry.js → p-95fdcb91.entry.js} +2 -2
- package/dist/calcite/p-96968ac7.entry.js +6 -0
- package/dist/calcite/p-970be967.entry.js +6 -0
- package/dist/calcite/p-99e63f9f.js +6 -0
- package/dist/calcite/{p-f02dfea6.entry.js → p-9c84eb29.entry.js} +2 -2
- package/dist/calcite/{p-dab4ee30.js → p-9d02fe1c.js} +1 -1
- package/dist/calcite/{p-43c67bb9.entry.js → p-9d07088d.entry.js} +2 -2
- package/dist/calcite/{p-a7a5335e.js → p-9fe27e8d.js} +2 -2
- package/dist/calcite/{p-931355e8.js → p-a0a1f925.js} +1 -1
- package/dist/calcite/p-a15f7de3.js +6 -0
- package/dist/calcite/{p-a7b6b725.entry.js → p-a49d3536.entry.js} +2 -2
- package/dist/calcite/{p-00b8a8e9.js → p-a7daef7a.js} +2 -2
- package/dist/calcite/p-a94a945f.entry.js +6 -0
- package/dist/calcite/{p-137e2bb9.entry.js → p-aa277b5a.entry.js} +2 -2
- package/dist/calcite/{p-5f1f5c38.entry.js → p-ac273467.entry.js} +2 -2
- package/dist/calcite/p-b140b736.js +6 -0
- package/dist/calcite/{p-f54ae1ab.entry.js → p-b149fa47.entry.js} +2 -2
- package/dist/calcite/{p-8e7597b8.entry.js → p-b2b99a48.entry.js} +2 -2
- package/dist/calcite/{p-a8216142.js → p-b6042b6c.js} +1 -1
- package/dist/calcite/{p-8a791b50.entry.js → p-b99a1036.entry.js} +2 -2
- package/dist/calcite/{p-d66139be.entry.js → p-c6a73b19.entry.js} +2 -2
- package/dist/calcite/{p-647ebb8d.entry.js → p-c8c93dc4.entry.js} +2 -2
- package/dist/calcite/{p-dbfc5b2e.js → p-ca33af16.js} +2 -2
- package/dist/calcite/{p-8f36135a.entry.js → p-cc171e49.entry.js} +2 -2
- package/dist/calcite/{p-b74b3edc.js → p-d2a6b24b.js} +1 -1
- package/dist/calcite/{p-26900c87.entry.js → p-d3245ccf.entry.js} +2 -2
- package/dist/calcite/{p-8c36542e.entry.js → p-deb3bdde.entry.js} +2 -2
- package/dist/calcite/{p-70dba721.entry.js → p-e0e93a72.entry.js} +2 -2
- package/dist/calcite/{p-52234353.js → p-e1098787.js} +2 -2
- package/dist/calcite/p-e22cb550.entry.js +6 -0
- package/dist/calcite/{p-3f20b4ea.js → p-e4c1febd.js} +1 -1
- package/dist/calcite/{p-90170ec7.js → p-e79254d3.js} +2 -2
- package/dist/calcite/{p-cbbc6c3c.js → p-eacf0ee1.js} +1 -1
- package/dist/calcite/{p-cccdae42.js → p-ee458bd5.js} +2 -2
- package/dist/calcite/{p-77ffa8c0.entry.js → p-f0fdf516.entry.js} +2 -2
- package/dist/calcite/{p-19eec879.entry.js → p-f1642ec6.entry.js} +2 -2
- package/dist/calcite/{p-c75b8170.js → p-f395d0e2.js} +2 -2
- package/dist/calcite/{p-6050736c.entry.js → p-f5e50012.entry.js} +2 -2
- package/dist/calcite/{p-baca04ad.entry.js → p-fbfe8e4d.entry.js} +2 -2
- package/dist/calcite/{p-d025ac9c.entry.js → p-fe1c87d5.entry.js} +2 -2
- package/dist/calcite/p-ffdbd6d1.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-46462b73.js → ExpandToggle-953ef45b.js} +5 -5
- package/dist/cjs/{FloatingArrow-386bcf99.js → FloatingArrow-cf108924.js} +2 -2
- package/dist/cjs/{Heading-cdc35796.js → Heading-0b55bc06.js} +2 -2
- package/dist/cjs/{app-globals-d6130b8b.js → app-globals-4953ac0e.js} +2 -2
- package/dist/cjs/{array-79e60de8.js → array-2726dfca.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +9 -8
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +585 -339
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- 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 +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- 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 +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- 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 +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
- 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 +50 -40
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- 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-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- 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-text-area.cjs.entry.js +15 -15
- 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 +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +46 -32
- package/dist/cjs/calcite-tree_2.cjs.entry.js +47 -27
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-34843aea.js → composed-offset-position.esm-12a68feb.js} +1 -1
- package/dist/cjs/{conditionalSlot-a61d43fc.js → conditionalSlot-f5ae40d5.js} +3 -3
- package/dist/cjs/{debounce-bf9bd36d.js → debounce-a5772547.js} +1 -1
- package/dist/cjs/{dom-dd7e7078.js → dom-60bc41cc.js} +116 -17
- package/dist/cjs/{filter-95f477d2.js → filter-6d66baa0.js} +2 -2
- package/dist/cjs/{floating-ui-fab04fea.js → floating-ui-eea897d6.js} +71 -65
- package/dist/cjs/{focusTrapComponent-6e1488e8.js → focusTrapComponent-adfb6fd0.js} +2 -2
- package/dist/cjs/{form-a683c373.js → form-375179b0.js} +3 -3
- package/dist/cjs/{guid-6841fe52.js → guid-20fbb6f5.js} +1 -1
- package/dist/cjs/{index-2a60e5ec.js → index-7ff03af4.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-6cff8d4e.js → interactive-e756405a.js} +1 -1
- package/dist/cjs/{key-629ff080.js → key-965a0499.js} +1 -1
- package/dist/cjs/{label-7712e5a1.js → label-d45108db.js} +2 -2
- package/dist/cjs/{loadable-85e1f45b.js → loadable-43aa8e12.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-44e61096.js → locale-352dde9f.js} +4 -4
- package/dist/cjs/{math-faf5a949.js → math-9638f9db.js} +1 -1
- package/dist/cjs/{observers-d3bfb778.js → observers-c0279726.js} +1 -1
- package/dist/cjs/{openCloseComponent-65c2ca00.js → openCloseComponent-02cae5bf.js} +2 -2
- package/dist/cjs/{resources-34d3d589.js → resources-0c626808.js} +1 -1
- package/dist/cjs/{resources-6ae8b620.js → resources-2dbf7729.js} +1 -1
- package/dist/cjs/{resources-54920aaa.js → resources-4097e6e6.js} +5 -5
- package/dist/cjs/{resources-4861da6e.js → resources-b2185290.js} +1 -1
- package/dist/cjs/{resources-2e9fab44.js → resources-db42842c.js} +1 -1
- package/dist/cjs/{resources-ad5570c2.js → resources-ebef8fc8.js} +1 -1
- package/dist/cjs/{sortable.esm-7c113379.js → sortable.esm-4549097b.js} +1 -1
- package/dist/cjs/{t9n-6d0f2ca7.js → t9n-6dbfaf2b.js} +3 -3
- package/dist/cjs/{throttle-9dfcf548.js → throttle-5b0015f5.js} +2 -2
- package/dist/cjs/utils-52def2ad.js +213 -0
- package/dist/cjs/{utils-7e605f34.js → utils-643437eb.js} +3 -3
- 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.css +9 -12
- 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/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +22 -4
- 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/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +59 -52
- package/dist/collection/components/color-picker/color-picker.js +449 -234
- package/dist/collection/components/color-picker/resources.js +37 -27
- package/dist/collection/components/color-picker/utils.js +116 -30
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +19 -16
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
- package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +10 -6
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
- package/dist/collection/components/color-picker-swatch/resources.js +8 -2
- 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.css +12 -0
- package/dist/collection/components/flow-item/flow-item.js +2 -2
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.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/assets/icon/orientedImageryLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/orientedImageryLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/orientedImageryLayer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations16.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations24.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations32.json +1 -0
- 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/input-time-picker/resources.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 +60 -30
- package/dist/collection/components/list/resources.js +2 -2
- 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.css +9 -2
- package/dist/collection/components/panel/panel.js +2 -2
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +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/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/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/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.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 -4
- 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/resources.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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.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 +38 -24
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +25 -12
- 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 +15 -8
- 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/index.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 +114 -15
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- 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/mode.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/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.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 +2 -2
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +5 -3
- 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-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +2 -2
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +377 -314
- 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 +2 -2
- 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 +2 -617
- 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 +40 -30
- 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-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -4
- 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-text-area.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 +15 -8
- package/dist/components/calcite-tree.js +25 -12
- 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 +252 -88
- package/dist/components/color-picker-swatch.js +42 -2118
- package/dist/components/composed-offset-position.esm.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 +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +114 -15
- 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 +68 -62
- package/dist/components/focusTrapComponent.js +1 -1
- 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/index2.js +2116 -0
- package/dist/components/input-number.js +623 -0
- package/dist/components/input.js +2 -2
- package/dist/components/interactive.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 +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +2 -2
- 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/t9n.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/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +38 -24
- package/dist/components/utils.js +112 -31
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-b9435cd9.js → ExpandToggle-453532fb.js} +5 -5
- package/dist/esm/{FloatingArrow-c11f7328.js → FloatingArrow-7e092a81.js} +2 -2
- package/dist/esm/{Heading-cf0b7487.js → Heading-3e8ede2b.js} +2 -2
- package/dist/esm/{app-globals-4fed5e1d.js → app-globals-f5cd924f.js} +2 -2
- package/dist/esm/{array-358c609b.js → array-cd8aabd5.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +9 -8
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +585 -339
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- 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 +13 -13
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- 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 +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- 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 +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
- 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 +50 -40
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- 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-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -14
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- 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-text-area.entry.js +15 -15
- 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 +11 -11
- package/dist/esm/calcite-tooltip.entry.js +46 -32
- package/dist/esm/calcite-tree_2.entry.js +47 -27
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-7dad5f51.js → composed-offset-position.esm-76d65efb.js} +1 -1
- package/dist/esm/{conditionalSlot-5cabd141.js → conditionalSlot-aa1ef58a.js} +3 -3
- package/dist/esm/{debounce-3236c2d6.js → debounce-8c6a3cbc.js} +1 -1
- package/dist/esm/{dom-28b5e538.js → dom-b9bed823.js} +116 -17
- package/dist/esm/{filter-698b6eb0.js → filter-e32fe919.js} +2 -2
- package/dist/esm/{floating-ui-b5749485.js → floating-ui-fbd8bbc8.js} +71 -65
- package/dist/esm/{focusTrapComponent-889051a9.js → focusTrapComponent-d63c1aa7.js} +2 -2
- package/dist/esm/{form-09082c06.js → form-7d8a2b92.js} +3 -3
- package/dist/esm/{guid-544471e1.js → guid-8fc9c6e4.js} +1 -1
- package/dist/esm/{index-5d088200.js → index-18aa0ab5.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-854fd770.js → interactive-c1d7134a.js} +1 -1
- package/dist/esm/{key-fe7f0c5b.js → key-c41d524a.js} +1 -1
- package/dist/esm/{label-78d3672e.js → label-fab33c80.js} +2 -2
- package/dist/esm/{loadable-1fd5df25.js → loadable-a4cb0e0a.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-ca2b383e.js → locale-70a08434.js} +4 -4
- package/dist/esm/{math-144739fc.js → math-4700eb3d.js} +1 -1
- package/dist/esm/{observers-072ef19c.js → observers-72f649b9.js} +1 -1
- package/dist/esm/{openCloseComponent-6e2df95d.js → openCloseComponent-7099262f.js} +2 -2
- package/dist/esm/{resources-0fd2a367.js → resources-04baed08.js} +1 -1
- package/dist/esm/{resources-7c3efd5b.js → resources-3a3d58c2.js} +1 -1
- package/dist/esm/{resources-bc08b0a8.js → resources-6f9c09ba.js} +5 -5
- package/dist/esm/{resources-81fb0e53.js → resources-6fb499ae.js} +1 -1
- package/dist/esm/{resources-417fcb2c.js → resources-7d1e244f.js} +1 -1
- package/dist/esm/{resources-ae5aaa2f.js → resources-941c20ae.js} +1 -1
- package/dist/esm/{sortable.esm-2496d718.js → sortable.esm-fa5ebcb2.js} +1 -1
- package/dist/esm/{t9n-a16b2bfd.js → t9n-1cf2a8af.js} +3 -3
- package/dist/esm/{throttle-f248810f.js → throttle-48795209.js} +2 -2
- package/dist/esm/{utils-dbad4ec5.js → utils-b673e5a0.js} +3 -3
- package/dist/esm/utils-cb560d06.js +195 -0
- package/dist/extras/docs-json.json +193 -39
- package/dist/extras/vscode-data.json +28 -4
- 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/avatar/avatar.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +55 -26
- package/dist/types/components/color-picker/interfaces.d.ts +1 -0
- package/dist/types/components/color-picker/resources.d.ts +28 -18
- package/dist/types/components/color-picker/utils.d.ts +16 -7
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
- package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
- package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
- package/dist/types/components/flow-item/flow-item.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +7 -2
- package/dist/types/components/list/resources.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +1 -1
- package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
- package/dist/types/components/tree-item/tree-item.d.ts +2 -0
- package/dist/types/components.d.ts +74 -10
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/dom.d.ts +115 -19
- package/hydrate/index.js +983 -510
- package/package.json +5 -6
- package/dist/calcite/p-16186076.entry.js +0 -6
- package/dist/calcite/p-19558484.entry.js +0 -6
- package/dist/calcite/p-2e37d908.entry.js +0 -6
- package/dist/calcite/p-331764e7.entry.js +0 -6
- package/dist/calcite/p-3480e564.js +0 -6
- package/dist/calcite/p-5b450927.entry.js +0 -6
- package/dist/calcite/p-601ddd73.js +0 -6
- package/dist/calcite/p-636d0418.entry.js +0 -6
- package/dist/calcite/p-69984379.entry.js +0 -6
- package/dist/calcite/p-77a01239.entry.js +0 -6
- package/dist/calcite/p-a6964ccc.entry.js +0 -6
- package/dist/calcite/p-c0877b02.js +0 -6
- package/dist/calcite/p-db810dad.js +0 -6
- package/dist/calcite/p-dc80a779.entry.js +0 -6
- package/dist/calcite/p-de9cb821.js +0 -6
- package/dist/calcite/p-ec46baf1.entry.js +0 -6
- package/dist/calcite/p-ede3f0a2.entry.js +0 -6
- package/dist/cjs/utils-a90ed219.js +0 -124
- package/dist/esm/utils-5f9ac4a7.js +0 -114
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const guid = require('./guid-
|
|
9
|
-
const resources = require('./resources-
|
|
8
|
+
const guid = require('./guid-20fbb6f5.js');
|
|
9
|
+
const resources = require('./resources-ebef8fc8.js');
|
|
10
10
|
|
|
11
11
|
/*!
|
|
12
12
|
* tabbable 6.1.1
|
|
@@ -545,6 +545,11 @@ var isFocusable = function isFocusable(node, options) {
|
|
|
545
545
|
return isNodeMatchingSelectorFocusable(options, node);
|
|
546
546
|
};
|
|
547
547
|
|
|
548
|
+
/**
|
|
549
|
+
* The default `focus-trap/tabbable` options.
|
|
550
|
+
*
|
|
551
|
+
* See https://github.com/focus-trap/tabbable#tabbable
|
|
552
|
+
*/
|
|
548
553
|
const tabbableOptions = {
|
|
549
554
|
getShadowRoot: true
|
|
550
555
|
};
|
|
@@ -553,7 +558,7 @@ const tabbableOptions = {
|
|
|
553
558
|
*
|
|
554
559
|
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
555
560
|
*
|
|
556
|
-
* @param el
|
|
561
|
+
* @param {Element} el An element.
|
|
557
562
|
* @returns {string} The element's ID.
|
|
558
563
|
*/
|
|
559
564
|
function ensureId(el) {
|
|
@@ -562,27 +567,66 @@ function ensureId(el) {
|
|
|
562
567
|
}
|
|
563
568
|
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid.guid()}`);
|
|
564
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* This helper returns an array from a NodeList.
|
|
572
|
+
*
|
|
573
|
+
* @param {NodeList} nodeList A NodeList.
|
|
574
|
+
* @returns {Element[]} An array of elements.
|
|
575
|
+
*/
|
|
565
576
|
function nodeListToArray(nodeList) {
|
|
566
577
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
567
578
|
}
|
|
579
|
+
/**
|
|
580
|
+
* This helper returns the Calcite "mode" of an element.
|
|
581
|
+
*
|
|
582
|
+
* @param {HTMLElement} el An element.
|
|
583
|
+
* @returns {"light"|"dark"} The Calcite mode.
|
|
584
|
+
*/
|
|
568
585
|
function getModeName(el) {
|
|
569
586
|
const closestElWithMode = closestElementCrossShadowBoundary(el, `.${resources.CSS_UTILITY.darkMode}, .${resources.CSS_UTILITY.lightMode}`);
|
|
570
587
|
return closestElWithMode?.classList.contains("calcite-mode-dark") ? "dark" : "light";
|
|
571
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* This helper returns the direction of a HTML element.
|
|
591
|
+
*
|
|
592
|
+
* @param {HTMLElement} el An element.
|
|
593
|
+
* @returns {Direction} The direction.
|
|
594
|
+
*/
|
|
572
595
|
function getElementDir(el) {
|
|
573
596
|
const prop = "dir";
|
|
574
597
|
const selector = `[${prop}]`;
|
|
575
598
|
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
576
599
|
return closest ? closest.getAttribute(prop) : "ltr";
|
|
577
600
|
}
|
|
578
|
-
|
|
579
|
-
|
|
601
|
+
/**
|
|
602
|
+
* This helper returns the value of an attribute on an element.
|
|
603
|
+
*
|
|
604
|
+
* @param {HTMLElement} el An element.
|
|
605
|
+
* @param {string} attribute An attribute name.
|
|
606
|
+
* @param {any} fallbackValue A fallback value.
|
|
607
|
+
* @returns {any} The value.
|
|
608
|
+
* @deprecated
|
|
609
|
+
*/
|
|
610
|
+
function getElementProp(el, attribute, fallbackValue) {
|
|
611
|
+
const selector = `[${attribute}]`;
|
|
580
612
|
const closest = el.closest(selector);
|
|
581
|
-
return closest ? closest.getAttribute(
|
|
613
|
+
return closest ? closest.getAttribute(attribute) : fallbackValue;
|
|
582
614
|
}
|
|
615
|
+
/**
|
|
616
|
+
* This helper returns the rootNode of an element.
|
|
617
|
+
*
|
|
618
|
+
* @param {Element} el An element.
|
|
619
|
+
* @returns {Document|ShadowRoot} The element's root node.
|
|
620
|
+
*/
|
|
583
621
|
function getRootNode(el) {
|
|
584
622
|
return el.getRootNode();
|
|
585
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* This helper returns the host of a ShadowRoot.
|
|
626
|
+
*
|
|
627
|
+
* @param {Document | ShadowRoot} root A root element.
|
|
628
|
+
* @returns {Element | null} The host element.
|
|
629
|
+
*/
|
|
586
630
|
function getHost(root) {
|
|
587
631
|
return root.host || null;
|
|
588
632
|
}
|
|
@@ -591,11 +635,11 @@ function getHost(root) {
|
|
|
591
635
|
*
|
|
592
636
|
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
593
637
|
*
|
|
594
|
-
* @param element
|
|
638
|
+
* @param {Element} element An element.
|
|
595
639
|
* @param root0
|
|
596
640
|
* @param root0.selector
|
|
597
641
|
* @param root0.id
|
|
598
|
-
* @returns {Element}
|
|
642
|
+
* @returns {Element} An element.
|
|
599
643
|
*/
|
|
600
644
|
function queryElementRoots(element, { selector, id }) {
|
|
601
645
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
@@ -624,6 +668,13 @@ function queryElementRoots(element, { selector, id }) {
|
|
|
624
668
|
}
|
|
625
669
|
return queryFrom(element);
|
|
626
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
|
673
|
+
*
|
|
674
|
+
* @param {Element} element The starting element.
|
|
675
|
+
* @param {string} selector The selector.
|
|
676
|
+
* @returns {Element} The targeted element.
|
|
677
|
+
*/
|
|
627
678
|
function closestElementCrossShadowBoundary(element, selector) {
|
|
628
679
|
// based on https://stackoverflow.com/q/54520554/194216
|
|
629
680
|
function closestFrom(el) {
|
|
@@ -636,8 +687,9 @@ function closestElementCrossShadowBoundary(element, selector) {
|
|
|
636
687
|
*
|
|
637
688
|
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
|
638
689
|
*
|
|
639
|
-
* @param element
|
|
640
|
-
* @param onVisit
|
|
690
|
+
* @param {Element} element An element.
|
|
691
|
+
* @param {(node: Node) => Element} onVisit The callback.
|
|
692
|
+
* @returns {Element} The result.
|
|
641
693
|
*/
|
|
642
694
|
function walkUpAncestry(element, onVisit) {
|
|
643
695
|
return visit(element, onVisit);
|
|
@@ -653,12 +705,30 @@ function visit(node, onVisit) {
|
|
|
653
705
|
const { parentNode } = node;
|
|
654
706
|
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
|
655
707
|
}
|
|
708
|
+
/**
|
|
709
|
+
* This helper returns true when an element has the descendant in question.
|
|
710
|
+
*
|
|
711
|
+
* @param {Element} element The starting element.
|
|
712
|
+
* @param {Element} maybeDescendant The descendant.
|
|
713
|
+
* @returns {boolean} The result.
|
|
714
|
+
*/
|
|
656
715
|
function containsCrossShadowBoundary(element, maybeDescendant) {
|
|
657
716
|
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
|
658
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* This helper returns true when an element has a setFocus method.
|
|
720
|
+
*
|
|
721
|
+
* @param {Element} el An element.
|
|
722
|
+
* @returns {boolean} The result.
|
|
723
|
+
*/
|
|
659
724
|
function isCalciteFocusable(el) {
|
|
660
725
|
return typeof el?.setFocus === "function";
|
|
661
726
|
}
|
|
727
|
+
/**
|
|
728
|
+
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
|
729
|
+
*
|
|
730
|
+
* @param {Element} el An element.
|
|
731
|
+
*/
|
|
662
732
|
async function focusElement(el) {
|
|
663
733
|
if (!el) {
|
|
664
734
|
return;
|
|
@@ -718,10 +788,24 @@ function querySingle(element, slotSelector, options) {
|
|
|
718
788
|
const selector = options?.selector;
|
|
719
789
|
return selector ? match?.querySelector(selector) : match;
|
|
720
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* Filters direct children.
|
|
793
|
+
*
|
|
794
|
+
* @param {Element} el An element.
|
|
795
|
+
* @param {string} selector The selector.
|
|
796
|
+
* @returns {Element[]} An array of elements.
|
|
797
|
+
*/
|
|
721
798
|
function filterDirectChildren(el, selector) {
|
|
722
799
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
723
800
|
}
|
|
724
|
-
|
|
801
|
+
/**
|
|
802
|
+
* Set a default icon from a defined set or allow an override with an icon name string
|
|
803
|
+
*
|
|
804
|
+
* @param {Record<string, string>} iconObject The icon object.
|
|
805
|
+
* @param {string | boolean} iconValue The icon value.
|
|
806
|
+
* @param {string} matchedValue The matched value.
|
|
807
|
+
* @returns {string|undefined} The resulting icon value.
|
|
808
|
+
*/
|
|
725
809
|
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
726
810
|
if (typeof iconValue === "string" && iconValue !== "") {
|
|
727
811
|
return iconValue;
|
|
@@ -730,6 +814,13 @@ function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
|
730
814
|
return iconObject[matchedValue];
|
|
731
815
|
}
|
|
732
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* This helper returns true when two rectangles intersect.
|
|
819
|
+
*
|
|
820
|
+
* @param {DOMRect} rect1 The first rectangle.
|
|
821
|
+
* @param {DOMRect} rect2 The second rectangle.
|
|
822
|
+
* @returns {boolean} The result.
|
|
823
|
+
*/
|
|
733
824
|
function intersects(rect1, rect2) {
|
|
734
825
|
return !(rect2.left > rect1.right ||
|
|
735
826
|
rect2.right < rect1.left ||
|
|
@@ -741,7 +832,7 @@ function intersects(rect1, rect2) {
|
|
|
741
832
|
*
|
|
742
833
|
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
743
834
|
*
|
|
744
|
-
* @param value
|
|
835
|
+
* @param {boolean} value The value.
|
|
745
836
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
746
837
|
*/
|
|
747
838
|
function toAriaBoolean(value) {
|
|
@@ -754,7 +845,7 @@ function toAriaBoolean(value) {
|
|
|
754
845
|
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
755
846
|
* ```
|
|
756
847
|
*
|
|
757
|
-
* @param event
|
|
848
|
+
* @param {Event} event The event.
|
|
758
849
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
759
850
|
*/
|
|
760
851
|
function slotChangeHasAssignedElement(event) {
|
|
@@ -767,7 +858,7 @@ function slotChangeHasAssignedElement(event) {
|
|
|
767
858
|
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
|
768
859
|
* ```
|
|
769
860
|
*
|
|
770
|
-
* @param event
|
|
861
|
+
* @param {Event} event The event.
|
|
771
862
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
772
863
|
*/
|
|
773
864
|
function slotChangeGetAssignedElements(event) {
|
|
@@ -780,12 +871,20 @@ function slotChangeGetAssignedElements(event) {
|
|
|
780
871
|
*
|
|
781
872
|
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
|
782
873
|
*
|
|
783
|
-
* @param event
|
|
784
|
-
* @returns {boolean}
|
|
874
|
+
* @param {PointerEvent} event The pointer event.
|
|
875
|
+
* @returns {boolean} The value.
|
|
785
876
|
*/
|
|
786
877
|
function isPrimaryPointerButton(event) {
|
|
787
878
|
return !!(event.isPrimary && event.button === 0);
|
|
788
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
|
882
|
+
*
|
|
883
|
+
* @param {Element[]} elements An array of elements.
|
|
884
|
+
* @param {Element} currentElement The current element.
|
|
885
|
+
* @param {FocusElementInGroupDestination} destination The target destination element to focus.
|
|
886
|
+
* @returns {Element} The focused element
|
|
887
|
+
*/
|
|
789
888
|
const focusElementInGroup = (elements, currentElement, destination) => {
|
|
790
889
|
const currentIndex = elements.indexOf(currentElement);
|
|
791
890
|
const isFirstItem = currentIndex === 0;
|
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const debounce = require('./debounce-
|
|
8
|
+
const debounce = require('./debounce-a5772547.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const debounce = require('./debounce-
|
|
8
|
+
const dom = require('./dom-60bc41cc.js');
|
|
9
|
+
const debounce = require('./debounce-a5772547.js');
|
|
10
10
|
|
|
11
11
|
function getAlignment(placement) {
|
|
12
12
|
return placement.split('-')[1];
|
|
@@ -289,7 +289,8 @@ const arrow = options => ({
|
|
|
289
289
|
y,
|
|
290
290
|
placement,
|
|
291
291
|
rects,
|
|
292
|
-
platform
|
|
292
|
+
platform,
|
|
293
|
+
elements
|
|
293
294
|
} = state;
|
|
294
295
|
if (element == null) {
|
|
295
296
|
return {};
|
|
@@ -302,14 +303,18 @@ const arrow = options => ({
|
|
|
302
303
|
const axis = getMainAxisFromPlacement(placement);
|
|
303
304
|
const length = getLengthFromAxis(axis);
|
|
304
305
|
const arrowDimensions = await platform.getDimensions(element);
|
|
305
|
-
const
|
|
306
|
-
const
|
|
306
|
+
const isYAxis = axis === 'y';
|
|
307
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
308
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
309
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
307
310
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
308
311
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
309
312
|
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
310
|
-
let clientSize = arrowOffsetParent ?
|
|
311
|
-
|
|
312
|
-
|
|
313
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
314
|
+
|
|
315
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
316
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
317
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
313
318
|
}
|
|
314
319
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
315
320
|
|
|
@@ -850,28 +855,9 @@ function getComputedStyle$1(element) {
|
|
|
850
855
|
return getWindow(element).getComputedStyle(element);
|
|
851
856
|
}
|
|
852
857
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
const round = Math.round;
|
|
856
|
-
|
|
857
|
-
function getCssDimensions(element) {
|
|
858
|
-
const css = getComputedStyle$1(element);
|
|
859
|
-
let width = parseFloat(css.width);
|
|
860
|
-
let height = parseFloat(css.height);
|
|
861
|
-
const offsetWidth = element.offsetWidth;
|
|
862
|
-
const offsetHeight = element.offsetHeight;
|
|
863
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
864
|
-
if (shouldFallback) {
|
|
865
|
-
width = offsetWidth;
|
|
866
|
-
height = offsetHeight;
|
|
867
|
-
}
|
|
868
|
-
return {
|
|
869
|
-
width,
|
|
870
|
-
height,
|
|
871
|
-
fallback: shouldFallback
|
|
872
|
-
};
|
|
858
|
+
function isNode(value) {
|
|
859
|
+
return value instanceof getWindow(value).Node;
|
|
873
860
|
}
|
|
874
|
-
|
|
875
861
|
function getNodeName(node) {
|
|
876
862
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
877
863
|
}
|
|
@@ -895,9 +881,6 @@ function isHTMLElement(value) {
|
|
|
895
881
|
function isElement(value) {
|
|
896
882
|
return value instanceof getWindow(value).Element;
|
|
897
883
|
}
|
|
898
|
-
function isNode(value) {
|
|
899
|
-
return value instanceof getWindow(value).Node;
|
|
900
|
-
}
|
|
901
884
|
function isShadowRoot(node) {
|
|
902
885
|
// Browsers without `ShadowRoot` support.
|
|
903
886
|
if (typeof ShadowRoot === 'undefined') {
|
|
@@ -954,6 +937,29 @@ function isLastTraversableNode(node) {
|
|
|
954
937
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
955
938
|
}
|
|
956
939
|
|
|
940
|
+
const min = Math.min;
|
|
941
|
+
const max = Math.max;
|
|
942
|
+
const round = Math.round;
|
|
943
|
+
|
|
944
|
+
function getCssDimensions(element) {
|
|
945
|
+
const css = getComputedStyle$1(element);
|
|
946
|
+
let width = parseFloat(css.width);
|
|
947
|
+
let height = parseFloat(css.height);
|
|
948
|
+
const hasOffset = isHTMLElement(element);
|
|
949
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
950
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
951
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
952
|
+
if (shouldFallback) {
|
|
953
|
+
width = offsetWidth;
|
|
954
|
+
height = offsetHeight;
|
|
955
|
+
}
|
|
956
|
+
return {
|
|
957
|
+
width,
|
|
958
|
+
height,
|
|
959
|
+
fallback: shouldFallback
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
|
|
957
963
|
function unwrapElement(element) {
|
|
958
964
|
return !isElement(element) ? element.contextElement : element;
|
|
959
965
|
}
|
|
@@ -1035,16 +1041,12 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1035
1041
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1036
1042
|
}
|
|
1037
1043
|
}
|
|
1038
|
-
return {
|
|
1044
|
+
return rectToClientRect({
|
|
1039
1045
|
width,
|
|
1040
1046
|
height,
|
|
1041
|
-
top: y,
|
|
1042
|
-
right: x + width,
|
|
1043
|
-
bottom: y + height,
|
|
1044
|
-
left: x,
|
|
1045
1047
|
x,
|
|
1046
1048
|
y
|
|
1047
|
-
};
|
|
1049
|
+
});
|
|
1048
1050
|
}
|
|
1049
1051
|
|
|
1050
1052
|
function getDocumentElement(node) {
|
|
@@ -1243,6 +1245,13 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
1243
1245
|
}
|
|
1244
1246
|
return rectToClientRect(rect);
|
|
1245
1247
|
}
|
|
1248
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1249
|
+
const parentNode = getParentNode(element);
|
|
1250
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1251
|
+
return false;
|
|
1252
|
+
}
|
|
1253
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1254
|
+
}
|
|
1246
1255
|
|
|
1247
1256
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1248
1257
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -1260,19 +1269,17 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1260
1269
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1261
1270
|
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1262
1271
|
const computedStyle = getComputedStyle$1(currentNode);
|
|
1263
|
-
const
|
|
1264
|
-
|
|
1265
|
-
if (shouldIgnoreCurrentNode) {
|
|
1272
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1273
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1266
1274
|
currentContainingBlockComputedStyle = null;
|
|
1275
|
+
}
|
|
1276
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1277
|
+
if (shouldDropCurrentNode) {
|
|
1278
|
+
// Drop non-containing blocks.
|
|
1279
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1267
1280
|
} else {
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
// Drop non-containing blocks.
|
|
1271
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1272
|
-
} else {
|
|
1273
|
-
// Record last containing block for next iteration.
|
|
1274
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1275
|
-
}
|
|
1281
|
+
// Record last containing block for next iteration.
|
|
1282
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1276
1283
|
}
|
|
1277
1284
|
currentNode = getParentNode(currentNode);
|
|
1278
1285
|
}
|
|
@@ -1309,10 +1316,7 @@ function getClippingRect(_ref) {
|
|
|
1309
1316
|
}
|
|
1310
1317
|
|
|
1311
1318
|
function getDimensions(element) {
|
|
1312
|
-
|
|
1313
|
-
return getCssDimensions(element);
|
|
1314
|
-
}
|
|
1315
|
-
return element.getBoundingClientRect();
|
|
1319
|
+
return getCssDimensions(element);
|
|
1316
1320
|
}
|
|
1317
1321
|
|
|
1318
1322
|
function getTrueOffsetParent(element, polyfill) {
|
|
@@ -1340,6 +1344,9 @@ function getContainingBlock(element) {
|
|
|
1340
1344
|
// such as table ancestors and cross browser bugs.
|
|
1341
1345
|
function getOffsetParent(element, polyfill) {
|
|
1342
1346
|
const window = getWindow(element);
|
|
1347
|
+
if (!isHTMLElement(element)) {
|
|
1348
|
+
return window;
|
|
1349
|
+
}
|
|
1343
1350
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1344
1351
|
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1345
1352
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
@@ -1424,27 +1431,26 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1424
1431
|
options = {};
|
|
1425
1432
|
}
|
|
1426
1433
|
const {
|
|
1427
|
-
ancestorScroll
|
|
1434
|
+
ancestorScroll = true,
|
|
1428
1435
|
ancestorResize = true,
|
|
1429
1436
|
elementResize = true,
|
|
1430
1437
|
animationFrame = false
|
|
1431
1438
|
} = options;
|
|
1432
|
-
const ancestorScroll = _ancestorScroll && !animationFrame;
|
|
1433
1439
|
const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), ...getOverflowAncestors(floating)] : [];
|
|
1434
1440
|
ancestors.forEach(ancestor => {
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1441
|
+
// ignores Window, checks for [object VisualViewport]
|
|
1442
|
+
const isVisualViewport = !isElement(ancestor) && ancestor.toString().includes('V');
|
|
1443
|
+
if (ancestorScroll && (animationFrame ? isVisualViewport : true)) {
|
|
1444
|
+
ancestor.addEventListener('scroll', update, {
|
|
1445
|
+
passive: true
|
|
1446
|
+
});
|
|
1447
|
+
}
|
|
1438
1448
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1439
1449
|
});
|
|
1440
1450
|
let observer = null;
|
|
1441
1451
|
if (elementResize) {
|
|
1442
|
-
let initialUpdate = true;
|
|
1443
1452
|
observer = new ResizeObserver(() => {
|
|
1444
|
-
|
|
1445
|
-
update();
|
|
1446
|
-
}
|
|
1447
|
-
initialUpdate = false;
|
|
1453
|
+
update();
|
|
1448
1454
|
});
|
|
1449
1455
|
isElement(reference) && !animationFrame && observer.observe(reference);
|
|
1450
1456
|
if (!isElement(reference) && reference.contextElement && !animationFrame) {
|
|
@@ -1545,7 +1551,7 @@ async function patchFloatingUiForNonChromiumBrowsers() {
|
|
|
1545
1551
|
if (config.floatingUINonChromiumPositioningFix &&
|
|
1546
1552
|
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
1547
1553
|
(/firefox|safari/i.test(getUAString()) || isChrome109OrAbove())) {
|
|
1548
|
-
const { offsetParent } = await Promise.resolve().then(function () { return require('./composed-offset-position.esm-
|
|
1554
|
+
const { offsetParent } = await Promise.resolve().then(function () { return require('./composed-offset-position.esm-12a68feb.js'); });
|
|
1549
1555
|
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1550
1556
|
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1551
1557
|
}
|
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
8
|
+
const dom = require('./dom-60bc41cc.js');
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
11
|
* focus-trap 7.4.0
|
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
9
|
-
const index = require('./index-
|
|
8
|
+
const dom = require('./dom-60bc41cc.js');
|
|
9
|
+
const index = require('./index-7ff03af4.js');
|
|
10
10
|
|
|
11
11
|
(function(prototype) {
|
|
12
12
|
if (typeof prototype.requestSubmit == "function") return
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-7ff03af4.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -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.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const dom = require('./dom-
|
|
8
|
+
const dom = require('./dom-60bc41cc.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Exported for testing purposes only
|