@esri/calcite-components 1.3.0-next.1 → 1.3.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/icon/addReaction16.json +1 -0
- package/dist/calcite/assets/icon/addReaction24.json +1 -0
- package/dist/calcite/assets/icon/addReaction32.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge16.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge24.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge32.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall16.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall24.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall32.json +1 -0
- package/dist/calcite/assets/icon/functionEditor16.json +1 -0
- package/dist/calcite/assets/icon/functionEditor24.json +1 -0
- package/dist/calcite/assets/icon/functionEditor32.json +1 -0
- package/dist/calcite/assets/icon/headingLayout16.json +1 -0
- package/dist/calcite/assets/icon/headingLayout24.json +1 -0
- package/dist/calcite/assets/icon/headingLayout32.json +1 -0
- package/dist/calcite/assets/icon/missionServer16.json +1 -0
- package/dist/calcite/assets/icon/missionServer24.json +1 -0
- package/dist/calcite/assets/icon/missionServer32.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate16.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate24.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate32.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction16.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction24.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction32.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate16.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate24.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate32.json +1 -0
- package/dist/calcite/assets/icon/replaceImage16.json +1 -0
- package/dist/calcite/assets/icon/replaceImage24.json +1 -0
- package/dist/calcite/assets/icon/replaceImage32.json +1 -0
- package/dist/calcite/assets/icon/subheading116.json +1 -0
- package/dist/calcite/assets/icon/subheading124.json +1 -0
- package/dist/calcite/assets/icon/subheading132.json +1 -0
- package/dist/calcite/assets/icon/subheading216.json +1 -0
- package/dist/calcite/assets/icon/subheading224.json +1 -0
- package/dist/calcite/assets/icon/subheading232.json +1 -0
- package/dist/calcite/assets/icon/subheading316.json +1 -0
- package/dist/calcite/assets/icon/subheading324.json +1 -0
- package/dist/calcite/assets/icon/subheading332.json +1 -0
- package/dist/calcite/assets/icon/subheading416.json +1 -0
- package/dist/calcite/assets/icon/subheading424.json +1 -0
- package/dist/calcite/assets/icon/subheading432.json +1 -0
- package/dist/calcite/assets/icon/subheading516.json +1 -0
- package/dist/calcite/assets/icon/subheading524.json +1 -0
- package/dist/calcite/assets/icon/subheading532.json +1 -0
- package/dist/calcite/assets/icon/videoServer16.json +1 -0
- package/dist/calcite/assets/icon/videoServer24.json +1 -0
- package/dist/calcite/assets/icon/videoServer32.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer16.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer24.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -1
- package/dist/calcite/{p-e18ba840.js → p-00f81113.js} +1 -1
- package/dist/calcite/{p-6f6472dd.js → p-02d06e51.js} +1 -1
- package/dist/calcite/{p-c5c89932.js → p-08356c15.js} +2 -2
- package/dist/calcite/{p-ec9c5804.js → p-087353ea.js} +1 -1
- package/dist/calcite/{p-f8a32dd6.js → p-0da18018.js} +1 -1
- package/dist/calcite/{p-6cef9d81.entry.js → p-0dc872de.entry.js} +2 -2
- package/dist/calcite/{p-79182152.entry.js → p-0f92442e.entry.js} +2 -2
- package/dist/calcite/{p-fbb8d956.entry.js → p-14b2465e.entry.js} +2 -2
- package/dist/calcite/{p-a8193ac6.js → p-14f8d56b.js} +1 -1
- package/dist/calcite/p-1508b083.js +6 -0
- package/dist/calcite/{p-82d453fc.entry.js → p-2048f5f4.entry.js} +2 -2
- package/dist/calcite/{p-0195cf40.js → p-23551e86.js} +1 -1
- package/dist/calcite/{p-a1e9656a.entry.js → p-26aefa93.entry.js} +2 -2
- package/dist/calcite/p-2997b10c.js +6 -0
- package/dist/calcite/{p-30379572.entry.js → p-2a572f44.entry.js} +2 -2
- package/dist/calcite/p-2f90ba1a.entry.js +6 -0
- package/dist/calcite/{p-53f09bdf.entry.js → p-314212e0.entry.js} +2 -2
- package/dist/calcite/{p-9ff8d66d.js → p-320c8770.js} +1 -1
- package/dist/calcite/{p-f11f24a2.entry.js → p-33666a63.entry.js} +2 -2
- package/dist/calcite/{p-bb7d3759.entry.js → p-3406f7c1.entry.js} +2 -2
- package/dist/calcite/p-36c21849.entry.js +6 -0
- package/dist/calcite/{p-a593b089.entry.js → p-373f77d1.entry.js} +2 -2
- package/dist/calcite/p-396b8d49.entry.js +6 -0
- package/dist/calcite/p-3f7f7cce.js +6 -0
- package/dist/calcite/p-406bd9a9.js +6 -0
- package/dist/calcite/p-410c4772.entry.js +6 -0
- package/dist/calcite/{p-235414e5.js → p-42967353.js} +2 -2
- package/dist/calcite/p-454f8ba2.entry.js +6 -0
- package/dist/calcite/p-546b8d7c.entry.js +6 -0
- package/dist/calcite/p-57a2b992.entry.js +6 -0
- package/dist/calcite/{p-7dc9d650.entry.js → p-5818d9f0.entry.js} +2 -2
- package/dist/calcite/{p-135e0201.entry.js → p-5cc4f8ec.entry.js} +2 -2
- package/dist/calcite/{p-ad670aff.entry.js → p-5d3cbd71.entry.js} +2 -2
- package/dist/calcite/{p-d4fc9b19.entry.js → p-6169bb3a.entry.js} +2 -2
- package/dist/calcite/{p-d7e1c879.entry.js → p-65b6b8e2.entry.js} +2 -2
- package/dist/calcite/{p-b661668a.entry.js → p-67141cc2.entry.js} +2 -2
- package/dist/calcite/p-69264c97.entry.js +6 -0
- package/dist/calcite/{p-8b7af2e3.entry.js → p-6b692774.entry.js} +2 -2
- package/dist/calcite/{p-f9e39b66.entry.js → p-6cdc3489.entry.js} +2 -2
- package/dist/calcite/{p-f3d51c25.entry.js → p-6d4326c9.entry.js} +2 -2
- package/dist/calcite/{p-e424f395.js → p-6d661269.js} +2 -2
- package/dist/calcite/{p-652d0da1.js → p-6fc7aabd.js} +2 -2
- package/dist/calcite/{p-754d4419.js → p-70cd2e63.js} +2 -2
- package/dist/calcite/{p-69a8f436.js → p-776fafb6.js} +2 -2
- package/dist/calcite/p-7844333b.entry.js +6 -0
- package/dist/calcite/{p-25f91a66.entry.js → p-81cd2ef1.entry.js} +2 -2
- package/dist/calcite/{p-dc1a39b5.entry.js → p-824da334.entry.js} +2 -2
- package/dist/calcite/{p-fe3d99b2.js → p-86e4551d.js} +2 -2
- package/dist/calcite/{p-ba22b9cc.entry.js → p-8734ecd6.entry.js} +2 -2
- package/dist/calcite/{p-912811f1.entry.js → p-88292a27.entry.js} +2 -2
- package/dist/calcite/{p-b6c6f864.entry.js → p-8cdbf8b5.entry.js} +2 -2
- package/dist/calcite/p-8d43975c.entry.js +6 -0
- package/dist/calcite/{p-ff222928.entry.js → p-8dd157a7.entry.js} +2 -2
- package/dist/calcite/p-924c7698.entry.js +6 -0
- package/dist/calcite/{p-d5d99dfd.entry.js → p-932ac6c6.entry.js} +2 -2
- package/dist/calcite/p-94db30ae.js +6 -0
- package/dist/calcite/{p-de3a052b.entry.js → p-98e4b28f.entry.js} +2 -2
- package/dist/calcite/{p-76db7f82.entry.js → p-98f62757.entry.js} +2 -2
- package/dist/calcite/{p-a0265a35.js → p-99e339dd.js} +1 -1
- package/dist/calcite/p-9d8f86bb.entry.js +6 -0
- package/dist/calcite/p-a0ad54ef.entry.js +6 -0
- package/dist/calcite/{p-c1fe69ce.js → p-a1f8ee99.js} +1 -1
- package/dist/calcite/{p-774f8ad6.entry.js → p-a28f983a.entry.js} +2 -2
- package/dist/calcite/{p-f62af1fc.js → p-a32d7b56.js} +1 -1
- package/dist/calcite/{p-63aa3b2b.entry.js → p-a7db3a72.entry.js} +2 -2
- package/dist/calcite/{p-bfe76b5c.entry.js → p-a90df436.entry.js} +2 -2
- package/dist/calcite/{p-21dc1231.entry.js → p-ad9c66bf.entry.js} +2 -2
- package/dist/calcite/{p-936a64fb.entry.js → p-b4d3021c.entry.js} +2 -2
- package/dist/calcite/p-b6ca749d.entry.js +6 -0
- package/dist/calcite/{p-88ad6fe9.js → p-bd28cc44.js} +2 -2
- package/dist/calcite/{p-6e27583d.entry.js → p-bdd11a4a.entry.js} +2 -2
- package/dist/calcite/p-bdf8d76e.entry.js +6 -0
- package/dist/calcite/{p-e8a3b15c.entry.js → p-bfeee6f9.entry.js} +2 -2
- package/dist/calcite/p-c0af78dc.js +10 -0
- package/dist/calcite/{p-bd9ea977.js → p-c23eff7d.js} +2 -2
- package/dist/calcite/{p-365a6c03.entry.js → p-d0e18607.entry.js} +2 -2
- package/dist/calcite/{p-6684cff5.entry.js → p-d15e6a92.entry.js} +2 -2
- package/dist/calcite/{p-dec3f9b2.entry.js → p-db433016.entry.js} +2 -2
- package/dist/calcite/{p-9ad2f155.js → p-df45bfef.js} +1 -1
- package/dist/calcite/{p-5fc44b4d.js → p-e1c494d2.js} +1 -1
- package/dist/calcite/{p-f28eb787.entry.js → p-e1fa48e6.entry.js} +2 -2
- package/dist/calcite/{p-7301f4ee.entry.js → p-e35f5811.entry.js} +2 -2
- package/dist/calcite/{p-34101a33.entry.js → p-e62b0c2a.entry.js} +2 -2
- package/dist/calcite/{p-0b85a2ad.js → p-e673032f.js} +3 -3
- package/dist/calcite/p-e6cd6c44.js +6 -0
- package/dist/calcite/{p-ddcc2024.entry.js → p-e9e1190b.entry.js} +2 -2
- package/dist/calcite/{p-db69b55b.js → p-ecf60d43.js} +2 -2
- package/dist/calcite/{p-9abeb368.entry.js → p-f0054f65.entry.js} +2 -2
- package/dist/calcite/{p-6140540a.js → p-f4689d82.js} +2 -2
- package/dist/calcite/{p-9ef0c72d.js → p-f61f936a.js} +1 -1
- package/dist/calcite/p-f6768944.entry.js +6 -0
- package/dist/calcite/{p-36f44dc1.js → p-fb8d0259.js} +1 -1
- package/dist/calcite/{p-cb88b175.entry.js → p-fd7dbc37.entry.js} +2 -2
- package/dist/calcite/{p-8d38ad46.entry.js → p-fed20e09.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-361fc2ad.js → ExpandToggle-2700f7b5.js} +5 -5
- package/dist/cjs/{Heading-aa93ebff.js → Heading-c611c426.js} +2 -2
- package/dist/cjs/{app-globals-57966caf.js → app-globals-5354cc6f.js} +2 -2
- package/dist/cjs/{array-bc080764.js → array-bd04194e.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +31 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +30 -15
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +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 +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- 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 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +20 -19
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +30 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +23 -18
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -12
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/composed-offset-position.esm-3b37635f.js +79 -0
- package/dist/cjs/{conditionalSlot-69c94118.js → conditionalSlot-b5edf919.js} +3 -3
- package/dist/cjs/{debounce-68cfe810.js → debounce-3a4166a0.js} +1 -1
- package/dist/cjs/{dom-7fca3f91.js → dom-c3099ebd.js} +3 -3
- package/dist/cjs/{filter-af4ba40e.js → filter-d064fe50.js} +2 -2
- package/dist/cjs/{floating-ui-e8bef575.js → floating-ui-03c8d3a6.js} +4 -4
- package/dist/cjs/{focusTrapComponent-09a57e94.js → focusTrapComponent-9b8f50e0.js} +8 -11
- package/dist/cjs/{form-ca34886c.js → form-8207bcb1.js} +3 -3
- package/dist/cjs/{guid-c66423d8.js → guid-3b5ea58d.js} +1 -1
- package/dist/cjs/{index-75835aae.js → index-1fac4546.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -1
- package/dist/cjs/{interactive-c790a270.js → interactive-ce81f0db.js} +1 -1
- package/dist/cjs/{key-ea2948f8.js → key-ca7de978.js} +1 -1
- package/dist/cjs/{label-c0b81eca.js → label-ae38ffa4.js} +2 -2
- package/dist/cjs/{loadable-010dc9c6.js → loadable-024f3df3.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-b104c1a9.js → locale-74c607c9.js} +4 -4
- package/dist/cjs/{math-bc78a81a.js → math-4f7ac68f.js} +1 -1
- package/dist/cjs/{observers-45c87587.js → observers-28d889d7.js} +1 -1
- package/dist/cjs/{openCloseComponent-7aac0340.js → openCloseComponent-09fd32b7.js} +2 -2
- package/dist/cjs/{resources-fb3e95ad.js → resources-1ce97cca.js} +1 -1
- package/dist/cjs/{resources-a2738507.js → resources-4fe7a38b.js} +1 -1
- package/dist/cjs/{resources-bbb71398.js → resources-85cc0480.js} +3 -1
- package/dist/cjs/{resources-fcfb346b.js → resources-cf6ac069.js} +1 -1
- package/dist/cjs/{resources-e5324cf4.js → resources-d73f1a7b.js} +1 -1
- package/dist/cjs/{resources-c9f56719.js → resources-f91f1111.js} +5 -5
- package/dist/cjs/{sortable.esm-49f05d2c.js → sortable.esm-3d71a093.js} +1 -1
- package/dist/cjs/{t9n-97bb1c50.js → t9n-dabb60e9.js} +3 -3
- package/dist/cjs/{throttle-4b4620bd.js → throttle-e8b54e0a.js} +2 -2
- package/dist/cjs/{utils-6f6abb63.js → utils-61c9b6d4.js} +3 -3
- package/dist/cjs/{utils-951cdf9d.js → utils-d13193ec.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +20 -3
- 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 +5 -2
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +21 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/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 +2 -2
- 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.css +7 -14
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
- 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.css +2 -0
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/addReaction16.json +1 -0
- package/dist/collection/components/icon/assets/icon/addReaction24.json +1 -0
- package/dist/collection/components/icon/assets/icon/addReaction32.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge16.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge24.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge32.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall16.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall24.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall32.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor16.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor24.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor32.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout16.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout24.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout32.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate16.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate24.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate32.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage16.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage24.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage32.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading116.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading124.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading132.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading216.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading224.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading232.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading316.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading324.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading332.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading416.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading424.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading432.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading516.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading524.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading532.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +2 -2
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +2 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +8 -7
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +11 -4
- package/dist/collection/components/panel/panel.js +19 -8
- package/dist/collection/components/panel/resources.js +3 -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 +10 -4
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +4 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +6 -3
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +9 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +2 -2
- package/dist/collection/utils/focusTrapComponent.js +7 -10
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- 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 +18 -3
- 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 +19 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +3 -3
- package/dist/components/calcite-input-number.js +3 -3
- package/dist/components/calcite-input-text.js +3 -3
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +10 -9
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +4 -1
- package/dist/components/calcite-shell-panel.js +6 -3
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-tree.js +2 -2
- 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 +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/composed-offset-position.esm.js +75 -0
- 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 +2 -2
- package/dist/components/dropdown.js +3 -3
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/focusTrapComponent.js +8 -11
- 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 +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/input.js +4 -4
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +21 -9
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +12 -6
- 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 +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-6a42db53.js → ExpandToggle-7197a522.js} +5 -5
- package/dist/esm/{Heading-235a2140.js → Heading-7c309215.js} +2 -2
- package/dist/esm/{app-globals-e0eeda11.js → app-globals-0acbda05.js} +2 -2
- package/dist/esm/{array-ae19281e.js → array-867a105a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +31 -16
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +30 -15
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +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 +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- 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 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +20 -19
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +30 -21
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +23 -18
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +18 -12
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/composed-offset-position.esm-baeaa0df.js +75 -0
- package/dist/esm/{conditionalSlot-7dfecfab.js → conditionalSlot-e30bdf0c.js} +3 -3
- package/dist/esm/{debounce-ed500115.js → debounce-5fb1a0ae.js} +1 -1
- package/dist/esm/{dom-5c898439.js → dom-620d6b46.js} +4 -4
- package/dist/esm/{filter-239c05c2.js → filter-ce77a4e4.js} +2 -2
- package/dist/esm/{floating-ui-5645c81c.js → floating-ui-319ed5e4.js} +4 -4
- package/dist/esm/{focusTrapComponent-ee28093c.js → focusTrapComponent-83c06a2c.js} +8 -11
- package/dist/esm/{form-5a64e8a0.js → form-64445850.js} +3 -3
- package/dist/esm/{guid-68737a3e.js → guid-8a110996.js} +1 -1
- package/dist/esm/{index-5187a493.js → index-385fb006.js} +2 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/{interactive-2ae71b08.js → interactive-538ec824.js} +1 -1
- package/dist/esm/{key-42a3ea9e.js → key-4d29e56b.js} +1 -1
- package/dist/esm/{label-696eb1d3.js → label-7a49f88b.js} +2 -2
- package/dist/esm/{loadable-f5168708.js → loadable-d37c46d7.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-0fab4994.js → locale-61b9f0ef.js} +4 -4
- package/dist/esm/{math-3a0a1b66.js → math-1d4abede.js} +1 -1
- package/dist/esm/{observers-f72c2748.js → observers-6383bc12.js} +1 -1
- package/dist/esm/{openCloseComponent-9e1c3faa.js → openCloseComponent-cbc0d616.js} +2 -2
- package/dist/esm/{resources-e6f2a71f.js → resources-2902159c.js} +1 -1
- package/dist/esm/{resources-f21dc341.js → resources-3a47b8ec.js} +1 -1
- package/dist/esm/{resources-035f77f6.js → resources-9bac21e5.js} +3 -1
- package/dist/esm/{resources-d26a28f3.js → resources-abe8d5e1.js} +1 -1
- package/dist/esm/{resources-90a8c61a.js → resources-c3b819f1.js} +5 -5
- package/dist/esm/{resources-9ba98edc.js → resources-e8a25f9f.js} +1 -1
- package/dist/esm/{sortable.esm-674dad5a.js → sortable.esm-1a2bc3ca.js} +1 -1
- package/dist/esm/{t9n-cebdf6b4.js → t9n-fcf2df27.js} +3 -3
- package/dist/esm/{throttle-cca059f8.js → throttle-283e4a66.js} +2 -2
- package/dist/esm/{utils-e4d79b01.js → utils-48097228.js} +1 -1
- package/dist/esm/{utils-e1607c68.js → utils-a3c72413.js} +3 -3
- package/dist/extras/docs-json.json +21 -7
- 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/action-bar/action-bar.d.ts +5 -1
- package/dist/types/components/action-group/action-group.d.ts +2 -0
- package/dist/types/components/action-pad/action-pad.d.ts +6 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +4 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/focusTrapComponent.d.ts +5 -5
- package/dist/types/utils/observers.d.ts +1 -1
- package/hydrate/index.js +89 -35
- package/package.json +9 -7
- package/readme.md +7 -4
- package/dist/calcite/p-0f10152e.entry.js +0 -6
- package/dist/calcite/p-1ded5c09.entry.js +0 -6
- package/dist/calcite/p-3f8f325a.entry.js +0 -6
- package/dist/calcite/p-402911f1.entry.js +0 -6
- package/dist/calcite/p-53e2fa08.entry.js +0 -6
- package/dist/calcite/p-5afafe2d.js +0 -6
- package/dist/calcite/p-70b0d685.entry.js +0 -6
- package/dist/calcite/p-762eedca.entry.js +0 -6
- package/dist/calcite/p-79872541.entry.js +0 -6
- package/dist/calcite/p-7f34a0cd.entry.js +0 -6
- package/dist/calcite/p-80bb8cdf.js +0 -10
- package/dist/calcite/p-8a23ce46.js +0 -6
- package/dist/calcite/p-9c0823b9.js +0 -6
- package/dist/calcite/p-a88702b6.js +0 -6
- package/dist/calcite/p-aa2f05c7.entry.js +0 -6
- package/dist/calcite/p-aeae799e.js +0 -6
- package/dist/calcite/p-b13d34ce.entry.js +0 -6
- package/dist/calcite/p-be20eb07.entry.js +0 -6
- package/dist/calcite/p-ce942f41.entry.js +0 -6
- package/dist/calcite/p-d72cf633.entry.js +0 -6
- package/dist/calcite/p-e148dfb5.entry.js +0 -6
- package/dist/calcite/p-f31436ae.entry.js +0 -6
- package/dist/calcite/p-fcf970d9.js +0 -6
- package/dist/cjs/utils-4cabe2b2.js +0 -49
- package/dist/collection/utils/floating-ui/utils.js +0 -45
- package/dist/components/utils4.js +0 -47
- package/dist/esm/utils-f33dd415.js +0 -47
- package/dist/types/utils/floating-ui/utils.d.ts +0 -4
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.3.0-next.
|
|
4
|
+
* v1.3.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -9249,6 +9249,7 @@ class ActionBar {
|
|
|
9249
9249
|
const actions = queryActions(el);
|
|
9250
9250
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
9251
9251
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
9252
|
+
this.setGroupLayout(actionGroups);
|
|
9252
9253
|
const groupCount = getSlotted(el, SLOTS$r.bottomActions) || !expandDisabled
|
|
9253
9254
|
? actionGroups.length + 1
|
|
9254
9255
|
: actionGroups.length;
|
|
@@ -9280,6 +9281,10 @@ class ActionBar {
|
|
|
9280
9281
|
this.setExpandToggleRef = (el) => {
|
|
9281
9282
|
this.expandToggleEl = el;
|
|
9282
9283
|
};
|
|
9284
|
+
this.handleDefaultSlotChange = (event) => {
|
|
9285
|
+
const groups = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-action-group"));
|
|
9286
|
+
this.setGroupLayout(groups);
|
|
9287
|
+
};
|
|
9283
9288
|
this.expandDisabled = false;
|
|
9284
9289
|
this.expanded = false;
|
|
9285
9290
|
this.layout = "vertical";
|
|
@@ -9298,6 +9303,9 @@ class ActionBar {
|
|
|
9298
9303
|
toggleChildActionText({ parent: this.el, expanded });
|
|
9299
9304
|
this.conditionallyOverflowActions();
|
|
9300
9305
|
}
|
|
9306
|
+
layoutHandler() {
|
|
9307
|
+
this.updateGroups();
|
|
9308
|
+
}
|
|
9301
9309
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
9302
9310
|
overflowActionsDisabled
|
|
9303
9311
|
? this.resizeObserver.disconnect()
|
|
@@ -9361,6 +9369,12 @@ class ActionBar {
|
|
|
9361
9369
|
await componentLoaded(this);
|
|
9362
9370
|
this.el?.focus();
|
|
9363
9371
|
}
|
|
9372
|
+
updateGroups() {
|
|
9373
|
+
this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
|
|
9374
|
+
}
|
|
9375
|
+
setGroupLayout(groups) {
|
|
9376
|
+
groups.forEach((group) => (group.layout = this.layout));
|
|
9377
|
+
}
|
|
9364
9378
|
// --------------------------------------------------------------------------
|
|
9365
9379
|
//
|
|
9366
9380
|
// Render Methods
|
|
@@ -9375,7 +9389,7 @@ class ActionBar {
|
|
|
9375
9389
|
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$V.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
9376
9390
|
}
|
|
9377
9391
|
render() {
|
|
9378
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot",
|
|
9392
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
9379
9393
|
}
|
|
9380
9394
|
static get delegatesFocus() { return true; }
|
|
9381
9395
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -9383,6 +9397,7 @@ class ActionBar {
|
|
|
9383
9397
|
static get watchers() { return {
|
|
9384
9398
|
"expandDisabled": ["expandHandler"],
|
|
9385
9399
|
"expanded": ["expandedHandler"],
|
|
9400
|
+
"layout": ["layoutHandler"],
|
|
9386
9401
|
"overflowActionsDisabled": ["overflowDisabledHandler"],
|
|
9387
9402
|
"messageOverrides": ["onMessagesChange"],
|
|
9388
9403
|
"effectiveLocale": ["effectiveLocaleChange"]
|
|
@@ -9840,6 +9855,7 @@ class ActionPad {
|
|
|
9840
9855
|
constructor(hostRef) {
|
|
9841
9856
|
registerInstance(this, hostRef);
|
|
9842
9857
|
this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle", 6);
|
|
9858
|
+
this.mutationObserver = createObserver();
|
|
9843
9859
|
// --------------------------------------------------------------------------
|
|
9844
9860
|
//
|
|
9845
9861
|
// Private Methods
|
|
@@ -9862,6 +9878,10 @@ class ActionPad {
|
|
|
9862
9878
|
this.setExpandToggleRef = (el) => {
|
|
9863
9879
|
this.expandToggleEl = el;
|
|
9864
9880
|
};
|
|
9881
|
+
this.handleDefaultSlotChange = (event) => {
|
|
9882
|
+
const groups = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-action-group"));
|
|
9883
|
+
this.setGroupLayout(groups);
|
|
9884
|
+
};
|
|
9865
9885
|
this.expandDisabled = false;
|
|
9866
9886
|
this.expanded = false;
|
|
9867
9887
|
this.layout = "vertical";
|
|
@@ -9875,6 +9895,9 @@ class ActionPad {
|
|
|
9875
9895
|
expandedHandler(expanded) {
|
|
9876
9896
|
toggleChildActionText({ parent: this.el, expanded });
|
|
9877
9897
|
}
|
|
9898
|
+
layoutHandler() {
|
|
9899
|
+
this.updateGroups();
|
|
9900
|
+
}
|
|
9878
9901
|
onMessagesChange() {
|
|
9879
9902
|
/* wired up by t9n util */
|
|
9880
9903
|
}
|
|
@@ -9917,6 +9940,12 @@ class ActionPad {
|
|
|
9917
9940
|
await componentLoaded(this);
|
|
9918
9941
|
this.el?.focus();
|
|
9919
9942
|
}
|
|
9943
|
+
updateGroups() {
|
|
9944
|
+
this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
|
|
9945
|
+
}
|
|
9946
|
+
setGroupLayout(groups) {
|
|
9947
|
+
groups.forEach((group) => (group.layout = this.layout));
|
|
9948
|
+
}
|
|
9920
9949
|
// --------------------------------------------------------------------------
|
|
9921
9950
|
//
|
|
9922
9951
|
// Component Methods
|
|
@@ -9931,13 +9960,14 @@ class ActionPad {
|
|
|
9931
9960
|
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$U.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
9932
9961
|
}
|
|
9933
9962
|
render() {
|
|
9934
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$U.container }, hAsync("slot",
|
|
9963
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$U.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
9935
9964
|
}
|
|
9936
9965
|
static get delegatesFocus() { return true; }
|
|
9937
9966
|
static get assetsDirs() { return ["assets"]; }
|
|
9938
9967
|
get el() { return getElement(this); }
|
|
9939
9968
|
static get watchers() { return {
|
|
9940
9969
|
"expanded": ["expandedHandler"],
|
|
9970
|
+
"layout": ["layoutHandler"],
|
|
9941
9971
|
"messageOverrides": ["onMessagesChange"],
|
|
9942
9972
|
"effectiveLocale": ["effectiveLocaleChange"]
|
|
9943
9973
|
}; }
|
|
@@ -17878,7 +17908,7 @@ const CSS$J = {
|
|
|
17878
17908
|
title: "title"
|
|
17879
17909
|
};
|
|
17880
17910
|
|
|
17881
|
-
const comboboxItemGroupCss = "@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-combobox-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-combobox-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox-item-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-item-group-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent
|
|
17911
|
+
const comboboxItemGroupCss = "@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-combobox-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-combobox-item-group{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox-item-group{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox-item-group{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox-item-group{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox-item-group{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox-item-group:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-item-group-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}/*!@.scale--m*/.scale--m.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}/*!@.scale--l*/.scale--l.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}/*!@:host,\n.list*/.sc-calcite-combobox-item-group-h,.list.sc-calcite-combobox-item-group{margin:0px;display:flex;flex-direction:column;padding:0px}/*!@:host(:focus),\n.list:focus*/.sc-calcite-combobox-item-group-h:focus,.list.sc-calcite-combobox-item-group:focus{outline:2px solid transparent;outline-offset:2px}/*!@.label*/.label.sc-calcite-combobox-item-group{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}/*!@.title*/.title.sc-calcite-combobox-item-group{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}";
|
|
17882
17912
|
|
|
17883
17913
|
/**
|
|
17884
17914
|
* @slot - A slot for adding `calcite-combobox-item`s.
|
|
@@ -17907,8 +17937,8 @@ class ComboboxItemGroup {
|
|
|
17907
17937
|
// --------------------------------------------------------------------------
|
|
17908
17938
|
render() {
|
|
17909
17939
|
const { el, scale } = this;
|
|
17910
|
-
const
|
|
17911
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$J.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$J.label]: true
|
|
17940
|
+
const depth = getDepth$1();
|
|
17941
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$J.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$J.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$J.title }, this.label)), hAsync("slot", null)));
|
|
17912
17942
|
}
|
|
17913
17943
|
get el() { return getElement(this); }
|
|
17914
17944
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -19245,7 +19275,7 @@ const SLOTS$l = {
|
|
|
19245
19275
|
dropdownTrigger: "trigger"
|
|
19246
19276
|
};
|
|
19247
19277
|
|
|
19248
|
-
const dropdownCss = "@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-dropdown: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-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-trigger-container*/.calcite-trigger-container.sc-calcite-dropdown{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
19278
|
+
const dropdownCss = "@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-dropdown: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-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-trigger-container*/.calcite-trigger-container.sc-calcite-dropdown{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
19249
19279
|
|
|
19250
19280
|
/**
|
|
19251
19281
|
* @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
@@ -20297,6 +20327,7 @@ class Flow {
|
|
|
20297
20327
|
}
|
|
20298
20328
|
|
|
20299
20329
|
const CSS$C = {
|
|
20330
|
+
actionBarContainer: "action-bar-container",
|
|
20300
20331
|
backButton: "back-button",
|
|
20301
20332
|
container: "container",
|
|
20302
20333
|
header: "header",
|
|
@@ -20320,6 +20351,7 @@ const ICONS$9 = {
|
|
|
20320
20351
|
backRight: "chevron-right"
|
|
20321
20352
|
};
|
|
20322
20353
|
const SLOTS$k = {
|
|
20354
|
+
actionBar: "action-bar",
|
|
20323
20355
|
headerActionsStart: "header-actions-start",
|
|
20324
20356
|
headerActionsEnd: "header-actions-end",
|
|
20325
20357
|
headerMenuActions: "header-menu-actions",
|
|
@@ -21864,8 +21896,8 @@ class Input {
|
|
|
21864
21896
|
"prefixText": [1, "prefix-text"],
|
|
21865
21897
|
"readOnly": [516, "read-only"],
|
|
21866
21898
|
"required": [516],
|
|
21867
|
-
"scale": [
|
|
21868
|
-
"status": [
|
|
21899
|
+
"scale": [513],
|
|
21900
|
+
"status": [513],
|
|
21869
21901
|
"step": [520],
|
|
21870
21902
|
"autocomplete": [1],
|
|
21871
21903
|
"pattern": [1],
|
|
@@ -22537,7 +22569,7 @@ class InputMessage {
|
|
|
22537
22569
|
"$members$": {
|
|
22538
22570
|
"icon": [520],
|
|
22539
22571
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
22540
|
-
"scale": [
|
|
22572
|
+
"scale": [513],
|
|
22541
22573
|
"status": [513]
|
|
22542
22574
|
},
|
|
22543
22575
|
"$listeners$": undefined,
|
|
@@ -23108,7 +23140,7 @@ class InputNumber {
|
|
|
23108
23140
|
"prefixText": [1, "prefix-text"],
|
|
23109
23141
|
"readOnly": [516, "read-only"],
|
|
23110
23142
|
"required": [516],
|
|
23111
|
-
"scale": [
|
|
23143
|
+
"scale": [513],
|
|
23112
23144
|
"status": [513],
|
|
23113
23145
|
"step": [520],
|
|
23114
23146
|
"autocomplete": [1],
|
|
@@ -23471,7 +23503,7 @@ class InputText {
|
|
|
23471
23503
|
"prefixText": [1, "prefix-text"],
|
|
23472
23504
|
"readOnly": [516, "read-only"],
|
|
23473
23505
|
"required": [516],
|
|
23474
|
-
"scale": [
|
|
23506
|
+
"scale": [513],
|
|
23475
23507
|
"status": [513],
|
|
23476
23508
|
"autocomplete": [1],
|
|
23477
23509
|
"inputMode": [1, "input-mode"],
|
|
@@ -25691,18 +25723,15 @@ const trapStack = [];
|
|
|
25691
25723
|
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
25692
25724
|
*/
|
|
25693
25725
|
function connectFocusTrap(component) {
|
|
25694
|
-
const {
|
|
25695
|
-
if (!
|
|
25726
|
+
const { el } = component;
|
|
25727
|
+
if (!el) {
|
|
25696
25728
|
return;
|
|
25697
25729
|
}
|
|
25698
|
-
if (focusTrapEl.tabIndex == null) {
|
|
25699
|
-
focusTrapEl.tabIndex = -1;
|
|
25700
|
-
}
|
|
25701
25730
|
const focusTrapOptions = {
|
|
25702
25731
|
clickOutsideDeactivates: true,
|
|
25703
|
-
document:
|
|
25732
|
+
document: el.ownerDocument,
|
|
25704
25733
|
escapeDeactivates: false,
|
|
25705
|
-
fallbackFocus:
|
|
25734
|
+
fallbackFocus: el,
|
|
25706
25735
|
setReturnFocus: (el) => {
|
|
25707
25736
|
focusElement(el);
|
|
25708
25737
|
return false;
|
|
@@ -25710,7 +25739,7 @@ function connectFocusTrap(component) {
|
|
|
25710
25739
|
tabbableOptions,
|
|
25711
25740
|
trapStack
|
|
25712
25741
|
};
|
|
25713
|
-
component.focusTrap = createFocusTrap(
|
|
25742
|
+
component.focusTrap = createFocusTrap(el, focusTrapOptions);
|
|
25714
25743
|
}
|
|
25715
25744
|
/**
|
|
25716
25745
|
* Helper to activate the FocusTrap component.
|
|
@@ -25743,7 +25772,7 @@ function deactivateFocusTrap(component) {
|
|
|
25743
25772
|
* requestAnimationFrame(() => input.setFocus());
|
|
25744
25773
|
*/
|
|
25745
25774
|
function updateFocusTrapElements(component) {
|
|
25746
|
-
component.focusTrap?.updateContainerElements(component.
|
|
25775
|
+
component.focusTrap?.updateContainerElements(component.el);
|
|
25747
25776
|
}
|
|
25748
25777
|
|
|
25749
25778
|
const CSS$p = {
|
|
@@ -25812,8 +25841,6 @@ class Modal {
|
|
|
25812
25841
|
//--------------------------------------------------------------------------
|
|
25813
25842
|
this.setTransitionEl = (el) => {
|
|
25814
25843
|
this.transitionEl = el;
|
|
25815
|
-
this.focusTrapEl = el;
|
|
25816
|
-
connectFocusTrap(this);
|
|
25817
25844
|
};
|
|
25818
25845
|
this.openEnd = () => {
|
|
25819
25846
|
this.setFocus();
|
|
@@ -25833,6 +25860,10 @@ class Modal {
|
|
|
25833
25860
|
this.removeOverflowHiddenClass();
|
|
25834
25861
|
});
|
|
25835
25862
|
};
|
|
25863
|
+
this.handleMutationObserver = () => {
|
|
25864
|
+
this.updateFooterVisibility();
|
|
25865
|
+
this.updateFocusTrapElements();
|
|
25866
|
+
};
|
|
25836
25867
|
this.updateFooterVisibility = () => {
|
|
25837
25868
|
this.hasFooter = !!getSlotted(this.el, [SLOTS$e.back, SLOTS$e.primary, SLOTS$e.secondary]);
|
|
25838
25869
|
};
|
|
@@ -25903,6 +25934,7 @@ class Modal {
|
|
|
25903
25934
|
connectConditionalSlotComponent(this);
|
|
25904
25935
|
connectLocalized(this);
|
|
25905
25936
|
connectMessages(this);
|
|
25937
|
+
connectFocusTrap(this);
|
|
25906
25938
|
}
|
|
25907
25939
|
disconnectedCallback() {
|
|
25908
25940
|
this.removeOverflowHiddenClass();
|
|
@@ -26000,7 +26032,7 @@ class Modal {
|
|
|
26000
26032
|
*/
|
|
26001
26033
|
async setFocus() {
|
|
26002
26034
|
await componentLoaded(this);
|
|
26003
|
-
focusFirstTabbable(this.
|
|
26035
|
+
focusFirstTabbable(this.el);
|
|
26004
26036
|
}
|
|
26005
26037
|
/**
|
|
26006
26038
|
* Updates the element(s) that are used within the focus-trap of the component.
|
|
@@ -26602,10 +26634,11 @@ class Pagination {
|
|
|
26602
26634
|
}; }
|
|
26603
26635
|
}
|
|
26604
26636
|
|
|
26605
|
-
const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{border-block-end:1px solid;
|
|
26637
|
+
const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-panel:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-panel-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}/*!@.action-bar-container*/.action-bar-container.sc-calcite-panel{border-block-end:1px solid;z-index:400;inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}/*!@.action-bar-container ::slotted(calcite-action-bar)*/.action-bar-container .sc-calcite-panel-s>calcite-action-bar{inline-size:100%}/*!@.header-content*/.header-content.sc-calcite-panel{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}/*!@.header-content .heading,\n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
|
|
26606
26638
|
|
|
26607
26639
|
/**
|
|
26608
26640
|
* @slot - A slot for adding custom content.
|
|
26641
|
+
* @slot action-bar - A slot for adding a `calcite-action-bar` to the component.
|
|
26609
26642
|
* @slot header-actions-start - A slot for adding actions or content to the start side of the header.
|
|
26610
26643
|
* @slot header-actions-end - A slot for adding actions or content to the end side of the header.
|
|
26611
26644
|
* @slot header-content - A slot for adding custom content to the header.
|
|
@@ -26674,6 +26707,11 @@ class Panel {
|
|
|
26674
26707
|
});
|
|
26675
26708
|
this.hasMenuItems = !!elements.length;
|
|
26676
26709
|
};
|
|
26710
|
+
this.handleActionBarSlotChange = (event) => {
|
|
26711
|
+
const actionBars = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-action-bar"));
|
|
26712
|
+
actionBars.forEach((actionBar) => (actionBar.layout = "horizontal"));
|
|
26713
|
+
this.hasActionBar = !!actionBars.length;
|
|
26714
|
+
};
|
|
26677
26715
|
this.handleHeaderContentSlotChange = (event) => {
|
|
26678
26716
|
const elements = event.target.assignedElements({
|
|
26679
26717
|
flatten: true
|
|
@@ -26720,6 +26758,7 @@ class Panel {
|
|
|
26720
26758
|
this.hasEndActions = false;
|
|
26721
26759
|
this.hasMenuItems = false;
|
|
26722
26760
|
this.hasHeaderContent = false;
|
|
26761
|
+
this.hasActionBar = false;
|
|
26723
26762
|
this.hasFooterContent = false;
|
|
26724
26763
|
this.hasFooterActions = false;
|
|
26725
26764
|
this.hasFab = false;
|
|
@@ -26793,6 +26832,9 @@ class Panel {
|
|
|
26793
26832
|
const descriptionNode = description ? hAsync("span", { class: CSS$C.description }, description) : null;
|
|
26794
26833
|
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$C.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
26795
26834
|
}
|
|
26835
|
+
renderActionBar() {
|
|
26836
|
+
return (hAsync("div", { class: CSS$C.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$k.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
26837
|
+
}
|
|
26796
26838
|
/**
|
|
26797
26839
|
* Allows user to override the entire header-content node.
|
|
26798
26840
|
*/
|
|
@@ -26804,14 +26846,14 @@ class Panel {
|
|
|
26804
26846
|
return (hAsync("div", { class: { [CSS$C.headerActionsStart]: true, [CSS$C.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$k.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
26805
26847
|
}
|
|
26806
26848
|
renderHeaderActionsEnd() {
|
|
26807
|
-
const { close, hasEndActions, messages, closable } = this;
|
|
26849
|
+
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
26808
26850
|
const text = messages.close;
|
|
26809
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$9.close, onClick: close, text: text,
|
|
26851
|
+
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS$9.close, onClick: close, text: text,
|
|
26810
26852
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26811
26853
|
ref: this.setCloseRef })) : null;
|
|
26812
26854
|
const slotNode = (hAsync("slot", { name: SLOTS$k.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
26813
|
-
const showContainer = hasEndActions || closableNode;
|
|
26814
|
-
return (hAsync("div", { class: { [CSS$C.headerActionsEnd]: true, [CSS$C.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
26855
|
+
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
26856
|
+
return (hAsync("div", { class: { [CSS$C.headerActionsEnd]: true, [CSS$C.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
26815
26857
|
}
|
|
26816
26858
|
renderMenu() {
|
|
26817
26859
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -26826,7 +26868,7 @@ class Panel {
|
|
|
26826
26868
|
hasEndActions ||
|
|
26827
26869
|
closable ||
|
|
26828
26870
|
hasMenuItems;
|
|
26829
|
-
return (hAsync("header", { class: CSS$C.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()
|
|
26871
|
+
return (hAsync("header", { class: CSS$C.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
26830
26872
|
}
|
|
26831
26873
|
renderFooterNode() {
|
|
26832
26874
|
const { hasFooterContent, hasFooterActions } = this;
|
|
@@ -26852,7 +26894,7 @@ class Panel {
|
|
|
26852
26894
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
26853
26895
|
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$C.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
26854
26896
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26855
|
-
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
26897
|
+
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
26856
26898
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
26857
26899
|
}
|
|
26858
26900
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -26880,6 +26922,7 @@ class Panel {
|
|
|
26880
26922
|
"hasEndActions": [32],
|
|
26881
26923
|
"hasMenuItems": [32],
|
|
26882
26924
|
"hasHeaderContent": [32],
|
|
26925
|
+
"hasActionBar": [32],
|
|
26883
26926
|
"hasFooterContent": [32],
|
|
26884
26927
|
"hasFooterActions": [32],
|
|
26885
26928
|
"hasFab": [32],
|
|
@@ -27778,6 +27821,12 @@ class Popover {
|
|
|
27778
27821
|
this.calcitePopoverClose = createEvent(this, "calcitePopoverClose", 6);
|
|
27779
27822
|
this.calcitePopoverBeforeOpen = createEvent(this, "calcitePopoverBeforeOpen", 6);
|
|
27780
27823
|
this.calcitePopoverOpen = createEvent(this, "calcitePopoverOpen", 6);
|
|
27824
|
+
// --------------------------------------------------------------------------
|
|
27825
|
+
//
|
|
27826
|
+
// Private Properties
|
|
27827
|
+
//
|
|
27828
|
+
// --------------------------------------------------------------------------
|
|
27829
|
+
this.mutationObserver = createObserver();
|
|
27781
27830
|
this.guid = `calcite-popover-${guid()}`;
|
|
27782
27831
|
this.openTransitionProp = "opacity";
|
|
27783
27832
|
this.hasLoaded = false;
|
|
@@ -27789,8 +27838,6 @@ class Popover {
|
|
|
27789
27838
|
this.setTransitionEl = (el) => {
|
|
27790
27839
|
this.transitionEl = el;
|
|
27791
27840
|
connectOpenCloseComponent(this);
|
|
27792
|
-
this.focusTrapEl = el;
|
|
27793
|
-
connectFocusTrap(this);
|
|
27794
27841
|
};
|
|
27795
27842
|
this.setFilteredPlacements = () => {
|
|
27796
27843
|
const { el, flipPlacements } = this;
|
|
@@ -27927,6 +27974,7 @@ class Popover {
|
|
|
27927
27974
|
connectMessages(this);
|
|
27928
27975
|
connectOpenCloseComponent(this);
|
|
27929
27976
|
this.setUpReferenceElement(this.hasLoaded);
|
|
27977
|
+
connectFocusTrap(this);
|
|
27930
27978
|
}
|
|
27931
27979
|
async componentWillLoad() {
|
|
27932
27980
|
await setUpMessages(this);
|
|
@@ -27980,7 +28028,7 @@ class Popover {
|
|
|
27980
28028
|
async setFocus() {
|
|
27981
28029
|
await componentLoaded(this);
|
|
27982
28030
|
forceUpdate$1(this.el);
|
|
27983
|
-
focusFirstTabbable(this.
|
|
28031
|
+
focusFirstTabbable(this.el);
|
|
27984
28032
|
}
|
|
27985
28033
|
/**
|
|
27986
28034
|
* Updates the element(s) that are used within the focus-trap of the component.
|
|
@@ -29526,6 +29574,9 @@ class ShellCenterRow {
|
|
|
29526
29574
|
const { el } = this;
|
|
29527
29575
|
const contentNode = (hAsync("div", { class: CSS$d.content }, hAsync("slot", null)));
|
|
29528
29576
|
const actionBar = getSlotted(el, SLOTS$7.actionBar);
|
|
29577
|
+
if (actionBar) {
|
|
29578
|
+
actionBar.layout = "horizontal";
|
|
29579
|
+
}
|
|
29529
29580
|
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$d.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$7.actionBar }))) : null;
|
|
29530
29581
|
const children = [actionBarNode, contentNode];
|
|
29531
29582
|
if (actionBar?.position === "end") {
|
|
@@ -29674,6 +29725,9 @@ class ShellPanel {
|
|
|
29674
29725
|
this.disconnectSeparator = () => {
|
|
29675
29726
|
this.separatorEl?.removeEventListener("pointerdown", this.separatorPointerDown);
|
|
29676
29727
|
};
|
|
29728
|
+
this.handleActionBarSlotChange = (event) => {
|
|
29729
|
+
slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-action-bar")).forEach((actionBar) => (actionBar.layout = "vertical"));
|
|
29730
|
+
};
|
|
29677
29731
|
this.collapsed = false;
|
|
29678
29732
|
this.detached = false;
|
|
29679
29733
|
this.detachedHeightScale = "l";
|
|
@@ -29733,7 +29787,7 @@ class ShellPanel {
|
|
|
29733
29787
|
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth ?? initialContentWidth, class: CSS$c.separator, key: "separator", onKeyDown: this.separatorKeyDown, role: "separator", tabIndex: 0, "touch-action": "none",
|
|
29734
29788
|
// eslint-disable-next-line react/jsx-sort-props
|
|
29735
29789
|
ref: this.connectSeparator })) : null;
|
|
29736
|
-
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$6.actionBar });
|
|
29790
|
+
const actionBarNode = (hAsync("slot", { key: "action-bar", name: SLOTS$6.actionBar, onSlotchange: this.handleActionBarSlotChange }));
|
|
29737
29791
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
29738
29792
|
if (position === "end") {
|
|
29739
29793
|
mainNodes.reverse();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.3.0-next.
|
|
3
|
+
"version": "1.3.0-next.3",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"jsnext:main": "dist/esm/index.js",
|
|
10
10
|
"types": "dist/types/components.d.ts",
|
|
11
11
|
"type": "module",
|
|
12
|
+
"jsdelivr": "dist/calcite/calcite.js",
|
|
12
13
|
"unpkg": "dist/calcite/calcite.js",
|
|
13
14
|
"collection:main": "dist/collection/index.js",
|
|
14
15
|
"collection": "dist/collection/collection-manifest.json",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"postbuild": "npm run util:patch && git restore src/components/*/readme.md",
|
|
22
23
|
"build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
|
|
23
24
|
"build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
|
|
24
|
-
"build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs",
|
|
25
|
+
"build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs --quiet",
|
|
25
26
|
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer @whitespace/storybook-addon-html && npm audit fix",
|
|
26
27
|
"docs": "concurrently --kill-others --raw \"npm run build-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
27
28
|
"docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"@babel/preset-react": "7.18.6",
|
|
84
85
|
"@esri/calcite-base": "^1.2.0",
|
|
85
86
|
"@esri/calcite-colors": "6.1.0",
|
|
86
|
-
"@esri/calcite-ui-icons": "3.21.
|
|
87
|
+
"@esri/calcite-ui-icons": "3.21.9",
|
|
87
88
|
"@esri/eslint-plugin-calcite-components": "0.2.2",
|
|
88
89
|
"@stencil-community/eslint-plugin": "0.5.0",
|
|
89
90
|
"@stencil/postcss": "2.1.0",
|
|
@@ -114,15 +115,16 @@
|
|
|
114
115
|
"chalk": "4.1.2",
|
|
115
116
|
"cheerio": "1.0.0-rc.10",
|
|
116
117
|
"chokidar": "3.5.3",
|
|
117
|
-
"chromatic": "6.17.
|
|
118
|
+
"chromatic": "6.17.3",
|
|
119
|
+
"composed-offset-position": "0.0.4",
|
|
118
120
|
"concurrently": "7.6.0",
|
|
119
121
|
"conventional-changelog-cli": "2.2.2",
|
|
120
122
|
"cpy-cli": "^4.0.0",
|
|
121
123
|
"dedent": "0.7.0",
|
|
122
124
|
"eslint": "8.36.0",
|
|
123
|
-
"eslint-config-prettier": "8.
|
|
125
|
+
"eslint-config-prettier": "8.8.0",
|
|
124
126
|
"eslint-plugin-jest": "27.2.1",
|
|
125
|
-
"eslint-plugin-jsdoc": "
|
|
127
|
+
"eslint-plugin-jsdoc": "40.1.1",
|
|
126
128
|
"eslint-plugin-prettier": "4.2.1",
|
|
127
129
|
"eslint-plugin-react": "7.32.2",
|
|
128
130
|
"eslint-plugin-unicorn": "46.0.0",
|
|
@@ -132,7 +134,7 @@
|
|
|
132
134
|
"jest": "27.4.5",
|
|
133
135
|
"jest-axe": "7.0.1",
|
|
134
136
|
"jest-cli": "27.4.5",
|
|
135
|
-
"lint-staged": "13.1
|
|
137
|
+
"lint-staged": "13.2.1",
|
|
136
138
|
"markdownlint-cli": "0.33.0",
|
|
137
139
|
"postcss": "8.4.21",
|
|
138
140
|
"prettier": "2.8.1",
|
package/readme.md
CHANGED
|
@@ -13,11 +13,14 @@ Calcite Components, part of Esri's Calcite Design System, is a rich library of f
|
|
|
13
13
|
The most common approach for loading Calcite Components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script
|
|
16
|
+
<script
|
|
17
|
+
type="module"
|
|
18
|
+
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@1.2.0/dist/calcite/calcite.esm.js"
|
|
19
|
+
></script>
|
|
17
20
|
<link
|
|
18
21
|
rel="stylesheet"
|
|
19
22
|
type="text/css"
|
|
20
|
-
href="https://
|
|
23
|
+
href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@1.2.0/dist/calcite/calcite.css"
|
|
21
24
|
/>
|
|
22
25
|
```
|
|
23
26
|
|
|
@@ -42,7 +45,7 @@ Choose one of the two builds provided by Calcite Components.
|
|
|
42
45
|
```jsx
|
|
43
46
|
import { setAssetPath } from "@esri/calcite-components/dist/components";
|
|
44
47
|
// CDN hosted assets
|
|
45
|
-
setAssetPath("https://
|
|
48
|
+
setAssetPath("https://cdn.jsdelivr.net/npm/@esri/calcite-components/dist/calcite/assets");
|
|
46
49
|
|
|
47
50
|
// Local assets
|
|
48
51
|
// setAssetPath(PATH); // PATH depends on framework, more info below
|
|
@@ -64,7 +67,7 @@ When using the [Distribution](https://stenciljs.com/docs/distribution) build, yo
|
|
|
64
67
|
import { defineCustomElements } from "@esri/calcite-components/dist/loader";
|
|
65
68
|
// CDN hosted assets
|
|
66
69
|
defineCustomElements(window, {
|
|
67
|
-
resourcesUrl: "https://
|
|
70
|
+
resourcesUrl: "https://cdn.jsdelivr.net/npm/@esri/calcite-components/dist/calcite/assets"
|
|
68
71
|
});
|
|
69
72
|
|
|
70
73
|
// Local assets
|
|
@@ -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.3.0-next.1
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,f as i,h as a,H as s,g as n}from"./p-6140540a.js";import{f as o,c as r,b as l,u as c,a as d,r as h,F as p}from"./p-bd9ea977.js";import{c as f,d as m,a as u,u as g}from"./p-80bb8cdf.js";import{i as b,t as v,h as w,q as x}from"./p-0b85a2ad.js";import{g as y}from"./p-a0265a35.js";import{c as k,d as E}from"./p-c5c89932.js";import{H as z}from"./p-a88702b6.js";import{c as D,d as H}from"./p-db69b55b.js";import{u as P,c as j,s as C,d as _}from"./p-aeae799e.js";import{i as L}from"./p-6f6472dd.js";import{s as A,a as O,c as R}from"./p-9ef0c72d.js";import"./p-e18ba840.js";import"./p-a8193ac6.js";import"./p-f8a32dd6.js";const B="close-button-container",S="header",F="aria-controls",T="aria-expanded",M=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():L(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{b(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},$=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.guid=`calcite-popover-${y()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e,k(this),this.focusTrapEl=e,f(this)},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?o(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:a}=this;e&&i&&!a&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(T,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(F,t),M.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(F),e.removeAttribute(T)),M.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handlefocusTrapDisabled(e){this.open&&(e?m(this):u(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){e?this.reposition(!0):c(this.el),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){P(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),D(this),j(this),k(this),this.setUpReferenceElement(this.hasLoaded)}async componentWillLoad(){await C(this),A(this)}componentDidLoad(){O(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),H(this),_(this),d(this,this.effectiveReferenceElement,this.el),E(this),m(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:a,overlayPositioning:s,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:t,referenceEl:i,overlayPositioning:s,placement:a,flipDisabled:n,flipPlacements:o,offsetDistance:r,offsetSkidding:l,includeArrow:!this.pointerDisabled,arrowEl:c,type:"popover"},e)}async setFocus(){await R(this),i(this.el),w(this.focusTrapEl)}async updateFocusTrapElements(){g(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?x(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),u(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),m(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?a("div",{class:B,key:B},a("calcite-action",{class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?a(z,{class:"heading",level:t},e):null;return i?a("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:n,pointerDisabled:o}=this,r=e&&n,l=!r,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(s,{"aria-hidden":v(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[p.animation]:!0,[p.animationActive]:r},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handlefocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};$.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, 900);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::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{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=right]) .arrow,:host([data-placement^=left]) .arrow{direction:ltr;text-align:start}:host([data-placement^=left]) .arrow{inset-inline-end:-4px}:host([data-placement^=right]) .arrow{inset-inline-start:-4px}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';export{$ as calcite_popover}
|