@esri/calcite-components 1.4.1-next.0 → 1.4.1-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-eb60336a.js → p-004dd1d6.js} +1 -1
- package/dist/calcite/p-01860433.js +6 -0
- package/dist/calcite/{p-f75ede9c.js → p-05107f5a.js} +1 -1
- package/dist/calcite/p-0685619c.entry.js +6 -0
- package/dist/calcite/{p-e44a9f2a.entry.js → p-09b50b91.entry.js} +2 -2
- package/dist/calcite/{p-267707d6.entry.js → p-0bae5668.entry.js} +2 -2
- package/dist/calcite/{p-f737d5c5.entry.js → p-0be71862.entry.js} +2 -2
- package/dist/calcite/p-0cffaf5d.js +6 -0
- package/dist/calcite/{p-694f9009.entry.js → p-0e4eddf7.entry.js} +2 -2
- package/dist/calcite/{p-8083000c.entry.js → p-0efd9a8e.entry.js} +2 -2
- package/dist/calcite/{p-879b2ec6.entry.js → p-123bdb48.entry.js} +2 -2
- package/dist/calcite/{p-f2a061f1.entry.js → p-12a80716.entry.js} +2 -2
- package/dist/calcite/{p-b628847c.entry.js → p-14c077f1.entry.js} +2 -2
- package/dist/calcite/{p-ed7c4fee.entry.js → p-1976aed8.entry.js} +2 -2
- package/dist/calcite/p-19872ceb.js +6 -0
- package/dist/calcite/{p-4402dee7.js → p-214cb5d0.js} +1 -1
- package/dist/calcite/{p-7797b93b.js → p-21698679.js} +1 -1
- package/dist/calcite/{p-fd0e6b17.entry.js → p-23c91700.entry.js} +2 -2
- package/dist/calcite/{p-a7c29468.js → p-2496449c.js} +2 -2
- package/dist/calcite/{p-44702b00.js → p-293ec102.js} +2 -2
- package/dist/calcite/{p-c3c7497b.entry.js → p-2b334a62.entry.js} +2 -2
- package/dist/calcite/{p-bc9452ba.js → p-2c5f921d.js} +1 -1
- package/dist/calcite/{p-97658f9d.js → p-317c752a.js} +1 -1
- package/dist/calcite/{p-6f4769bf.entry.js → p-318bc32a.entry.js} +2 -2
- package/dist/calcite/{p-f9c0be8f.js → p-31bbd82e.js} +2 -2
- package/dist/calcite/{p-19246293.js → p-324765f2.js} +1 -1
- package/dist/calcite/{p-2b28f791.entry.js → p-3380d581.entry.js} +2 -2
- package/dist/calcite/{p-0441f536.js → p-38139b64.js} +2 -2
- package/dist/calcite/{p-f60dfe03.entry.js → p-3b86130a.entry.js} +2 -2
- package/dist/calcite/{p-45cbb9d7.entry.js → p-3fa3a4a5.entry.js} +2 -2
- package/dist/calcite/{p-5e7eae95.entry.js → p-3febd261.entry.js} +2 -2
- package/dist/calcite/{p-1f430fb5.entry.js → p-3fefa680.entry.js} +2 -2
- package/dist/calcite/{p-07abe243.entry.js → p-414d8f00.entry.js} +2 -2
- package/dist/calcite/{p-6a766e14.js → p-42bfe666.js} +2 -2
- package/dist/calcite/{p-d265aa93.entry.js → p-432f58bc.entry.js} +2 -2
- package/dist/calcite/{p-51790cd7.entry.js → p-46a44e0b.entry.js} +2 -2
- package/dist/calcite/p-4818340d.entry.js +6 -0
- package/dist/calcite/{p-4ee87fa9.entry.js → p-4daedefa.entry.js} +2 -2
- package/dist/calcite/{p-d0a70b31.entry.js → p-52a623a6.entry.js} +2 -2
- package/dist/calcite/p-5664f7b6.js +6 -0
- package/dist/calcite/{p-5eb09a1c.entry.js → p-568e969b.entry.js} +2 -2
- package/dist/calcite/{p-f4272f68.entry.js → p-57aab5c3.entry.js} +2 -2
- package/dist/calcite/{p-9abd2f7b.entry.js → p-5b366a60.entry.js} +2 -2
- package/dist/calcite/{p-ba759ad9.entry.js → p-5db9e2e3.entry.js} +2 -2
- package/dist/calcite/{p-d158e61e.js → p-60afa680.js} +1 -1
- package/dist/calcite/{p-cf843ef0.js → p-61a751a5.js} +1 -1
- package/dist/calcite/{p-7c159717.entry.js → p-660e6569.entry.js} +2 -2
- package/dist/calcite/p-663ff1ac.entry.js +6 -0
- package/dist/calcite/{p-1ca03a34.js → p-6b6c5f9f.js} +2 -2
- package/dist/calcite/{p-66babbeb.entry.js → p-6c97c450.entry.js} +2 -2
- package/dist/calcite/{p-c6c2b85f.entry.js → p-6fefde6c.entry.js} +2 -2
- package/dist/calcite/p-70f58cea.entry.js +6 -0
- package/dist/calcite/{p-f2d314de.js → p-74531ae1.js} +2 -2
- package/dist/calcite/{p-1d2ad5d5.entry.js → p-758730aa.entry.js} +2 -2
- package/dist/calcite/{p-4faf66f0.entry.js → p-7611b505.entry.js} +2 -2
- package/dist/calcite/{p-d8dac268.js → p-778942e4.js} +1 -1
- package/dist/calcite/{p-39ced97e.entry.js → p-7e3e1abb.entry.js} +2 -2
- package/dist/calcite/{p-186444f5.entry.js → p-80d1fd1a.entry.js} +2 -2
- package/dist/calcite/{p-4bfa11f4.entry.js → p-81d9434a.entry.js} +2 -2
- package/dist/calcite/{p-1b286859.entry.js → p-8251d6c7.entry.js} +2 -2
- package/dist/calcite/{p-bf5b4c7b.entry.js → p-84db53fe.entry.js} +2 -2
- package/dist/calcite/{p-6e07a534.entry.js → p-852eafa5.entry.js} +2 -2
- package/dist/calcite/p-85880f27.entry.js +6 -0
- package/dist/calcite/{p-c6bc52fb.entry.js → p-86e1d9ed.entry.js} +2 -2
- package/dist/calcite/{p-89b041dc.js → p-8d591499.js} +2 -2
- package/dist/calcite/p-8dc911bd.entry.js +6 -0
- package/dist/calcite/{p-0c372fc0.js → p-8f992f9e.js} +2 -2
- package/dist/calcite/{p-b688cfd8.js → p-93977b1d.js} +2 -2
- package/dist/calcite/{p-54f2d859.entry.js → p-9409cd9e.entry.js} +2 -2
- package/dist/calcite/{p-d6c960d0.js → p-94544c9a.js} +2 -2
- package/dist/calcite/{p-3b8d1d51.entry.js → p-95c23a20.entry.js} +2 -2
- package/dist/calcite/{p-d26b1ab3.entry.js → p-9b9abf1b.entry.js} +2 -2
- package/dist/calcite/{p-cb7a8eb0.entry.js → p-a02d1b15.entry.js} +2 -2
- package/dist/calcite/{p-d6cc1cd8.js → p-a1797d09.js} +1 -1
- package/dist/calcite/{p-357da574.entry.js → p-a1fd2538.entry.js} +2 -2
- package/dist/calcite/{p-996336eb.js → p-a4532a67.js} +2 -2
- package/dist/calcite/{p-4959ba65.js → p-a4f64bae.js} +1 -1
- package/dist/calcite/{p-c89209a1.js → p-a99a6fe0.js} +1 -1
- package/dist/calcite/{p-19a0790a.entry.js → p-ad8b4120.entry.js} +2 -2
- package/dist/calcite/{p-3af86e95.entry.js → p-ad99271c.entry.js} +2 -2
- package/dist/calcite/{p-200d9460.entry.js → p-b0d34ac5.entry.js} +2 -2
- package/dist/calcite/{p-7a6c204e.js → p-b57530c0.js} +1 -1
- package/dist/calcite/{p-54456c59.entry.js → p-b5fbccc3.entry.js} +2 -2
- package/dist/calcite/{p-49cdc389.entry.js → p-b7b04d78.entry.js} +2 -2
- package/dist/calcite/{p-7cce27f1.entry.js → p-b8673720.entry.js} +2 -2
- package/dist/calcite/{p-f8d7a5d4.js → p-b8d661b3.js} +1 -1
- package/dist/calcite/{p-c1106eab.entry.js → p-bcaf101d.entry.js} +2 -2
- package/dist/calcite/{p-b7a5574c.js → p-be9e9747.js} +1 -1
- package/dist/calcite/p-c7c8a3d1.js +6 -0
- package/dist/calcite/p-c94c1b5e.entry.js +6 -0
- package/dist/calcite/{p-fbc8d8d1.entry.js → p-d48710cf.entry.js} +2 -2
- package/dist/calcite/{p-51f33f4e.entry.js → p-d514ec28.entry.js} +2 -2
- package/dist/calcite/{p-3ad04e4c.js → p-d5acc26d.js} +2 -2
- package/dist/calcite/{p-b40f66e1.entry.js → p-d72a2d1f.entry.js} +2 -2
- package/dist/calcite/{p-668712ee.entry.js → p-e0f30656.entry.js} +2 -2
- package/dist/calcite/p-e43edcec.entry.js +6 -0
- package/dist/calcite/{p-b4b0f8da.entry.js → p-e605af99.entry.js} +2 -2
- package/dist/calcite/{p-df7eed64.entry.js → p-e85ef43e.entry.js} +2 -2
- package/dist/calcite/{p-97e6e7a8.entry.js → p-ff26e280.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-06834cbe.js → ExpandToggle-d49ddfbb.js} +5 -5
- package/dist/cjs/{FloatingArrow-ffb4cf31.js → FloatingArrow-9909f42a.js} +2 -2
- package/dist/cjs/{Heading-b9f73b94.js → Heading-95519ac1.js} +2 -2
- package/dist/cjs/{app-globals-c8000f11.js → app-globals-8648fbd8.js} +2 -2
- package/dist/cjs/{array-b509586d.js → array-065a6966.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- 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 +6 -6
- 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 +16 -16
- 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 +37 -40
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +76 -13
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +15 -12
- 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 +14 -14
- 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 +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
- 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 +10 -10
- 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 +9 -9
- 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-da6ff0e0.js → composed-offset-position.esm-62406ecf.js} +1 -1
- package/dist/cjs/{conditionalSlot-bcec77c2.js → conditionalSlot-80fb94c8.js} +3 -3
- package/dist/cjs/{debounce-5308be39.js → debounce-ba625d71.js} +1 -1
- package/dist/cjs/{dom-3b414ec5.js → dom-177c7358.js} +3 -3
- package/dist/cjs/{filter-e3d62365.js → filter-f19d8373.js} +2 -2
- package/dist/cjs/{floating-ui-b5febfd6.js → floating-ui-66681977.js} +4 -4
- package/dist/cjs/{focusTrapComponent-c187718d.js → focusTrapComponent-2310132c.js} +2 -2
- package/dist/cjs/{form-37afd6b9.js → form-95b7c780.js} +3 -3
- package/dist/cjs/{guid-415ed82a.js → guid-3776f853.js} +1 -1
- package/dist/cjs/{index-e873a088.js → index-c5472ca6.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-8736b12f.js → interactive-13d268e5.js} +1 -1
- package/dist/cjs/{key-bcf95257.js → key-71b7da2b.js} +1 -1
- package/dist/cjs/{label-476da207.js → label-321dcad3.js} +2 -2
- package/dist/cjs/{loadable-f4184262.js → loadable-5a78a969.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-377900b9.js → locale-947cff83.js} +4 -4
- package/dist/cjs/{math-cbe93430.js → math-72eed2bb.js} +1 -1
- package/dist/cjs/{observers-a31f50a7.js → observers-40734005.js} +1 -1
- package/dist/cjs/{openCloseComponent-aac00aa8.js → openCloseComponent-bfcc6163.js} +2 -2
- package/dist/cjs/{resources-730d2412.js → resources-55b9f154.js} +1 -1
- package/dist/cjs/{resources-85c434c3.js → resources-6b99dc32.js} +1 -1
- package/dist/cjs/{resources-1ed876b9.js → resources-a900c0e0.js} +1 -1
- package/dist/cjs/{resources-c521866c.js → resources-c6354a76.js} +1 -1
- package/dist/cjs/{resources-49a3948f.js → resources-c855fffb.js} +5 -5
- package/dist/cjs/{resources-23a18758.js → resources-d713a4fe.js} +1 -1
- package/dist/cjs/{sortableComponent-4b24d3c9.js → sortableComponent-263b2b36.js} +2 -2
- package/dist/cjs/{t9n-dd4f6bd4.js → t9n-de34a47b.js} +3 -3
- package/dist/cjs/{throttle-e3d7c69e.js → throttle-e79b7184.js} +2 -2
- package/dist/cjs/{utils-52df28ea.js → utils-2042be80.js} +3 -3
- package/dist/cjs/{utils-9f89e598.js → utils-aad320f7.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +2 -2
- 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/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/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 +25 -32
- 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.css +4 -0
- 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/menu/menu.js +11 -26
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.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/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +17 -16
- package/dist/collection/components/navigation-logo/navigation-logo.js +2 -2
- package/dist/collection/components/navigation-logo/resources.js +4 -2
- package/dist/collection/components/navigation-user/navigation-user.css +12 -13
- package/dist/collection/components/navigation-user/navigation-user.js +2 -2
- package/dist/collection/components/navigation-user/resources.js +3 -2
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/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/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.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 +1 -1
- 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 +1 -1
- 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 +7 -8
- 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/sortableComponent.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/avatar.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +25 -28
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +6 -4
- package/dist/components/calcite-navigation-user.js +5 -4
- package/dist/components/calcite-navigation.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-stack.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 +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +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/menu.js +69 -5
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortableComponent.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 +1 -1
- 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-1f5afa2f.js → ExpandToggle-4511b35f.js} +5 -5
- package/dist/esm/{FloatingArrow-150a3c91.js → FloatingArrow-c55586a3.js} +2 -2
- package/dist/esm/{Heading-388adf14.js → Heading-6f68263f.js} +2 -2
- package/dist/esm/{app-globals-d8dd0d89.js → app-globals-147c6d18.js} +2 -2
- package/dist/esm/{array-64d9effa.js → array-2fe1b6ad.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- 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 +6 -6
- 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 +16 -16
- 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 +37 -40
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +76 -13
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +15 -12
- 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 +14 -14
- 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 +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +5 -5
- 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 +10 -10
- 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 +9 -9
- 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-cabc9f8a.js → composed-offset-position.esm-4ef01dc7.js} +1 -1
- package/dist/esm/{conditionalSlot-222d6402.js → conditionalSlot-8af37ffa.js} +3 -3
- package/dist/esm/{debounce-97c51305.js → debounce-fabde551.js} +1 -1
- package/dist/esm/{dom-62c46c9f.js → dom-2bdd8819.js} +3 -3
- package/dist/esm/{filter-38d84dc9.js → filter-932c7628.js} +2 -2
- package/dist/esm/{floating-ui-3a4ad39a.js → floating-ui-0418ab2e.js} +4 -4
- package/dist/esm/{focusTrapComponent-bbaaad2f.js → focusTrapComponent-1be92722.js} +2 -2
- package/dist/esm/{form-fe152594.js → form-4087330c.js} +3 -3
- package/dist/esm/{guid-1644ae7a.js → guid-dcf698f9.js} +1 -1
- package/dist/esm/{index-c374895c.js → index-b1d0c2e7.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-4516347e.js → interactive-2241201e.js} +1 -1
- package/dist/esm/{key-090d3f3b.js → key-fd401552.js} +1 -1
- package/dist/esm/{label-b46faad8.js → label-9a7d5f05.js} +2 -2
- package/dist/esm/{loadable-5c1c6c42.js → loadable-2659822c.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-a1f369b8.js → locale-8d7f76d2.js} +4 -4
- package/dist/esm/{math-893d580b.js → math-ccfd3a67.js} +1 -1
- package/dist/esm/{observers-51c12470.js → observers-2bf90437.js} +1 -1
- package/dist/esm/{openCloseComponent-5ef9cd22.js → openCloseComponent-2319213d.js} +2 -2
- package/dist/esm/{resources-6801c8ff.js → resources-42b5a527.js} +1 -1
- package/dist/esm/{resources-01320284.js → resources-63b64825.js} +1 -1
- package/dist/esm/{resources-c939264b.js → resources-68020fe4.js} +1 -1
- package/dist/esm/{resources-405c668f.js → resources-8db69e81.js} +1 -1
- package/dist/esm/{resources-311cca43.js → resources-c3965cdf.js} +1 -1
- package/dist/esm/{resources-3250040e.js → resources-fd4c1af1.js} +5 -5
- package/dist/esm/{sortableComponent-05f07da0.js → sortableComponent-33418565.js} +2 -2
- package/dist/esm/{t9n-4b256485.js → t9n-04ba3670.js} +3 -3
- package/dist/esm/{throttle-e04d16d0.js → throttle-42135f0c.js} +2 -2
- package/dist/esm/{utils-ffb6968e.js → utils-7b8ee7fb.js} +1 -1
- package/dist/esm/{utils-5b36dc28.js → utils-92666e40.js} +3 -3
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +0 -5
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +7 -9
- package/dist/types/components/navigation-logo/navigation-logo.d.ts +0 -2
- package/dist/types/components/navigation-logo/resources.d.ts +2 -0
- package/dist/types/components/navigation-user/resources.d.ts +1 -0
- package/dist/types/components.d.ts +0 -4
- package/dist/types/utils/globalAttributes.d.ts +6 -7
- package/hydrate/index.js +114 -51
- package/package.json +1 -1
- package/dist/calcite/p-07153ac0.js +0 -6
- package/dist/calcite/p-090f153a.entry.js +0 -6
- package/dist/calcite/p-0fa72eda.js +0 -6
- package/dist/calcite/p-1132e545.entry.js +0 -6
- package/dist/calcite/p-42e6d3c9.js +0 -6
- package/dist/calcite/p-547b0e9d.entry.js +0 -6
- package/dist/calcite/p-6ac0b51a.js +0 -6
- package/dist/calcite/p-6b61b51a.entry.js +0 -6
- package/dist/calcite/p-7772b528.js +0 -6
- package/dist/calcite/p-999415c9.entry.js +0 -6
- package/dist/calcite/p-e058a6d9.entry.js +0 -6
- package/dist/calcite/p-fd226448.entry.js +0 -6
- package/dist/calcite/p-fd57af96.entry.js +0 -6
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { VNode } from "../../stencil-public-runtime";
|
|
1
2
|
import { LoadableComponent } from "../../utils/loadable";
|
|
2
3
|
import { LocalizedComponent } from "../../utils/locale";
|
|
3
4
|
import { T9nComponent } from "../../utils/t9n";
|
|
4
5
|
import { MenuMessages } from "./assets/menu/t9n";
|
|
6
|
+
import { GlobalAttrComponent } from "../../utils/globalAttributes";
|
|
5
7
|
type Layout = "horizontal" | "vertical";
|
|
6
|
-
export declare class CalciteMenu implements LocalizedComponent, T9nComponent, LoadableComponent {
|
|
8
|
+
export declare class CalciteMenu implements GlobalAttrComponent, LocalizedComponent, T9nComponent, LoadableComponent {
|
|
7
9
|
el: HTMLCalciteMenuElement;
|
|
8
10
|
/**
|
|
9
11
|
* Accessible name for the component.
|
|
@@ -25,16 +27,12 @@ export declare class CalciteMenu implements LocalizedComponent, T9nComponent, Lo
|
|
|
25
27
|
* @internal
|
|
26
28
|
*/
|
|
27
29
|
messages: MenuMessages;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the role of `menu` component. Marked as internal for parsing the role attribute in `menu-item` component shadowDOM.
|
|
30
|
-
* This property falls outside of the `globalAttribute` interface pattern because it is immutable and has a default value.
|
|
31
|
-
* @internal
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
role: string;
|
|
35
30
|
defaultMessages: MenuMessages;
|
|
36
31
|
effectiveLocale: string;
|
|
37
32
|
effectiveLocaleChange(): void;
|
|
33
|
+
globalAttributes: {
|
|
34
|
+
role: string;
|
|
35
|
+
};
|
|
38
36
|
menuItems: HTMLCalciteMenuItemElement[];
|
|
39
37
|
connectedCallback(): void;
|
|
40
38
|
componentWillLoad(): Promise<void>;
|
|
@@ -46,6 +44,6 @@ export declare class CalciteMenu implements LocalizedComponent, T9nComponent, Lo
|
|
|
46
44
|
handleMenuSlotChange: (event: Event) => void;
|
|
47
45
|
focusParentElement(el: HTMLCalciteMenuItemElement): void;
|
|
48
46
|
setMenuItemLayout(items: HTMLCalciteMenuItemElement[], layout: Layout): void;
|
|
49
|
-
render():
|
|
47
|
+
render(): VNode;
|
|
50
48
|
}
|
|
51
49
|
export {};
|
|
@@ -10,7 +10,6 @@ export declare class CalciteNavigationLogo implements LoadableComponent {
|
|
|
10
10
|
label: string;
|
|
11
11
|
/**
|
|
12
12
|
* Defines the relationship between the `href` value and the current document.
|
|
13
|
-
*
|
|
14
13
|
* @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
15
14
|
*/
|
|
16
15
|
rel: string;
|
|
@@ -18,7 +17,6 @@ export declare class CalciteNavigationLogo implements LoadableComponent {
|
|
|
18
17
|
description: string;
|
|
19
18
|
/**
|
|
20
19
|
* Specifies where to open the linked document defined in the `href` property.
|
|
21
|
-
*
|
|
22
20
|
* @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
23
21
|
*/
|
|
24
22
|
target: string;
|
|
@@ -2546,10 +2546,6 @@ export namespace Components {
|
|
|
2546
2546
|
* Made into a prop for testing purposes only.
|
|
2547
2547
|
*/
|
|
2548
2548
|
"messages": MenuMessages;
|
|
2549
|
-
/**
|
|
2550
|
-
* Specifies the role of `menu` component. Marked as internal for parsing the role attribute in `menu-item` component shadowDOM. This property falls outside of the `globalAttribute` interface pattern because it is immutable and has a default value.
|
|
2551
|
-
*/
|
|
2552
|
-
"role": string;
|
|
2553
2549
|
/**
|
|
2554
2550
|
* Sets focus on the component's first focusable element.
|
|
2555
2551
|
*/
|
|
@@ -13,9 +13,9 @@ export interface GlobalAttrComponent {
|
|
|
13
13
|
*/
|
|
14
14
|
readonly el: HTMLElement;
|
|
15
15
|
/**
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* The object that stores global attributes to apply internally during rendering.
|
|
17
|
+
*
|
|
18
|
+
* This prop should use the `@State` decorator.
|
|
19
19
|
*/
|
|
20
20
|
globalAttributes: AttributeObject;
|
|
21
21
|
}
|
|
@@ -23,17 +23,16 @@ export interface GlobalAttrComponent {
|
|
|
23
23
|
* Helper to set up listening for changes to global attributes.
|
|
24
24
|
*
|
|
25
25
|
* render(): VNode {
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* return (<Host>
|
|
27
|
+
* <ul {...this.globalAttributes}></div>
|
|
28
|
+
* </Host>);
|
|
28
29
|
* }
|
|
29
|
-
*
|
|
30
30
|
* @param component
|
|
31
31
|
* @param attributeFilter
|
|
32
32
|
*/
|
|
33
33
|
export declare function watchGlobalAttributes(component: GlobalAttrComponent, attributeFilter: AllowedGlobalAttribute[]): void;
|
|
34
34
|
/**
|
|
35
35
|
* Helper remove listening for changes to inherited attributes.
|
|
36
|
-
*
|
|
37
36
|
* @param component
|
|
38
37
|
*/
|
|
39
38
|
export declare function unwatchGlobalAttributes(component: GlobalAttrComponent): void;
|
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.1-next.
|
|
4
|
+
* v1.4.1-next.2
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5969,7 +5969,7 @@ function createObserver(type, callback, options) {
|
|
|
5969
5969
|
}
|
|
5970
5970
|
|
|
5971
5971
|
const observed = new Set();
|
|
5972
|
-
let mutationObserver$
|
|
5972
|
+
let mutationObserver$2;
|
|
5973
5973
|
const observerOptions = { childList: true };
|
|
5974
5974
|
/**
|
|
5975
5975
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
@@ -5982,10 +5982,10 @@ const observerOptions = { childList: true };
|
|
|
5982
5982
|
* ```
|
|
5983
5983
|
*/
|
|
5984
5984
|
function connectConditionalSlotComponent(component) {
|
|
5985
|
-
if (!mutationObserver$
|
|
5986
|
-
mutationObserver$
|
|
5985
|
+
if (!mutationObserver$2) {
|
|
5986
|
+
mutationObserver$2 = createObserver();
|
|
5987
5987
|
}
|
|
5988
|
-
mutationObserver$
|
|
5988
|
+
mutationObserver$2.observe(component.el, observerOptions);
|
|
5989
5989
|
}
|
|
5990
5990
|
/**
|
|
5991
5991
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
@@ -6002,13 +6002,13 @@ function disconnectConditionalSlotComponent(component) {
|
|
|
6002
6002
|
// we explicitly process queued mutations and disconnect and reconnect
|
|
6003
6003
|
// the observer until MutationObserver gets an `unobserve` method
|
|
6004
6004
|
// see https://github.com/whatwg/dom/issues/126
|
|
6005
|
-
processMutations(mutationObserver$
|
|
6006
|
-
mutationObserver$
|
|
6005
|
+
processMutations$1(mutationObserver$2.takeRecords());
|
|
6006
|
+
mutationObserver$2.disconnect();
|
|
6007
6007
|
for (const [element] of observed.entries()) {
|
|
6008
|
-
mutationObserver$
|
|
6008
|
+
mutationObserver$2.observe(element, observerOptions);
|
|
6009
6009
|
}
|
|
6010
6010
|
}
|
|
6011
|
-
function processMutations(mutations) {
|
|
6011
|
+
function processMutations$1(mutations) {
|
|
6012
6012
|
mutations.forEach(({ target }) => {
|
|
6013
6013
|
forceUpdate$1(target);
|
|
6014
6014
|
});
|
|
@@ -7569,7 +7569,7 @@ const connectedComponents = new Set();
|
|
|
7569
7569
|
function connectLocalized(component) {
|
|
7570
7570
|
updateEffectiveLocale(component);
|
|
7571
7571
|
if (connectedComponents.size === 0) {
|
|
7572
|
-
mutationObserver?.observe(document.documentElement, {
|
|
7572
|
+
mutationObserver$1?.observe(document.documentElement, {
|
|
7573
7573
|
attributes: true,
|
|
7574
7574
|
attributeFilter: ["lang"],
|
|
7575
7575
|
subtree: true
|
|
@@ -7597,10 +7597,10 @@ function updateEffectiveLocale(component) {
|
|
|
7597
7597
|
function disconnectLocalized(component) {
|
|
7598
7598
|
connectedComponents.delete(component);
|
|
7599
7599
|
if (connectedComponents.size === 0) {
|
|
7600
|
-
mutationObserver.disconnect();
|
|
7600
|
+
mutationObserver$1.disconnect();
|
|
7601
7601
|
}
|
|
7602
7602
|
}
|
|
7603
|
-
const mutationObserver = createObserver();
|
|
7603
|
+
const mutationObserver$1 = createObserver();
|
|
7604
7604
|
/**
|
|
7605
7605
|
* This util helps resolve a component's locale.
|
|
7606
7606
|
* It will also fall back on the deprecated `locale` if a component implemented this previously.
|
|
@@ -11776,6 +11776,65 @@ class Button {
|
|
|
11776
11776
|
}; }
|
|
11777
11777
|
}
|
|
11778
11778
|
|
|
11779
|
+
const allowedGlobalAttributes = ["lang", "role"];
|
|
11780
|
+
const elementToComponentAndObserverOptionsMap = new Map();
|
|
11781
|
+
let mutationObserver;
|
|
11782
|
+
function updateGlobalAttributes(component, attributeFilter, reuseAttributes = false) {
|
|
11783
|
+
const { el } = component;
|
|
11784
|
+
const updatedAttributes = reuseAttributes ? component.globalAttributes : {};
|
|
11785
|
+
attributeFilter
|
|
11786
|
+
.filter((attr) => !!allowedGlobalAttributes.includes(attr) && !!el.hasAttribute(attr))
|
|
11787
|
+
.forEach((attr) => {
|
|
11788
|
+
const value = el.getAttribute(attr);
|
|
11789
|
+
if (value !== null) {
|
|
11790
|
+
updatedAttributes[attr] = value;
|
|
11791
|
+
}
|
|
11792
|
+
});
|
|
11793
|
+
component.globalAttributes = updatedAttributes;
|
|
11794
|
+
}
|
|
11795
|
+
function processMutations(mutations) {
|
|
11796
|
+
mutations.forEach(({ target }) => {
|
|
11797
|
+
const [component, options] = elementToComponentAndObserverOptionsMap.get(target);
|
|
11798
|
+
updateGlobalAttributes(component, options.attributeFilter);
|
|
11799
|
+
});
|
|
11800
|
+
}
|
|
11801
|
+
/**
|
|
11802
|
+
* Helper to set up listening for changes to global attributes.
|
|
11803
|
+
*
|
|
11804
|
+
* render(): VNode {
|
|
11805
|
+
* return (<Host>
|
|
11806
|
+
* <ul {...this.globalAttributes}></div>
|
|
11807
|
+
* </Host>);
|
|
11808
|
+
* }
|
|
11809
|
+
* @param component
|
|
11810
|
+
* @param attributeFilter
|
|
11811
|
+
*/
|
|
11812
|
+
function watchGlobalAttributes(component, attributeFilter) {
|
|
11813
|
+
const { el } = component;
|
|
11814
|
+
const observerOptions = { attributeFilter };
|
|
11815
|
+
elementToComponentAndObserverOptionsMap.set(el, [component, observerOptions]);
|
|
11816
|
+
updateGlobalAttributes(component, attributeFilter, true);
|
|
11817
|
+
if (!mutationObserver) {
|
|
11818
|
+
mutationObserver = createObserver();
|
|
11819
|
+
}
|
|
11820
|
+
mutationObserver.observe(el, observerOptions);
|
|
11821
|
+
}
|
|
11822
|
+
/**
|
|
11823
|
+
* Helper remove listening for changes to inherited attributes.
|
|
11824
|
+
* @param component
|
|
11825
|
+
*/
|
|
11826
|
+
function unwatchGlobalAttributes(component) {
|
|
11827
|
+
elementToComponentAndObserverOptionsMap.delete(component.el);
|
|
11828
|
+
// we explicitly process queued mutations and disconnect and reconnect
|
|
11829
|
+
// the observer until MutationObserver gets an `unobserve` method
|
|
11830
|
+
// see https://github.com/whatwg/dom/issues/126
|
|
11831
|
+
processMutations(mutationObserver.takeRecords());
|
|
11832
|
+
mutationObserver.disconnect();
|
|
11833
|
+
for (const [element, [, observerOptions]] of elementToComponentAndObserverOptionsMap.entries()) {
|
|
11834
|
+
mutationObserver.observe(element, observerOptions);
|
|
11835
|
+
}
|
|
11836
|
+
}
|
|
11837
|
+
|
|
11779
11838
|
const menuCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-menu: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-menu{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-menu{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-menu{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-menu{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-menu{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-menu{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-menu{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-menu:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-menu:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-menu-h{display:none}/*!@:host*/.sc-calcite-menu-h{display:flex}/*!@ul*/ul.sc-calcite-menu{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}/*!@:host([layout=vertical]) ul*/[layout=vertical].sc-calcite-menu-h ul.sc-calcite-menu{display:flex;inline-size:100%;flex-direction:column}";
|
|
11780
11839
|
|
|
11781
11840
|
class CalciteMenu {
|
|
@@ -11795,9 +11854,11 @@ class CalciteMenu {
|
|
|
11795
11854
|
this.layout = "horizontal";
|
|
11796
11855
|
this.messageOverrides = undefined;
|
|
11797
11856
|
this.messages = undefined;
|
|
11798
|
-
this.role = "menubar";
|
|
11799
11857
|
this.defaultMessages = undefined;
|
|
11800
11858
|
this.effectiveLocale = "";
|
|
11859
|
+
this.globalAttributes = {
|
|
11860
|
+
role: "menubar"
|
|
11861
|
+
};
|
|
11801
11862
|
}
|
|
11802
11863
|
handleLayoutChange(value) {
|
|
11803
11864
|
this.setMenuItemLayout(this.menuItems, value);
|
|
@@ -11816,6 +11877,7 @@ class CalciteMenu {
|
|
|
11816
11877
|
connectedCallback() {
|
|
11817
11878
|
connectLocalized(this);
|
|
11818
11879
|
connectMessages(this);
|
|
11880
|
+
watchGlobalAttributes(this, ["role"]);
|
|
11819
11881
|
}
|
|
11820
11882
|
async componentWillLoad() {
|
|
11821
11883
|
setUpLoadableComponent(this);
|
|
@@ -11827,6 +11889,7 @@ class CalciteMenu {
|
|
|
11827
11889
|
disconnectedCallback() {
|
|
11828
11890
|
disconnectLocalized(this);
|
|
11829
11891
|
disconnectMessages(this);
|
|
11892
|
+
unwatchGlobalAttributes(this);
|
|
11830
11893
|
}
|
|
11831
11894
|
//--------------------------------------------------------------------------
|
|
11832
11895
|
//
|
|
@@ -11903,7 +11966,7 @@ class CalciteMenu {
|
|
|
11903
11966
|
setMenuItemLayout(items, layout) {
|
|
11904
11967
|
items.forEach((item) => {
|
|
11905
11968
|
item.layout = layout;
|
|
11906
|
-
if (this.role === "menubar") {
|
|
11969
|
+
if (this.globalAttributes.role === "menubar") {
|
|
11907
11970
|
item.isTopLevelItem = true;
|
|
11908
11971
|
item.topLevelMenuLayout = this.layout;
|
|
11909
11972
|
}
|
|
@@ -11915,7 +11978,7 @@ class CalciteMenu {
|
|
|
11915
11978
|
//
|
|
11916
11979
|
// --------------------------------------------------------------------------
|
|
11917
11980
|
render() {
|
|
11918
|
-
return (hAsync(Host, null, hAsync("ul", { "aria-label": this.label,
|
|
11981
|
+
return (hAsync(Host, null, hAsync("ul", { "aria-label": this.label, ...this.globalAttributes }, hAsync("slot", { onSlotchange: this.handleMenuSlotChange }))));
|
|
11919
11982
|
}
|
|
11920
11983
|
static get delegatesFocus() { return true; }
|
|
11921
11984
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -11934,9 +11997,9 @@ class CalciteMenu {
|
|
|
11934
11997
|
"layout": [513],
|
|
11935
11998
|
"messageOverrides": [1040],
|
|
11936
11999
|
"messages": [1040],
|
|
11937
|
-
"role": [1],
|
|
11938
12000
|
"defaultMessages": [32],
|
|
11939
12001
|
"effectiveLocale": [32],
|
|
12002
|
+
"globalAttributes": [32],
|
|
11940
12003
|
"setFocus": [64]
|
|
11941
12004
|
},
|
|
11942
12005
|
"$listeners$": [[0, "calciteInternalMenuItemKeyEvent", "calciteInternalNavMenuItemKeyEvent"]],
|
|
@@ -12418,10 +12481,12 @@ class CalciteNavigation {
|
|
|
12418
12481
|
const CSS$W = {
|
|
12419
12482
|
container: "container",
|
|
12420
12483
|
heading: "heading",
|
|
12421
|
-
description: "description"
|
|
12484
|
+
description: "description",
|
|
12485
|
+
anchor: "anchor",
|
|
12486
|
+
image: "image"
|
|
12422
12487
|
};
|
|
12423
12488
|
|
|
12424
|
-
const navigationLogoCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-navigation-logo: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-navigation-logo{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-navigation-logo{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-navigation-logo{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-navigation-logo{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-navigation-logo{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-navigation-logo{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-navigation-logo{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-navigation-logo:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-navigation-logo:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-navigation-logo-h{display:none}/*!@:host*/.sc-calcite-navigation-logo-h{display:inline-flex;outline:2px solid transparent;outline-offset:2px}
|
|
12489
|
+
const navigationLogoCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-navigation-logo: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-navigation-logo{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-navigation-logo{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-navigation-logo{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-navigation-logo{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-navigation-logo{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-navigation-logo{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-navigation-logo{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-navigation-logo:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-navigation-logo:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-navigation-logo-h{display:none}/*!@:host*/.sc-calcite-navigation-logo-h{display:inline-flex;outline:2px solid transparent;outline-offset:2px}/*!@.anchor*/.anchor.sc-calcite-navigation-logo{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}/*!@.anchor:hover,\n.anchor:focus*/.anchor.sc-calcite-navigation-logo:hover,.anchor.sc-calcite-navigation-logo:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.anchor:focus*/.anchor.sc-calcite-navigation-logo:focus{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 )}/*!@.anchor:active*/.anchor.sc-calcite-navigation-logo:active{background-color:var(--calcite-ui-foreground-3)}/*!@.image*/.image.sc-calcite-navigation-logo{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}/*!@.image ~ .container*/.image.sc-calcite-navigation-logo~.container.sc-calcite-navigation-logo{padding-inline-start:0px}/*!@:host(:active) .anchor*/.sc-calcite-navigation-logo-h:active .anchor.sc-calcite-navigation-logo{color:var(--calcite-ui-text-1)}/*!@:host([active]) .anchor*/[active].sc-calcite-navigation-logo-h .anchor.sc-calcite-navigation-logo{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand);--calcite-ui-icon-color:var(--calcite-ui-brand)}/*!@.container*/.container.sc-calcite-navigation-logo{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}/*!@.heading*/.heading.sc-calcite-navigation-logo{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-navigation-logo{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}";
|
|
12425
12490
|
|
|
12426
12491
|
class CalciteNavigationLogo {
|
|
12427
12492
|
constructor(hostRef) {
|
|
@@ -12465,7 +12530,7 @@ class CalciteNavigationLogo {
|
|
|
12465
12530
|
// --------------------------------------------------------------------------
|
|
12466
12531
|
render() {
|
|
12467
12532
|
const { heading, description, thumbnail } = this;
|
|
12468
|
-
return (hAsync(Host, null, hAsync("a", { href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$W.container }, heading && (hAsync("span", { "aria-label": this.heading, class: CSS$W.heading, key: CSS$W.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$W.description, key: CSS$W.description }, description)))))));
|
|
12533
|
+
return (hAsync(Host, null, hAsync("a", { class: CSS$W.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$W.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$W.container }, heading && (hAsync("span", { "aria-label": this.heading, class: CSS$W.heading, key: CSS$W.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$W.description, key: CSS$W.description }, description)))))));
|
|
12469
12534
|
}
|
|
12470
12535
|
static get delegatesFocus() { return true; }
|
|
12471
12536
|
get el() { return getElement(this); }
|
|
@@ -12493,10 +12558,11 @@ class CalciteNavigationLogo {
|
|
|
12493
12558
|
const CSS$V = {
|
|
12494
12559
|
textContainer: "text-container",
|
|
12495
12560
|
fullName: "full-name",
|
|
12496
|
-
username: "username"
|
|
12561
|
+
username: "username",
|
|
12562
|
+
button: "button"
|
|
12497
12563
|
};
|
|
12498
12564
|
|
|
12499
|
-
const navigationUserCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-navigation-user: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-navigation-user{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-navigation-user{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-navigation-user{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-navigation-user{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-navigation-user{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-navigation-user{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-navigation-user{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-navigation-user:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-navigation-user:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-navigation-user-h{display:none}/*!@:host*/.sc-calcite-navigation-user-h{display:inline-flex;outline:2px solid transparent;outline-offset:2px}/*!@:host button*/.sc-calcite-navigation-user-h button.sc-calcite-navigation-user{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}/*!@:host(:hover) button,\n:host(:focus) button*/.sc-calcite-navigation-user-h:hover button.sc-calcite-navigation-user,.sc-calcite-navigation-user-h:focus button.sc-calcite-navigation-user{background-color:var(--calcite-ui-foreground-2)}/*!@:host(:focus) button*/.sc-calcite-navigation-user-h:focus button.sc-calcite-navigation-user{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(:active) button*/.sc-calcite-navigation-user-h:active button.sc-calcite-navigation-user{background-color:var(--calcite-ui-foreground-3)}/*!@calcite-avatar*/calcite-avatar.sc-calcite-navigation-user{padding-inline:1rem}/*!@calcite-avatar ~ .text-container*/calcite-avatar.sc-calcite-navigation-user~.text-container.sc-calcite-navigation-user{padding-inline-start:0px}/*!@:host(
|
|
12565
|
+
const navigationUserCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-navigation-user: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-navigation-user{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-navigation-user{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-navigation-user{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-navigation-user{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-navigation-user{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-navigation-user{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-navigation-user{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-navigation-user:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-navigation-user:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-navigation-user-h{display:none}/*!@:host*/.sc-calcite-navigation-user-h{display:inline-flex;outline:2px solid transparent;outline-offset:2px}/*!@:host .button*/.sc-calcite-navigation-user-h .button.sc-calcite-navigation-user{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}/*!@:host(:hover) .button,\n:host(:focus) .button*/.sc-calcite-navigation-user-h:hover .button.sc-calcite-navigation-user,.sc-calcite-navigation-user-h:focus .button.sc-calcite-navigation-user{background-color:var(--calcite-ui-foreground-2)}/*!@:host(:focus) .button*/.sc-calcite-navigation-user-h:focus .button.sc-calcite-navigation-user{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(:active) .button*/.sc-calcite-navigation-user-h:active .button.sc-calcite-navigation-user{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@calcite-avatar*/calcite-avatar.sc-calcite-navigation-user{padding-inline:1rem}/*!@calcite-avatar ~ .text-container*/calcite-avatar.sc-calcite-navigation-user~.text-container.sc-calcite-navigation-user{padding-inline-start:0px}/*!@:host([active]) .button*/[active].sc-calcite-navigation-user-h .button.sc-calcite-navigation-user{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1);--calcite-ui-icon-color:var(--calcite-ui-brand)}/*!@.text-container*/.text-container.sc-calcite-navigation-user{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}/*!@.full-name*/.full-name.sc-calcite-navigation-user{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.username*/.username.sc-calcite-navigation-user{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}";
|
|
12500
12566
|
|
|
12501
12567
|
class CalciteNavigationUser {
|
|
12502
12568
|
constructor(hostRef) {
|
|
@@ -12536,7 +12602,7 @@ class CalciteNavigationUser {
|
|
|
12536
12602
|
//
|
|
12537
12603
|
// --------------------------------------------------------------------------
|
|
12538
12604
|
render() {
|
|
12539
|
-
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$V.textContainer }, this.fullName && (hAsync("span", { class: CSS$V.fullName, key: CSS$V.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$V.username, key: CSS$V.username }, this.username)))))));
|
|
12605
|
+
return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$V.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$V.textContainer }, this.fullName && (hAsync("span", { class: CSS$V.fullName, key: CSS$V.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$V.username, key: CSS$V.username }, this.username)))))));
|
|
12540
12606
|
}
|
|
12541
12607
|
static get delegatesFocus() { return true; }
|
|
12542
12608
|
get el() { return getElement(this); }
|
|
@@ -15669,7 +15735,7 @@ class ColorPicker {
|
|
|
15669
15735
|
samplingX = 0;
|
|
15670
15736
|
}
|
|
15671
15737
|
else {
|
|
15672
|
-
samplingX = bounds.width;
|
|
15738
|
+
samplingX = bounds.width - 1;
|
|
15673
15739
|
}
|
|
15674
15740
|
if (clientY < bounds.y + bounds.height && clientY > bounds.y) {
|
|
15675
15741
|
samplingY = clientY - bounds.y;
|
|
@@ -28048,6 +28114,7 @@ const debounceTimeout = 0;
|
|
|
28048
28114
|
const listCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-list: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-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-list{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-list{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-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-list-h *.sc-calcite-list,.sc-calcite-list-h[disabled] .sc-calcite-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}/*!@calcite-filter*/calcite-filter.sc-calcite-list{margin-block-end:1px}";
|
|
28049
28115
|
|
|
28050
28116
|
const listItemSelector = "calcite-list-item";
|
|
28117
|
+
const parentSelector = "calcite-list-item-group, calcite-list-item";
|
|
28051
28118
|
/**
|
|
28052
28119
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
28053
28120
|
*
|
|
@@ -28086,32 +28153,10 @@ class List$1 {
|
|
|
28086
28153
|
this.updateFilteredItems = (emit = false) => {
|
|
28087
28154
|
const { listItems, filteredData, filterText } = this;
|
|
28088
28155
|
const values = filteredData.map((item) => item.value);
|
|
28089
|
-
const
|
|
28090
|
-
const filteredItems = listItems
|
|
28091
|
-
|
|
28092
|
-
|
|
28093
|
-
if (grouped) {
|
|
28094
|
-
groups.add(parent);
|
|
28095
|
-
}
|
|
28096
|
-
const matches = filterText ? values.includes(item.value) : true;
|
|
28097
|
-
item.hidden = !matches;
|
|
28098
|
-
return matches;
|
|
28099
|
-
}) || [];
|
|
28100
|
-
groups.forEach((group) => {
|
|
28101
|
-
const hasAtLeastOneMatch = filteredItems.some((item) => group.contains(item));
|
|
28102
|
-
group.hidden = !hasAtLeastOneMatch;
|
|
28103
|
-
if (!hasAtLeastOneMatch) {
|
|
28104
|
-
return;
|
|
28105
|
-
}
|
|
28106
|
-
const parentItem = group.closest("calcite-list-item");
|
|
28107
|
-
if (parentItem) {
|
|
28108
|
-
parentItem.hidden = false;
|
|
28109
|
-
if (filteredItems.includes(parentItem)) {
|
|
28110
|
-
Array.from(group.querySelectorAll("calcite-list-item")).forEach((child) => (child.hidden = false));
|
|
28111
|
-
}
|
|
28112
|
-
}
|
|
28113
|
-
});
|
|
28114
|
-
groups.clear();
|
|
28156
|
+
const lastDescendantItems = listItems?.filter((listItem) => listItems.every((li) => li === listItem || !listItem.contains(li)));
|
|
28157
|
+
const filteredItems = listItems.filter((item) => !filterText || values.includes(item.value)) || [];
|
|
28158
|
+
const visibleParents = new WeakSet();
|
|
28159
|
+
lastDescendantItems.forEach((listItem) => this.filterElements({ el: listItem, filteredItems, visibleParents }));
|
|
28115
28160
|
this.filteredItems = filteredItems;
|
|
28116
28161
|
if (emit) {
|
|
28117
28162
|
this.calciteListFilter.emit();
|
|
@@ -28142,7 +28187,9 @@ class List$1 {
|
|
|
28142
28187
|
this.listItems = items;
|
|
28143
28188
|
if (this.filterEnabled) {
|
|
28144
28189
|
this.dataForFilter = this.getItemData();
|
|
28145
|
-
this.filterEl
|
|
28190
|
+
if (this.filterEl) {
|
|
28191
|
+
this.filterEl.items = this.dataForFilter;
|
|
28192
|
+
}
|
|
28146
28193
|
}
|
|
28147
28194
|
this.updateFilteredItems(emit);
|
|
28148
28195
|
this.enabledListItems = items.filter((item) => !item.disabled && !item.closed);
|
|
@@ -28300,6 +28347,22 @@ class List$1 {
|
|
|
28300
28347
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28301
28348
|
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$t.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
28302
28349
|
}
|
|
28350
|
+
filterElements({ el, filteredItems, visibleParents }) {
|
|
28351
|
+
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
|
28352
|
+
el.hidden = hidden;
|
|
28353
|
+
const closestParent = el.parentElement.closest(parentSelector);
|
|
28354
|
+
if (!closestParent) {
|
|
28355
|
+
return;
|
|
28356
|
+
}
|
|
28357
|
+
if (!hidden) {
|
|
28358
|
+
visibleParents.add(closestParent);
|
|
28359
|
+
}
|
|
28360
|
+
this.filterElements({
|
|
28361
|
+
el: closestParent,
|
|
28362
|
+
filteredItems,
|
|
28363
|
+
visibleParents
|
|
28364
|
+
});
|
|
28365
|
+
}
|
|
28303
28366
|
get el() { return getElement(this); }
|
|
28304
28367
|
static get watchers() { return {
|
|
28305
28368
|
"filterEnabled": ["handleFilterEnabledChange"],
|
|
@@ -28711,7 +28774,7 @@ const CSS$s = {
|
|
|
28711
28774
|
heading: "heading"
|
|
28712
28775
|
};
|
|
28713
28776
|
|
|
28714
|
-
const listItemGroupCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-list-item-group: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-list-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-list-item-group{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-list-item-group{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-group-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-list-item-group-h *.sc-calcite-list-item-group,.sc-calcite-list-item-group-h[disabled] .sc-calcite-list-item-group-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-item-group-h{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-group-h[disabled] .sc-calcite-list-item-group-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-group-h [calcite-hydrated][disabled].sc-calcite-list-item-group{opacity:1}/*!@.container*/.container.sc-calcite-list-item-group{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-list-item-group{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-item-group-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-item-group-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
|
28777
|
+
const listItemGroupCss = "@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-list-item-group: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-list-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{animation-name:in-up}/*!@.calcite-animate__in-right*/.calcite-animate__in-right.sc-calcite-list-item-group{animation-name:in-right}/*!@.calcite-animate__in-left*/.calcite-animate__in-left.sc-calcite-list-item-group{animation-name:in-left}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-group-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-list-item-group-h *.sc-calcite-list-item-group,.sc-calcite-list-item-group-h[disabled] .sc-calcite-list-item-group-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-item-group-h{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-group-h[disabled] .sc-calcite-list-item-group-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-group-h [calcite-hydrated][disabled].sc-calcite-list-item-group{opacity:1}/*!@.container*/.container.sc-calcite-list-item-group{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-list-item-group{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-item-group-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-item-group-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@[hidden]*/[hidden].sc-calcite-list-item-group{display:none}";
|
|
28715
28778
|
|
|
28716
28779
|
/**
|
|
28717
28780
|
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
|
package/package.json
CHANGED
|
@@ -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.1-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-cf843ef0.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=e.level?`h${e.level}`:"div";return delete e.level,t(n,{...e},r)};export{r as H,e 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.1-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as a,h as t,F as e,a as n}from"./p-cf843ef0.js";import{c,d as r}from"./p-42e6d3c9.js";import{g as o,b as s,t as l}from"./p-1ca03a34.js";import{c as d,d as m}from"./p-0c372fc0.js";import{u as h,c as p,s as f,d as g}from"./p-0fa72eda.js";import{H as u,c as v}from"./p-07153ac0.js";import{c as x}from"./p-f75ede9c.js";import"./p-7797b93b.js";import"./p-b7a5574c.js";import"./p-97658f9d.js";const y="thumbnail",b=class{constructor(t){i(this,t),this.calciteTipDismiss=a(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){c(this),d(this),p(this)}async componentWillLoad(){await f(this)}disconnectedCallback(){r(this),m(this),g(this)}renderHeader(){const{heading:i,headingLevel:a,el:e}=this,n=e.closest("calcite-tip-manager")?.headingLevel,c=n?v(n+1):null;return i?t("header",{class:"header"},t(u,{class:"heading",level:a||c},i)):null}renderDismissButton(){const{closeDisabled:i,hideTip:a}=this;return i?null:t("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:i}=this;return o(i,y)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:y})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(e,null,t("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};b.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){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 )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";const k=class{constructor(a){i(this,a),this.groupTitle=void 0}render(){return t("slot",null)}};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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}";const w="chevron-left",_="chevron-right",D=class{constructor(t){i(this,t),this.calciteTipManagerClose=a(this,"calciteTipManagerClose",6),this.mutationObserver=x("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=i=>{if(i.target===this.container)switch(i.key){case"ArrowRight":i.preventDefault(),this.nextTip();break;case"ArrowLeft":i.preventDefault(),this.previousTip();break;case"Home":i.preventDefault(),this.selectedIndex=0;break;case"End":i.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=i=>{this.container=i},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await h(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){d(this),p(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await f(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),m(this),g(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const i=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=i.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=i,this.selectedIndex=a?i.indexOf(a):0,i.forEach((i=>{i.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((i,a)=>{const t=this.selectedIndex===a;i.selected=t,i.hidden=!t}))}updateGroupTitle(){if(this.tips){const i=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=i?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const i=s(this.el),{selectedIndex:a,tips:e,total:n,messages:c}=this,r=c.next,o=c.defaultPaginationLabel;return e.length>1?t("footer",{class:"pagination"},t("calcite-action",{class:"page-previous",icon:"ltr"===i?w:_,onClick:this.previousClicked,scale:"m",text:c.previous}),t("span",{class:"page-position"},`${o} ${a+1}/${n}`),t("calcite-action",{class:"page-next",icon:"ltr"===i?_:w,onClick:this.nextClicked,scale:"m",text:r})):null}render(){const{closed:i,direction:a,headingLevel:e,groupTitle:n,selectedIndex:c,messages:r,total:o}=this,s=r.close;return 0===o?null:t("section",{"aria-hidden":l(i),class:"container",hidden:i,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},t("header",{class:"header"},t(u,{class:"heading",level:e},n),t("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:s},t("calcite-icon",{icon:"x",scale:"m"}))),t("div",{class:{"tip-container":!0,"tip-container--advancing":!i&&"advancing"===a,"tip-container--retreating":!i&&"retreating"===a},key:c,tabIndex:0},t("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};D.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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{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 )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{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 )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";export{b as calcite_tip,k as calcite_tip_group,D as calcite_tip_manager}
|
|
@@ -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.1-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-cf843ef0.js";import{g as t}from"./p-0c372fc0.js";const c={};function s(){throw new Error("could not fetch component message bundle")}function o(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),o(n)}async function e(o,a){const{el:e}=o,f=e.tagName.toLowerCase().replace("calcite-","");return async function(t,o){const a=`${o}_${t}`;return c[a]||(c[a]=fetch(n(`./assets/${o}/t9n/messages_${t}.json`)).then((n=>(n.ok||s(),n.json()))).catch((()=>s()))),c[a]}(t(a,"t9n"),f)}async function f(n,t){n.defaultMessages=await e(n,t),o(n)}function i(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){o(this)}export{i as c,u as d,a as s,f as u}
|