@esri/calcite-components 1.0.0-next.644 → 1.0.0-next.645
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-5d22a355.entry.js → p-02f4163e.entry.js} +2 -2
- package/dist/calcite/{p-dad20ab8.js → p-05534744.js} +1 -1
- package/dist/calcite/p-0d48f494.entry.js +6 -0
- package/dist/calcite/p-0e83ef16.entry.js +6 -0
- package/dist/calcite/{p-ae549670.entry.js → p-10e62f30.entry.js} +2 -2
- package/dist/calcite/{p-8d9afc7b.js → p-11391fd4.js} +2 -2
- package/dist/calcite/{p-649d6ad6.entry.js → p-13b6467e.entry.js} +2 -2
- package/dist/calcite/{p-0cbc55a4.entry.js → p-1666eadd.entry.js} +2 -2
- package/dist/calcite/p-19f7ea07.entry.js +6 -0
- package/dist/calcite/{p-4269c0a1.js → p-1d705db6.js} +2 -2
- package/dist/calcite/{p-b2c5ea78.entry.js → p-1fc47c0b.entry.js} +2 -2
- package/dist/calcite/{p-0f792516.entry.js → p-2541ceab.entry.js} +2 -2
- package/dist/calcite/{p-f73251d7.js → p-2882dc2e.js} +2 -2
- package/dist/calcite/{p-4f1c7f50.entry.js → p-290c271a.entry.js} +2 -2
- package/dist/calcite/p-2d87d315.entry.js +6 -0
- package/dist/calcite/{p-a39ebc4e.entry.js → p-2e39f5e6.entry.js} +2 -2
- package/dist/calcite/{p-093a763b.entry.js → p-3454b53a.entry.js} +2 -2
- package/dist/calcite/{p-5e7d34ba.entry.js → p-37d92bcb.entry.js} +2 -2
- package/dist/calcite/{p-207543d2.entry.js → p-3a002586.entry.js} +2 -2
- package/dist/calcite/{p-207230f7.js → p-3a658846.js} +1 -1
- package/dist/calcite/{p-e1953d97.entry.js → p-3acf2dca.entry.js} +2 -2
- package/dist/calcite/{p-f2d30731.js → p-3b76a53f.js} +2 -2
- package/dist/calcite/{p-1d2fbed5.entry.js → p-3e021d18.entry.js} +2 -2
- package/dist/calcite/p-424a1ea4.entry.js +6 -0
- package/dist/calcite/{p-45de9771.entry.js → p-470bc0d9.entry.js} +2 -2
- package/dist/calcite/{p-23c59799.entry.js → p-4c520257.entry.js} +2 -2
- package/dist/calcite/{p-98ef59c8.entry.js → p-4c5792f1.entry.js} +2 -2
- package/dist/calcite/{p-95e68919.entry.js → p-4c7eaf42.entry.js} +2 -2
- package/dist/calcite/{p-a18538ae.entry.js → p-58b050e5.entry.js} +2 -2
- package/dist/calcite/{p-6af6029a.entry.js → p-592d07ae.entry.js} +2 -2
- package/dist/calcite/{p-19cb03e2.js → p-59521bb5.js} +1 -1
- package/dist/calcite/{p-91c14c78.entry.js → p-59937375.entry.js} +2 -2
- package/dist/calcite/{p-9aa13057.js → p-5e0af9f3.js} +1 -1
- package/dist/calcite/p-6206b935.js +6 -0
- package/dist/calcite/{p-47a3a24b.js → p-68755d2c.js} +1 -1
- package/dist/calcite/{p-5c239051.entry.js → p-6d753a92.entry.js} +2 -2
- package/dist/calcite/p-72ba8a7f.js +6 -0
- package/dist/calcite/{p-661d77fc.entry.js → p-74a8f6ef.entry.js} +2 -2
- package/dist/calcite/{p-f43be147.entry.js → p-768a21e1.entry.js} +2 -2
- package/dist/calcite/{p-0e9c6567.entry.js → p-7750ecd4.entry.js} +2 -2
- package/dist/calcite/{p-6444178b.entry.js → p-7757b819.entry.js} +2 -2
- package/dist/calcite/{p-e097db93.entry.js → p-787a28ee.entry.js} +2 -2
- package/dist/calcite/{p-758cd1da.entry.js → p-78f9f482.entry.js} +2 -2
- package/dist/calcite/p-7a151eb3.js +6 -0
- package/dist/calcite/{p-a433b471.entry.js → p-8135f4ce.entry.js} +2 -2
- package/dist/calcite/{p-744826ea.js → p-824bca84.js} +1 -1
- package/dist/calcite/{p-bc4f089a.entry.js → p-8296f13c.entry.js} +2 -2
- package/dist/calcite/{p-b6553905.js → p-84b1a468.js} +1 -1
- package/dist/calcite/{p-cfade0c2.js → p-89996722.js} +2 -2
- package/dist/calcite/{p-4ae603dc.entry.js → p-8afc7f7d.entry.js} +2 -2
- package/dist/calcite/{p-dc47123d.entry.js → p-8cf6b616.entry.js} +2 -2
- package/dist/calcite/{p-7af9117e.entry.js → p-9388a887.entry.js} +2 -2
- package/dist/calcite/{p-7bc6907a.entry.js → p-969f172e.entry.js} +2 -2
- package/dist/calcite/{p-d4b4b1d6.entry.js → p-981986fa.entry.js} +2 -2
- package/dist/calcite/{p-6283a7fa.entry.js → p-994bc289.entry.js} +2 -2
- package/dist/calcite/{p-3cba1323.js → p-9e590f12.js} +1 -1
- package/dist/calcite/{p-d0c5e979.js → p-a34be4d0.js} +1 -1
- package/dist/calcite/{p-0ea6427e.js → p-a4525a62.js} +1 -1
- package/dist/calcite/{p-2e50d521.entry.js → p-a5e688f2.entry.js} +2 -2
- package/dist/calcite/{p-f7d985f6.entry.js → p-a647a1ab.entry.js} +2 -2
- package/dist/calcite/{p-78e4821a.entry.js → p-ad39f87f.entry.js} +2 -2
- package/dist/calcite/{p-25158a64.js → p-b4c66a65.js} +1 -1
- package/dist/calcite/{p-e74e1ab5.entry.js → p-b6aee811.entry.js} +2 -2
- package/dist/calcite/{p-1b27c4fd.js → p-b923de1c.js} +1 -1
- package/dist/calcite/{p-2301b09d.js → p-b92ea9f1.js} +2 -2
- package/dist/calcite/{p-208062f2.entry.js → p-ba347e70.entry.js} +2 -2
- package/dist/calcite/{p-10f57c29.js → p-bd5e68b7.js} +1 -1
- package/dist/calcite/{p-50f1f608.entry.js → p-bec17161.entry.js} +2 -2
- package/dist/calcite/{p-cc741253.js → p-bfff4c8a.js} +2 -2
- package/dist/calcite/{p-99debea9.js → p-c4d0ef74.js} +1 -1
- package/dist/calcite/p-c57f0c42.entry.js +6 -0
- package/dist/calcite/{p-42225129.entry.js → p-c5c0a3cb.entry.js} +2 -2
- package/dist/calcite/{p-6e23f932.entry.js → p-c97260a2.entry.js} +2 -2
- package/dist/calcite/{p-ba8ff232.entry.js → p-cdb51e89.entry.js} +2 -2
- package/dist/calcite/{p-41ebc630.js → p-d04ed1d3.js} +1 -1
- package/dist/calcite/{p-3a04da18.entry.js → p-d2e45851.entry.js} +2 -2
- package/dist/calcite/{p-a3ba7629.entry.js → p-d5ef85b6.entry.js} +2 -2
- package/dist/calcite/{p-9f1f6af4.js → p-d64e7a4b.js} +2 -2
- package/dist/calcite/{p-398bbca8.entry.js → p-d6fc5820.entry.js} +2 -2
- package/dist/calcite/{p-c6462564.js → p-d9c3884c.js} +1 -1
- package/dist/calcite/{p-591fd6b5.entry.js → p-dba798c2.entry.js} +2 -2
- package/dist/calcite/{p-644b3f45.entry.js → p-dd6572d5.entry.js} +2 -2
- package/dist/calcite/{p-08d74b09.entry.js → p-df19ebf8.entry.js} +2 -2
- package/dist/calcite/{p-f38d2f19.js → p-e057513d.js} +2 -2
- package/dist/calcite/{p-9f6903c1.js → p-ea5289f8.js} +2 -2
- package/dist/calcite/{p-a2db230e.entry.js → p-ec163746.entry.js} +2 -2
- package/dist/calcite/{p-3d23d13a.entry.js → p-f0ab09ed.entry.js} +2 -2
- package/dist/calcite/p-f6d70773.entry.js +6 -0
- package/dist/calcite/{p-f0823c81.entry.js → p-f9fd5c5b.entry.js} +2 -2
- package/dist/calcite/{p-279df122.js → p-fcda48e6.js} +2 -2
- package/dist/calcite/{p-40095106.js → p-ff5ad235.js} +1 -1
- package/dist/cjs/{ExpandToggle-0ce23f2e.js → ExpandToggle-0b839642.js} +5 -5
- package/dist/cjs/{Heading-858578ea.js → Heading-79f9228e.js} +2 -2
- package/dist/cjs/{app-globals-3f750495.js → app-globals-90057db9.js} +2 -2
- package/dist/cjs/{array-d72e4ab0.js → array-e5668607.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +17 -30
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- 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 +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +10 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- 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 +10 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- 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 +9 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover_2.cjs.entry.js +15 -42
- 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-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -25
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-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 +8 -8
- package/dist/cjs/{calcite-tooltip_2.cjs.entry.js → calcite-tooltip.cjs.entry.js} +10 -39
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-29995b91.js → conditionalSlot-86384497.js} +3 -3
- package/dist/cjs/{debounce-44aafccf.js → debounce-6666387f.js} +1 -1
- package/dist/cjs/{dom-67677f74.js → dom-a68d9955.js} +3 -3
- package/dist/cjs/{filter-8bbfde77.js → filter-e0d0d6d5.js} +2 -2
- package/dist/cjs/{floating-ui-3166da0a.js → floating-ui-d0061df6.js} +5 -15
- package/dist/cjs/{focusTrapComponent-8cdbd159.js → focusTrapComponent-f23f6719.js} +2 -2
- package/dist/cjs/{form-a37effad.js → form-03a23117.js} +3 -3
- package/dist/cjs/{guid-95795061.js → guid-77bb5bf0.js} +1 -1
- package/dist/cjs/{index-a61e15a3.js → index-ffe87833.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a5547dc2.js → interactive-0f5f8aee.js} +1 -1
- package/dist/cjs/{interfaces-c4026bf2.js → interfaces-0bddfc0e.js} +1 -1
- package/dist/cjs/{key-a9079917.js → key-875e25fa.js} +1 -1
- package/dist/cjs/{label-981b92c6.js → label-1a0a6532.js} +2 -2
- package/dist/cjs/{loadable-06eca9be.js → loadable-e8b774f4.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-2ef02d02.js → locale-b133d1a4.js} +4 -4
- package/dist/cjs/{math-32641fbb.js → math-ff0b18ce.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-097db61b.js → nonChromiumPlatformUtils-19599565.js} +6 -6
- package/dist/cjs/{observers-3b58a8f3.js → observers-47fa1746.js} +1 -1
- package/dist/cjs/{openCloseComponent-d18c0446.js → openCloseComponent-ce159de3.js} +1 -1
- package/dist/cjs/{resources-017e2ef7.js → resources-617d3732.js} +3 -3
- package/dist/cjs/{resources-d60756e6.js → resources-798b020e.js} +1 -1
- package/dist/cjs/{resources-9791a524.js → resources-a314e76f.js} +1 -1
- package/dist/cjs/{resources-4a3c8920.js → resources-c6ac0cb3.js} +1 -1
- package/dist/cjs/{resources-7c672cdf.js → resources-c6ef362f.js} +5 -5
- package/dist/cjs/{resources-1d912f51.js → resources-ed9dd460.js} +1 -1
- package/dist/cjs/{sortable.esm-ab8e8318.js → sortable.esm-34550adc.js} +1 -1
- package/dist/cjs/{utils-fb5cd03b.js → utils-de409ebd.js} +1 -1
- package/dist/collection/collection-manifest.json +5 -7
- 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 +2 -2
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- 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 +7 -43
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.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 +2 -2
- 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 +6 -12
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -23
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +2 -2
- 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 +2 -2
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -26
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -28
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -26
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +4 -77
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -4
- package/dist/collection/components/shell/shell.css +0 -4
- package/dist/collection/components/shell/shell.js +2 -9
- 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 -31
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +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/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +2 -12
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +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 +7 -21
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +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 +3 -5
- package/dist/components/calcite-flow.js +4 -4
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -2
- package/dist/components/calcite-list-item.js +1 -8
- package/dist/components/calcite-list.js +1 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -9
- package/dist/components/calcite-shell.js +3 -11
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -12
- 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.d.ts +0 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/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/nonChromiumPlatformUtils.js +1 -1
- 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 +3 -32
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-1395c008.js → ExpandToggle-451685c0.js} +5 -5
- package/dist/esm/{Heading-2f5f078e.js → Heading-70f2adeb.js} +2 -2
- package/dist/esm/{app-globals-960109b8.js → app-globals-e6de3737.js} +2 -2
- package/dist/esm/{array-b6e54988.js → array-bd11c63f.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +17 -30
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- 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 +9 -9
- package/dist/esm/calcite-flow-item.entry.js +10 -12
- package/dist/esm/calcite-flow.entry.js +5 -5
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- 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 +10 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- 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 +9 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover_2.entry.js +15 -42
- 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-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +10 -25
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/{calcite-tooltip_2.entry.js → calcite-tooltip.entry.js} +11 -39
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-c9c7b8bd.js → conditionalSlot-6f982a97.js} +3 -3
- package/dist/esm/{debounce-5e199f5d.js → debounce-57936d78.js} +1 -1
- package/dist/esm/{dom-dfd799c4.js → dom-f2558be2.js} +3 -3
- package/dist/esm/{filter-b7d8c96c.js → filter-ecab2e6e.js} +2 -2
- package/dist/esm/{floating-ui-c66bbc90.js → floating-ui-251ffbc8.js} +5 -15
- package/dist/esm/{focusTrapComponent-404d9bf9.js → focusTrapComponent-80fa1351.js} +2 -2
- package/dist/esm/{form-be229c04.js → form-4bb4b838.js} +3 -3
- package/dist/esm/{guid-d84faf7d.js → guid-f65bfd05.js} +1 -1
- package/dist/esm/{index-0497daff.js → index-e02f9d28.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-fb6b6849.js → interactive-5474d622.js} +1 -1
- package/dist/esm/{interfaces-530c25de.js → interfaces-fe64c89f.js} +1 -1
- package/dist/esm/{key-38a48e27.js → key-5af19a76.js} +1 -1
- package/dist/esm/{label-9fb172aa.js → label-d4f34ede.js} +2 -2
- package/dist/esm/{loadable-73d9300c.js → loadable-337e9464.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-ec96a3eb.js → locale-fa602823.js} +4 -4
- package/dist/esm/{math-ec945190.js → math-3e532184.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-1d33ac6b.js → nonChromiumPlatformUtils-73ed3dbd.js} +6 -6
- package/dist/esm/{observers-073e4403.js → observers-fd53becf.js} +1 -1
- package/dist/esm/{openCloseComponent-2799d2f4.js → openCloseComponent-d5bab3ac.js} +1 -1
- package/dist/esm/{resources-d0f8f688.js → resources-108ad492.js} +1 -1
- package/dist/esm/{resources-cc899fd4.js → resources-229e09cb.js} +3 -3
- package/dist/esm/{resources-517c31db.js → resources-5e62bdf6.js} +1 -1
- package/dist/esm/{resources-12d8bb0d.js → resources-64e8ce5c.js} +1 -1
- package/dist/esm/{resources-c865c7a2.js → resources-b1332f1e.js} +1 -1
- package/dist/esm/{resources-49fa7531.js → resources-dfc29d13.js} +5 -5
- package/dist/esm/{sortable.esm-ec1b626e.js → sortable.esm-c96b8f94.js} +1 -1
- package/dist/esm/{utils-f36c4421.js → utils-517f7ddf.js} +1 -1
- package/dist/extras/docs-json.json +16 -347
- 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/alert/alert.d.ts +1 -8
- package/dist/types/components/flow/flow.d.ts +2 -2
- package/dist/types/components/flow-item/flow-item.d.ts +1 -7
- package/dist/types/components/list/list.d.ts +0 -7
- package/dist/types/components/list-item/list-item.d.ts +0 -6
- package/dist/types/components/list-item-group/list-item-group.d.ts +0 -7
- package/dist/types/components/popover/popover.d.ts +0 -14
- package/dist/types/components/shell/resources.d.ts +0 -3
- package/dist/types/components/shell/shell.d.ts +0 -2
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -8
- package/dist/types/components.d.ts +3 -100
- package/dist/types/preact.d.ts +2 -7
- package/dist/types/utils/floating-ui.d.ts +2 -18
- package/hydrate/index.js +26 -150
- package/package.json +1 -1
- package/dist/calcite/p-0c81d8c5.entry.js +0 -6
- package/dist/calcite/p-35e71407.entry.js +0 -6
- package/dist/calcite/p-3a3a3091.entry.js +0 -6
- package/dist/calcite/p-3cedb428.js +0 -6
- package/dist/calcite/p-3f08560c.entry.js +0 -6
- package/dist/calcite/p-52b0bd3d.js +0 -6
- package/dist/calcite/p-55c03e3c.entry.js +0 -6
- package/dist/calcite/p-5d728491.entry.js +0 -6
- package/dist/calcite/p-ee11ad39.js +0 -6
- package/dist/calcite/p-fe24a8be.entry.js +0 -6
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +0 -89
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +0 -70
- package/dist/components/calcite-tooltip-manager.d.ts +0 -11
- package/dist/components/calcite-tooltip-manager.js +0 -57
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +0 -14
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.0.0-next.
|
|
4
|
+
* v1.0.0-next.645
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -8401,7 +8401,7 @@ class ActionGroup {
|
|
|
8401
8401
|
renderMenu() {
|
|
8402
8402
|
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
8403
8403
|
const hasMenuItems = getSlotted(el, SLOTS$r.menuActions);
|
|
8404
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-
|
|
8404
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$g.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
|
|
8405
8405
|
}
|
|
8406
8406
|
render() {
|
|
8407
8407
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -9346,12 +9346,6 @@ class Alert {
|
|
|
9346
9346
|
// Properties
|
|
9347
9347
|
//
|
|
9348
9348
|
//---------------------------------------------------------------------------
|
|
9349
|
-
/**
|
|
9350
|
-
* When `true`, displays and positions the component.
|
|
9351
|
-
*
|
|
9352
|
-
* @deprecated use `open` instead.
|
|
9353
|
-
*/
|
|
9354
|
-
this.active = false;
|
|
9355
9349
|
/** When `true`, displays and positions the component. */
|
|
9356
9350
|
this.open = false;
|
|
9357
9351
|
/** When `true`, the component closes automatically (recommended for passive, non-blocking alerts). */
|
|
@@ -9408,18 +9402,13 @@ class Alert {
|
|
|
9408
9402
|
this.hasEndActions = slotChangeHasAssignedElement(event);
|
|
9409
9403
|
};
|
|
9410
9404
|
}
|
|
9411
|
-
|
|
9412
|
-
this.open = value;
|
|
9413
|
-
}
|
|
9414
|
-
openHandler(value) {
|
|
9405
|
+
openHandler() {
|
|
9415
9406
|
if (this.open && !this.queued) {
|
|
9416
9407
|
this.calciteInternalAlertRegister.emit();
|
|
9417
|
-
this.active = value;
|
|
9418
9408
|
}
|
|
9419
9409
|
if (!this.open) {
|
|
9420
9410
|
this.queue = this.queue.filter((el) => el !== this.el);
|
|
9421
9411
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
9422
|
-
this.active = false;
|
|
9423
9412
|
}
|
|
9424
9413
|
}
|
|
9425
9414
|
updateRequestedIcon() {
|
|
@@ -9438,10 +9427,9 @@ class Alert {
|
|
|
9438
9427
|
//--------------------------------------------------------------------------
|
|
9439
9428
|
connectedCallback() {
|
|
9440
9429
|
connectLocalized(this);
|
|
9441
|
-
const open = this.open
|
|
9430
|
+
const open = this.open;
|
|
9442
9431
|
if (open && !this.queued) {
|
|
9443
|
-
this.
|
|
9444
|
-
this.openHandler(open);
|
|
9432
|
+
this.openHandler();
|
|
9445
9433
|
this.calciteInternalAlertRegister.emit();
|
|
9446
9434
|
}
|
|
9447
9435
|
connectOpenCloseComponent(this);
|
|
@@ -9469,15 +9457,15 @@ class Alert {
|
|
|
9469
9457
|
const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;
|
|
9470
9458
|
const queueText = numberStringFormatter.numberFormatter.format(queueNumber);
|
|
9471
9459
|
const queueCount = (hAsync("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
9472
|
-
const {
|
|
9460
|
+
const { open, autoDismiss, label, placement, queued, requestedIcon } = this;
|
|
9473
9461
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
9474
|
-
const hidden = !
|
|
9462
|
+
const hidden = !open;
|
|
9475
9463
|
const slotNode = (hAsync("slot", { key: "actionsEndSlot", name: SLOTS$o.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
|
|
9476
9464
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
9477
9465
|
container: true,
|
|
9478
9466
|
queued,
|
|
9479
9467
|
[placement]: true
|
|
9480
|
-
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$Q.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, !autoDismiss ? closeButton : null,
|
|
9468
|
+
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$Q.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, !autoDismiss ? closeButton : null, open && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
9481
9469
|
}
|
|
9482
9470
|
// when an alert is opened or closed, update queue and determine active alert
|
|
9483
9471
|
alertSync(event) {
|
|
@@ -9549,7 +9537,6 @@ class Alert {
|
|
|
9549
9537
|
}
|
|
9550
9538
|
get el() { return getElement(this); }
|
|
9551
9539
|
static get watchers() { return {
|
|
9552
|
-
"active": ["activeHandler"],
|
|
9553
9540
|
"open": ["openHandler"],
|
|
9554
9541
|
"icon": ["updateRequestedIcon"],
|
|
9555
9542
|
"color": ["updateRequestedIcon"],
|
|
@@ -9560,7 +9547,6 @@ class Alert {
|
|
|
9560
9547
|
"$flags$": 9,
|
|
9561
9548
|
"$tagName$": "calcite-alert",
|
|
9562
9549
|
"$members$": {
|
|
9563
|
-
"active": [1540],
|
|
9564
9550
|
"open": [1540],
|
|
9565
9551
|
"autoDismiss": [516, "auto-dismiss"],
|
|
9566
9552
|
"autoDismissDuration": [513, "auto-dismiss-duration"],
|
|
@@ -9581,7 +9567,7 @@ class Alert {
|
|
|
9581
9567
|
},
|
|
9582
9568
|
"$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"]],
|
|
9583
9569
|
"$lazyBundleId$": "-",
|
|
9584
|
-
"$attrsToReflect$": [["
|
|
9570
|
+
"$attrsToReflect$": [["open", "open"], ["autoDismiss", "auto-dismiss"], ["autoDismissDuration", "auto-dismiss-duration"], ["color", "color"], ["icon", "icon"], ["numberingSystem", "numbering-system"], ["placement", "placement"], ["scale", "scale"]]
|
|
9585
9571
|
}; }
|
|
9586
9572
|
}
|
|
9587
9573
|
|
|
@@ -16088,22 +16074,12 @@ function filterComputedPlacements(placements, el) {
|
|
|
16088
16074
|
}
|
|
16089
16075
|
return filteredPlacements;
|
|
16090
16076
|
}
|
|
16091
|
-
/*
|
|
16092
|
-
In floating-ui, "*-start" and "*-end" are already flipped in RTL.
|
|
16093
|
-
There is no need for our "*-leading" and "*-trailing" values anymore.
|
|
16094
|
-
https://github.com/floating-ui/floating-ui/issues/1530
|
|
16095
|
-
https://github.com/floating-ui/floating-ui/issues/1563
|
|
16096
|
-
*/
|
|
16097
16077
|
function getEffectivePlacement(floatingEl, placement) {
|
|
16098
16078
|
const placements = ["left", "right"];
|
|
16099
16079
|
if (getElementDir(floatingEl) === "rtl") {
|
|
16100
16080
|
placements.reverse();
|
|
16101
16081
|
}
|
|
16102
|
-
return placement
|
|
16103
|
-
.replace(/-leading/gi, "-start")
|
|
16104
|
-
.replace(/-trailing/gi, "-end")
|
|
16105
|
-
.replace(/leading/gi, placements[0])
|
|
16106
|
-
.replace(/trailing/gi, placements[1]);
|
|
16082
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
16107
16083
|
}
|
|
16108
16084
|
/**
|
|
16109
16085
|
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
@@ -19743,7 +19719,7 @@ const CSS$B = {
|
|
|
19743
19719
|
const flowCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow: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-flow{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-flow:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-flow-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-h *.sc-calcite-flow{box-sizing:border-box}/*!@:root*/.sc-calcite-flow:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-h{display:none}/*!@:host*/.sc-calcite-flow-h{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}/*!@:host .frame*/.sc-calcite-flow-h .frame.sc-calcite-flow{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}/*!@:host ::slotted(calcite-flow-item),\n:host ::slotted(calcite-panel)*/.sc-calcite-flow-h .sc-calcite-flow-s>calcite-flow-item,.sc-calcite-flow-h .sc-calcite-flow-s>calcite-panel{block-size:100%}/*!@:host ::slotted(.calcite-match-height:last-child)*/.sc-calcite-flow-h .sc-calcite-flow-s>.calcite-match-height:last-child{display:flex;flex:1 1 auto;overflow:hidden}/*!@:host .frame--advancing*/.sc-calcite-flow-h .frame--advancing.sc-calcite-flow{animation:calcite-frame-advance var(--calcite-animation-timing)}/*!@:host .frame--retreating*/.sc-calcite-flow-h .frame--retreating.sc-calcite-flow{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}";
|
|
19744
19720
|
|
|
19745
19721
|
/**
|
|
19746
|
-
* @slot - A slot for adding `calcite-flow-item`
|
|
19722
|
+
* @slot - A slot for adding `calcite-flow-item` to the component.
|
|
19747
19723
|
*/
|
|
19748
19724
|
class Flow {
|
|
19749
19725
|
constructor(hostRef) {
|
|
@@ -19762,7 +19738,7 @@ class Flow {
|
|
|
19762
19738
|
};
|
|
19763
19739
|
this.updateFlowProps = () => {
|
|
19764
19740
|
const { el, items } = this;
|
|
19765
|
-
const newItems = Array.from(el.querySelectorAll("calcite-flow-item
|
|
19741
|
+
const newItems = Array.from(el.querySelectorAll("calcite-flow-item")).filter((flowItem) => !flowItem.matches("calcite-flow-item calcite-flow-item"));
|
|
19766
19742
|
const oldItemCount = items.length;
|
|
19767
19743
|
const newItemCount = newItems.length;
|
|
19768
19744
|
const activeItem = newItems[newItemCount - 1];
|
|
@@ -19790,7 +19766,7 @@ class Flow {
|
|
|
19790
19766
|
//
|
|
19791
19767
|
// --------------------------------------------------------------------------
|
|
19792
19768
|
/**
|
|
19793
|
-
* Removes the currently active `calcite-flow-item
|
|
19769
|
+
* Removes the currently active `calcite-flow-item`.
|
|
19794
19770
|
*/
|
|
19795
19771
|
async back() {
|
|
19796
19772
|
const { items } = this;
|
|
@@ -19853,7 +19829,7 @@ class Flow {
|
|
|
19853
19829
|
"items": [32],
|
|
19854
19830
|
"back": [64]
|
|
19855
19831
|
},
|
|
19856
|
-
"$listeners$": [[0, "
|
|
19832
|
+
"$listeners$": [[0, "calciteFlowItemBack", "handleItemBackClick"]],
|
|
19857
19833
|
"$lazyBundleId$": "-",
|
|
19858
19834
|
"$attrsToReflect$": []
|
|
19859
19835
|
}; }
|
|
@@ -19934,7 +19910,6 @@ class FlowItem {
|
|
|
19934
19910
|
constructor(hostRef) {
|
|
19935
19911
|
registerInstance(this, hostRef);
|
|
19936
19912
|
this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 6);
|
|
19937
|
-
this.calciteFlowItemBackClick = createEvent(this, "calciteFlowItemBackClick", 6);
|
|
19938
19913
|
this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
|
|
19939
19914
|
this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
|
|
19940
19915
|
// --------------------------------------------------------------------------
|
|
@@ -19976,7 +19951,6 @@ class FlowItem {
|
|
|
19976
19951
|
this.calciteFlowItemClose.emit();
|
|
19977
19952
|
};
|
|
19978
19953
|
this.backButtonClick = () => {
|
|
19979
|
-
this.calciteFlowItemBackClick.emit();
|
|
19980
19954
|
this.calciteFlowItemBack.emit();
|
|
19981
19955
|
};
|
|
19982
19956
|
this.setBackRef = (node) => {
|
|
@@ -20049,9 +20023,9 @@ class FlowItem {
|
|
|
20049
20023
|
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
20050
20024
|
}
|
|
20051
20025
|
render() {
|
|
20052
|
-
const { closable, closed, description, disabled, heading, headingLevel, heightScale,
|
|
20026
|
+
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlClose, intlOptions, loading, menuOpen, widthScale, backButtonEl } = this;
|
|
20053
20027
|
const label = this.getBackLabel();
|
|
20054
|
-
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, heightScale: heightScale,
|
|
20028
|
+
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, heightScale: heightScale, intlClose: intlClose, intlOptions: intlOptions, loading: loading, menuOpen: menuOpen, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll, ref: this.setContainerRef, widthScale: widthScale }, this.renderBackButton(), hAsync("slot", { name: SLOTS$j.headerActionsStart, slot: SLOTS$i.headerActionsStart }), hAsync("slot", { name: SLOTS$j.headerActionsEnd, slot: SLOTS$i.headerActionsEnd }), hAsync("slot", { name: SLOTS$j.headerContent, slot: SLOTS$i.headerContent }), hAsync("slot", { name: SLOTS$j.headerMenuActions, slot: SLOTS$i.headerMenuActions }), hAsync("slot", { name: SLOTS$j.fab, slot: SLOTS$i.fab }), hAsync("slot", { name: SLOTS$j.footerActions, slot: SLOTS$i.footerActions }), hAsync("slot", { name: SLOTS$j.footer, slot: SLOTS$i.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
|
|
20055
20029
|
}
|
|
20056
20030
|
get el() { return getElement(this); }
|
|
20057
20031
|
static get style() { return flowItemCss; }
|
|
@@ -24326,7 +24300,6 @@ class List$1 {
|
|
|
24326
24300
|
"filteredData": [1040],
|
|
24327
24301
|
"filterPlaceholder": [513, "filter-placeholder"],
|
|
24328
24302
|
"filterText": [1537, "filter-text"],
|
|
24329
|
-
"headingLevel": [514, "heading-level"],
|
|
24330
24303
|
"label": [1],
|
|
24331
24304
|
"loading": [516],
|
|
24332
24305
|
"openable": [4],
|
|
@@ -24338,7 +24311,7 @@ class List$1 {
|
|
|
24338
24311
|
},
|
|
24339
24312
|
"$listeners$": [[0, "calciteInternalFocusPreviousItem", "handleCalciteInternalFocusPreviousItem"], [0, "calciteInternalListItemSelect", "handleCalciteListItemSelect"]],
|
|
24340
24313
|
"$lazyBundleId$": "-",
|
|
24341
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["filterText", "filter-text"], ["
|
|
24314
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["filterEnabled", "filter-enabled"], ["filterPlaceholder", "filter-placeholder"], ["filterText", "filter-text"], ["loading", "loading"], ["selectionMode", "selection-mode"], ["selectionAppearance", "selection-appearance"]]
|
|
24342
24315
|
}; }
|
|
24343
24316
|
}
|
|
24344
24317
|
|
|
@@ -24374,12 +24347,6 @@ class ListItem {
|
|
|
24374
24347
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
24375
24348
|
*/
|
|
24376
24349
|
this.disabled = false;
|
|
24377
|
-
/**
|
|
24378
|
-
* When `true`, prevents the content of the component from user interaction.
|
|
24379
|
-
*
|
|
24380
|
-
* @deprecated no longer necessary.
|
|
24381
|
-
*/
|
|
24382
|
-
this.nonInteractive = false;
|
|
24383
24350
|
/**
|
|
24384
24351
|
* When true, item is open to show child components.
|
|
24385
24352
|
*/
|
|
@@ -24669,7 +24636,6 @@ class ListItem {
|
|
|
24669
24636
|
"disabled": [516],
|
|
24670
24637
|
"label": [1],
|
|
24671
24638
|
"metadata": [16],
|
|
24672
|
-
"nonInteractive": [516, "non-interactive"],
|
|
24673
24639
|
"open": [1540],
|
|
24674
24640
|
"setSize": [2, "set-size"],
|
|
24675
24641
|
"setPosition": [2, "set-position"],
|
|
@@ -24689,7 +24655,7 @@ class ListItem {
|
|
|
24689
24655
|
},
|
|
24690
24656
|
"$listeners$": undefined,
|
|
24691
24657
|
"$lazyBundleId$": "-",
|
|
24692
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["
|
|
24658
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["open", "open"], ["selected", "selected"]]
|
|
24693
24659
|
}; }
|
|
24694
24660
|
}
|
|
24695
24661
|
|
|
@@ -24746,12 +24712,11 @@ class ListItemGroup {
|
|
|
24746
24712
|
"$members$": {
|
|
24747
24713
|
"disabled": [516],
|
|
24748
24714
|
"heading": [513],
|
|
24749
|
-
"headingLevel": [514, "heading-level"],
|
|
24750
24715
|
"visualLevel": [32]
|
|
24751
24716
|
},
|
|
24752
24717
|
"$listeners$": undefined,
|
|
24753
24718
|
"$lazyBundleId$": "-",
|
|
24754
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["heading", "heading"]
|
|
24719
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["heading", "heading"]]
|
|
24755
24720
|
}; }
|
|
24756
24721
|
}
|
|
24757
24722
|
|
|
@@ -28243,18 +28208,6 @@ class Popover {
|
|
|
28243
28208
|
* When `true`, clicking outside of the component automatically closes open `calcite-popover`s.
|
|
28244
28209
|
*/
|
|
28245
28210
|
this.autoClose = false;
|
|
28246
|
-
/**
|
|
28247
|
-
* When `true`, a close button is added to the component.
|
|
28248
|
-
*
|
|
28249
|
-
* @deprecated use dismissible instead.
|
|
28250
|
-
*/
|
|
28251
|
-
this.closeButton = false;
|
|
28252
|
-
/**
|
|
28253
|
-
* When `true`, a close button is added to the component.
|
|
28254
|
-
*
|
|
28255
|
-
* @deprecated use `closable` instead.
|
|
28256
|
-
*/
|
|
28257
|
-
this.dismissible = false;
|
|
28258
28211
|
/** When `true`, display a close button within the component. */
|
|
28259
28212
|
this.closable = false;
|
|
28260
28213
|
/**
|
|
@@ -28387,12 +28340,6 @@ class Popover {
|
|
|
28387
28340
|
this.reposition(true);
|
|
28388
28341
|
};
|
|
28389
28342
|
}
|
|
28390
|
-
handleDismissible(value) {
|
|
28391
|
-
this.closable = value;
|
|
28392
|
-
}
|
|
28393
|
-
handleClosable(value) {
|
|
28394
|
-
this.dismissible = value;
|
|
28395
|
-
}
|
|
28396
28343
|
flipPlacementsHandler() {
|
|
28397
28344
|
this.setFilteredPlacements();
|
|
28398
28345
|
this.reposition(true);
|
|
@@ -28430,13 +28377,6 @@ class Popover {
|
|
|
28430
28377
|
connectedCallback() {
|
|
28431
28378
|
this.setFilteredPlacements();
|
|
28432
28379
|
connectOpenCloseComponent(this);
|
|
28433
|
-
const closable = this.closable || this.dismissible;
|
|
28434
|
-
if (closable) {
|
|
28435
|
-
this.handleDismissible(closable);
|
|
28436
|
-
}
|
|
28437
|
-
if (closable) {
|
|
28438
|
-
this.handleClosable(closable);
|
|
28439
|
-
}
|
|
28440
28380
|
this.setUpReferenceElement(this.hasLoaded);
|
|
28441
28381
|
}
|
|
28442
28382
|
componentWillLoad() {
|
|
@@ -28533,8 +28473,8 @@ class Popover {
|
|
|
28533
28473
|
//
|
|
28534
28474
|
// --------------------------------------------------------------------------
|
|
28535
28475
|
renderCloseButton() {
|
|
28536
|
-
const {
|
|
28537
|
-
return closable
|
|
28476
|
+
const { intlClose, closable } = this;
|
|
28477
|
+
return closable ? (hAsync("div", { class: CSS$h.closeButtonContainer }, hAsync("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: this.scale, text: intlClose }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
28538
28478
|
}
|
|
28539
28479
|
renderHeader() {
|
|
28540
28480
|
const { heading, headingLevel } = this;
|
|
@@ -28556,8 +28496,6 @@ class Popover {
|
|
|
28556
28496
|
}
|
|
28557
28497
|
get el() { return getElement(this); }
|
|
28558
28498
|
static get watchers() { return {
|
|
28559
|
-
"dismissible": ["handleDismissible"],
|
|
28560
|
-
"closable": ["handleClosable"],
|
|
28561
28499
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
28562
28500
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
28563
28501
|
"offsetSkidding": ["offsetSkiddingHandler"],
|
|
@@ -28572,8 +28510,6 @@ class Popover {
|
|
|
28572
28510
|
"$tagName$": "calcite-popover",
|
|
28573
28511
|
"$members$": {
|
|
28574
28512
|
"autoClose": [516, "auto-close"],
|
|
28575
|
-
"closeButton": [516, "close-button"],
|
|
28576
|
-
"dismissible": [1540],
|
|
28577
28513
|
"closable": [1540],
|
|
28578
28514
|
"disableFlip": [516, "disable-flip"],
|
|
28579
28515
|
"disableFocusTrap": [516, "disable-focus-trap"],
|
|
@@ -28598,7 +28534,7 @@ class Popover {
|
|
|
28598
28534
|
},
|
|
28599
28535
|
"$listeners$": undefined,
|
|
28600
28536
|
"$lazyBundleId$": "-",
|
|
28601
|
-
"$attrsToReflect$": [["autoClose", "auto-close"], ["
|
|
28537
|
+
"$attrsToReflect$": [["autoClose", "auto-close"], ["closable", "closable"], ["disableFlip", "disable-flip"], ["disableFocusTrap", "disable-focus-trap"], ["disablePointer", "disable-pointer"], ["headingLevel", "heading-level"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["overlayPositioning", "overlay-positioning"], ["placement", "placement"], ["scale", "scale"], ["triggerDisabled", "trigger-disabled"]]
|
|
28602
28538
|
}; }
|
|
28603
28539
|
}
|
|
28604
28540
|
|
|
@@ -29878,22 +29814,19 @@ class Select {
|
|
|
29878
29814
|
|
|
29879
29815
|
const CSS$c = {
|
|
29880
29816
|
main: "main",
|
|
29881
|
-
mainReversed: "main--reversed",
|
|
29882
29817
|
content: "content",
|
|
29883
29818
|
contentBehind: "content--behind",
|
|
29884
29819
|
footer: "footer"
|
|
29885
29820
|
};
|
|
29886
29821
|
const SLOTS$7 = {
|
|
29887
29822
|
centerRow: "center-row",
|
|
29888
|
-
primaryPanel: "primary-panel",
|
|
29889
|
-
contextualPanel: "contextual-panel",
|
|
29890
29823
|
panelStart: "panel-start",
|
|
29891
29824
|
panelEnd: "panel-end",
|
|
29892
29825
|
header: "header",
|
|
29893
29826
|
footer: "footer"
|
|
29894
29827
|
};
|
|
29895
29828
|
|
|
29896
|
-
const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell: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-shell{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-shell:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-shell-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-shell-h *.sc-calcite-shell{box-sizing:border-box}/*!@:root*/.sc-calcite-shell:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-h{display:none}/*!@:host*/.sc-calcite-shell-h{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}/*!@.main*/.main.sc-calcite-shell{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}/*!@.
|
|
29829
|
+
const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell: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-shell{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-shell:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-shell-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-shell-h *.sc-calcite-shell{box-sizing:border-box}/*!@:root*/.sc-calcite-shell:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-h{display:none}/*!@:host*/.sc-calcite-shell-h{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}/*!@.main*/.main.sc-calcite-shell{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}/*!@.content*/.content.sc-calcite-shell{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}/*!@.content ::slotted(calcite-shell-center-row),\n.content ::slotted(calcite-panel),\n.content ::slotted(calcite-flow)*/.content .sc-calcite-shell-s>calcite-shell-center-row,.content .sc-calcite-shell-s>calcite-panel,.content .sc-calcite-shell-s>calcite-flow{flex:1 1 auto;align-self:stretch;max-block-size:unset}/*!@.content--behind*/.content--behind.sc-calcite-shell{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}/*!@::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-center-row{inline-size:unset}/*!@::slotted(.header .heading)*/.sc-calcite-shell-s>.header .heading{font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}/*!@slot[name=panel-end]::slotted(calcite-shell-panel)*/slot[name=panel-end].sc-calcite-shell-s>calcite-shell-panel{margin-inline-start:auto}/*!@::slotted(calcite-shell-panel),\n::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-panel,.sc-calcite-shell-s>calcite-shell-center-row{position:relative;z-index:1}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-s>calcite-panel,.sc-calcite-shell-s>calcite-flow{border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@slot[name=center-row]::slotted(calcite-shell-center-row:not([detached]))*/slot[name=center-row].sc-calcite-shell-s>calcite-shell-center-row:not([detached]){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
|
|
29897
29830
|
|
|
29898
29831
|
/**
|
|
29899
29832
|
* @slot - A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map.
|
|
@@ -29901,8 +29834,6 @@ const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
|
|
|
29901
29834
|
* @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.
|
|
29902
29835
|
* @slot panel-start - A slot for adding the starting `calcite-shell-panel`.
|
|
29903
29836
|
* @slot panel-end - A slot for adding the ending `calcite-shell-panel`.
|
|
29904
|
-
* @slot primary-panel - [DEPRECATED] A slot for adding the leading `calcite-shell-panel`.
|
|
29905
|
-
* @slot contextual-panel - [DEPRECATED] A slot for adding the trailing `calcite-shell-panel`.
|
|
29906
29837
|
* @slot center-row - A slot for adding content to the center row.
|
|
29907
29838
|
*/
|
|
29908
29839
|
class Shell {
|
|
@@ -29960,12 +29891,7 @@ class Shell {
|
|
|
29960
29891
|
return hasFooter ? (hAsync("div", { class: CSS$c.footer, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer }))) : null;
|
|
29961
29892
|
}
|
|
29962
29893
|
renderMain() {
|
|
29963
|
-
|
|
29964
|
-
const mainClasses = {
|
|
29965
|
-
[CSS$c.main]: true,
|
|
29966
|
-
[CSS$c.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
|
29967
|
-
};
|
|
29968
|
-
return (hAsync("div", { class: mainClasses }, hAsync("slot", { name: SLOTS$7.primaryPanel }), hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd }), hAsync("slot", { name: SLOTS$7.contextualPanel })));
|
|
29894
|
+
return (hAsync("div", { class: CSS$c.main }, hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd })));
|
|
29969
29895
|
}
|
|
29970
29896
|
render() {
|
|
29971
29897
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
|
|
@@ -30087,7 +30013,6 @@ const shellPanelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-
|
|
|
30087
30013
|
class ShellPanel {
|
|
30088
30014
|
constructor(hostRef) {
|
|
30089
30015
|
registerInstance(this, hostRef);
|
|
30090
|
-
this.calciteShellPanelToggle = createEvent(this, "calciteShellPanelToggle", 6);
|
|
30091
30016
|
// --------------------------------------------------------------------------
|
|
30092
30017
|
//
|
|
30093
30018
|
// Properties
|
|
@@ -30226,9 +30151,6 @@ class ShellPanel {
|
|
|
30226
30151
|
(_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
|
|
30227
30152
|
};
|
|
30228
30153
|
}
|
|
30229
|
-
watchHandler() {
|
|
30230
|
-
this.calciteShellPanelToggle.emit();
|
|
30231
|
-
}
|
|
30232
30154
|
//--------------------------------------------------------------------------
|
|
30233
30155
|
//
|
|
30234
30156
|
// Lifecycle
|
|
@@ -30300,9 +30222,6 @@ class ShellPanel {
|
|
|
30300
30222
|
forceUpdate$1(this);
|
|
30301
30223
|
}
|
|
30302
30224
|
get el() { return getElement(this); }
|
|
30303
|
-
static get watchers() { return {
|
|
30304
|
-
"collapsed": ["watchHandler"]
|
|
30305
|
-
}; }
|
|
30306
30225
|
static get style() { return shellPanelCss; }
|
|
30307
30226
|
static get cmpMeta() { return {
|
|
30308
30227
|
"$flags$": 9,
|
|
@@ -37389,7 +37308,7 @@ const CSS$2 = {
|
|
|
37389
37308
|
const TOOLTIP_DELAY_MS = 500;
|
|
37390
37309
|
const ARIA_DESCRIBED_BY = "aria-describedby";
|
|
37391
37310
|
|
|
37392
|
-
class TooltipManager
|
|
37311
|
+
class TooltipManager {
|
|
37393
37312
|
constructor() {
|
|
37394
37313
|
// --------------------------------------------------------------------------
|
|
37395
37314
|
//
|
|
@@ -37551,7 +37470,7 @@ class TooltipManager$1 {
|
|
|
37551
37470
|
|
|
37552
37471
|
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip: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-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{display:block;position:absolute;z-index:999}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-tooltip,.arrow.sc-calcite-tooltip::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-start:-4px}/*!@:host([data-placement^=right]) .arrow,\n:host([data-placement^=left]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip,[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;text-align:start}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-inline-start:-4px}/*!@.container*/.container.sc-calcite-tooltip{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
37553
37472
|
|
|
37554
|
-
const manager = new TooltipManager
|
|
37473
|
+
const manager = new TooltipManager();
|
|
37555
37474
|
/**
|
|
37556
37475
|
* @slot - A slot for adding text.
|
|
37557
37476
|
*/
|
|
@@ -37778,48 +37697,6 @@ class Tooltip {
|
|
|
37778
37697
|
}; }
|
|
37779
37698
|
}
|
|
37780
37699
|
|
|
37781
|
-
const tooltipManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip-manager: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-tooltip-manager{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip-manager{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip-manager{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip-manager{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip-manager{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip-manager:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip-manager:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-manager-h{display:none}/*!@:host*/.sc-calcite-tooltip-manager-h{position:relative;display:block}";
|
|
37782
|
-
|
|
37783
|
-
/**
|
|
37784
|
-
* @slot - A slot for adding elements that reference a `calcite-tooltip` by the `selector` property.
|
|
37785
|
-
* @deprecated No longer required for tooltip usage.
|
|
37786
|
-
*/
|
|
37787
|
-
class TooltipManager {
|
|
37788
|
-
constructor(hostRef) {
|
|
37789
|
-
registerInstance(this, hostRef);
|
|
37790
|
-
// --------------------------------------------------------------------------
|
|
37791
|
-
//
|
|
37792
|
-
// Properties
|
|
37793
|
-
//
|
|
37794
|
-
// --------------------------------------------------------------------------
|
|
37795
|
-
/**
|
|
37796
|
-
* CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.
|
|
37797
|
-
*
|
|
37798
|
-
* @default `[data-calcite-tooltip-reference]`
|
|
37799
|
-
*/
|
|
37800
|
-
this.selector = "[data-calcite-tooltip-reference]";
|
|
37801
|
-
}
|
|
37802
|
-
// --------------------------------------------------------------------------
|
|
37803
|
-
//
|
|
37804
|
-
// Render Methods
|
|
37805
|
-
//
|
|
37806
|
-
// --------------------------------------------------------------------------
|
|
37807
|
-
render() {
|
|
37808
|
-
return hAsync("slot", null);
|
|
37809
|
-
}
|
|
37810
|
-
static get style() { return tooltipManagerCss; }
|
|
37811
|
-
static get cmpMeta() { return {
|
|
37812
|
-
"$flags$": 9,
|
|
37813
|
-
"$tagName$": "calcite-tooltip-manager",
|
|
37814
|
-
"$members$": {
|
|
37815
|
-
"selector": [513]
|
|
37816
|
-
},
|
|
37817
|
-
"$listeners$": undefined,
|
|
37818
|
-
"$lazyBundleId$": "-",
|
|
37819
|
-
"$attrsToReflect$": [["selector", "selector"]]
|
|
37820
|
-
}; }
|
|
37821
|
-
}
|
|
37822
|
-
|
|
37823
37700
|
function isTreeItem(element) {
|
|
37824
37701
|
return element === null || element === void 0 ? void 0 : element.matches("calcite-tree-item");
|
|
37825
37702
|
}
|
|
@@ -38983,7 +38860,6 @@ registerComponents([
|
|
|
38983
38860
|
TipGroup,
|
|
38984
38861
|
TipManager,
|
|
38985
38862
|
Tooltip,
|
|
38986
|
-
TooltipManager,
|
|
38987
38863
|
Tree,
|
|
38988
38864
|
TreeItem,
|
|
38989
38865
|
ValueList,
|
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.0.0-next.644
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as e,F as i,g as a,c as n,f as o}from"./p-1b27c4fd.js";import{g as l,a as c,i as r}from"./p-4269c0a1.js";import{c as s,d}from"./p-52b0bd3d.js";import{c as h}from"./p-9aa13057.js";import"./p-dad20ab8.js";import"./p-3cba1323.js";import"./p-b6553905.js";const p=class{constructor(e){t(this,e),this.contentBehind=!1}connectedCallback(){s(this)}disconnectedCallback(){d(this)}renderHeader(){return l(this.el,"header")?e("slot",{key:"header",name:"header"}):null}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),a="content-container";return this.contentBehind?[e("div",{class:{content:!0,"content--behind":!0},key:a},t),i]:[e("div",{class:"content",key:a},t,i)]}renderFooter(){return l(this.el,"footer")?e("div",{class:"footer",key:"footer"},e("slot",{name:"footer"})):null}renderMain(){const t=l(this.el,"primary-panel");return e("div",{class:{main:!0,"main--reversed":"end"===(null==t?void 0:t.position)}},e("slot",{name:"primary-panel"}),e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}),e("slot",{name:"contextual-panel"}))}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter())}get el(){return a(this)}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.main--reversed{flex-direction:row-reverse}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";const m=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){s(this)}disconnectedCallback(){d(this)}render(){const{el:t}=this,a=e("div",{class:"content"},e("slot",null)),n=l(t,"action-bar"),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:"action-bar"})):null,a];return"end"===(null==n?void 0:n.position)&&o.reverse(),e(i,null,o)}get el(){return a(this)}};m.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const u=class{constructor(e){t(this,e),this.calciteShellPanelToggle=n(this,"calciteShellPanelToggle",6),this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.intlResize="Resize",this.resizable=!1,this.contentWidth=null,this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:n,contentWidthMin:o,contentWidthMax:l,initialContentWidth:r,position:s}=this,d=a*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const h=["ArrowLeft","ArrowRight"],p="rtl"===c(i)&&h.includes(e)?-1:1;return"ArrowUp"===e||("end"===s?e===h[0]:e===h[1])?r+p*(t.shiftKey?d:a):"ArrowDown"===e||("end"===s?e===h[1]:e===h[0])?r-p*(t.shiftKey?d:a):"number"==typeof o&&"Home"===e?o:"number"==typeof l&&"End"===e?l:"PageDown"===e?r-d:"PageUp"===e?r+d:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedWidth(t);"number"==typeof e&&this.setContentWidth(e)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,initialContentWidth:i,position:a,initialClientX:n}=this,o=t.clientX-n,l="rtl"===c(e)?-1:1;this.setContentWidth(i+("end"===a?-l*o:l*o))},this.separatorPointerUp=t=>{r(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!r(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)}}watchHandler(){this.calciteShellPanelToggle.emit()}connectedCallback(){s(this)}disconnectedCallback(){d(this),this.disconnectSeparator()}componentDidLoad(){this.updateAriaValues()}renderHeader(){const{el:t}=this;return l(t,"header")?e("div",{class:"content__header",key:"header"},e("slot",{name:"header"})):null}render(){const{collapsed:t,detached:i,position:a,initialContentWidth:n,contentWidth:o,contentWidthMax:l,contentWidthMin:c,intlResize:r,resizable:s}=this,d=!i&&s,h=e("div",{class:{content:!0,"content--detached":i},hidden:t,key:"content",ref:this.storeContentEl,style:d&&o?{width:`${o}px`}:null},this.renderHeader(),e("div",{class:"content__body"},e("slot",null))),p=d?e("div",{"aria-label":r,"aria-orientation":"horizontal","aria-valuemax":l,"aria-valuemin":c,"aria-valuenow":null!=o?o:n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,m=[e("slot",{key:"action-bar",name:"action-bar"}),h,p];return"end"===a&&m.reverse(),e("div",{class:{container:!0}},m)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?h(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);if(!e)return;const i=parseInt(e.getPropertyValue("max-width"),10),a=parseInt(e.getPropertyValue("min-width"),10),n=parseInt(e.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof i||isNaN(i)||(this.contentWidthMax=i),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a),o(this)}get el(){return a(this)}static get watchers(){return{collapsed:["watchHandler"]}}};u.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}";export{p as calcite_shell,m as calcite_shell_center_row,u as calcite_shell_panel}
|
|
@@ -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.0.0-next.644
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as a,g as s}from"./p-1b27c4fd.js";import{s as n,b as o,t as l,g as r}from"./p-4269c0a1.js";import{S as c}from"./p-19cb03e2.js";import{c as d,d as h}from"./p-41ebc630.js";import{c as m,d as u,n as p}from"./p-f38d2f19.js";import{s as g,a as f,c as v}from"./p-d0c5e979.js";import"./p-dad20ab8.js";import"./p-3cba1323.js";import"./p-10f57c29.js";import"./p-b6553905.js";const b={slow:14e3,medium:1e4,fast:6e3},k=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6),this.active=!1,this.open=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1,this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,d(this)},this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)}}activeHandler(t){this.open=t}openHandler(t){this.open&&!this.queued&&(this.calciteInternalAlertRegister.emit(),this.active=t),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.active=!1)}updateRequestedIcon(){this.requestedIcon=o(c,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),b[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){m(this);const t=this.open||this.active;t&&!this.queued&&(this.activeHandler(t),this.openHandler(t),this.calciteInternalAlertRegister.emit()),d(this)}componentWillLoad(){g(this),this.requestedIcon=o(c,this.icon,this.color)}componentDidLoad(){f(this)}disconnectedCallback(){window.clearTimeout(this.autoDismissTimeoutId),h(this),u(this)}render(){const{hasEndActions:t}=this,e=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}));p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const s=p.numberFormatter.format(this.queueLength>2?this.queueLength-1:1),n=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:s},s)),{active:o,autoDismiss:r,label:c,placement:d,queued:h,requestedIcon:m}=this,u=r?"alert":"alertdialog",g=!o,f=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler});return i(a,{"aria-hidden":l(g),"aria-label":c,"calcite-hydrated-hidden":g,role:u},i("div",{class:{container:!0,queued:h,[d]:!0},ref:this.setTransitionEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),i("div",{class:"actions-end",hidden:!t},f),this.queueLength>1?n:null,r?null:e,o&&!h&&r?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){await v(this);const t=r(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),b[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};k.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}[hidden]{display:none}.container{display:flex;inline-size:100%;align-items:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{animation:dismissProgress 14000ms ease-out}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{k as calcite_alert}
|