@esri/calcite-components 1.4.0-next.7 → 1.4.0-next.9
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-01067588.js +6 -0
- package/dist/calcite/{p-010e90fc.js → p-010c69c2.js} +1 -1
- package/dist/calcite/{p-bd22a68d.js → p-03164ae1.js} +2 -2
- package/dist/calcite/{p-d2c4f9fa.js → p-0e1d2b15.js} +2 -2
- package/dist/calcite/{p-28615250.entry.js → p-1663231c.entry.js} +2 -2
- package/dist/calcite/{p-8c344e6d.entry.js → p-166674aa.entry.js} +2 -2
- package/dist/calcite/{p-d6141ae1.entry.js → p-197ac8b2.entry.js} +2 -2
- package/dist/calcite/{p-74e68a45.entry.js → p-1c53f9fe.entry.js} +2 -2
- package/dist/calcite/{p-4782f04e.entry.js → p-1c7c8860.entry.js} +2 -2
- package/dist/calcite/{p-6430ae01.entry.js → p-20db74fc.entry.js} +2 -2
- package/dist/calcite/{p-33886fed.js → p-230449ec.js} +1 -1
- package/dist/calcite/p-248a12b3.js +6 -0
- package/dist/calcite/p-2777268e.entry.js +6 -0
- package/dist/calcite/{p-1a34083a.entry.js → p-29a9282a.entry.js} +2 -2
- package/dist/calcite/{p-55c6d5ef.entry.js → p-2c40a502.entry.js} +2 -2
- package/dist/calcite/{p-26a14afd.entry.js → p-2d68aab8.entry.js} +2 -2
- package/dist/calcite/{p-88150a71.js → p-2ed750d6.js} +1 -1
- package/dist/calcite/{p-ff342ff3.js → p-2f654881.js} +1 -1
- package/dist/calcite/{p-18d60b13.entry.js → p-31326941.entry.js} +2 -2
- package/dist/calcite/{p-51d0f35f.entry.js → p-34e0ac31.entry.js} +2 -2
- package/dist/calcite/{p-e1da1d05.entry.js → p-351fcfc7.entry.js} +2 -2
- package/dist/calcite/{p-ac7ab3bc.js → p-371ae1ef.js} +1 -1
- package/dist/calcite/{p-4ce3f0cc.js → p-395a04a3.js} +2 -2
- package/dist/calcite/{p-6c0bfe2b.js → p-3a56a3a6.js} +1 -1
- package/dist/calcite/p-3ca61b02.js +6 -0
- package/dist/calcite/{p-7f36e577.entry.js → p-434bddbd.entry.js} +2 -2
- package/dist/calcite/p-466a12c9.entry.js +6 -0
- package/dist/calcite/{p-9547760d.entry.js → p-4d2f0451.entry.js} +2 -2
- package/dist/calcite/{p-3e1547ee.entry.js → p-4fd6ac79.entry.js} +2 -2
- package/dist/calcite/{p-a4d220af.js → p-54a5f8f5.js} +1 -1
- package/dist/calcite/{p-022b463d.entry.js → p-55cc45ea.entry.js} +2 -2
- package/dist/calcite/{p-9590cf67.entry.js → p-56345dc6.entry.js} +2 -2
- package/dist/calcite/{p-72855c96.entry.js → p-5677ab56.entry.js} +2 -2
- package/dist/calcite/{p-31ec39d7.entry.js → p-5f2e75da.entry.js} +2 -2
- package/dist/calcite/{p-c618c39c.entry.js → p-6038ef5c.entry.js} +2 -2
- package/dist/calcite/{p-9f23571b.js → p-62dca5ee.js} +2 -2
- package/dist/calcite/{p-8110a0aa.js → p-6410b94a.js} +1 -1
- package/dist/calcite/{p-5b473563.entry.js → p-67a9e96c.entry.js} +2 -2
- package/dist/calcite/{p-23292162.entry.js → p-6f484ae0.entry.js} +2 -2
- package/dist/calcite/{p-eee7ca58.entry.js → p-72904604.entry.js} +2 -2
- package/dist/calcite/{p-0b8cadf4.entry.js → p-72ed70dd.entry.js} +2 -2
- package/dist/calcite/{p-0fa679c7.entry.js → p-78765fa2.entry.js} +2 -2
- package/dist/calcite/{p-167e256a.entry.js → p-7ae41ada.entry.js} +2 -2
- package/dist/calcite/{p-64f6ce40.js → p-7af5cb15.js} +1 -1
- package/dist/calcite/{p-b9ea3e0b.entry.js → p-7ba42d93.entry.js} +2 -2
- package/dist/calcite/{p-b4cf4fb1.entry.js → p-7c0254ab.entry.js} +2 -2
- package/dist/calcite/{p-56f76acb.js → p-7c564d5d.js} +2 -2
- package/dist/calcite/{p-f025faa7.js → p-7f3057ec.js} +1 -1
- package/dist/calcite/{p-e0f5bda5.entry.js → p-821fde3b.entry.js} +2 -2
- package/dist/calcite/{p-53d77573.entry.js → p-82beee9f.entry.js} +2 -2
- package/dist/calcite/{p-7272e447.entry.js → p-83acf1f5.entry.js} +2 -2
- package/dist/calcite/{p-c419c802.entry.js → p-858a44ec.entry.js} +2 -2
- package/dist/calcite/{p-049bc3c1.entry.js → p-87d58cc6.entry.js} +2 -2
- package/dist/calcite/{p-0d2823c2.entry.js → p-8b319433.entry.js} +2 -2
- package/dist/calcite/p-8d030d61.entry.js +6 -0
- package/dist/calcite/{p-81ce6424.entry.js → p-8ec39ccd.entry.js} +2 -2
- package/dist/calcite/{p-285f16a5.js → p-900cb4c0.js} +1 -1
- package/dist/calcite/{p-1b10ccc2.entry.js → p-918cbc7a.entry.js} +2 -2
- package/dist/calcite/{p-e2329cc3.js → p-91f27f6a.js} +2 -2
- package/dist/calcite/{p-0a9a5b0f.entry.js → p-92ade4e5.entry.js} +2 -2
- package/dist/calcite/p-93b44f7e.entry.js +6 -0
- package/dist/calcite/p-943ea9a4.js +6 -0
- package/dist/calcite/{p-bbdbf9c0.entry.js → p-96f0ad19.entry.js} +2 -2
- package/dist/calcite/{p-d0ce0619.js → p-9a630b51.js} +1 -1
- package/dist/calcite/{p-5d215531.entry.js → p-9b725254.entry.js} +2 -2
- package/dist/calcite/{p-040b0aac.js → p-a1469606.js} +1 -1
- package/dist/calcite/{p-0fc95de5.entry.js → p-a1623863.entry.js} +2 -2
- package/dist/calcite/{p-70cbe824.entry.js → p-a23c3523.entry.js} +2 -2
- package/dist/calcite/{p-08b9b673.js → p-a312e4ba.js} +1 -1
- package/dist/calcite/{p-61e10cd6.js → p-a597d8e0.js} +2 -2
- package/dist/calcite/{p-a01669a2.entry.js → p-a883a03b.entry.js} +2 -2
- package/dist/calcite/{p-0ec4ccbd.entry.js → p-a88abbbf.entry.js} +2 -2
- package/dist/calcite/{p-6736a1c8.js → p-a930e44d.js} +2 -2
- package/dist/calcite/{p-138e015a.entry.js → p-ae17815c.entry.js} +2 -2
- package/dist/calcite/{p-b30818cc.entry.js → p-b27e0049.entry.js} +2 -2
- package/dist/calcite/{p-489e3960.entry.js → p-b2e96309.entry.js} +2 -2
- package/dist/calcite/{p-ee1c4ef3.js → p-b2f9c2c0.js} +1 -1
- package/dist/calcite/{p-7620a6dc.js → p-bcd601a0.js} +3 -3
- package/dist/calcite/{p-deb7e311.js → p-bebda7ca.js} +2 -2
- package/dist/calcite/p-bf8a93b0.js +6 -0
- package/dist/calcite/{p-de4a323b.js → p-c0ff081a.js} +2 -2
- package/dist/calcite/{p-599c21a0.entry.js → p-c506fc90.entry.js} +2 -2
- package/dist/calcite/p-c7bf17b6.entry.js +6 -0
- package/dist/calcite/{p-1c72c9ec.entry.js → p-c8ecbeb1.entry.js} +2 -2
- package/dist/calcite/{p-a4a4af85.entry.js → p-c9d1a442.entry.js} +2 -2
- package/dist/calcite/{p-cce18d43.entry.js → p-cc6d09f3.entry.js} +2 -2
- package/dist/calcite/{p-498f4e75.entry.js → p-cd3fcc8f.entry.js} +2 -2
- package/dist/calcite/{p-f3646d69.js → p-cd850f51.js} +1 -1
- package/dist/calcite/{p-546047ac.entry.js → p-dd46d878.entry.js} +2 -2
- package/dist/calcite/p-de742d24.entry.js +6 -0
- package/dist/calcite/{p-3057efa7.entry.js → p-e0c00137.entry.js} +2 -2
- package/dist/calcite/{p-9de2c114.js → p-e42cc509.js} +3 -3
- package/dist/calcite/{p-d6bd6b2f.entry.js → p-ec941fce.entry.js} +2 -2
- package/dist/calcite/{p-6642106e.entry.js → p-ee250fd8.entry.js} +2 -2
- package/dist/calcite/{p-2a3a2add.entry.js → p-ef192335.entry.js} +2 -2
- package/dist/calcite/{p-a7ea5e08.js → p-ff8c6c88.js} +1 -1
- package/dist/cjs/{ExpandToggle-843202ab.js → ExpandToggle-740fdcae.js} +5 -5
- package/dist/cjs/{FloatingArrow-63ebb862.js → FloatingArrow-fef707f7.js} +2 -2
- package/dist/cjs/{Heading-52698bda.js → Heading-1fea9cdc.js} +2 -2
- package/dist/cjs/{app-globals-a5281951.js → app-globals-7b79796b.js} +2 -2
- package/dist/cjs/{array-7cb19871.js → array-a5eec9ba.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 +15 -15
- 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 +12 -12
- 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 +12 -12
- 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 -11
- 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 +26 -22
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- 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-32cef964.js → composed-offset-position.esm-4691c9a5.js} +1 -1
- package/dist/cjs/{conditionalSlot-a36ded86.js → conditionalSlot-a0922245.js} +3 -3
- package/dist/cjs/{debounce-b3ebca79.js → debounce-62f8d984.js} +1 -1
- package/dist/cjs/{dom-21aaf3f4.js → dom-059a146f.js} +116 -17
- package/dist/cjs/{filter-7b1ac325.js → filter-8c4330df.js} +2 -2
- package/dist/cjs/{floating-ui-4bb47c90.js → floating-ui-4a7a6d1a.js} +4 -4
- package/dist/cjs/{focusTrapComponent-4fc83c52.js → focusTrapComponent-cb5d70a9.js} +2 -2
- package/dist/cjs/{form-9cc29ef1.js → form-fb994640.js} +3 -3
- package/dist/cjs/{guid-43b37504.js → guid-4fcf21f9.js} +1 -1
- package/dist/cjs/{index-d0394290.js → index-db070a19.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-ba615a5f.js → interactive-7f63a8d1.js} +1 -1
- package/dist/cjs/{key-88971126.js → key-ac843775.js} +1 -1
- package/dist/cjs/{label-a63005cd.js → label-889abbdf.js} +2 -2
- package/dist/cjs/{loadable-c2a58fbe.js → loadable-8566025a.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-01665a55.js → locale-13a0eb11.js} +4 -4
- package/dist/cjs/{math-b78a1af1.js → math-e4883322.js} +1 -1
- package/dist/cjs/{observers-f592bc28.js → observers-26f797e1.js} +1 -1
- package/dist/cjs/{openCloseComponent-5b97ba86.js → openCloseComponent-2a2f8bd8.js} +2 -2
- package/dist/cjs/{resources-cd5d5858.js → resources-1c1330bb.js} +5 -5
- package/dist/cjs/{resources-a4a25b5c.js → resources-3db37f0d.js} +1 -1
- package/dist/cjs/{resources-f1c8c5f7.js → resources-6e8a78f7.js} +1 -1
- package/dist/cjs/{resources-b46063a7.js → resources-71fcd0d1.js} +1 -1
- package/dist/cjs/{resources-a0100bbf.js → resources-b69498a5.js} +1 -1
- package/dist/cjs/{resources-d974ce14.js → resources-f27e541d.js} +1 -1
- package/dist/cjs/{sortable.esm-3077a5f4.js → sortable.esm-c247565b.js} +1 -1
- package/dist/cjs/{t9n-14a96fb0.js → t9n-ab24a0f3.js} +3 -3
- package/dist/cjs/{throttle-ac1f5cd2.js → throttle-bc74d6a7.js} +2 -2
- package/dist/cjs/{utils-1af6a566.js → utils-2b466272.js} +3 -3
- package/dist/cjs/{utils-4f112a5e.js → utils-de5d97a2.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +0 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/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.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/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 +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +0 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/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 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/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 +18 -14
- 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 +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/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 +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-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 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-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 +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/tooltip.js +18 -14
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-c5f0fddb.js → ExpandToggle-145a0197.js} +5 -5
- package/dist/esm/{FloatingArrow-f3d3553d.js → FloatingArrow-a1bd3fe5.js} +2 -2
- package/dist/esm/{Heading-94ecceec.js → Heading-dc338f18.js} +2 -2
- package/dist/esm/{app-globals-16708176.js → app-globals-47c798f3.js} +2 -2
- package/dist/esm/{array-ebcf4eb4.js → array-45486ccf.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 +15 -15
- 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 +12 -12
- 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 +12 -12
- 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 -11
- 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 +26 -22
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- 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-2166efd1.js → composed-offset-position.esm-edf3c442.js} +1 -1
- package/dist/esm/{conditionalSlot-abceadb0.js → conditionalSlot-84570998.js} +3 -3
- package/dist/esm/{debounce-797b3e86.js → debounce-92d1a2a6.js} +1 -1
- package/dist/esm/{dom-c48a1b86.js → dom-7ba45324.js} +116 -17
- package/dist/esm/{filter-8d6350fc.js → filter-d6b06702.js} +2 -2
- package/dist/esm/{floating-ui-50197fc5.js → floating-ui-29cc9d41.js} +4 -4
- package/dist/esm/{focusTrapComponent-e588f549.js → focusTrapComponent-603195e8.js} +2 -2
- package/dist/esm/{form-5f4ee7a2.js → form-2f3b0d54.js} +3 -3
- package/dist/esm/{guid-aef51297.js → guid-1172f851.js} +1 -1
- package/dist/esm/{index-217dadcd.js → index-017c6d83.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-3fff4fda.js → interactive-81f80218.js} +1 -1
- package/dist/esm/{key-8c1dc5de.js → key-1ff369b3.js} +1 -1
- package/dist/esm/{label-55aef7bc.js → label-f5bba045.js} +2 -2
- package/dist/esm/{loadable-8c1293f5.js → loadable-5674ab1b.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-5571dc0a.js → locale-4eae1737.js} +4 -4
- package/dist/esm/{math-a0aa08d8.js → math-d7448c1a.js} +1 -1
- package/dist/esm/{observers-5d51590f.js → observers-11b548e3.js} +1 -1
- package/dist/esm/{openCloseComponent-9ba2ae60.js → openCloseComponent-3a920674.js} +2 -2
- package/dist/esm/{resources-ef20e35f.js → resources-3e06495c.js} +1 -1
- package/dist/esm/{resources-1d0e42db.js → resources-4438975a.js} +1 -1
- package/dist/esm/{resources-7678f57a.js → resources-75309992.js} +1 -1
- package/dist/esm/{resources-d26eaa68.js → resources-b3570d1a.js} +5 -5
- package/dist/esm/{resources-d4765ecc.js → resources-bae11e52.js} +1 -1
- package/dist/esm/{resources-aa4e4c3c.js → resources-ccff3157.js} +1 -1
- package/dist/esm/{sortable.esm-89325ef7.js → sortable.esm-b2647ee0.js} +1 -1
- package/dist/esm/{t9n-e678f4c8.js → t9n-c5fea8cf.js} +3 -3
- package/dist/esm/{throttle-9b1221ed.js → throttle-26ce6665.js} +2 -2
- package/dist/esm/{utils-c9e01e02.js → utils-285e9ed7.js} +1 -1
- package/dist/esm/{utils-edb91a03.js → utils-c276d1c3.js} +3 -3
- package/dist/extras/docs-json.json +18 -2
- package/dist/extras/vscode-data.json +5 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/avatar/avatar.d.ts +3 -1
- package/dist/types/components/tooltip/TooltipManager.d.ts +2 -1
- package/dist/types/components.d.ts +10 -2
- package/dist/types/utils/dom.d.ts +115 -19
- package/hydrate/index.js +127 -30
- package/package.json +2 -2
- package/dist/calcite/p-07f56efe.entry.js +0 -6
- package/dist/calcite/p-1d2b5776.js +0 -6
- package/dist/calcite/p-3401a9d5.js +0 -6
- package/dist/calcite/p-40e30e60.entry.js +0 -6
- package/dist/calcite/p-4ca219cb.js +0 -6
- package/dist/calcite/p-5bae27a0.entry.js +0 -6
- package/dist/calcite/p-898bcdc5.entry.js +0 -6
- package/dist/calcite/p-a0de8dfd.js +0 -6
- package/dist/calcite/p-be9d3f6c.js +0 -6
- package/dist/calcite/p-cbaa4869.entry.js +0 -6
- package/dist/calcite/p-e0a8dce0.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.9
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6537,6 +6537,11 @@ function gen(counts) {
|
|
|
6537
6537
|
}
|
|
6538
6538
|
const guid = () => gen([2, 1, 1, 1, 3]);
|
|
6539
6539
|
|
|
6540
|
+
/**
|
|
6541
|
+
* The default `focus-trap/tabbable` options.
|
|
6542
|
+
*
|
|
6543
|
+
* See https://github.com/focus-trap/tabbable#tabbable
|
|
6544
|
+
*/
|
|
6540
6545
|
const tabbableOptions = {
|
|
6541
6546
|
getShadowRoot: true
|
|
6542
6547
|
};
|
|
@@ -6545,7 +6550,7 @@ const tabbableOptions = {
|
|
|
6545
6550
|
*
|
|
6546
6551
|
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
|
6547
6552
|
*
|
|
6548
|
-
* @param el
|
|
6553
|
+
* @param {Element} el An element.
|
|
6549
6554
|
* @returns {string} The element's ID.
|
|
6550
6555
|
*/
|
|
6551
6556
|
function ensureId(el) {
|
|
@@ -6554,27 +6559,66 @@ function ensureId(el) {
|
|
|
6554
6559
|
}
|
|
6555
6560
|
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);
|
|
6556
6561
|
}
|
|
6562
|
+
/**
|
|
6563
|
+
* This helper returns an array from a NodeList.
|
|
6564
|
+
*
|
|
6565
|
+
* @param {NodeList} nodeList A NodeList.
|
|
6566
|
+
* @returns {Element[]} An array of elements.
|
|
6567
|
+
*/
|
|
6557
6568
|
function nodeListToArray(nodeList) {
|
|
6558
6569
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
6559
6570
|
}
|
|
6571
|
+
/**
|
|
6572
|
+
* This helper returns the Calcite "mode" of an element.
|
|
6573
|
+
*
|
|
6574
|
+
* @param {HTMLElement} el An element.
|
|
6575
|
+
* @returns {"light"|"dark"} The Calcite mode.
|
|
6576
|
+
*/
|
|
6560
6577
|
function getModeName(el) {
|
|
6561
6578
|
const closestElWithMode = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkMode}, .${CSS_UTILITY.lightMode}`);
|
|
6562
6579
|
return closestElWithMode?.classList.contains("calcite-mode-dark") ? "dark" : "light";
|
|
6563
6580
|
}
|
|
6581
|
+
/**
|
|
6582
|
+
* This helper returns the direction of a HTML element.
|
|
6583
|
+
*
|
|
6584
|
+
* @param {HTMLElement} el An element.
|
|
6585
|
+
* @returns {Direction} The direction.
|
|
6586
|
+
*/
|
|
6564
6587
|
function getElementDir(el) {
|
|
6565
6588
|
const prop = "dir";
|
|
6566
6589
|
const selector = `[${prop}]`;
|
|
6567
6590
|
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
6568
6591
|
return closest ? closest.getAttribute(prop) : "ltr";
|
|
6569
6592
|
}
|
|
6570
|
-
|
|
6571
|
-
|
|
6593
|
+
/**
|
|
6594
|
+
* This helper returns the value of an attribute on an element.
|
|
6595
|
+
*
|
|
6596
|
+
* @param {HTMLElement} el An element.
|
|
6597
|
+
* @param {string} attribute An attribute name.
|
|
6598
|
+
* @param {any} fallbackValue A fallback value.
|
|
6599
|
+
* @returns {any} The value.
|
|
6600
|
+
* @deprecated
|
|
6601
|
+
*/
|
|
6602
|
+
function getElementProp(el, attribute, fallbackValue) {
|
|
6603
|
+
const selector = `[${attribute}]`;
|
|
6572
6604
|
const closest = el.closest(selector);
|
|
6573
|
-
return closest ? closest.getAttribute(
|
|
6605
|
+
return closest ? closest.getAttribute(attribute) : fallbackValue;
|
|
6574
6606
|
}
|
|
6607
|
+
/**
|
|
6608
|
+
* This helper returns the rootNode of an element.
|
|
6609
|
+
*
|
|
6610
|
+
* @param {Element} el An element.
|
|
6611
|
+
* @returns {Document|ShadowRoot} The element's root node.
|
|
6612
|
+
*/
|
|
6575
6613
|
function getRootNode(el) {
|
|
6576
6614
|
return el.getRootNode();
|
|
6577
6615
|
}
|
|
6616
|
+
/**
|
|
6617
|
+
* This helper returns the host of a ShadowRoot.
|
|
6618
|
+
*
|
|
6619
|
+
* @param {Document | ShadowRoot} root A root element.
|
|
6620
|
+
* @returns {Element | null} The host element.
|
|
6621
|
+
*/
|
|
6578
6622
|
function getHost(root) {
|
|
6579
6623
|
return root.host || null;
|
|
6580
6624
|
}
|
|
@@ -6583,11 +6627,11 @@ function getHost(root) {
|
|
|
6583
6627
|
*
|
|
6584
6628
|
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
6585
6629
|
*
|
|
6586
|
-
* @param element
|
|
6630
|
+
* @param {Element} element An element.
|
|
6587
6631
|
* @param root0
|
|
6588
6632
|
* @param root0.selector
|
|
6589
6633
|
* @param root0.id
|
|
6590
|
-
* @returns {Element}
|
|
6634
|
+
* @returns {Element} An element.
|
|
6591
6635
|
*/
|
|
6592
6636
|
function queryElementRoots(element, { selector, id }) {
|
|
6593
6637
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
@@ -6616,6 +6660,13 @@ function queryElementRoots(element, { selector, id }) {
|
|
|
6616
6660
|
}
|
|
6617
6661
|
return queryFrom(element);
|
|
6618
6662
|
}
|
|
6663
|
+
/**
|
|
6664
|
+
* This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
|
|
6665
|
+
*
|
|
6666
|
+
* @param {Element} element The starting element.
|
|
6667
|
+
* @param {string} selector The selector.
|
|
6668
|
+
* @returns {Element} The targeted element.
|
|
6669
|
+
*/
|
|
6619
6670
|
function closestElementCrossShadowBoundary(element, selector) {
|
|
6620
6671
|
// based on https://stackoverflow.com/q/54520554/194216
|
|
6621
6672
|
function closestFrom(el) {
|
|
@@ -6623,9 +6674,20 @@ function closestElementCrossShadowBoundary(element, selector) {
|
|
|
6623
6674
|
}
|
|
6624
6675
|
return closestFrom(element);
|
|
6625
6676
|
}
|
|
6677
|
+
/**
|
|
6678
|
+
* This helper returns true when an element has a setFocus method.
|
|
6679
|
+
*
|
|
6680
|
+
* @param {Element} el An element.
|
|
6681
|
+
* @returns {boolean} The result.
|
|
6682
|
+
*/
|
|
6626
6683
|
function isCalciteFocusable(el) {
|
|
6627
6684
|
return typeof el?.setFocus === "function";
|
|
6628
6685
|
}
|
|
6686
|
+
/**
|
|
6687
|
+
* This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
|
|
6688
|
+
*
|
|
6689
|
+
* @param {Element} el An element.
|
|
6690
|
+
*/
|
|
6629
6691
|
async function focusElement(el) {
|
|
6630
6692
|
if (!el) {
|
|
6631
6693
|
return;
|
|
@@ -6685,10 +6747,24 @@ function querySingle(element, slotSelector, options) {
|
|
|
6685
6747
|
const selector = options?.selector;
|
|
6686
6748
|
return selector ? match?.querySelector(selector) : match;
|
|
6687
6749
|
}
|
|
6750
|
+
/**
|
|
6751
|
+
* Filters direct children.
|
|
6752
|
+
*
|
|
6753
|
+
* @param {Element} el An element.
|
|
6754
|
+
* @param {string} selector The selector.
|
|
6755
|
+
* @returns {Element[]} An array of elements.
|
|
6756
|
+
*/
|
|
6688
6757
|
function filterDirectChildren(el, selector) {
|
|
6689
6758
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
6690
6759
|
}
|
|
6691
|
-
|
|
6760
|
+
/**
|
|
6761
|
+
* Set a default icon from a defined set or allow an override with an icon name string
|
|
6762
|
+
*
|
|
6763
|
+
* @param {Record<string, string>} iconObject The icon object.
|
|
6764
|
+
* @param {string | boolean} iconValue The icon value.
|
|
6765
|
+
* @param {string} matchedValue The matched value.
|
|
6766
|
+
* @returns {string|undefined} The resulting icon value.
|
|
6767
|
+
*/
|
|
6692
6768
|
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
6693
6769
|
if (typeof iconValue === "string" && iconValue !== "") {
|
|
6694
6770
|
return iconValue;
|
|
@@ -6697,6 +6773,13 @@ function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
|
|
6697
6773
|
return iconObject[matchedValue];
|
|
6698
6774
|
}
|
|
6699
6775
|
}
|
|
6776
|
+
/**
|
|
6777
|
+
* This helper returns true when two rectangles intersect.
|
|
6778
|
+
*
|
|
6779
|
+
* @param {DOMRect} rect1 The first rectangle.
|
|
6780
|
+
* @param {DOMRect} rect2 The second rectangle.
|
|
6781
|
+
* @returns {boolean} The result.
|
|
6782
|
+
*/
|
|
6700
6783
|
function intersects(rect1, rect2) {
|
|
6701
6784
|
return !(rect2.left > rect1.right ||
|
|
6702
6785
|
rect2.right < rect1.left ||
|
|
@@ -6708,7 +6791,7 @@ function intersects(rect1, rect2) {
|
|
|
6708
6791
|
*
|
|
6709
6792
|
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
6710
6793
|
*
|
|
6711
|
-
* @param value
|
|
6794
|
+
* @param {boolean} value The value.
|
|
6712
6795
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
6713
6796
|
*/
|
|
6714
6797
|
function toAriaBoolean(value) {
|
|
@@ -6721,7 +6804,7 @@ function toAriaBoolean(value) {
|
|
|
6721
6804
|
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
6722
6805
|
* ```
|
|
6723
6806
|
*
|
|
6724
|
-
* @param event
|
|
6807
|
+
* @param {Event} event The event.
|
|
6725
6808
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
6726
6809
|
*/
|
|
6727
6810
|
function slotChangeHasAssignedElement(event) {
|
|
@@ -6734,7 +6817,7 @@ function slotChangeHasAssignedElement(event) {
|
|
|
6734
6817
|
* <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
|
|
6735
6818
|
* ```
|
|
6736
6819
|
*
|
|
6737
|
-
* @param event
|
|
6820
|
+
* @param {Event} event The event.
|
|
6738
6821
|
* @returns {boolean} Whether the slot has any assigned elements.
|
|
6739
6822
|
*/
|
|
6740
6823
|
function slotChangeGetAssignedElements(event) {
|
|
@@ -6747,12 +6830,20 @@ function slotChangeGetAssignedElements(event) {
|
|
|
6747
6830
|
*
|
|
6748
6831
|
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
|
6749
6832
|
*
|
|
6750
|
-
* @param event
|
|
6751
|
-
* @returns {boolean}
|
|
6833
|
+
* @param {PointerEvent} event The pointer event.
|
|
6834
|
+
* @returns {boolean} The value.
|
|
6752
6835
|
*/
|
|
6753
6836
|
function isPrimaryPointerButton(event) {
|
|
6754
6837
|
return !!(event.isPrimary && event.button === 0);
|
|
6755
6838
|
}
|
|
6839
|
+
/**
|
|
6840
|
+
* This helper sets focus on and returns a destination element from within a group of provided elements.
|
|
6841
|
+
*
|
|
6842
|
+
* @param {Element[]} elements An array of elements.
|
|
6843
|
+
* @param {Element} currentElement The current element.
|
|
6844
|
+
* @param {FocusElementInGroupDestination} destination The target destination element to focus.
|
|
6845
|
+
* @returns {Element} The focused element
|
|
6846
|
+
*/
|
|
6756
6847
|
const focusElementInGroup = (elements, currentElement, destination) => {
|
|
6757
6848
|
const currentIndex = elements.indexOf(currentElement);
|
|
6758
6849
|
const isFirstItem = currentIndex === 0;
|
|
@@ -9223,7 +9314,7 @@ const SLOTS$r = {
|
|
|
9223
9314
|
expandTooltip: "expand-tooltip"
|
|
9224
9315
|
};
|
|
9225
9316
|
|
|
9226
|
-
const actionBarCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-action-bar:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-action-bar-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:inline-flex;align-self:stretch
|
|
9317
|
+
const actionBarCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-action-bar:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-action-bar-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-action-bar-h{flex-direction:column}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-action-bar-h{flex-direction:row}/*!@:host([layout=vertical][overflow-actions-disabled])*/[layout=vertical][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([layout=horizontal][overflow-actions-disabled])*/[layout=horizontal][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-x:auto}/*!@:host([layout=vertical][expanded])*/[layout=vertical][expanded].sc-calcite-action-bar-h{max-inline-size:var(--calcite-action-bar-expanded-max-width)}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-block-end:1px solid var(--calcite-ui-border-3)}/*!@:host([layout=horizontal]) ::slotted(calcite-action-group)*/.sc-calcite-action-bar-h[layout=horizontal] .sc-calcite-action-bar-s>calcite-action-group{border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}/*!@:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type)*/.sc-calcite-action-bar-h[layout=horizontal][expand-disabled] .sc-calcite-action-bar-s>calcite-action-group:last-of-type{border-inline-end:0}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-block-end:0;border-inline-end:0}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{flex-grow:1;justify-content:flex-end}";
|
|
9227
9318
|
|
|
9228
9319
|
/**
|
|
9229
9320
|
* @slot - A slot for adding `calcite-action`s that will appear at the top of the component.
|
|
@@ -10645,6 +10736,7 @@ class Avatar {
|
|
|
10645
10736
|
this.fullName = undefined;
|
|
10646
10737
|
this.username = undefined;
|
|
10647
10738
|
this.userId = undefined;
|
|
10739
|
+
this.label = undefined;
|
|
10648
10740
|
this.thumbnailFailedToLoad = false;
|
|
10649
10741
|
}
|
|
10650
10742
|
//--------------------------------------------------------------------------
|
|
@@ -10662,11 +10754,11 @@ class Avatar {
|
|
|
10662
10754
|
//--------------------------------------------------------------------------
|
|
10663
10755
|
determineContent() {
|
|
10664
10756
|
if (this.thumbnail && !this.thumbnailFailedToLoad) {
|
|
10665
|
-
return (hAsync("img", { alt: "", class: "thumbnail", onError: () => (this.thumbnailFailedToLoad = true), src: this.thumbnail }));
|
|
10757
|
+
return (hAsync("img", { alt: this.label || "", class: "thumbnail", onError: () => (this.thumbnailFailedToLoad = true), src: this.thumbnail }));
|
|
10666
10758
|
}
|
|
10667
10759
|
const initials = this.generateInitials();
|
|
10668
10760
|
const backgroundColor = this.generateFillColor();
|
|
10669
|
-
return (hAsync("span", { class: "background", style: { backgroundColor } }, initials ? (hAsync("span", { "aria-hidden": "true", class: "initials" }, initials)) : (hAsync("calcite-icon", { class: "icon", icon: "user", scale: this.scale }))));
|
|
10761
|
+
return (hAsync("span", { "aria-label": this.label || this.fullName, class: "background", role: "figure", style: { backgroundColor } }, initials ? (hAsync("span", { "aria-hidden": "true", class: "initials" }, initials)) : (hAsync("calcite-icon", { class: "icon", icon: "user", scale: this.scale }))));
|
|
10670
10762
|
}
|
|
10671
10763
|
/**
|
|
10672
10764
|
* Generate a valid background color that is consistent and unique to this user
|
|
@@ -10713,6 +10805,7 @@ class Avatar {
|
|
|
10713
10805
|
"fullName": [513, "full-name"],
|
|
10714
10806
|
"username": [513],
|
|
10715
10807
|
"userId": [513, "user-id"],
|
|
10808
|
+
"label": [1],
|
|
10716
10809
|
"thumbnailFailedToLoad": [32]
|
|
10717
10810
|
},
|
|
10718
10811
|
"$listeners$": undefined,
|
|
@@ -27490,7 +27583,7 @@ class Pagination {
|
|
|
27490
27583
|
}; }
|
|
27491
27584
|
}
|
|
27492
27585
|
|
|
27493
|
-
const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-panel-h *.sc-calcite-panel,.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>*{pointer-events:none}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}/*!@.action-bar-container*/.action-bar-container.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}/*!@.action-bar-container ::slotted(calcite-action-bar)*/.action-bar-container .sc-calcite-panel-s>calcite-action-bar{inline-size:100%}/*!@.header-content*/.header-content.sc-calcite-panel{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}/*!@.header-content .heading,\n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;
|
|
27586
|
+
const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-panel-h *.sc-calcite-panel,.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>*{pointer-events:none}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}/*!@.action-bar-container*/.action-bar-container.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}/*!@.action-bar-container ::slotted(calcite-action-bar)*/.action-bar-container .sc-calcite-panel-s>calcite-action-bar{inline-size:100%}/*!@.header-content*/.header-content.sc-calcite-panel{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}/*!@.header-content .heading,\n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;padding:var(--calcite-panel-footer-padding)}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
|
|
27494
27587
|
|
|
27495
27588
|
/**
|
|
27496
27589
|
* @slot - A slot for adding custom content.
|
|
@@ -37927,8 +38020,9 @@ class TooltipManager {
|
|
|
37927
38020
|
// --------------------------------------------------------------------------
|
|
37928
38021
|
this.registeredElements = new WeakMap();
|
|
37929
38022
|
this.hoverTimeout = null;
|
|
38023
|
+
this.hoveredTooltip = null;
|
|
37930
38024
|
this.clickedTooltip = null;
|
|
37931
|
-
this.
|
|
38025
|
+
this.activeTooltip = null;
|
|
37932
38026
|
this.registeredElementCount = 0;
|
|
37933
38027
|
// --------------------------------------------------------------------------
|
|
37934
38028
|
//
|
|
@@ -37942,11 +38036,11 @@ class TooltipManager {
|
|
|
37942
38036
|
};
|
|
37943
38037
|
this.keyDownHandler = (event) => {
|
|
37944
38038
|
if (event.key === "Escape" && !event.defaultPrevented) {
|
|
37945
|
-
const {
|
|
37946
|
-
if (
|
|
38039
|
+
const { activeTooltip } = this;
|
|
38040
|
+
if (activeTooltip?.open) {
|
|
37947
38041
|
this.clearHoverTimeout();
|
|
37948
38042
|
this.closeExistingTooltip();
|
|
37949
|
-
const referenceElement = getEffectiveReferenceElement(
|
|
38043
|
+
const referenceElement = getEffectiveReferenceElement(activeTooltip);
|
|
37950
38044
|
if (referenceElement instanceof Element && referenceElement.contains(event.target)) {
|
|
37951
38045
|
event.preventDefault();
|
|
37952
38046
|
}
|
|
@@ -37955,13 +38049,14 @@ class TooltipManager {
|
|
|
37955
38049
|
};
|
|
37956
38050
|
this.pointerMoveHandler = (event) => {
|
|
37957
38051
|
const composedPath = event.composedPath();
|
|
37958
|
-
const {
|
|
37959
|
-
const hoveringActiveTooltip =
|
|
38052
|
+
const { activeTooltip } = this;
|
|
38053
|
+
const hoveringActiveTooltip = activeTooltip?.open && composedPath.includes(activeTooltip);
|
|
37960
38054
|
if (hoveringActiveTooltip) {
|
|
37961
38055
|
this.clearHoverTimeout();
|
|
37962
38056
|
return;
|
|
37963
38057
|
}
|
|
37964
38058
|
const tooltip = this.queryTooltip(composedPath);
|
|
38059
|
+
this.hoveredTooltip = tooltip;
|
|
37965
38060
|
if (this.isClosableClickedTooltip(tooltip)) {
|
|
37966
38061
|
return;
|
|
37967
38062
|
}
|
|
@@ -37969,9 +38064,8 @@ class TooltipManager {
|
|
|
37969
38064
|
if (tooltip) {
|
|
37970
38065
|
this.toggleHoveredTooltip(tooltip, true);
|
|
37971
38066
|
}
|
|
37972
|
-
else if (
|
|
37973
|
-
this.
|
|
37974
|
-
this.toggleHoveredTooltip(activeTooltipEl, false);
|
|
38067
|
+
else if (activeTooltip) {
|
|
38068
|
+
this.toggleHoveredTooltip(activeTooltip, false);
|
|
37975
38069
|
}
|
|
37976
38070
|
};
|
|
37977
38071
|
this.pointerDownHandler = (event) => {
|
|
@@ -37997,6 +38091,9 @@ class TooltipManager {
|
|
|
37997
38091
|
return;
|
|
37998
38092
|
}
|
|
37999
38093
|
this.closeExistingTooltip();
|
|
38094
|
+
if (tooltip !== this.hoveredTooltip) {
|
|
38095
|
+
return;
|
|
38096
|
+
}
|
|
38000
38097
|
this.toggleTooltip(tooltip, value);
|
|
38001
38098
|
}, TOOLTIP_DELAY_MS);
|
|
38002
38099
|
};
|
|
@@ -38040,9 +38137,9 @@ class TooltipManager {
|
|
|
38040
38137
|
this.hoverTimeout = null;
|
|
38041
38138
|
}
|
|
38042
38139
|
closeExistingTooltip() {
|
|
38043
|
-
const {
|
|
38044
|
-
if (
|
|
38045
|
-
this.toggleTooltip(
|
|
38140
|
+
const { activeTooltip } = this;
|
|
38141
|
+
if (activeTooltip?.open) {
|
|
38142
|
+
this.toggleTooltip(activeTooltip, false);
|
|
38046
38143
|
}
|
|
38047
38144
|
}
|
|
38048
38145
|
toggleFocusedTooltip(tooltip, value) {
|
|
@@ -38055,7 +38152,7 @@ class TooltipManager {
|
|
|
38055
38152
|
toggleTooltip(tooltip, value) {
|
|
38056
38153
|
tooltip.open = value;
|
|
38057
38154
|
if (value) {
|
|
38058
|
-
this.
|
|
38155
|
+
this.activeTooltip = tooltip;
|
|
38059
38156
|
}
|
|
38060
38157
|
}
|
|
38061
38158
|
queryFocusedTooltip(event, value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.4.0-next.
|
|
3
|
+
"version": "1.4.0-next.9",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@babel/preset-react": "7.18.6",
|
|
86
86
|
"@esri/calcite-base": "^1.2.0",
|
|
87
87
|
"@esri/calcite-colors": "6.1.0",
|
|
88
|
-
"@esri/calcite-ui-icons": "3.22.
|
|
88
|
+
"@esri/calcite-ui-icons": "3.22.2",
|
|
89
89
|
"@esri/eslint-plugin-calcite-components": "0.2.2",
|
|
90
90
|
"@stencil-community/eslint-plugin": "0.5.0",
|
|
91
91
|
"@stencil/postcss": "2.1.0",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as a,c as t,h as i,H as o,a as e}from"./p-285f16a5.js";import{c as n,d as r}from"./p-3401a9d5.js";import{s as c,g as s}from"./p-7620a6dc.js";import{s as l,a as d,c as p}from"./p-f3646d69.js";import{c as m,d as h}from"./p-56f76acb.js";import{u,c as g,d as f,s as x}from"./p-4ca219cb.js";import{t as b,E as y}from"./p-1d2b5776.js";import{c as w}from"./p-8110a0aa.js";import"./p-88150a71.js";import"./p-d0ce0619.js";import"./p-ac7ab3bc.js";import"./p-08b9b673.js";import"./p-6c0bfe2b.js";const v="expand-tooltip",k=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.handleDefaultSlotChange=a=>{const t=c(a).filter((a=>a?.matches("calcite-action-group")));this.setGroupLayout(t)},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(a){b({parent:this.el,expanded:a})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){n(this),m(this),g(this)}disconnectedCallback(){h(this),f(this),r(this)}async componentWillLoad(){l(this);const{el:a,expanded:t}=this;b({parent:a,expanded:t}),await x(this)}componentDidLoad(){d(this)}async setFocus(){await p(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(a){a.forEach((a=>a.layout=this.layout))}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,messages:o,el:e,position:n,toggleExpand:r,scale:c,layout:l}=this,d=s(e,v),p=t?null:i(y,{el:e,expanded:a,intlCollapse:o.collapse,intlExpand:o.expand,position:n,scale:c,toggle:r,tooltip:d,ref:this.setExpandToggleRef});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:c},i("slot",{name:v}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{k as calcite_action_pad}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{f as t,h as o}from"./p-285f16a5.js";import{b as e}from"./p-7620a6dc.js";import{S as n}from"./p-08b9b673.js";import{S as a}from"./p-6c0bfe2b.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:o,expanded:e,overflowCount:a})=>{let i=a;o.reverse().forEach((o=>{let a=0;const c=s(o).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const u=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),u=t?a:n,d=["chevrons-left","chevrons-right"];h&&d.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c),g=o("calcite-action",{icon:t?f?d[1]:d[0]:f?d[0]:d[1],onClick:i,scale:p,text:u,textEnabled:t,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s})});return g};export{u as E,p as a,r as b,l as g,i as o,s as q,h as t}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-285f16a5.js";import{c as o}from"./p-8110a0aa.js";const n=new Set;let a;const s={childList:!0};function c(t){a||(a=o("mutation",i)),a.observe(t.el,s)}function f(t){n.delete(t.el),i(a.takeRecords()),a.disconnect();for(const[t]of n.entries())a.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{c,f as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,a as o}from"./p-285f16a5.js";import{t as s}from"./p-7620a6dc.js";import{c,d as n,H as r}from"./p-4ce3f0cc.js";import{g as l}from"./p-88150a71.js";import{u as h}from"./p-ff342ff3.js";import{i as d}from"./p-ac7ab3bc.js";import{c as m,d as p,g as u}from"./p-de4a323b.js";import{c as f,s as b,a as v}from"./p-f3646d69.js";import"./p-d0ce0619.js";const g=class{constructor(a){t(this,a),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{d(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){await f(this),this.toggleEl?.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${l()}`,m(this),c(this)}disconnectedCallback(){p(this),n(this)}componentWillLoad(){b(this)}componentDidLoad(){v(this)}componentDidRender(){h(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":s(this.checked),"aria-label":u(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,role:"checkbox",tabIndex:this.disabled?void 0:0,ref:t=>this.toggleEl=t},a("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},a("path",{d:this.getPath()})),a("slot",null)),a(r,{component:this}))}get el(){return o(this)}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{g as calcite_checkbox}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-285f16a5.js";import{g as t}from"./p-56f76acb.js";const s={};function o(){throw new Error("could not fetch component message bundle")}function c(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await i(n,n.effectiveLocale),c(n)}async function i(c,a){const{el:i}=c,e=i.tagName.toLowerCase().replace("calcite-","");return async function(t,c){const a=`${c}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>(n.ok||o(),n.json()))).catch((()=>o()))),s[a]}(t(a,"t9n"),e)}async function e(n,t){n.defaultMessages=await i(n,t),c(n)}function f(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){c(this)}export{f as c,u as d,a as s,e as u}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as a,c as i,h as t,a as e}from"./p-285f16a5.js";import{t as n}from"./p-7620a6dc.js";import{s as c,a as o,c as r}from"./p-f3646d69.js";import{c as s,d as l}from"./p-56f76acb.js";import{c as d,s as m,d as h,u as f}from"./p-4ca219cb.js";import"./p-88150a71.js";import"./p-d0ce0619.js";import"./p-ac7ab3bc.js";import"./p-8110a0aa.js";const u=class{constructor(t){a(this,t),this.calciteHandleNudge=i(this,"calciteHandleNudge",6),this.handleKeyDown=a=>{switch(a.key){case" ":this.activated=!this.activated,a.preventDefault();break;case"ArrowUp":if(!this.activated)return;a.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.activated)return;a.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.activated=!1},this.activated=!1,this.dragHandle=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){d(this),s(this)}async componentWillLoad(){c(this),await m(this)}componentDidLoad(){o(this)}disconnectedCallback(){h(this),l(this)}effectiveLocaleChange(){f(this,this.effectiveLocale)}async setFocus(){await r(this),this.handleButton?.focus()}render(){return t("span",{"aria-pressed":n(this.activated),class:{handle:!0,"handle--activated":this.activated},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",title:this.messages.dragHandle,ref:a=>{this.handleButton=a}},t("calcite-icon",{icon:"drag",scale:"s"}))}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};u.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex}.handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}";export{u as calcite_handle}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as a,a as n}from"./p-285f16a5.js";import{q as o,i as s,t as r}from"./p-7620a6dc.js";import{c,b as l,a as h,r as d,F as f}from"./p-61e10cd6.js";import{g as m}from"./p-88150a71.js";import{c as p,d as u}from"./p-bd22a68d.js";import{F as g}from"./p-a0de8dfd.js";import"./p-d0ce0619.js";import"./p-64f6ce40.js";const v="aria-describedby";function y(t){const{referenceElement:i}=t;return("string"==typeof i?o(t,{id:i}):i)||null}const b=new class{constructor(){this.registeredElements=new WeakMap,this.hoverTimeout=null,this.clickedTooltip=null,this.activeTooltipEl=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltipEl:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeExistingTooltip();const e=y(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltipEl:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const a=this.queryTooltip(i);this.isClosableClickedTooltip(a)||(this.clickedTooltip=null,a?this.toggleHoveredTooltip(a,!0):e&&(this.clearHoverTimeout(),this.toggleHoveredTooltip(e,!1)))},this.pointerDownHandler=t=>{if(!s(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.toggleHoveredTooltip=(t,i)=>{this.hoverTimeout=window.setTimeout((()=>{null!==this.hoverTimeout&&(this.closeExistingTooltip(),this.toggleTooltip(t,i))}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverTimeout(){window.clearTimeout(this.hoverTimeout),this.hoverTimeout=null}closeExistingTooltip(){const{activeTooltipEl:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeExistingTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,i&&(this.activeTooltipEl=t)}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}},w=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${m()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,p(this)},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=y(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:a}=this;t&&e&&!a&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(v,i),b.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(v),b.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){p(this),this.setUpReferenceElement(this.hasLoaded)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),h(this,this.effectiveReferenceElement,this.el),u(this)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:a,overlayPositioning:n,offsetDistance:o,offsetSkidding:s,arrowEl:r}=this;return d(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:a,offsetDistance:o,offsetSkidding:s,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:n,floatingLayout:o}=this,s=t&&n,c=!s;return e(a,{"aria-hidden":r(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"tooltip"},e("div",{class:{[f.animation]:!0,[f.animationActive]:s},ref:this.setTransitionEl},e(g,{floatingLayout:o,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return n(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, 901);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:-1;fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}";export{w as calcite_tooltip}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-285f16a5.js";const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,n=a/2,d="vertical"===i,l=`M0,0 H${a} L${a-n},${h} Q${n},${h} ${n},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(d?0:s)}`,width:a+(d?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:l,fill:"none","stroke-width":s+1}),t("path",{d:l,stroke:"none"}))};export{i as F}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-285f16a5.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const e=r.level?`h${r.level}`:"div";return delete r.level,t(e,{...r},a)};export{a as H,r as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,a as n}from"./p-285f16a5.js";import{S as e}from"./p-010e90fc.js";import{u as s}from"./p-ff342ff3.js";import{c as o}from"./p-8110a0aa.js";const c=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=o("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){s(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,s=this.items.indexOf(n);let o,c=!1;"up"===i?0===s?c=!0:o=s-1:s===e?o=0:s===e-1?c=!0:o=s+2,this.mutationObserver?.disconnect(),c?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[o]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{c as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,h as a,a as t}from"./p-285f16a5.js";import{h as e}from"./p-7620a6dc.js";import{h as n,i as r}from"./p-f025faa7.js";import"./p-88150a71.js";import"./p-d0ce0619.js";const c=class{constructor(a){i(this,a),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return a("img",{alt:"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const i=this.generateInitials(),t=this.generateFillColor();return a("span",{class:"background",style:{backgroundColor:t}},i?a("span",{"aria-hidden":"true",class:"initials"},i):a("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:i,username:a,fullName:t,el:c}=this,o=e(c),s=i&&`#${i.substr(i.length-6)}`,l=a||t||"",m=s&&r(s)?s:function(i){let a=0;for(let t=0;t<i.length;t++)a=i.charCodeAt(t)+((a<<5)-a);let t="#";for(let i=0;i<3;i++)t+=("00"+(a>>8*i&255).toString(16)).substr(-2);return t}(l);return(i||l)&&r(m)?`hsl(${function(i){return function(i){let{r:a,g:t,b:e}=i;a/=255,t/=255,e/=255;const n=Math.max(a,t,e),r=Math.min(a,t,e),c=n-r;if(n===r)return 0;let o=(n+r)/2;switch(n){case a:o=(t-e)/c+(t<e?6:0);break;case t:o=(e-a)/c+2;break;case e:o=(a-t)/c+4}return Math.round(60*o)}(n(i))}(m)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:i,username:a}=this;return i?i.trim().split(" ").map((i=>i.substring(0,1))).join(""):!!a&&a.substring(0,2)}get el(){return t(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}";export{c as calcite_avatar}
|