@esri/calcite-components 1.4.0-next.0 → 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-289f6317.js → p-00383b72.js} +1 -1
- package/dist/calcite/{p-ba0d3bd7.entry.js → p-006421cf.entry.js} +2 -2
- package/dist/calcite/{p-cf703c59.entry.js → p-033b7e01.entry.js} +2 -2
- package/dist/calcite/{p-4326ccbd.js → p-04577b20.js} +1 -1
- package/dist/calcite/{p-e7ad5add.js → p-063a4869.js} +1 -1
- package/dist/calcite/{p-9748745f.entry.js → p-088553ab.entry.js} +2 -2
- package/dist/calcite/{p-2fa9c44a.js → p-0990e4b1.js} +1 -1
- package/dist/calcite/p-0b5b83ca.js +6 -0
- package/dist/calcite/{p-c01d0233.entry.js → p-0c5c7ac8.entry.js} +2 -2
- package/dist/calcite/{p-02ef04d5.entry.js → p-0f914551.entry.js} +2 -2
- package/dist/calcite/{p-0f59b0fa.js → p-11d8b4fa.js} +2 -2
- package/dist/calcite/{p-51cd139f.entry.js → p-12a17917.entry.js} +2 -2
- package/dist/calcite/{p-3c4b364e.entry.js → p-166b2653.entry.js} +2 -2
- package/dist/calcite/{p-376775c7.entry.js → p-1d8d9ad5.entry.js} +2 -2
- package/dist/calcite/p-21f70058.entry.js +6 -0
- package/dist/calcite/{p-edc60e96.entry.js → p-26ff46fc.entry.js} +2 -2
- package/dist/calcite/{p-6011d8eb.entry.js → p-285fde7a.entry.js} +2 -2
- package/dist/calcite/{p-11beded1.js → p-28bd653e.js} +3 -3
- package/dist/calcite/{p-64a44a39.js → p-2c11ed7d.js} +2 -2
- package/dist/calcite/p-2e345437.entry.js +6 -0
- package/dist/calcite/{p-57e653ea.js → p-2fba8e6a.js} +1 -1
- package/dist/calcite/{p-37d9d3e2.entry.js → p-33841e82.entry.js} +2 -2
- package/dist/calcite/{p-3255b488.js → p-33c5c291.js} +1 -1
- package/dist/calcite/{p-6088fbfa.js → p-369d7e1a.js} +1 -1
- package/dist/calcite/{p-e11ced36.js → p-37d03f0c.js} +2 -2
- package/dist/calcite/{p-f4cf789b.js → p-386abb7d.js} +3 -3
- package/dist/calcite/{p-f357d9a8.entry.js → p-39d22c35.entry.js} +2 -2
- package/dist/calcite/{p-137b6f9b.js → p-3d973854.js} +2 -2
- package/dist/calcite/{p-6f2233a8.entry.js → p-3fe662f7.entry.js} +2 -2
- package/dist/calcite/{p-df66e5af.entry.js → p-463c3817.entry.js} +2 -2
- package/dist/calcite/p-4e5db9b6.js +6 -0
- package/dist/calcite/{p-b7cc02fa.js → p-4f50176e.js} +1 -1
- package/dist/calcite/p-504ea909.entry.js +6 -0
- package/dist/calcite/{p-1d34d5b7.entry.js → p-548fb4ce.entry.js} +2 -2
- package/dist/calcite/{p-dc29d755.entry.js → p-55caae0c.entry.js} +2 -2
- package/dist/calcite/{p-f77c2524.entry.js → p-590cc126.entry.js} +2 -2
- package/dist/calcite/{p-5368cb06.entry.js → p-5bc7013c.entry.js} +2 -2
- package/dist/calcite/{p-34268eb0.entry.js → p-63d45233.entry.js} +2 -2
- package/dist/calcite/{p-cdbd4c6f.entry.js → p-6b84d6ef.entry.js} +2 -2
- package/dist/calcite/p-6d7e5273.entry.js +6 -0
- package/dist/calcite/{p-695e0525.entry.js → p-706ed58d.entry.js} +2 -2
- package/dist/calcite/p-718f633f.entry.js +6 -0
- package/dist/calcite/{p-7fb70776.entry.js → p-7249fbe5.entry.js} +2 -2
- package/dist/calcite/{p-5e23d67e.entry.js → p-72ba446e.entry.js} +2 -2
- package/dist/calcite/{p-6b118e60.entry.js → p-75b724ae.entry.js} +2 -2
- package/dist/calcite/{p-86a533d8.entry.js → p-771ec30b.entry.js} +2 -2
- package/dist/calcite/{p-f8e1c231.js → p-797661fe.js} +1 -1
- package/dist/calcite/{p-47d5e341.entry.js → p-7c870019.entry.js} +2 -2
- package/dist/calcite/{p-3b3b1e7e.entry.js → p-7cb6bb0c.entry.js} +2 -2
- package/dist/calcite/{p-b822b669.entry.js → p-7ddd51c0.entry.js} +2 -2
- package/dist/calcite/{p-8c54a92e.entry.js → p-80b4addf.entry.js} +2 -2
- package/dist/calcite/p-83924270.entry.js +6 -0
- package/dist/calcite/{p-8bd7bc4a.js → p-892279b1.js} +1 -1
- package/dist/calcite/{p-2fceaf3f.entry.js → p-8d09a65c.entry.js} +2 -2
- package/dist/calcite/{p-7b652538.entry.js → p-923166fc.entry.js} +2 -2
- package/dist/calcite/{p-c6b0ff12.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-6505aa9e.entry.js → p-9c84eb29.entry.js} +2 -2
- package/dist/calcite/{p-d37c6c61.js → p-9d02fe1c.js} +1 -1
- package/dist/calcite/{p-2f0fa893.entry.js → p-9d07088d.entry.js} +2 -2
- package/dist/calcite/{p-4f208a60.js → p-9fe27e8d.js} +2 -2
- package/dist/calcite/{p-b66a142d.js → p-a0a1f925.js} +1 -1
- package/dist/calcite/p-a15f7de3.js +6 -0
- package/dist/calcite/{p-483b59be.entry.js → p-a49d3536.entry.js} +2 -2
- package/dist/calcite/{p-4d55aa78.js → p-a7daef7a.js} +2 -2
- package/dist/calcite/p-a94a945f.entry.js +6 -0
- package/dist/calcite/{p-1f0e9bdc.entry.js → p-aa277b5a.entry.js} +2 -2
- package/dist/calcite/{p-06615599.entry.js → p-ac273467.entry.js} +2 -2
- package/dist/calcite/p-b140b736.js +6 -0
- package/dist/calcite/{p-5682711c.entry.js → p-b149fa47.entry.js} +2 -2
- package/dist/calcite/{p-58337196.entry.js → p-b2b99a48.entry.js} +2 -2
- package/dist/calcite/{p-5b24b90a.js → p-b6042b6c.js} +1 -1
- package/dist/calcite/{p-e243abb7.entry.js → p-b99a1036.entry.js} +2 -2
- package/dist/calcite/{p-dc1dcfc1.entry.js → p-c6a73b19.entry.js} +2 -2
- package/dist/calcite/{p-397fcd80.entry.js → p-c8c93dc4.entry.js} +2 -2
- package/dist/calcite/{p-ffd4191d.js → p-ca33af16.js} +2 -2
- package/dist/calcite/{p-db9631fc.entry.js → p-cc171e49.entry.js} +2 -2
- package/dist/calcite/{p-087c40ee.js → p-d2a6b24b.js} +1 -1
- package/dist/calcite/{p-48622a82.entry.js → p-d3245ccf.entry.js} +2 -2
- package/dist/calcite/{p-0008c6a3.entry.js → p-deb3bdde.entry.js} +2 -2
- package/dist/calcite/{p-21bacae6.entry.js → p-e0e93a72.entry.js} +2 -2
- package/dist/calcite/{p-94f16774.js → p-e1098787.js} +2 -2
- package/dist/calcite/p-e22cb550.entry.js +6 -0
- package/dist/calcite/{p-121f6053.js → p-e4c1febd.js} +1 -1
- package/dist/calcite/{p-1d426b87.js → p-e79254d3.js} +2 -2
- package/dist/calcite/{p-94aa5071.js → p-eacf0ee1.js} +1 -1
- package/dist/calcite/p-ee458bd5.js +6 -0
- package/dist/calcite/{p-1abc82c2.entry.js → p-f0fdf516.entry.js} +2 -2
- package/dist/calcite/{p-83bf9a0f.entry.js → p-f1642ec6.entry.js} +2 -2
- package/dist/calcite/{p-6950ca4b.js → p-f395d0e2.js} +2 -2
- package/dist/calcite/{p-f3753747.entry.js → p-f5e50012.entry.js} +2 -2
- package/dist/calcite/{p-c86d27a3.entry.js → p-fbfe8e4d.entry.js} +2 -2
- package/dist/calcite/{p-00a2d9ab.entry.js → p-fe1c87d5.entry.js} +2 -2
- package/dist/calcite/{p-97efa412.entry.js → p-ffdbd6d1.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-bdfd6fa1.js → ExpandToggle-953ef45b.js} +5 -5
- package/dist/cjs/{FloatingArrow-2721f8fc.js → FloatingArrow-cf108924.js} +2 -2
- package/dist/cjs/{Heading-6ef1898d.js → Heading-0b55bc06.js} +2 -2
- package/dist/cjs/{app-globals-cd964522.js → app-globals-4953ac0e.js} +2 -2
- package/dist/cjs/{array-576d7912.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 +13 -13
- 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 +15 -14
- 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-1a67d05e.js → composed-offset-position.esm-12a68feb.js} +1 -1
- package/dist/cjs/{conditionalSlot-229cfc41.js → conditionalSlot-f5ae40d5.js} +3 -3
- package/dist/cjs/{debounce-b4f960bc.js → debounce-a5772547.js} +1 -1
- package/dist/cjs/{dom-aa42bfcf.js → dom-60bc41cc.js} +116 -17
- package/dist/cjs/{filter-0dcbb310.js → filter-6d66baa0.js} +2 -2
- package/dist/cjs/{floating-ui-681123a5.js → floating-ui-eea897d6.js} +71 -65
- package/dist/cjs/{focusTrapComponent-2d2242ef.js → focusTrapComponent-adfb6fd0.js} +2 -2
- package/dist/cjs/{form-7bfb80aa.js → form-375179b0.js} +3 -3
- package/dist/cjs/{guid-00be0e24.js → guid-20fbb6f5.js} +1 -1
- package/dist/cjs/{index-8eb869ae.js → index-7ff03af4.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-2287fde4.js → interactive-e756405a.js} +1 -1
- package/dist/cjs/{key-a8c7ee49.js → key-965a0499.js} +1 -1
- package/dist/cjs/{label-cd4c10e7.js → label-d45108db.js} +2 -2
- package/dist/cjs/{loadable-68686b66.js → loadable-43aa8e12.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c1aecec9.js → locale-352dde9f.js} +4 -4
- package/dist/cjs/{math-e324135c.js → math-9638f9db.js} +1 -1
- package/dist/cjs/{observers-2ab1ae0b.js → observers-c0279726.js} +1 -1
- package/dist/cjs/{openCloseComponent-9ad26303.js → openCloseComponent-02cae5bf.js} +2 -2
- package/dist/cjs/{resources-82f78554.js → resources-0c626808.js} +1 -1
- package/dist/cjs/{resources-b8855250.js → resources-2dbf7729.js} +1 -1
- package/dist/cjs/{resources-5c51a6fd.js → resources-4097e6e6.js} +5 -5
- package/dist/cjs/{resources-d24283c8.js → resources-b2185290.js} +1 -1
- package/dist/cjs/{resources-cf6da3a8.js → resources-db42842c.js} +1 -1
- package/dist/cjs/{resources-0e53773f.js → resources-ebef8fc8.js} +1 -1
- package/dist/cjs/{sortable.esm-b85af44a.js → sortable.esm-4549097b.js} +1 -1
- package/dist/cjs/{t9n-c3de7794.js → t9n-6dbfaf2b.js} +3 -3
- package/dist/cjs/{throttle-32a0520b.js → throttle-5b0015f5.js} +2 -2
- package/dist/cjs/utils-52def2ad.js +213 -0
- package/dist/cjs/{utils-b82df3c4.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.css +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 +4 -3
- package/dist/collection/components/flow-item/resources.js +2 -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 +2 -2
- 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 +4 -3
- 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-fde6af4a.js → ExpandToggle-453532fb.js} +5 -5
- package/dist/esm/{FloatingArrow-22ca29de.js → FloatingArrow-7e092a81.js} +2 -2
- package/dist/esm/{Heading-0cfa1161.js → Heading-3e8ede2b.js} +2 -2
- package/dist/esm/{app-globals-2838ecbb.js → app-globals-f5cd924f.js} +2 -2
- package/dist/esm/{array-2b055bc9.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 +13 -13
- 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 +15 -14
- 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-3d3a33f0.js → composed-offset-position.esm-76d65efb.js} +1 -1
- package/dist/esm/{conditionalSlot-cf62479a.js → conditionalSlot-aa1ef58a.js} +3 -3
- package/dist/esm/{debounce-5d51c702.js → debounce-8c6a3cbc.js} +1 -1
- package/dist/esm/{dom-edf2353d.js → dom-b9bed823.js} +116 -17
- package/dist/esm/{filter-f186a577.js → filter-e32fe919.js} +2 -2
- package/dist/esm/{floating-ui-6059a48a.js → floating-ui-fbd8bbc8.js} +71 -65
- package/dist/esm/{focusTrapComponent-3502b72b.js → focusTrapComponent-d63c1aa7.js} +2 -2
- package/dist/esm/{form-9792ef7d.js → form-7d8a2b92.js} +3 -3
- package/dist/esm/{guid-f191591c.js → guid-8fc9c6e4.js} +1 -1
- package/dist/esm/{index-182e3b39.js → index-18aa0ab5.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-e9ff4b45.js → interactive-c1d7134a.js} +1 -1
- package/dist/esm/{key-3503f056.js → key-c41d524a.js} +1 -1
- package/dist/esm/{label-21907408.js → label-fab33c80.js} +2 -2
- package/dist/esm/{loadable-a090b4d4.js → loadable-a4cb0e0a.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-6785b469.js → locale-70a08434.js} +4 -4
- package/dist/esm/{math-370975a2.js → math-4700eb3d.js} +1 -1
- package/dist/esm/{observers-cd3c1de9.js → observers-72f649b9.js} +1 -1
- package/dist/esm/{openCloseComponent-f3ea7fc6.js → openCloseComponent-7099262f.js} +2 -2
- package/dist/esm/{resources-5b8d643e.js → resources-04baed08.js} +1 -1
- package/dist/esm/{resources-f0665539.js → resources-3a3d58c2.js} +1 -1
- package/dist/esm/{resources-052baf79.js → resources-6f9c09ba.js} +5 -5
- package/dist/esm/{resources-63300d44.js → resources-6fb499ae.js} +1 -1
- package/dist/esm/{resources-a3f184da.js → resources-7d1e244f.js} +1 -1
- package/dist/esm/{resources-18d35b9a.js → resources-941c20ae.js} +1 -1
- package/dist/esm/{sortable.esm-8a9dc2f0.js → sortable.esm-fa5ebcb2.js} +1 -1
- package/dist/esm/{t9n-ee8bc8cf.js → t9n-1cf2a8af.js} +3 -3
- package/dist/esm/{throttle-e902571a.js → throttle-48795209.js} +2 -2
- package/dist/esm/{utils-dfe7cb74.js → utils-b673e5a0.js} +3 -3
- package/dist/esm/utils-cb560d06.js +195 -0
- package/dist/extras/docs-json.json +201 -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 +2 -1
- package/dist/types/components/flow-item/resources.d.ts +1 -0
- 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 +987 -512
- package/package.json +5 -6
- package/dist/calcite/p-0847f232.entry.js +0 -6
- package/dist/calcite/p-20ed5889.entry.js +0 -6
- package/dist/calcite/p-2cccfd42.entry.js +0 -6
- package/dist/calcite/p-3b4e44ab.entry.js +0 -6
- package/dist/calcite/p-425f369a.entry.js +0 -6
- package/dist/calcite/p-48afa956.entry.js +0 -6
- package/dist/calcite/p-5fae16d7.js +0 -6
- package/dist/calcite/p-8b364d5b.entry.js +0 -6
- package/dist/calcite/p-9779f6b5.entry.js +0 -6
- package/dist/calcite/p-afae74bd.js +0 -6
- package/dist/calcite/p-bf6df76d.js +0 -6
- package/dist/calcite/p-d2900eba.js +0 -6
- package/dist/calcite/p-e6dc645d.entry.js +0 -6
- package/dist/calcite/p-ebefbd07.js +0 -6
- package/dist/calcite/p-f0f05600.entry.js +0 -6
- package/dist/calcite/p-f8e0c9ff.js +0 -6
- package/dist/cjs/utils-7c8d4b9c.js +0 -124
- package/dist/esm/utils-9af69cbe.js +0 -114
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
7
7
|
function offsetParent(element) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as dateToISO } from './date.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { h as getOrder, e as dateFromRange, n as nextMonth, p as prevMonth } from './date.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as sameDate, e as dateFromRange, i as inRange } from './date.js';
|
|
@@ -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
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as dateFromISO, g as getDaysDiff, b as dateToISO, e as dateFromRange, s as setEndOfDay } from './date.js';
|
|
8
8
|
import { c as componentLoaded, a as setUpLoadableComponent, s as setComponentLoaded } from './loadable.js';
|
|
9
|
-
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter,
|
|
9
|
+
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter, a as getDateTimeFormat } from './locale.js';
|
|
10
10
|
import { c as connectMessages, d as disconnectMessages, s as setUpMessages, u as updateMessages } from './t9n.js';
|
|
11
11
|
import { d as defineCustomElement$4 } from './date-picker-day.js';
|
|
12
12
|
import { d as defineCustomElement$3 } from './date-picker-month.js';
|
package/dist/components/date.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { n as numberStringFormatter } from './locale.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
package/dist/components/dom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
|
|
@@ -552,6 +552,11 @@ var isFocusable = function isFocusable(node, options) {
|
|
|
552
552
|
return isNodeMatchingSelectorFocusable(options, node);
|
|
553
553
|
};
|
|
554
554
|
|
|
555
|
+
/**
|
|
556
|
+
* The default `focus-trap/tabbable` options.
|
|
557
|
+
*
|
|
558
|
+
* See https://github.com/focus-trap/tabbable#tabbable
|
|
559
|
+
*/
|
|
555
560
|
const tabbableOptions = {
|
|
556
561
|
getShadowRoot: true
|
|
557
562
|
};
|
|
@@ -560,7 +565,7 @@ const tabbableOptions = {
|
|
|
560
565
|
*
|
|
561
566
|
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
562
567
|
*
|
|
563
|
-
* @param el
|
|
568
|
+
* @param {Element} el An element.
|
|
564
569
|
* @returns {string} The element's ID.
|
|
565
570
|
*/
|
|
566
571
|
function ensureId(el) {
|
|
@@ -569,27 +574,66 @@ function ensureId(el) {
|
|
|
569
574
|
}
|
|
570
575
|
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);
|
|
571
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* This helper returns an array from a NodeList.
|
|
579
|
+
*
|
|
580
|
+
* @param {NodeList} nodeList A NodeList.
|
|
581
|
+
* @returns {Element[]} An array of elements.
|
|
582
|
+
*/
|
|
572
583
|
function nodeListToArray(nodeList) {
|
|
573
584
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
574
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* This helper returns the Calcite "mode" of an element.
|
|
588
|
+
*
|
|
589
|
+
* @param {HTMLElement} el An element.
|
|
590
|
+
* @returns {"light"|"dark"} The Calcite mode.
|
|
591
|
+
*/
|
|
575
592
|
function getModeName(el) {
|
|
576
593
|
const closestElWithMode = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkMode}, .${CSS_UTILITY.lightMode}`);
|
|
577
594
|
return closestElWithMode?.classList.contains("calcite-mode-dark") ? "dark" : "light";
|
|
578
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* This helper returns the direction of a HTML element.
|
|
598
|
+
*
|
|
599
|
+
* @param {HTMLElement} el An element.
|
|
600
|
+
* @returns {Direction} The direction.
|
|
601
|
+
*/
|
|
579
602
|
function getElementDir(el) {
|
|
580
603
|
const prop = "dir";
|
|
581
604
|
const selector = `[${prop}]`;
|
|
582
605
|
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
583
606
|
return closest ? closest.getAttribute(prop) : "ltr";
|
|
584
607
|
}
|
|
585
|
-
|
|
586
|
-
|
|
608
|
+
/**
|
|
609
|
+
* This helper returns the value of an attribute on an element.
|
|
610
|
+
*
|
|
611
|
+
* @param {HTMLElement} el An element.
|
|
612
|
+
* @param {string} attribute An attribute name.
|
|
613
|
+
* @param {any} fallbackValue A fallback value.
|
|
614
|
+
* @returns {any} The value.
|
|
615
|
+
* @deprecated
|
|
616
|
+
*/
|
|
617
|
+
function getElementProp(el, attribute, fallbackValue) {
|
|
618
|
+
const selector = `[${attribute}]`;
|
|
587
619
|
const closest = el.closest(selector);
|
|
588
|
-
return closest ? closest.getAttribute(
|
|
620
|
+
return closest ? closest.getAttribute(attribute) : fallbackValue;
|
|
589
621
|
}
|
|
622
|
+
/**
|
|
623
|
+
* This helper returns the rootNode of an element.
|
|
624
|
+
*
|
|
625
|
+
* @param {Element} el An element.
|
|
626
|
+
* @returns {Document|ShadowRoot} The element's root node.
|
|
627
|
+
*/
|
|
590
628
|
function getRootNode(el) {
|
|
591
629
|
return el.getRootNode();
|
|
592
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* This helper returns the host of a ShadowRoot.
|
|
633
|
+
*
|
|
634
|
+
* @param {Document | ShadowRoot} root A root element.
|
|
635
|
+
* @returns {Element | null} The host element.
|
|
636
|
+
*/
|
|
593
637
|
function getHost(root) {
|
|
594
638
|
return root.host || null;
|
|
595
639
|
}
|
|
@@ -598,11 +642,11 @@ function getHost(root) {
|
|
|
598
642
|
*
|
|
599
643
|
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
600
644
|
*
|
|
601
|
-
* @param element
|
|
645
|
+
* @param {Element} element An element.
|
|
602
646
|
* @param root0
|
|
603
647
|
* @param root0.selector
|
|
604
648
|
* @param root0.id
|
|
605
|
-
* @returns {Element}
|
|
649
|
+
* @returns {Element} An element.
|
|
606
650
|
*/
|
|
607
651
|
function queryElementRoots(element, { selector, id }) {
|
|
608
652
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
@@ -631,6 +675,13 @@ function queryElementRoots(element, { selector, id }) {
|
|
|
631
675
|
}
|
|
632
676
|
return queryFrom(element);
|
|
633
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
|
680
|
+
*
|
|
681
|
+
* @param {Element} element The starting element.
|
|
682
|
+
* @param {string} selector The selector.
|
|
683
|
+
* @returns {Element} The targeted element.
|
|
684
|
+
*/
|
|
634
685
|
function closestElementCrossShadowBoundary(element, selector) {
|
|
635
686
|
// based on https://stackoverflow.com/q/54520554/194216
|
|
636
687
|
function closestFrom(el) {
|
|
@@ -643,8 +694,9 @@ function closestElementCrossShadowBoundary(element, selector) {
|
|
|
643
694
|
*
|
|
644
695
|
* 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
|
|
645
696
|
*
|
|
646
|
-
* @param element
|
|
647
|
-
* @param onVisit
|
|
697
|
+
* @param {Element} element An element.
|
|
698
|
+
* @param {(node: Node) => Element} onVisit The callback.
|
|
699
|
+
* @returns {Element} The result.
|
|
648
700
|
*/
|
|
649
701
|
function walkUpAncestry(element, onVisit) {
|
|
650
702
|
return visit(element, onVisit);
|
|
@@ -660,12 +712,30 @@ function visit(node, onVisit) {
|
|
|
660
712
|
const { parentNode } = node;
|
|
661
713
|
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
|
662
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* This helper returns true when an element has the descendant in question.
|
|
717
|
+
*
|
|
718
|
+
* @param {Element} element The starting element.
|
|
719
|
+
* @param {Element} maybeDescendant The descendant.
|
|
720
|
+
* @returns {boolean} The result.
|
|
721
|
+
*/
|
|
663
722
|
function containsCrossShadowBoundary(element, maybeDescendant) {
|
|
664
723
|
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
|
665
724
|
}
|
|
725
|
+
/**
|
|
726
|
+
* This helper returns true when an element has a setFocus method.
|
|
727
|
+
*
|
|
728
|
+
* @param {Element} el An element.
|
|
729
|
+
* @returns {boolean} The result.
|
|
730
|
+
*/
|
|
666
731
|
function isCalciteFocusable(el) {
|
|
667
732
|
return typeof el?.setFocus === "function";
|
|
668
733
|
}
|
|
734
|
+
/**
|
|
735
|
+
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
|
736
|
+
*
|
|
737
|
+
* @param {Element} el An element.
|
|
738
|
+
*/
|
|
669
739
|
async function focusElement(el) {
|
|
670
740
|
if (!el) {
|
|
671
741
|
return;
|
|
@@ -725,10 +795,24 @@ function querySingle(element, slotSelector, options) {
|
|
|
725
795
|
const selector = options?.selector;
|
|
726
796
|
return selector ? match?.querySelector(selector) : match;
|
|
727
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* Filters direct children.
|
|
800
|
+
*
|
|
801
|
+
* @param {Element} el An element.
|
|
802
|
+
* @param {string} selector The selector.
|
|
803
|
+
* @returns {Element[]} An array of elements.
|
|
804
|
+
*/
|
|
728
805
|
function filterDirectChildren(el, selector) {
|
|
729
806
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
730
807
|
}
|
|
731
|
-
|
|
808
|
+
/**
|
|
809
|
+
* Set a default icon from a defined set or allow an override with an icon name string
|
|
810
|
+
*
|
|
811
|
+
* @param {Record<string, string>} iconObject The icon object.
|
|
812
|
+
* @param {string | boolean} iconValue The icon value.
|
|
813
|
+
* @param {string} matchedValue The matched value.
|
|
814
|
+
* @returns {string|undefined} The resulting icon value.
|
|
815
|
+
*/
|
|
732
816
|
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
733
817
|
if (typeof iconValue === "string" && iconValue !== "") {
|
|
734
818
|
return iconValue;
|
|
@@ -737,6 +821,13 @@ function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
|
737
821
|
return iconObject[matchedValue];
|
|
738
822
|
}
|
|
739
823
|
}
|
|
824
|
+
/**
|
|
825
|
+
* This helper returns true when two rectangles intersect.
|
|
826
|
+
*
|
|
827
|
+
* @param {DOMRect} rect1 The first rectangle.
|
|
828
|
+
* @param {DOMRect} rect2 The second rectangle.
|
|
829
|
+
* @returns {boolean} The result.
|
|
830
|
+
*/
|
|
740
831
|
function intersects(rect1, rect2) {
|
|
741
832
|
return !(rect2.left > rect1.right ||
|
|
742
833
|
rect2.right < rect1.left ||
|
|
@@ -748,7 +839,7 @@ function intersects(rect1, rect2) {
|
|
|
748
839
|
*
|
|
749
840
|
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
750
841
|
*
|
|
751
|
-
* @param value
|
|
842
|
+
* @param {boolean} value The value.
|
|
752
843
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
753
844
|
*/
|
|
754
845
|
function toAriaBoolean(value) {
|
|
@@ -761,7 +852,7 @@ function toAriaBoolean(value) {
|
|
|
761
852
|
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
762
853
|
* ```
|
|
763
854
|
*
|
|
764
|
-
* @param event
|
|
855
|
+
* @param {Event} event The event.
|
|
765
856
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
766
857
|
*/
|
|
767
858
|
function slotChangeHasAssignedElement(event) {
|
|
@@ -774,7 +865,7 @@ function slotChangeHasAssignedElement(event) {
|
|
|
774
865
|
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
|
775
866
|
* ```
|
|
776
867
|
*
|
|
777
|
-
* @param event
|
|
868
|
+
* @param {Event} event The event.
|
|
778
869
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
779
870
|
*/
|
|
780
871
|
function slotChangeGetAssignedElements(event) {
|
|
@@ -787,12 +878,20 @@ function slotChangeGetAssignedElements(event) {
|
|
|
787
878
|
*
|
|
788
879
|
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
|
789
880
|
*
|
|
790
|
-
* @param event
|
|
791
|
-
* @returns {boolean}
|
|
881
|
+
* @param {PointerEvent} event The pointer event.
|
|
882
|
+
* @returns {boolean} The value.
|
|
792
883
|
*/
|
|
793
884
|
function isPrimaryPointerButton(event) {
|
|
794
885
|
return !!(event.isPrimary && event.button === 0);
|
|
795
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
|
889
|
+
*
|
|
890
|
+
* @param {Element[]} elements An array of elements.
|
|
891
|
+
* @param {Element} currentElement The current element.
|
|
892
|
+
* @param {FocusElementInGroupDestination} destination The target destination element to focus.
|
|
893
|
+
* @returns {Element} The focused element
|
|
894
|
+
*/
|
|
796
895
|
const focusElementInGroup = (elements, currentElement, destination) => {
|
|
797
896
|
const currentIndex = elements.indexOf(currentElement);
|
|
798
897
|
const isFirstItem = currentIndex === 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean, j as isPrimaryPointerButton, i as focusElementInGroup, k as focusElement } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as filter } from './filter2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
@@ -288,7 +288,8 @@ const arrow = options => ({
|
|
|
288
288
|
y,
|
|
289
289
|
placement,
|
|
290
290
|
rects,
|
|
291
|
-
platform
|
|
291
|
+
platform,
|
|
292
|
+
elements
|
|
292
293
|
} = state;
|
|
293
294
|
if (element == null) {
|
|
294
295
|
return {};
|
|
@@ -301,14 +302,18 @@ const arrow = options => ({
|
|
|
301
302
|
const axis = getMainAxisFromPlacement(placement);
|
|
302
303
|
const length = getLengthFromAxis(axis);
|
|
303
304
|
const arrowDimensions = await platform.getDimensions(element);
|
|
304
|
-
const
|
|
305
|
-
const
|
|
305
|
+
const isYAxis = axis === 'y';
|
|
306
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
307
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
308
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
306
309
|
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
307
310
|
const startDiff = coords[axis] - rects.reference[axis];
|
|
308
311
|
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
309
|
-
let clientSize = arrowOffsetParent ?
|
|
310
|
-
|
|
311
|
-
|
|
312
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
313
|
+
|
|
314
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
315
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
316
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
312
317
|
}
|
|
313
318
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
314
319
|
|
|
@@ -849,28 +854,9 @@ function getComputedStyle$1(element) {
|
|
|
849
854
|
return getWindow(element).getComputedStyle(element);
|
|
850
855
|
}
|
|
851
856
|
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
const round = Math.round;
|
|
855
|
-
|
|
856
|
-
function getCssDimensions(element) {
|
|
857
|
-
const css = getComputedStyle$1(element);
|
|
858
|
-
let width = parseFloat(css.width);
|
|
859
|
-
let height = parseFloat(css.height);
|
|
860
|
-
const offsetWidth = element.offsetWidth;
|
|
861
|
-
const offsetHeight = element.offsetHeight;
|
|
862
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
863
|
-
if (shouldFallback) {
|
|
864
|
-
width = offsetWidth;
|
|
865
|
-
height = offsetHeight;
|
|
866
|
-
}
|
|
867
|
-
return {
|
|
868
|
-
width,
|
|
869
|
-
height,
|
|
870
|
-
fallback: shouldFallback
|
|
871
|
-
};
|
|
857
|
+
function isNode(value) {
|
|
858
|
+
return value instanceof getWindow(value).Node;
|
|
872
859
|
}
|
|
873
|
-
|
|
874
860
|
function getNodeName(node) {
|
|
875
861
|
return isNode(node) ? (node.nodeName || '').toLowerCase() : '';
|
|
876
862
|
}
|
|
@@ -894,9 +880,6 @@ function isHTMLElement(value) {
|
|
|
894
880
|
function isElement(value) {
|
|
895
881
|
return value instanceof getWindow(value).Element;
|
|
896
882
|
}
|
|
897
|
-
function isNode(value) {
|
|
898
|
-
return value instanceof getWindow(value).Node;
|
|
899
|
-
}
|
|
900
883
|
function isShadowRoot(node) {
|
|
901
884
|
// Browsers without `ShadowRoot` support.
|
|
902
885
|
if (typeof ShadowRoot === 'undefined') {
|
|
@@ -953,6 +936,29 @@ function isLastTraversableNode(node) {
|
|
|
953
936
|
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
954
937
|
}
|
|
955
938
|
|
|
939
|
+
const min = Math.min;
|
|
940
|
+
const max = Math.max;
|
|
941
|
+
const round = Math.round;
|
|
942
|
+
|
|
943
|
+
function getCssDimensions(element) {
|
|
944
|
+
const css = getComputedStyle$1(element);
|
|
945
|
+
let width = parseFloat(css.width);
|
|
946
|
+
let height = parseFloat(css.height);
|
|
947
|
+
const hasOffset = isHTMLElement(element);
|
|
948
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
949
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
950
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
951
|
+
if (shouldFallback) {
|
|
952
|
+
width = offsetWidth;
|
|
953
|
+
height = offsetHeight;
|
|
954
|
+
}
|
|
955
|
+
return {
|
|
956
|
+
width,
|
|
957
|
+
height,
|
|
958
|
+
fallback: shouldFallback
|
|
959
|
+
};
|
|
960
|
+
}
|
|
961
|
+
|
|
956
962
|
function unwrapElement(element) {
|
|
957
963
|
return !isElement(element) ? element.contextElement : element;
|
|
958
964
|
}
|
|
@@ -1034,16 +1040,12 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1034
1040
|
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1035
1041
|
}
|
|
1036
1042
|
}
|
|
1037
|
-
return {
|
|
1043
|
+
return rectToClientRect({
|
|
1038
1044
|
width,
|
|
1039
1045
|
height,
|
|
1040
|
-
top: y,
|
|
1041
|
-
right: x + width,
|
|
1042
|
-
bottom: y + height,
|
|
1043
|
-
left: x,
|
|
1044
1046
|
x,
|
|
1045
1047
|
y
|
|
1046
|
-
};
|
|
1048
|
+
});
|
|
1047
1049
|
}
|
|
1048
1050
|
|
|
1049
1051
|
function getDocumentElement(node) {
|
|
@@ -1242,6 +1244,13 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
1242
1244
|
}
|
|
1243
1245
|
return rectToClientRect(rect);
|
|
1244
1246
|
}
|
|
1247
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1248
|
+
const parentNode = getParentNode(element);
|
|
1249
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1250
|
+
return false;
|
|
1251
|
+
}
|
|
1252
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1253
|
+
}
|
|
1245
1254
|
|
|
1246
1255
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1247
1256
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -1259,19 +1268,17 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1259
1268
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1260
1269
|
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1261
1270
|
const computedStyle = getComputedStyle$1(currentNode);
|
|
1262
|
-
const
|
|
1263
|
-
|
|
1264
|
-
if (shouldIgnoreCurrentNode) {
|
|
1271
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1272
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1265
1273
|
currentContainingBlockComputedStyle = null;
|
|
1274
|
+
}
|
|
1275
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1276
|
+
if (shouldDropCurrentNode) {
|
|
1277
|
+
// Drop non-containing blocks.
|
|
1278
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1266
1279
|
} else {
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
// Drop non-containing blocks.
|
|
1270
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1271
|
-
} else {
|
|
1272
|
-
// Record last containing block for next iteration.
|
|
1273
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1274
|
-
}
|
|
1280
|
+
// Record last containing block for next iteration.
|
|
1281
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1275
1282
|
}
|
|
1276
1283
|
currentNode = getParentNode(currentNode);
|
|
1277
1284
|
}
|
|
@@ -1308,10 +1315,7 @@ function getClippingRect(_ref) {
|
|
|
1308
1315
|
}
|
|
1309
1316
|
|
|
1310
1317
|
function getDimensions(element) {
|
|
1311
|
-
|
|
1312
|
-
return getCssDimensions(element);
|
|
1313
|
-
}
|
|
1314
|
-
return element.getBoundingClientRect();
|
|
1318
|
+
return getCssDimensions(element);
|
|
1315
1319
|
}
|
|
1316
1320
|
|
|
1317
1321
|
function getTrueOffsetParent(element, polyfill) {
|
|
@@ -1339,6 +1343,9 @@ function getContainingBlock(element) {
|
|
|
1339
1343
|
// such as table ancestors and cross browser bugs.
|
|
1340
1344
|
function getOffsetParent(element, polyfill) {
|
|
1341
1345
|
const window = getWindow(element);
|
|
1346
|
+
if (!isHTMLElement(element)) {
|
|
1347
|
+
return window;
|
|
1348
|
+
}
|
|
1342
1349
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1343
1350
|
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1344
1351
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
@@ -1423,27 +1430,26 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1423
1430
|
options = {};
|
|
1424
1431
|
}
|
|
1425
1432
|
const {
|
|
1426
|
-
ancestorScroll
|
|
1433
|
+
ancestorScroll = true,
|
|
1427
1434
|
ancestorResize = true,
|
|
1428
1435
|
elementResize = true,
|
|
1429
1436
|
animationFrame = false
|
|
1430
1437
|
} = options;
|
|
1431
|
-
const ancestorScroll = _ancestorScroll && !animationFrame;
|
|
1432
1438
|
const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), ...getOverflowAncestors(floating)] : [];
|
|
1433
1439
|
ancestors.forEach(ancestor => {
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1440
|
+
// ignores Window, checks for [object VisualViewport]
|
|
1441
|
+
const isVisualViewport = !isElement(ancestor) && ancestor.toString().includes('V');
|
|
1442
|
+
if (ancestorScroll && (animationFrame ? isVisualViewport : true)) {
|
|
1443
|
+
ancestor.addEventListener('scroll', update, {
|
|
1444
|
+
passive: true
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1437
1447
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1438
1448
|
});
|
|
1439
1449
|
let observer = null;
|
|
1440
1450
|
if (elementResize) {
|
|
1441
|
-
let initialUpdate = true;
|
|
1442
1451
|
observer = new ResizeObserver(() => {
|
|
1443
|
-
|
|
1444
|
-
update();
|
|
1445
|
-
}
|
|
1446
|
-
initialUpdate = false;
|
|
1452
|
+
update();
|
|
1447
1453
|
});
|
|
1448
1454
|
isElement(reference) && !animationFrame && observer.observe(reference);
|
|
1449
1455
|
if (!isElement(reference) && reference.contextElement && !animationFrame) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { w as tabbable, x as focusable, y as isTabbable, z as isFocusable, k as focusElement, A as tabbableOptions } from './dom.js';
|
|
7
7
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { u as queryElementRoots, r as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { h } from '@stencil/core/internal/client/index.js';
|
package/dist/components/graph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
package/dist/components/guid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
package/dist/components/icon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir, t as toAriaBoolean } from './dom.js';
|